[PATCH 1/5] ARM: dts: gemini: add labels for USB, IDE, flash and ethernet

Corentin Labbe clabbe at baylibre.com
Mon May 17 12:32:01 PDT 2021


Adding label will help simplify boards's dts.

Signed-off-by: Corentin Labbe <clabbe at baylibre.com>
---
 arch/arm/boot/dts/gemini.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index 065ed10a79fa..6e043869d495 100644
--- a/arch/arm/boot/dts/gemini.dtsi
+++ b/arch/arm/boot/dts/gemini.dtsi
@@ -16,7 +16,7 @@ soc {
 		compatible = "simple-bus";
 		interrupt-parent = <&intcon>;
 
-		flash at 30000000 {
+		flash: flash at 30000000 {
 			compatible = "cortina,gemini-flash", "cfi-flash";
 			syscon = <&syscon>;
 			pinctrl-names = "default";
@@ -321,7 +321,7 @@ pci_intc: interrupt-controller {
 			};
 		};
 
-		ethernet at 60000000 {
+		ethernet: ethernet at 60000000 {
 			compatible = "cortina,gemini-ethernet";
 			reg = <0x60000000 0x4000>, /* Global registers, queue */
 			      <0x60004000 0x2000>, /* V-bit */
@@ -356,7 +356,7 @@ gmac1: ethernet-port at 1 {
 			};
 		};
 
-		ide at 63000000 {
+		ide0: ide at 63000000 {
 			compatible = "cortina,gemini-pata", "faraday,ftide010";
 			reg = <0x63000000 0x1000>;
 			interrupts = <4 IRQ_TYPE_EDGE_RISING>;
@@ -369,7 +369,7 @@ ide at 63000000 {
 			#size-cells = <0>;
 		};
 
-		ide at 63400000 {
+		ide1: ide at 63400000 {
 			compatible = "cortina,gemini-pata", "faraday,ftide010";
 			reg = <0x63400000 0x1000>;
 			interrupts = <5 IRQ_TYPE_EDGE_RISING>;
@@ -414,7 +414,7 @@ display-controller at 6a000000 {
 			status = "disabled";
 		};
 
-		usb at 68000000 {
+		usb0: usb at 68000000 {
 			compatible = "cortina,gemini-usb", "faraday,fotg210";
 			reg = <0x68000000 0x1000>;
 			interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
@@ -435,7 +435,7 @@ usb at 68000000 {
 			status = "disabled";
 		};
 
-		usb at 69000000 {
+		usb1: usb at 69000000 {
 			compatible = "cortina,gemini-usb", "faraday,fotg210";
 			reg = <0x69000000 0x1000>;
 			interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.26.3




More information about the linux-arm-kernel mailing list