summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5250-snow.dts
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-05-17 07:43:18 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-05-19 23:13:56 +0900
commit80f78ad8af2171a852e3737908f527692d52f51c (patch)
tree098049678639d0f3fba45d595f5a6e2278f8a323 /arch/arm/boot/dts/exynos5250-snow.dts
parent7a4cf0fde05499380fc74bb57b376021575e548b (diff)
ARM: dts: Add sound node for exynos5250-snow board
The audio codec on Snow board, MAX98095 is connected on I2C7 bus. Also it requires the GPX1-7 line to be pulled up. Updated Snow DTS file to incorporate above changes and added a sound node to instantiate the I2S-based sound card. 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/exynos5250-snow.dts')
-rw-r--r--arch/arm/boot/dts/exynos5250-snow.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index c43cd3de75b7..9d1ca0951873 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -45,6 +45,13 @@
samsung,pin-drv = <0>;
};
+ max98095_en: max98095-en {
+ samsung,pins = "gpx1-7";
+ samsung,pin-function = <0>;
+ samsung,pin-pud = <3>;
+ samsung,pin-drv = <0>;
+ };
+
tps65090_irq: tps65090-irq {
samsung,pins = "gpx2-6";
samsung,pin-function = <0>;
@@ -321,6 +328,26 @@
};
};
+ i2c@12CD0000 {
+ max98095: codec@11 {
+ compatible = "maxim,max98095";
+ reg = <0x11>;
+ pinctrl-0 = <&max98095_en>;
+ pinctrl-names = "default";
+ };
+ };
+
+ i2s0: i2s@03830000 {
+ status = "okay";
+ };
+
+ sound {
+ compatible = "google,snow-audio-max98095";
+
+ samsung,i2s-controller = <&i2s0>;
+ samsung,audio-codec = <&max98095>;
+ };
+
usb@12110000 {
samsung,vbus-gpio = <&gpx1 1 0>;
};