From 59485f7486ad88f6741e0b2fc1d98e406461de1a Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Tue, 18 Dec 2018 18:05:03 +0100 Subject: [PATCH] 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 --- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts | 2 -- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts | 4 ---- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts | 2 -- .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts | 4 ---- .../files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 2 -- .../files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 2 -- 6 files changed, 16 deletions(-) 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 9576e14f25aa..ea7499da4c84 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 a45d5d868148..0c27e1757d5d 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 08ae27d682d8..cb0791a3998e 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 e7ec0db233d8..8c32b9eb36ee 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 58e13da7b79a..151f5e00c00d 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 b1f71efcffd3..355299612f99 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>; -- 2.30.2