소스 검색

ARM: dts: stm32: Add external I2S clock on stm32f429 MCU

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>
Gabriel Fernandez 8 년 전
부모
커밋
305b0495e4
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      arch/arm/boot/dts/stm32f429.dtsi

+ 7 - 1
arch/arm/boot/dts/stm32f429.dtsi

@@ -68,6 +68,12 @@
 			compatible = "fixed-clock";
 			compatible = "fixed-clock";
 			clock-frequency = <32000>;
 			clock-frequency = <32000>;
 		};
 		};
+
+		clk_i2s_ckin: i2s-ckin {
+			#clock-cells = <0>;
+			compatible = "fixed-clock";
+			clock-frequency = <0>;
+		};
 	};
 	};
 
 
 	soc {
 	soc {
@@ -424,7 +430,7 @@
 			#clock-cells = <2>;
 			#clock-cells = <2>;
 			compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
 			compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
 			reg = <0x40023800 0x400>;
 			reg = <0x40023800 0x400>;
-			clocks = <&clk_hse>;
+			clocks = <&clk_hse>, <&clk_i2s_ckin>;
 			st,syscfg = <&pwrcfg>;
 			st,syscfg = <&pwrcfg>;
 		};
 		};