ARM: dts: at91: fix sram nodes
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 31 Aug 2020 17:11:25 +0000 (19:11 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 3 Sep 2020 08:09:34 +0000 (10:09 +0200)
The ranges, #address-cells and #size-cells properties are mandatory, add
them to the sram nodes.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20200831171129.3886857-4-alexandre.belloni@bootlin.com
14 files changed:
arch/arm/boot/dts/at91rm9200.dtsi
arch/arm/boot/dts/at91sam9260.dtsi
arch/arm/boot/dts/at91sam9261.dtsi
arch/arm/boot/dts/at91sam9263.dtsi
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9n12.dtsi
arch/arm/boot/dts/at91sam9rl.dtsi
arch/arm/boot/dts/at91sam9x5.dtsi
arch/arm/boot/dts/at91sam9xe.dtsi
arch/arm/boot/dts/sam9x60.dtsi
arch/arm/boot/dts/sama5d2.dtsi
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d4.dtsi

index 231313e4c926a398d38289457f1acfab593e64fa..1724e14d999486bbab0d519d0ce27c4eac41cb15 100644 (file)
@@ -71,6 +71,9 @@
        sram: sram@200000 {
                compatible = "mmio-sram";
                reg = <0x00200000 0x4000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00200000 0x4000>;
        };
 
        ahb {
index 85041ad5e29a4027d136b486375f98c2b3f2ad3f..f6ac5346f91076505cc1756efe7f79696117e5b5 100644 (file)
@@ -74,6 +74,9 @@
        sram0: sram@2ff000 {
                compatible = "mmio-sram";
                reg = <0x002ff000 0x2000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x002ff000 0x2000>;
        };
 
        ahb {
index bb6480afc6f6552a9dedab71d3a5eda09d8bb029..980cc308fec5168b6e3bae8a7a0bc5707c634097 100644 (file)
@@ -65,6 +65,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x28000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x28000>;
        };
 
        ahb {
index a94fa2ae482c03e45d394a4ab109343a455d3850..a321c68be64ffdb877c7d142dac6ee56a2c720de 100644 (file)
        sram0: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x14000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x14000>;
        };
 
        sram1: sram@500000 {
                compatible = "mmio-sram";
                reg = <0x00500000 0x4000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00500000 0x4000>;
        };
 
        ahb {
index 4117cf8805084de1ceb889d242bebbd91cc32b74..86b4e943089acb4e4525924eef46a5aea9c4e37c 100644 (file)
@@ -22,6 +22,9 @@
        sram1: sram@2fc000 {
                compatible = "mmio-sram";
                reg = <0x002fc000 0x8000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x002fc000 0x8000>;
        };
 
        ahb {
index 8fe2dbd3904021f8436d8fda75526b10ec52ab21..984b5292a129fa77efebb0acfa4ff01718f36c85 100644 (file)
@@ -79,6 +79,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x10000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x10000>;
        };
 
        ahb {
index 9e1dc00701939288a9e94e0a18aaea3f9067f2c9..5c27ead05284c3b8e441537395c5ca3ed4e8de75 100644 (file)
@@ -69,6 +69,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x8000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x8000>;
        };
 
        ahb {
index b737f21f1b4cfb2eb53cb2d54e35204d13f4699f..eb5bea473bc88ed35151cdabe0bfbe9993f5b330 100644 (file)
@@ -76,6 +76,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x10000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x10000>;
        };
 
        ahb {
index 442d3b8cda695845026c3b0845e6e6eaca90e9bb..a5a1838c252402064d205ce9907d6fbe6c5c79ab 100644 (file)
@@ -77,6 +77,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x8000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x8000>;
        };
 
        ahb {
index 3f9d8caf8b0a6ec0a6ecafe30384a693fcd8222c..f571f77779c3604c82d587d24b2cd985637b0c93 100644 (file)
@@ -19,5 +19,8 @@
        sram1: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x4000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x4000>;
        };
 };
index 3a9fa40b2b1cea15e0af0c0eb67a7b3ff2832a62..3e85c2a0d1983d4ee0404099ad43c846b2531ea2 100644 (file)
@@ -62,6 +62,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x100000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x100000>;
        };
 
        ahb {
index d7f25706892d64b815edab2547a1c3e8b4c445dc..ddd7f9b05aa298fe1d37cdd21d2b1124b3b20c20 100644 (file)
@@ -94,6 +94,9 @@
        ns_sram: sram@200000 {
                compatible = "mmio-sram";
                reg = <0x00200000 0x20000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00200000 0x20000>;
        };
 
        ahb {
                        compatible = "mmio-sram";
                        no-memory-wc;
                        reg = <0x00100000 0x2400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0 0x00100000 0x2400>;
+
                };
 
                usb0: gadget@300000 {
index 0bb5b6fa0748ae789cb2cad09f52d8b7ac93915e..4f9001188511a64a8b1af2529f23d9ae6cbe1804 100644 (file)
@@ -83,6 +83,9 @@
        sram: sram@300000 {
                compatible = "mmio-sram";
                reg = <0x00300000 0x20000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00300000 0x20000>;
        };
 
        ahb {
                        compatible = "mmio-sram";
                        no-memory-wc;
                        reg = <0x200000 0x2400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0 0x200000 0x2400>;
                };
 
                usb0: gadget@500000 {
index 2d9f853ab15fe4fe1bb7c79c4404181d926e7078..1aca4b462f52b92f116b0e6e3b8bf0bde9a41df6 100644 (file)
@@ -81,6 +81,9 @@
        ns_sram: sram@210000 {
                compatible = "mmio-sram";
                reg = <0x00210000 0x10000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x00210000 0x10000>;
        };
 
        ahb {
@@ -93,6 +96,9 @@
                        compatible = "mmio-sram";
                        no-memory-wc;
                        reg = <0x100000 0x2400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0 0x100000 0x2400>;
                };
 
                usb0: gadget@400000 {