Skip to contentSkip to conversation

arm: dts: amX/draX: fix DTC unit name warnings

PATCH New Heiko Schocher 2 participants 2 messages Apr 15, 2016 – Apr 18, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: amX/draX: fix DTC unit name warnings

Fi all DTC warnings for TI boards.

---
This warnings pop up with the DTC compiler:

$ /tmp/dtc/dtc -v
Version: DTC 1.4.1-gbeef80b8

This fixes the compile warnings for:
https://travis-ci.org/hsdenx/u-boot/jobs/123238798

see:
https://travis-ci.org/hsdenx/u-boot/jobs/123254198

 arch/arm/dts/am335x-bone-common.dtsi |  12 +-
 arch/arm/dts/am335x-evm.dts          |  16 +-
 arch/arm/dts/am33xx-clocks.dtsi      |  90 ++++-----
 arch/arm/dts/am33xx.dtsi             |   4 +-
 arch/arm/dts/am4372.dtsi             |  10 +-
 arch/arm/dts/am437x-gp-evm.dts       |   4 +-
 arch/arm/dts/am437x-sk-evm.dts       |  12 +-
 arch/arm/dts/am43xx-clocks.dtsi      | 114 +++++------
 arch/arm/dts/am57xx-beagle-x15.dts   |  10 +-
 arch/arm/dts/dra7-evm.dts            |   2 +-
 arch/arm/dts/dra7.dtsi               |  16 +-
 arch/arm/dts/dra72-evm.dts           |   2 +-
 arch/arm/dts/dra74x.dtsi             |   2 +-
 arch/arm/dts/dra7xx-clocks.dtsi      | 370 +++++++++++++++++------------------
 arch/arm/dts/k2e-clocks.dtsi         |   8 +-
 arch/arm/dts/k2e-netcp.dtsi          |   6 +-
 arch/arm/dts/k2e.dtsi                |   2 +-
 arch/arm/dts/k2g-netcp.dtsi          |   6 +-
 arch/arm/dts/k2g.dtsi                |   4 +-
 arch/arm/dts/k2hk-clocks.dtsi        |  74 +++----
 arch/arm/dts/k2hk-netcp.dtsi         |   8 +-
 arch/arm/dts/k2hk.dtsi               |  16 +-
 arch/arm/dts/k2l-clocks.dtsi         |  44 ++---
 arch/arm/dts/k2l-netcp.dtsi          |   6 +-
 arch/arm/dts/k2l.dtsi                |   8 +-
 arch/arm/dts/keystone-clocks.dtsi    |  52 ++---
 arch/arm/dts/keystone.dtsi           |   6 +-
 27 files changed, 452 insertions(+), 452 deletions(-)
arch/arm/dts/am335x-bone-common.dtsi +6 -6
index fec7834..68d87ca 100644
@@ -13,7 +13,7 @@
 		};
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
@@ -24,28 +24,28 @@
 
 		compatible = "gpio-leds";
 
-		led at 2 {
+		led2 {
 			label = "beaglebone:green:heartbeat";
 			gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
 
-		led at 3 {
+		led3 {
 			label = "beaglebone:green:mmc0";
 			gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "mmc0";
 			default-state = "off";
 		};
 
-		led at 4 {
+		led4 {
 			label = "beaglebone:green:usr2";
 			gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "cpu0";
 			default-state = "off";
 		};
 
-		led at 5 {
+		led5 {
 			label = "beaglebone:green:usr3";
 			gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "mmc1";
@@ -53,7 +53,7 @@
 		};
 	};
 
-	vmmcsd_fixed: fixedregulator at 0 {
+	vmmcsd_fixed: fixedregulator {
 		compatible = "regulator-fixed";
 		regulator-name = "vmmcsd_fixed";
 		regulator-min-microvolt = <3300000>;
arch/arm/dts/am335x-evm.dts +8 -8
index c0bc2af..f9cdcdb 100644
@@ -25,12 +25,12 @@
 		};
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 
-	vbat: fixedregulator at 0 {
+	vbat: fixedregulator0 {
 		compatible = "regulator-fixed";
 		regulator-name = "vbat";
 		regulator-min-microvolt = <5000000>;
@@ -38,13 +38,13 @@
 		regulator-boot-on;
 	};
 
-	lis3_reg: fixedregulator at 1 {
+	lis3_reg: fixedregulator1 {
 		compatible = "regulator-fixed";
 		regulator-name = "lis3_reg";
 		regulator-boot-on;
 	};
 
-	wlan_en_reg: fixedregulator at 2 {
+	wlan_en_reg: fixedregulator2 {
 		compatible = "regulator-fixed";
 		regulator-name = "wlan-en-regulator";
 		regulator-min-microvolt = <1800000>;
@@ -58,7 +58,7 @@
 		enable-active-high;
 	};
 
-	matrix_keypad: matrix_keypad at 0 {
+	matrix_keypad: matrix_keypad {
 		compatible = "gpio-matrix-keypad";
 		debounce-delay-ms = <5>;
 		col-scan-delay-us = <2>;
@@ -78,20 +78,20 @@
 				0x0201006c>;	/* DOWN */
 	};
 
-	gpio_keys: volume_keys at 0 {
+	gpio_keys: volume_keys0 {
 		compatible = "gpio-keys";
 		#address-cells = <1>;
 		#size-cells = <0>;
 		autorepeat;
 
-		switch at 9 {
+		switch9 {
 			label = "volume-up";
 			linux,code = <115>;
 			gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
 			gpio-key,wakeup;
 		};
 
-		switch at 10 {
+		switch10 {
 			label = "volume-down";
 			linux,code = <114>;
 			gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
arch/arm/dts/am33xx-clocks.dtsi +45 -45

360 lines not on this page · raw message

arch/arm/dts/am33xx.dtsi +2 -2
index b26e21b..5b77389 100644
@@ -746,12 +746,12 @@
 				status = "disabled";
 			};
 
-			cpsw_emac0: slave at 4a100200 {
+			cpsw_emac0: slave_4a100200 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
 
-			cpsw_emac1: slave at 4a100300 {
+			cpsw_emac1: slave_4a100300 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
arch/arm/dts/am4372.dtsi +5 -5
index c95d1d3..2611579 100644
@@ -67,7 +67,7 @@
 		cache-level = <2>;
 	};
 
-	ocp {
+	ocp at 0 {
 		compatible = "ti,am4372-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
@@ -559,12 +559,12 @@
 				status = "disabled";
 			};
 
-			cpsw_emac0: slave at 4a100200 {
+			cpsw_emac0: slave_4a100200 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
 
-			cpsw_emac1: slave at 4a100300 {
+			cpsw_emac1: slave_4a100300 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
@@ -821,7 +821,7 @@
 			reg-names = "power";
 		};
 
-		ocp2scp0: ocp2scp at 483a8000 {
+		ocp2scp0: ocp2scp_483a8000 {
 			compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -840,7 +840,7 @@
 			};
 		};
 
-		ocp2scp1: ocp2scp at 483e8000 {
+		ocp2scp1: ocp2scp_483e8000 {
 			compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm/dts/am437x-gp-evm.dts +2 -2
index 8e23b96..3f74f22 100644
@@ -64,7 +64,7 @@
 		default-brightness-level = <8>;
 	};
 
-	matrix_keypad: matrix_keypad at 0 {
+	matrix_keypad: matrix_keypad {
 		compatible = "gpio-matrix-keypad";
 		debounce-delay-ms = <5>;
 		col-scan-delay-us = <2>;
@@ -744,7 +744,7 @@
 	pinctrl-0 = <&dss_pins>;
 
 	port {
-		dpi_out: endpoint at 0 {
+		dpi_out: endpoint {
 			remote-endpoint = <&lcd_in>;
 			data-lines = <24>;
 		};
arch/arm/dts/am437x-sk-evm.dts +6 -6
index 260edb9..2d92526 100644
@@ -47,7 +47,7 @@
 			"Headphone Jack",       "HPROUT";
 	};
 
-	matrix_keypad: matrix_keypad at 0 {
+	matrix_keypad: matrix_keypad {
 		compatible = "gpio-matrix-keypad";
 
 		pinctrl-names = "default";
@@ -76,28 +76,28 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&leds_pins>;
 
-		led at 0 {
+		led_0 {
 			label = "am437x-sk:red:heartbeat";
 			gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 0 */
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
 
-		led at 1 {
+		led_1 {
 			label = "am437x-sk:green:mmc1";
 			gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 1 */
 			linux,default-trigger = "mmc0";
 			default-state = "off";
 		};
 
-		led at 2 {
+		led_2 {
 			label = "am437x-sk:blue:cpu0";
 			gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 2 */
 			linux,default-trigger = "cpu0";
 			default-state = "off";
 		};
 
-		led at 3 {
+		led_3 {
 			label = "am437x-sk:blue:usr3";
 			gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 3 */
 			default-state = "off";
@@ -667,7 +667,7 @@
 	pinctrl-0 = <&dss_pins>;
 
 	port {
-		dpi_out: endpoint at 0 {
+		dpi_out: endpoint {
 			remote-endpoint = <&lcd_in>;
 			data-lines = <24>;
 		};
arch/arm/dts/am43xx-clocks.dtsi +57 -57

456 lines not on this page · raw message

arch/arm/dts/am57xx-beagle-x15.dts +5 -5
index e424562..981c8eb 100644
@@ -26,7 +26,7 @@
 		display0 = &hdmi0;
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x80000000>;
 	};
@@ -57,28 +57,28 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&leds_pins_default>;
 
-		led at 0 {
+		led_0 {
 			label = "beagle-x15:usr0";
 			gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
 
-		led at 1 {
+		led_1 {
 			label = "beagle-x15:usr1";
 			gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "cpu0";
 			default-state = "off";
 		};
 
-		led at 2 {
+		led_2 {
 			label = "beagle-x15:usr2";
 			gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "mmc0";
 			default-state = "off";
 		};
 
-		led at 3 {
+		led_3 {
 			label = "beagle-x15:usr3";
 			gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "ide-disk";
arch/arm/dts/dra7-evm.dts +1 -1
index 242fd53..bbf16b8 100644
@@ -19,7 +19,7 @@
 		tick-timer = &timer2;
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x60000000>; /* 1536 MB */
 	};
arch/arm/dts/dra7.dtsi +8 -8
index e7fecf7..59e07d2 100644
@@ -92,7 +92,7 @@
 	 * the moment, just use a fake OCP bus entry to represent the whole bus
 	 * hierarchy.
 	 */
-	ocp {
+	ocp at 0 {
 		compatible = "ti,dra7-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
@@ -122,7 +122,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 
-					pbias_regulator: pbias_regulator {
+					pbias_regulator: pbias_regulator at e00 {
 						compatible = "ti,pbias-omap";
 						reg = <0xe00 0x4>;
 						syscon = <&scm_conf>;
@@ -917,7 +917,7 @@
 			status = "disabled";
 		};
 
-		abb_mpu: regulator-abb-mpu {
+		abb_mpu: regulator-abb-mpu at 0 {
 			compatible = "ti,abb-v3";
 			regulator-name = "abb_mpu";
 			#address-cells = <0>;
@@ -950,7 +950,7 @@
 			>;
 		};
 
-		abb_ivahd: regulator-abb-ivahd {
+		abb_ivahd: regulator-abb-ivahd at 0 {
 			compatible = "ti,abb-v3";
 			regulator-name = "abb_ivahd";
 			#address-cells = <0>;
@@ -983,7 +983,7 @@
 			>;
 		};
 
-		abb_dspeve: regulator-abb-dspeve {
+		abb_dspeve: regulator-abb-dspeve at 0 {
 			compatible = "ti,abb-v3";
 			regulator-name = "abb_dspeve";
 			#address-cells = <0>;
@@ -1016,7 +1016,7 @@
 			>;
 		};
 
-		abb_gpu: regulator-abb-gpu {
+		abb_gpu: regulator-abb-gpu at 0 {
 			compatible = "ti,abb-v3";
 			regulator-name = "abb_gpu";
 			#address-cells = <0>;
@@ -1452,12 +1452,12 @@
 				reg = <0x48485000 0x100>;
 			};
 
-			cpsw_emac0: slave at 48480200 {
+			cpsw_emac0: slave_48480200 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
 
-			cpsw_emac1: slave at 48480300 {
+			cpsw_emac1: slave_48480300 {
 				/* Filled in by U-Boot */
 				mac-address = [ 00 00 00 00 00 00 ];
 			};
arch/arm/dts/dra72-evm.dts +1 -1
index fc2d167..59276aa 100644
@@ -19,7 +19,7 @@
 		tick-timer = &timer2;
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x40000000>; /* 1024 MB */
 	};
arch/arm/dts/dra74x.dtsi +1 -1
index fa995d0..b5d91e5 100644
@@ -51,7 +51,7 @@
 			     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
-	ocp {
+	ocp at 0 {
 		omap_dwc3_4: omap_dwc3_4 at 48940000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss4";
arch/arm/dts/dra7xx-clocks.dtsi +185 -185

1,480 lines not on this page · raw message

arch/arm/dts/k2e-clocks.dtsi +4 -4
index d56d68f..4b79bde 100644
@@ -35,7 +35,7 @@ clocks {
 		reg-names = "control";
 	};
 
-	clkusb1: clkusb1 {
+	clkusb1: clkusb1 at 2350004 {
 		#clock-cells = <0>;
 		compatible = "ti,keystone,psc-clock";
 		clocks = <&chipclk16>;
@@ -45,7 +45,7 @@ clocks {
 		domain-id = <0>;
 	};
 
-	clkhyperlink0: clkhyperlink0 {
+	clkhyperlink0: clkhyperlink0 at 2350030 {
 		#clock-cells = <0>;
 		compatible = "ti,keystone,psc-clock";
 		clocks = <&chipclk12>;
@@ -55,7 +55,7 @@ clocks {
 		domain-id = <5>;
 	};
 
-	clkpcie1: clkpcie1 {
+	clkpcie1: clkpcie1 at 235006c {
 		#clock-cells = <0>;
 		compatible = "ti,keystone,psc-clock";
 		clocks = <&chipclk12>;
@@ -65,7 +65,7 @@ clocks {
 		domain-id = <18>;
 	};
 
-	clkxge: clkxge {
+	clkxge: clkxge at 23500c8 {
 		#clock-cells = <0>;
 		compatible = "ti,keystone,psc-clock";
 		clocks = <&chipclk13>;
arch/arm/dts/k2e-netcp.dtsi +3 -3
index b13b3c9..01a44c5 100644
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-qmss: qmss at 2a40000 {
+qmss: qmss_2a40000 {
 	compatible = "ti,keystone-navigator-qmss";
 	dma-coherent;
 	#address-cells = <1>;
@@ -23,7 +23,7 @@ qmss: qmss at 2a40000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
-		qmgr0 {
+		qmgr0 at 0 {
 			managed-queues = <0 0x2000>;
 			reg = <0x2a40000 0x20000>,
 			      <0x2a06000 0x400>,
@@ -85,7 +85,7 @@ qmss: qmss at 2a40000 {
 	};
 }; /* qmss */
 
-knav_dmas: knav_dmas at 0 {
+knav_dmas: knav_dmas0 {
 	compatible = "ti,keystone-navigator-dma";
 	clocks = <&papllclk>;
 	#address-cells = <1>;
arch/arm/dts/k2e.dtsi +1 -1
index 675fb8e..f9be2ae 100644
@@ -79,7 +79,7 @@
 			};
 		};
 
-		dspgpio0: keystone_dsp_gpio at 02620240 {
+		dspgpio0: keystone_dsp_gpio_02620240 {
 			compatible = "ti,keystone-dsp-gpio";
 			gpio-controller;
 			#gpio-cells = <2>;
arch/arm/dts/k2g-netcp.dtsi +3 -3
index 6f0ff86..879aa03 100644
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-qmss: qmss at 4020000 {
+qmss: qmss_4020000 {
 	compatible = "ti,keystone-navigator-qmss-l";
 	dma-coherent;
 	#address-cells = <1>;
@@ -24,7 +24,7 @@ qmss: qmss at 4020000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
-		qmgr0 {
+		qmgr0 at 0 {
 			managed-queues = <0 0x80>;
 			reg = <0x4100000 0x800>,
 			      <0x4040000 0x100>,
@@ -68,7 +68,7 @@ qmss: qmss at 4020000 {
 	};
 }; /* qmss */
 
-knav_dmas: knav_dmas at 0 {
+knav_dmas: knav_dmas0 {
 	compatible = "ti,keystone-navigator-dma";
 	#address-cells = <1>;
 	#size-cells = <1>;
arch/arm/dts/k2g.dtsi +2 -2
index a3ed444..1eaab0a 100644
@@ -21,7 +21,7 @@
 		serial0	= &uart0;
 	};
 
-	memory {
+	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x80000000>;
 	};
@@ -39,7 +39,7 @@
 		};
 	};
 
-	gic: interrupt-controller {
+	gic: interrupt-controller at 0 {
 		compatible = "arm,cortex-a15-gic";
 		#interrupt-cells = <3>;
 		interrupt-controller;
arch/arm/dts/k2hk-clocks.dtsi +37 -37

250 lines not on this page · raw message

arch/arm/dts/k2hk-netcp.dtsi +4 -4
index 77a32c3..f974e1f 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/k2hk.dtsi +8 -8
index d0810a5..609c6cd 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/k2l-clocks.dtsi +22 -22

44 lines not on this page · raw message

arch/arm/dts/k2l-netcp.dtsi +3 -3
index 6b95284..f99945a 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/k2l.dtsi +4 -4
index 49fd414..a7e3a8a 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/keystone-clocks.dtsi +26 -26

52 lines not on this page · raw message

arch/arm/dts/keystone.dtsi +3 -3
index f39b969..f8375f4 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.5.0

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 1/1 arm: dts: amX/draX: fix DTC unit name warnings

Quoted 1 line · Heiko Schocher

Fi all DTC warnings for TI boards.

We're going to defer on this patch for now, thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160418/ade691c0/attachment.sig>