summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5420-peach-pit.dts
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-05-17 07:44:10 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-19 23:13:57 +0900
commitead3993e1daac2c87d9528bc7dada101e3e658f0 (patch)
tree758b39920cdf57183e13fc5f372e7b118ffd5de1 /arch/arm/boot/dts/exynos5420-peach-pit.dts
parent80f78ad8af2171a852e3737908f527692d52f51c (diff)
ARM: dts: Add sound node for exynos5420-peach-pit board
The audio setup on Peach-pit board is similar to Snow board, hence the sound-card driver used on Snow board can be reused on Peach-pit board. Peach-pit board uses MAX98090 audio codec. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-peach-pit.dts')
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 84f1a356819..f4b2a166775 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -58,9 +58,23 @@
pinctrl-0 = <&pwm0_out>;
pinctrl-names = "default";
};
+
+ sound {
+ compatible = "google,snow-audio-max98090";
+
+ samsung,i2s-controller = <&i2s0>;
+ samsung,audio-codec = <&max98090>;
+ };
};
&pinctrl_0 {
+ max98090_irq: max98090-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>;
@@ -130,6 +144,19 @@
};
};
+&hsi2c_7 {
+ status = "okay";
+
+ max98090: codec@10 {
+ compatible = "maxim,max98090";
+ reg = <0x10>;
+ interrupts = <2 0>;
+ interrupt-parent = <&gpx0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&max98090_irq>;
+ };
+};
+
&hsi2c_9 {
status = "okay";
clock-frequency = <400000>;
@@ -167,3 +194,7 @@
&watchdog {
timeout-sec = <32>;
};
+
+&i2s0 {
+ status = "okay";
+};