summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5800-peach-pi.dts
diff options
context:
space:
mode:
authorTushar Behera <tushar.b@samsung.com>2014-06-21 21:50:14 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-06-21 21:50:14 +0900
commitdb91fb2cf4aeec274fdacef9a7ad48294baf6e7e (patch)
tree0dc40dd11994fb8b75326d631d187440e0a78cd3 /arch/arm/boot/dts/exynos5800-peach-pi.dts
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
ARM: dts: Enable audio support for exynos5800-peach-pi
Peach-pi board has MAX98091 audio codec connected on HSI2C-7 bus. Signed-off-by: Tushar Behera <tushar.b@samsung.com> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5800-peach-pi.dts')
-rw-r--r--arch/arm/boot/dts/exynos5800-peach-pi.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index f3af2079a063..ef94ab83b152 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -57,6 +57,13 @@
pinctrl-names = "default";
};
+ sound {
+ compatible = "google,snow-audio-max98091";
+
+ samsung,i2s-controller = <&i2s0>;
+ samsung,audio-codec = <&max98091>;
+ };
+
usb300_vbus_reg: regulator-usb300 {
compatible = "regulator-fixed";
regulator-name = "P5.0V_USB3CON0";
@@ -81,6 +88,13 @@
};
&pinctrl_0 {
+ max98091_irq: max98091-irq {
+ samsung,pins = "gpx0-2";
+ samsung,pin-function = <0>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
tpm_irq: tpm-irq {
samsung,pins = "gpx1-0";
samsung,pin-function = <0>;
@@ -207,6 +221,19 @@
samsung,invert-vclk;
};
+&hsi2c_7 {
+ status = "okay";
+
+ max98091: codec@10 {
+ compatible = "maxim,max98091";
+ reg = <0x10>;
+ interrupts = <2 0>;
+ interrupt-parent = <&gpx0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&max98091_irq>;
+ };
+};
+
&hsi2c_9 {
status = "okay";
clock-frequency = <400000>;
@@ -251,3 +278,7 @@
&watchdog {
timeout-sec = <32>;
};
+
+&i2s0 {
+ status = "okay";
+};