Skip to contentSkip to conversation

arm: boot: dts: dra7: add labels to DWC3 nodes

PATCH New Felipe Balbi 2 participants 3 messages Nov 3, 2014 – Nov 10, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: boot: dts: dra7: add labels to DWC3 nodes

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

---

soon we will need to reference these nodes in order to add extcon binding, so USB can be enabled out-of-the-box.

 arch/arm/boot/dts/dra7.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/dra7.dtsi +4 -4
index b9bf09f..7b54d2b 100644
@@ -1143,7 +1143,7 @@
 			};
 		};
 
-		omap_dwc3_1 at 48880000 {
+		omap_dwc3_1: omap_dwc3_1 at 48880000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss1";
 			reg = <0x48880000 0x10000>;
@@ -1164,7 +1164,7 @@
 			};
 		};
 
-		omap_dwc3_2 at 488c0000 {
+		omap_dwc3_2: omap_dwc3_2 at 488c0000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss2";
 			reg = <0x488c0000 0x10000>;
@@ -1186,7 +1186,7 @@
 		};
 
 		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
-		omap_dwc3_3 at 48900000 {
+		omap_dwc3_3: omap_dwc3_3 at 48900000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss3";
 			reg = <0x48900000 0x10000>;
@@ -1206,7 +1206,7 @@
 			};
 		};
 
-		omap_dwc3_4 at 48940000 {
+		omap_dwc3_4: omap_dwc3_4 at 48940000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss4";
 			reg = <0x48940000 0x10000>;
Signature · 1 line
2.1.0.GIT
#1 lore raw

PATCH 1/1 arm: boot: dts: dra7: add labels to DWC3 nodes

Quoted 4 lines · Felipe Balbi

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

Applying into omap-for-v3.19/dt, had to update it because of "ARM: dts: DRA7: Move USB_OTG 4 to dra74x.dtsi". Updated patch below.

Regards,

Tony

8< -------------------
From: Felipe Balbi <[email protected]>
Date: Mon, 3 Nov 2014 10:28:42 -0600
Subject: [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

[tony at atomide.com: updated for otg 4 move to dra74x.dtsi]
arch/arm/boot/dts/dra7.dtsi +3 -3
@@ -1219,7 +1219,7 @@
 			};
 		};
 
-		omap_dwc3_1 at 48880000 {
+		omap_dwc3_1: omap_dwc3_1 at 48880000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss1";
 			reg = <0x48880000 0x10000>;
@@ -1240,7 +1240,7 @@
 			};
 		};
 
-		omap_dwc3_2 at 488c0000 {
+		omap_dwc3_2: omap_dwc3_2 at 488c0000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss2";
 			reg = <0x488c0000 0x10000>;
@@ -1262,7 +1262,7 @@
 		};
 
 		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
-		omap_dwc3_3 at 48900000 {
+		omap_dwc3_3: omap_dwc3_3 at 48900000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss3";
 			reg = <0x48900000 0x10000>;
arch/arm/boot/dts/dra74x.dtsi +1 -1
@@ -46,7 +46,7 @@
 	};
 
 	ocp {
-		omap_dwc3_4 at 48940000 {
+		omap_dwc3_4: omap_dwc3_4 at 48940000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss4";
 			reg = <0x48940000 0x10000>;
#2 lore raw

PATCH 1/1 arm: boot: dts: dra7: add labels to DWC3 nodes

Quoted 19 lines · Tony Lindgren
Quoted 4 lines · Felipe Balbi

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

Applying into omap-for-v3.19/dt, had to update it because of "ARM: dts: DRA7: Move USB_OTG 4 to dra74x.dtsi". Updated patch below.

Regards,

Tony

8< -------------------
From: Felipe Balbi <[email protected]>
Date: Mon, 3 Nov 2014 10:28:42 -0600
Subject: [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes

Quoted 6 lines

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

[[email protected]: updated for otg 4 move to dra74x.dtsi]

looks good, thanks.

Signature · 1 line
balbi