treewide: dts: fix dtc compiler warnings
[openwrt/openwrt.git] / target / linux / ramips / dts / ALL5002.dts
index efaabc27d14dd6d201d58f937d6f616c1d7061c8..66ed0179a33effe88e60ab05cb8d57bf0bc21145 100644 (file)
@@ -7,6 +7,9 @@
        model = "Allnet ALL5002";
 
        i2c-gpio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                compatible = "i2c-gpio";
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
@@ -50,7 +53,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
+               reg = <0>;
                linux,modalias = "m25p80", "mx25l25635e";
                spi-max-frequency = <10000000>;