Skip to content
Permalink
Browse files

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 <robimarko@gmail.com>
  • Loading branch information...
robimarko authored and chunkeey committed Dec 18, 2018
1 parent c29c883 commit 59485f7486ad88f6741e0b2fc1d98e406461de1a
@@ -179,8 +179,6 @@

flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
spi-max-frequency = <24000000>;
status = "okay";
@@ -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>;
@@ -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";
@@ -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>;
@@ -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>;
@@ -150,8 +150,6 @@

mx25l25635f@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
spi-max-frequency = <24000000>;

0 comments on commit 59485f7

Please sign in to comment.
You can’t perform that action at this time.