Quellcode durchsuchen

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 <[email protected]>
Robert Marko vor 7 Jahren
Ursprung
Commit
59485f7486

+ 0 - 2
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";

+ 0 - 4
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>;

+ 0 - 2
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";

+ 0 - 4
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>;

+ 0 - 2
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>;

+ 0 - 2
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>;