[PATCH 3/4] ARM: at91: dt: sama5d4ek: add and enable wm8904

Bo Shen voice.shen at atmel.com
Sun Feb 1 22:51:46 PST 2015


Add wm8904 codec node and enable it.

Signed-off-by: Bo Shen <voice.shen at atmel.com>
---

 arch/arm/boot/dts/at91-sama5d4ek.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
index 32e9a9a..7f47d92 100644
--- a/arch/arm/boot/dts/at91-sama5d4ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
@@ -131,6 +131,13 @@
 
 			i2c0: i2c at f8014000 {
 				status = "okay";
+
+				wm8904: codec at 1a {
+					compatible = "wlf,wm8904";
+					reg = <0x1a>;
+					clocks = <&pck2>;
+					clock-names = "mclk";
+				};
 			};
 
 			macb0: ethernet at f8020000 {
-- 
2.3.0.rc0




More information about the linux-arm-kernel mailing list