From: Robert Marko Date: Tue, 18 Dec 2018 17:05:03 +0000 (+0100) Subject: ipq40xx: files-4.19: Clear some DTC warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=59485f7486ad88f6741e0b2fc1d98e406461de1a;p=openwrt%2Fstaging%2Fluka.git ipq40xx: files-4.19: Clear some DTC warnings DTC was throwing warnings like this: image-qcom-ipq4018-jalapeno.dtb: Warning (avoid_unnecessary_addr_size): /soc/spi@78b5000/m25p80@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property image-qcom-ipq4018-jalapeno.dtb: Warning (avoid_unnecessary_addr_size): /soc/spi@78b5000/spi-nand@1: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property So lets fix this for our downstream boards. Signed-off-by: Robert Marko --- diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts index 9576e14f25..ea7499da4c 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts @@ -179,8 +179,6 @@ flash@0 { compatible = "jedec,spi-nor"; - #address-cells = <1>; - #size-cells = <0>; reg = <0>; spi-max-frequency = <24000000>; status = "okay"; diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts index a45d5d8681..0c27e1757d 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts @@ -145,8 +145,6 @@ status = "okay"; m25p80@0 { - #address-cells = <1>; - #size-cells = <0>; reg = <0>; compatible = "jedec,spi-nor"; spi-max-frequency = <24000000>; @@ -201,8 +199,6 @@ spi-nand@1 { status = "okay"; - #address-cells = <1>; - #size-cells = <0>; compatible = "spi-nand"; reg = <1>; spi-max-frequency = <24000000>; diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts index 08ae27d682..cb0791a399 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts @@ -181,8 +181,6 @@ mx25l25635f@0 { compatible = "mx25l25635f", "jedec,spi-nor"; - #address-cells = <1>; - #size-cells = <0>; reg = <0>; spi-max-frequency = <24000000>; status = "okay"; diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts index e7ec0db233..8c32b9eb36 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts @@ -187,8 +187,6 @@ <&tlmm 59 GPIO_ACTIVE_HIGH>; flash@0 { - #address-cells = <1>; - #size-cells = <0>; /* * U-boot looks for "n25q128a11" node, * if we don't have it, it will spit out the following warning: @@ -249,8 +247,6 @@ }; spi-nand@1 { - #address-cells = <1>; - #size-cells = <0>; compatible = "spi-nand"; reg = <1>; spi-max-frequency = <24000000>; diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts index 58e13da7b7..151f5e00c0 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts @@ -161,8 +161,6 @@ cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; m25p80@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <24000000>; diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts index b1f71efcff..355299612f 100644 --- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts +++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts @@ -150,8 +150,6 @@ mx25l25635f@0 { compatible = "jedec,spi-nor"; - #address-cells = <1>; - #size-cells = <1>; reg = <0>; spi-max-frequency = <24000000>;