ARM: zynq: Remove DTC 1.4.2 warnings
authorMichal Simek <michal.simek@xilinx.com>
Fri, 11 Nov 2016 12:11:37 +0000 (13:11 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:30:38 +0000 (15:30 +0100)
DTC 1.4.2 reports these warnings:
Warning (unit_address_vs_reg): Node /memory has a reg or ranges
property, but no unit name
Warning (unit_address_vs_reg): Node /pmu has a reg or ranges property,
but no unit name
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name,
but no reg property

This patch is fixing them.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
12 files changed:
arch/arm/dts/zynq-7000.dtsi
arch/arm/dts/zynq-microzed.dts
arch/arm/dts/zynq-picozed.dts
arch/arm/dts/zynq-topic-miami.dts
arch/arm/dts/zynq-zc702.dts
arch/arm/dts/zynq-zc706.dts
arch/arm/dts/zynq-zc770-xm010.dts
arch/arm/dts/zynq-zc770-xm011.dts
arch/arm/dts/zynq-zc770-xm012.dts
arch/arm/dts/zynq-zc770-xm013.dts
arch/arm/dts/zynq-zed.dts
arch/arm/dts/zynq-zybo.dts

index b618a3f484f0e507948bdff1017cc01ec40a4e26..6df0329cfc902f55eded63968d00c3299707db2c 100644 (file)
@@ -6,9 +6,10 @@
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
-/include/ "skeleton.dtsi"
 
 / {
+       #address-cells = <1>;
+       #size-cells = <1>;
        compatible = "xlnx,zynq-7000";
 
        cpus {
                };
        };
 
-       pmu {
+       pmu@f8891000 {
                compatible = "arm,cortex-a9-pmu";
                interrupts = <0 5 4>, <0 6 4>;
                interrupt-parent = <&intc>;
                reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
        };
 
-       regulator_vccpint: fixedregulator@0 {
+       regulator_vccpint: fixedregulator {
                compatible = "regulator-fixed";
                regulator-name = "VCCPINT";
                regulator-min-microvolt = <1000000>;
index cb238cd5e7bbb68f59784143de40445d66492bc8..2d07b92e9cff99723365e1a0a1df1c780bc87a3e 100644 (file)
@@ -18,7 +18,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0 0x40000000>;
        };
index 3408df8b8b3d5c6e3538a00b3a1a174ca5d295e1..fea04ab45a72834884f0eb852f005ad3db96cc1d 100644 (file)
@@ -16,7 +16,7 @@
                serial0 = &uart1;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0 0x40000000>;
        };
index 8e988f92877ceda0d66bdead5975a72b9df6ad2c..aa05c4d368b240e1822155f316a05ff8776ac835 100644 (file)
@@ -21,7 +21,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 6585010f4bc8b92821878c2f136fd62cd72dbdc9..478e9fd4ef25c26adcc092bf25a9925c0bac4c00 100644 (file)
@@ -21,7 +21,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index d04880a2cdd3b4f77405dcefdf8574cdf4203381..8b0177bc512a3c61a61e5813b7193ba7b8a4c60a 100644 (file)
@@ -21,7 +21,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 33524cb6def54f12b834a28acc0bdecb8fa487d8..42af313c13ddfe60a0d28aa9161de0425b6c28ff 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 463b14b5ea15449d238401a19f309876660f6575..7f08961491a62780395a06adbd7fcb2480971e70 100644 (file)
@@ -23,7 +23,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 6cab8326677009a48c1f674f0ded01b7decfa763..699cd2c0fb1cf6dd1e87d0345d6dee8d3a87337a 100644 (file)
@@ -24,7 +24,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index d5bb4efcc58a66f5632555e9494a21c1e07a4ada..07e92b88fb0faca13920015c19ad01034e500130 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x40000000>;
        };
index 4363a4fcaccb10f61f986e86ac07ed0b663189cc..0ac7532300f030d13d9aaa2e475de7e4d1705dee 100644 (file)
@@ -20,7 +20,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x20000000>;
        };
index f8dcf1d6995c4b98bf90092fa2d5342724a668e5..d59a3831352db66f137505bf4a0ce35b371a9f29 100644 (file)
@@ -20,7 +20,7 @@
                mmc0 = &sdhci0;
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x20000000>;
        };