ipq806x: d7800: fix warning on dtc compilation
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 5 Dec 2019 01:26:30 +0000 (02:26 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 19 Dec 2019 21:41:57 +0000 (22:41 +0100)
There is warning with "property has invalid length (4 bytes)"
related to nand definition. Set size-cells to zero to fix this.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts

index 9e5ff273a4643fe749167e5f6923dc87cbd5d93c..ac1a965896c2e7a20ed6826b493c5bd764df4110 100644 (file)
                        pinctrl-names = "default";
 
                        #address-cells = <1>;
-                       #size-cells = <1>;
+                       #size-cells = <0>;
 
                        cs0 {
                                reg = <0>;
                        compatible = "virtual,mdio-gpio";
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>,
+                               <&qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
                        pinctrl-0 = <&mdio0_pins>;
                        pinctrl-names = "default";