summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-03-14 08:26:58 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-15 17:19:05 +0300
commit7f9f76b10dbe3f2585a21699312f74ed2b544b84 (patch)
treeb9a4f7f963261ae79529d58fc46d0a71fec3a1a2 /arch/arm/boot/dts/uniphier-pxs2-gentil.dts
parent05f7e3d18673a35d1f6f2a7b61c5b0b895324b76 (diff)
downloadlinux-7f9f76b10dbe3f2585a21699312f74ed2b544b84.tar.xz
ARM: dts: uniphier: add sound node for PXs2
This patch adds audio controller, external codec and simple card node of UniPhier AIO sound system for PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/boot/dts/uniphier-pxs2-gentil.dts')
-rw-r--r--arch/arm/boot/dts/uniphier-pxs2-gentil.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
index 59608de7c9fc..bed26b8ed9a3 100644
--- a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
+++ b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts
@@ -32,6 +32,12 @@
device_type = "memory";
reg = <0x80000000 0x80000000>;
};
+
+ sound {
+ compatible = "audio-graph-card";
+ label = "UniPhier PXs2";
+ dais = <&i2s_port2>;
+ };
};
&serial2 {
@@ -48,8 +54,26 @@
};
};
+&i2s_aux {
+ dai-format = "i2s";
+ remote-endpoint = <&wm_speaker>;
+};
+
&i2c2 {
status = "okay";
+
+ wm8960@1a {
+ compatible = "wlf,wm8960";
+ reg = <0x1a>;
+ #sound-dai-cells = <0>;
+
+ port@0 {
+ wm_speaker: endpoint {
+ dai-format = "i2s";
+ remote-endpoint = <&i2s_aux>;
+ };
+ };
+ };
};
&eth {