aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-12-05 02:26:30 +0100
committerPetr Štetiar <ynezz@true.cz>2019-12-19 22:41:57 +0100
commitfe26364065a1477fa5807d147b24a481b2d4abc2 (patch)
treec29d43bd61cdaf53e723311c6f173de602c41953
parent1acc054341d1e1163f329b54b28562d9724f12b7 (diff)
downloadupstream-fe26364065a1477fa5807d147b24a481b2d4abc2.tar.gz
upstream-fe26364065a1477fa5807d147b24a481b2d4abc2.tar.bz2
upstream-fe26364065a1477fa5807d147b24a481b2d4abc2.zip
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 <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
-rw-r--r--target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-d7800.dts5
1 files changed, 3 insertions, 2 deletions
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";