ARM: shmobile: bockw: add sound to DT
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / r8a7778-bockw.dts
index 646383a489a04ee6b74787576cdee14baccd3bbc..787fa6f9f46ddf4d2bd0d0db9abb82e4223c2413 100644 (file)
                regulator-boot-on;
                regulator-always-on;
        };
+
+       sound {
+               compatible = "simple-audio-card";
+
+               simple-audio-card,format = "left_j";
+               simple-audio-card,bitclock-master = <&sndcodec>;
+               simple-audio-card,frame-master = <&sndcodec>;
+
+               sndcpu: simple-audio-card,cpu {
+                       sound-dai = <&rcar_sound>;
+               };
+
+               sndcodec: simple-audio-card,codec {
+                       sound-dai = <&ak4643>;
+                       system-clock-frequency = <11289600>;
+               };
+       };
 };
 
 &bsc {