ipq40xx: files-4.19: Clear some DTC warnings
authorRobert Marko <robimarko@gmail.com>
Tue, 18 Dec 2018 17:05:03 +0000 (18:05 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 27 Dec 2018 13:30:45 +0000 (14:30 +0100)
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 <robimarko@gmail.com>
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts

index 9576e14f25aab0c5c8476f10210503ece4a0b86a..ea7499da4c847a2cf0d88392b29bea039cc594cb 100644 (file)
 
        flash@0 {
                compatible = "jedec,spi-nor";
-               #address-cells = <1>;
-               #size-cells = <0>;
                reg = <0>;
                spi-max-frequency = <24000000>;
                status = "okay";
index a45d5d8681489412003bb378906ce59bffa98704..0c27e1757d5d8a5c4f552acd5c648dca5c83ef02 100644 (file)
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <0>;
                reg = <0>;
                compatible = "jedec,spi-nor";
                spi-max-frequency = <24000000>;
 
        spi-nand@1 {
                status = "okay";
-               #address-cells = <1>;
-               #size-cells = <0>;
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <24000000>;
index 08ae27d682d82fe359f960cdb0b54b042402c4b7..cb0791a3998e38ae0a74600064af7adc6b6e3ffa 100644 (file)
 
        mx25l25635f@0 {
                compatible = "mx25l25635f", "jedec,spi-nor";
-               #address-cells = <1>;
-               #size-cells = <0>;
                reg = <0>;
                spi-max-frequency = <24000000>;
                status = "okay";
index e7ec0db233d82b5e35a62d846d54e93356e60390..8c32b9eb36ee997cbe2699c188c646580824787e 100644 (file)
                   <&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:
        };
 
        spi-nand@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
                compatible = "spi-nand";
                reg = <1>;
                spi-max-frequency = <24000000>;
index 58e13da7b79a45f6a99a5aab422a524612d650e9..151f5e00c00deb7da8824811e337c76185344d42 100644 (file)
        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>;
index b1f71efcffd389a8604bf5c84312fb7882668e61..355299612f99b374ff9de66b849335b100f6b17c 100644 (file)
 
        mx25l25635f@0 {
                compatible = "jedec,spi-nor";
-               #address-cells = <1>;
-               #size-cells = <1>;
                reg = <0>;
                spi-max-frequency = <24000000>;