diff options
author | Andreas Färber <afaerber@suse.de> | 2016-03-23 18:24:18 -0400 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-04-27 11:51:50 -0400 |
commit | 7b01cff5ccc3cd6c366ab9040d789e3e5e2debb4 (patch) | |
tree | a5d1ccc0cf4736b1cef1e644c4902ef318722153 | |
parent | fea144987932dbc88b3051c6d258ffdcace7f1fa (diff) |
arm64: dts: marvell: Clean up armada-3720-db
Instead of duplicating the SoC's node hierarchy, including a bus node
named "internal-regs", reference the actually desired nodes by label,
like Berlin already does. Add labels where necessary.
Drop an inconsistent white line while at it.
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
[gregory.clement@free-electrons.com: drop Fixes tag as it is not a bug fix.]
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-3720-db.dts | 32 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-372x.dtsi | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 |
3 files changed, 14 insertions, 23 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts index 359050154511..86110a6ae330 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts | |||
@@ -60,27 +60,19 @@ | |||
60 | device_type = "memory"; | 60 | device_type = "memory"; |
61 | reg = <0x00000000 0x00000000 0x00000000 0x20000000>; | 61 | reg = <0x00000000 0x00000000 0x00000000 0x20000000>; |
62 | }; | 62 | }; |
63 | }; | ||
63 | 64 | ||
64 | soc { | 65 | /* CON3 */ |
65 | internal-regs { | 66 | &sata { |
66 | /* | 67 | status = "okay"; |
67 | * Exported on the micro USB connector CON32 | 68 | }; |
68 | * through an FTDI | ||
69 | */ | ||
70 | uart0: serial@12000 { | ||
71 | status = "okay"; | ||
72 | }; | ||
73 | |||
74 | /* CON31 */ | ||
75 | usb3@58000 { | ||
76 | status = "okay"; | ||
77 | }; | ||
78 | 69 | ||
79 | /* CON3 */ | 70 | /* Exported on the micro USB connector CON32 through an FTDI */ |
80 | sata@e0000 { | 71 | &uart0 { |
81 | status = "okay"; | 72 | status = "okay"; |
82 | }; | ||
83 | }; | ||
84 | }; | ||
85 | }; | 73 | }; |
86 | 74 | ||
75 | /* CON31 */ | ||
76 | &usb3 { | ||
77 | status = "okay"; | ||
78 | }; | ||
diff --git a/arch/arm64/boot/dts/marvell/armada-372x.dtsi b/arch/arm64/boot/dts/marvell/armada-372x.dtsi index f292a00ce97c..5120296596c2 100644 --- a/arch/arm64/boot/dts/marvell/armada-372x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-372x.dtsi | |||
@@ -59,5 +59,4 @@ | |||
59 | enable-method = "psci"; | 59 | enable-method = "psci"; |
60 | }; | 60 | }; |
61 | }; | 61 | }; |
62 | |||
63 | }; | 62 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index ba9df7ff2a72..4328c2408a8a 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi | |||
@@ -105,14 +105,14 @@ | |||
105 | status = "disabled"; | 105 | status = "disabled"; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | usb3@58000 { | 108 | usb3: usb3@58000 { |
109 | compatible = "generic-xhci"; | 109 | compatible = "generic-xhci"; |
110 | reg = <0x58000 0x4000>; | 110 | reg = <0x58000 0x4000>; |
111 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; | 111 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
112 | status = "disabled"; | 112 | status = "disabled"; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | sata@e0000 { | 115 | sata: sata@e0000 { |
116 | compatible = "marvell,armada-3700-ahci"; | 116 | compatible = "marvell,armada-3700-ahci"; |
117 | reg = <0xe0000 0x2000>; | 117 | reg = <0xe0000 0x2000>; |
118 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; | 118 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; |