From fe26364065a1477fa5807d147b24a481b2d4abc2 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Thu, 5 Dec 2019 02:26:30 +0100 Subject: 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 --- .../ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/ipq806x/files-4.19') 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"; -- cgit v1.2.3