From: Christian Lamparter Date: Thu, 5 Dec 2019 01:26:30 +0000 (+0100) Subject: ipq806x: d7800: fix warning on dtc compilation X-Git-Tag: v21.02.0-rc1~4334 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe26364065a1477fa5807d147b24a481b2d4abc2;p=openwrt%2Fopenwrt.git ipq806x: d7800: fix warning on dtc compilation 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 Signed-off-by: Ansuel Smith --- diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts index 9e5ff273a4..ac1a965896 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts @@ -188,7 +188,7 @@ pinctrl-names = "default"; #address-cells = <1>; - #size-cells = <1>; + #size-cells = <0>; cs0 { reg = <0>; @@ -262,7 +262,8 @@ 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";