Commit 440e5aef authored by Inha Song's avatar Inha Song Committed by Kukjin Kim

ARM: dts: Add sound nodes for exynos4412-trats2

This patch add WM1811 audio codec, I2S interface and the sound
machine nodes to enable audio on exynos4412-trats2 board.
Signed-off-by: default avatarInha Song <ideal.song@samsung.com>
Reviewed-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent cfe3b893
...@@ -186,6 +186,25 @@ s5c73m3_ep: endpoint { ...@@ -186,6 +186,25 @@ s5c73m3_ep: endpoint {
}; };
}; };
i2c@138A0000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <100000>;
pinctrl-0 = <&i2c4_bus>;
pinctrl-names = "default";
status = "okay";
wm1811: wm1811@1a {
compatible = "wlf,wm1811";
reg = <0x1a>;
clocks = <&pmu_system_controller 0>;
clock-names = "MCLK1";
DCVDD-supply = <&ldo3_reg>;
DBVDD1-supply = <&ldo3_reg>;
wlf,ldo1ena = <&gpj0 4 0>;
};
};
i2c@138D0000 { i2c@138D0000 {
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>; samsung,i2c-slave-addr = <0x10>;
...@@ -863,6 +882,24 @@ is_s5k6a3_ep: endpoint { ...@@ -863,6 +882,24 @@ is_s5k6a3_ep: endpoint {
}; };
}; };
i2s0: i2s@03830000 {
pinctrl-0 = <&i2s0_bus>;
pinctrl-names = "default";
status = "okay";
};
sound {
compatible = "samsung,trats2-audio";
samsung,i2s-controller = <&i2s0>;
samsung,model = "Trats2";
samsung,audio-codec = <&wm1811>;
samsung,audio-routing =
"SPK", "SPKOUTLN",
"SPK", "SPKOUTLP",
"SPK", "SPKOUTRN",
"SPK", "SPKOUTRP";
};
exynos-usbphy@125B0000 { exynos-usbphy@125B0000 {
status = "okay"; status = "okay";
}; };
...@@ -891,6 +928,11 @@ thermistor-battery@1 { ...@@ -891,6 +928,11 @@ thermistor-battery@1 {
}; };
}; };
&pmu_system_controller {
assigned-clocks = <&pmu_system_controller 0>;
assigned-clock-parents = <&clock CLK_XUSBXTI>;
};
&pinctrl_0 { &pinctrl_0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sleep0>; pinctrl-0 = <&sleep0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment