]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: stm32mp15: alignment with v5.16
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 17 Dec 2021 15:30:22 +0000 (16:30 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 24 Jan 2022 09:57:19 +0000 (10:57 +0100)
Device tree alignment with Linux kernel v5.16-rc5
- ARM: dts: stm32: set otg-rev on stm32mp151
- ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151
- ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
- ARM: dts: stm32: fix SAI sub nodes register range
- ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp15-pinctrl.dtsi
arch/arm/dts/stm32mp151.dtsi
arch/arm/dts/stm32mp15xx-dkx.dtsi

index 5b60ecbd718f0e45ca126c3ab80a1b5441864f6c..d3553e0f0187e312479fed76925b755890316a6a 100644 (file)
                };
        };
 
-       sai2a_pins_c: sai2a-4 {
+       sai2a_pins_c: sai2a-2 {
                pins {
                        pinmux = <STM32_PINMUX('D', 13, AF10)>, /* SAI2_SCK_A */
                                 <STM32_PINMUX('D', 11, AF10)>, /* SAI2_SD_A */
                };
        };
 
-       sai2a_sleep_pins_c: sai2a-5 {
+       sai2a_sleep_pins_c: sai2a-sleep-2 {
                pins {
                        pinmux = <STM32_PINMUX('D', 13, ANALOG)>, /* SAI2_SCK_A */
                                 <STM32_PINMUX('D', 11, ANALOG)>, /* SAI2_SD_A */
                };
        };
 
-       sai2b_pins_c: sai2a-4 {
+       sai2b_pins_c: sai2b-2 {
                pins1 {
                        pinmux = <STM32_PINMUX('F', 11, AF10)>; /* SAI2_SD_B */
                        bias-disable;
                };
        };
 
-       sai2b_sleep_pins_c: sai2a-sleep-5 {
+       sai2b_sleep_pins_c: sai2b-sleep-2 {
                pins {
                        pinmux = <STM32_PINMUX('F', 11, ANALOG)>; /* SAI2_SD_B */
                };
index 8e0a0bc1ddc68fa24952d4ea178454b8ea3abb7e..5a2be0075861e892d05495b7e90d6f4ed7c430aa 100644 (file)
                                #sound-dai-cells = <0>;
 
                                compatible = "st,stm32-sai-sub-a";
-                               reg = <0x4 0x1c>;
+                               reg = <0x4 0x20>;
                                clocks = <&rcc SAI1_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 87 0x400 0x01>;
                        sai1b: audio-controller@4400a024 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-b";
-                               reg = <0x24 0x1c>;
+                               reg = <0x24 0x20>;
                                clocks = <&rcc SAI1_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 88 0x400 0x01>;
                        sai2a: audio-controller@4400b004 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-a";
-                               reg = <0x4 0x1c>;
+                               reg = <0x4 0x20>;
                                clocks = <&rcc SAI2_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 89 0x400 0x01>;
                        sai2b: audio-controller@4400b024 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-b";
-                               reg = <0x24 0x1c>;
+                               reg = <0x24 0x20>;
                                clocks = <&rcc SAI2_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 90 0x400 0x01>;
                        sai3a: audio-controller@4400c004 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-a";
-                               reg = <0x04 0x1c>;
+                               reg = <0x04 0x20>;
                                clocks = <&rcc SAI3_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 113 0x400 0x01>;
                        sai3b: audio-controller@4400c024 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-b";
-                               reg = <0x24 0x1c>;
+                               reg = <0x24 0x20>;
                                clocks = <&rcc SAI3_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 114 0x400 0x01>;
                        g-np-tx-fifo-size = <32>;
                        g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
                        dr_mode = "otg";
+                       otg-rev = <0x200>;
                        usb33d-supply = <&usb33>;
                        status = "disabled";
                };
                        sai4a: audio-controller@50027004 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-a";
-                               reg = <0x04 0x1c>;
+                               reg = <0x04 0x20>;
                                clocks = <&rcc SAI4_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 99 0x400 0x01>;
                        sai4b: audio-controller@50027024 {
                                #sound-dai-cells = <0>;
                                compatible = "st,stm32-sai-sub-b";
-                               reg = <0x24 0x1c>;
+                               reg = <0x24 0x20>;
                                clocks = <&rcc SAI4_K>;
                                clock-names = "sai_ck";
                                dmas = <&dmamux1 100 0x400 0x01>;
                usbh_ohci: usb@5800c000 {
                        compatible = "generic-ohci";
                        reg = <0x5800c000 0x1000>;
-                       clocks = <&rcc USBH>;
+                       clocks = <&rcc USBH>, <&usbphyc>;
                        resets = <&rcc USBH_R>;
                        interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
index 8fc93b0f948dd61e37f10e137847855ebaae1210..5502eec94b4510afbc940430137596ef2adb30a8 100644 (file)
        stusb1600@28 {
                compatible = "st,stusb1600";
                reg = <0x28>;
-               interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
+               interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                interrupt-parent = <&gpioi>;
                pinctrl-names = "default";
                pinctrl-0 = <&stusb1600_pins_a>;