ARM: dts: stm32: add new instances for stm32h743 MCU
authorAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 1 Apr 2021 07:37:31 +0000 (09:37 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 1 Apr 2021 07:46:55 +0000 (09:46 +0200)
Some instances are missing in current support of stm32h743 MCU. This commit
adds usart3/uart4 and sdmmc2 support.

Signed-off-by: dillon min <dillon.minfei@gmail.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32h743.dtsi

index a026c0c593fc1ce132d0a90d74c10d6e2543a4c0..f7c393e78a2a148045081edc7d9c159f46f4fcbb 100644 (file)
                        clocks = <&rcc USART2_CK>;
                };
 
+               usart3: serial@40004800 {
+                       compatible = "st,stm32h7-uart";
+                       reg = <0x40004800 0x400>;
+                       interrupts = <39>;
+                       status = "disabled";
+                       clocks = <&rcc USART3_CK>;
+               };
+
+               uart4: serial@40004c00 {
+                       compatible = "st,stm32h7-uart";
+                       reg = <0x40004c00 0x400>;
+                       interrupts = <52>;
+                       status = "disabled";
+                       clocks = <&rcc UART4_CK>;
+               };
+
                i2c1: i2c@40005400 {
                        compatible = "st,stm32f7-i2c";
                        #address-cells = <1>;
                        max-frequency = <120000000>;
                };
 
+               sdmmc2: mmc@48022400 {
+                       compatible = "arm,pl18x", "arm,primecell";
+                       arm,primecell-periphid = <0x10153180>;
+                       reg = <0x48022400 0x400>;
+                       interrupts = <124>;
+                       interrupt-names = "cmd_irq";
+                       clocks = <&rcc SDMMC2_CK>;
+                       clock-names = "apb_pclk";
+                       resets = <&rcc STM32H7_AHB2_RESET(SDMMC2)>;
+                       cap-sd-highspeed;
+                       cap-mmc-highspeed;
+                       max-frequency = <120000000>;
+                       status = "disabled";
+               };
+
                exti: interrupt-controller@58000000 {
                        compatible = "st,stm32h7-exti";
                        interrupt-controller;