ARM: dts: stm32: Add external I2S clock on stm32f429 MCU
authorGabriel Fernandez <gabriel.fernandez@st.com>
Tue, 13 Dec 2016 14:20:00 +0000 (15:20 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Tue, 10 Jan 2017 10:52:07 +0000 (11:52 +0100)
This patch adds an external I2S clock in the DT.
The I2S clock could be derived from an external I2S clock or by I2S pll.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi

index 77055aa2f2f2b1b25aaab2fe1eed2ea85ae69edb..a92c80914768b1b718393a6696f2b62b6a3edac9 100644 (file)
                        compatible = "fixed-clock";
                        clock-frequency = <32000>;
                };
+
+               clk_i2s_ckin: i2s-ckin {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <0>;
+               };
        };
 
        soc {
                        #clock-cells = <2>;
                        compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
                        reg = <0x40023800 0x400>;
-                       clocks = <&clk_hse>;
+                       clocks = <&clk_hse>, <&clk_i2s_ckin>;
                        st,syscfg = <&pwrcfg>;
                };