ARM: dts: pxa168: Add missing address/size cells to i2c nodes
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 17:11:45 +0000 (19:11 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 May 2020 21:31:42 +0000 (23:31 +0200)
This makes the nodes compatible with the generic i2c binding without the
board DTS files having to supply the necessary properties themselves.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/pxa168.dtsi

index 9a9e382..fb92fcf 100644 (file)
 
                        twsi1: i2c@d4011000 {
                                compatible = "mrvl,mmp-twsi";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                reg = <0xd4011000 0x1000>;
                                interrupts = <7>;
                                clocks = <&soc_clocks PXA168_CLK_TWSI0>;
 
                        twsi2: i2c@d4025000 {
                                compatible = "mrvl,mmp-twsi";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                reg = <0xd4025000 0x1000>;
                                interrupts = <58>;
                                clocks = <&soc_clocks PXA168_CLK_TWSI1>;