OSDN Git Service

ARM: dts: mmp2: specify reg-shift for the UARTs
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 28 Aug 2019 07:26:28 +0000 (09:26 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 Sep 2019 19:54:11 +0000 (21:54 +0200)
This makes the 8250_of driver happy. There are two more drivers in the
tree that bind to mrvl,mmp-uart compatibles: pxa and 8250_pxa and
neither of them requires the reg-shift property, assuming it's always 2.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
arch/arm/boot/dts/mmp2.dtsi

index 3462950..984ab8b 100644 (file)
                                interrupts = <27>;
                                clocks = <&soc_clocks MMP2_CLK_UART0>;
                                resets = <&soc_clocks MMP2_CLK_UART0>;
+                               reg-shift = <2>;
                                status = "disabled";
                        };
 
                                interrupts = <28>;
                                clocks = <&soc_clocks MMP2_CLK_UART1>;
                                resets = <&soc_clocks MMP2_CLK_UART1>;
+                               reg-shift = <2>;
                                status = "disabled";
                        };
 
                                interrupts = <24>;
                                clocks = <&soc_clocks MMP2_CLK_UART2>;
                                resets = <&soc_clocks MMP2_CLK_UART2>;
+                               reg-shift = <2>;
                                status = "disabled";
                        };
 
                                interrupts = <46>;
                                clocks = <&soc_clocks MMP2_CLK_UART3>;
                                resets = <&soc_clocks MMP2_CLK_UART3>;
+                               reg-shift = <2>;
                                status = "disabled";
                        };