aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-xp-mv78230.dtsi
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2013-04-12 10:29:09 -0400
committerJason Cooper <jason@lakedaemon.net>2013-04-15 11:00:24 -0400
commit467f54b2157bd01a487fd933122fd193f1e13911 (patch)
treef2f9e0833d5cc017a2423cc6afc990d1c5185a44 /arch/arm/boot/dts/armada-xp-mv78230.dtsi
parent82a682676ce34e59369f60168a8729348aaae4d0 (diff)
ARM: dts: mvebu: introduce internal-regs node
Introduce a 'internal-regs' subnode, under which all devices are moved. This is not really needed for now, but will be for the mvebu-mbus driver. This generates a lot of code movement since it's indenting by one more tab all the devices. So it was a good opportunity to fix all the bad indentation. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-mv78230.dtsi')
-rw-r--r--arch/arm/boot/dts/armada-xp-mv78230.dtsi252
1 files changed, 127 insertions, 125 deletions
diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
index 12905abf4ca3..f8eaa383e07f 100644
--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
@@ -44,140 +44,142 @@
44 }; 44 };
45 45
46 soc { 46 soc {
47 pinctrl { 47 internal-regs {
48 compatible = "marvell,mv78230-pinctrl"; 48 pinctrl {
49 reg = <0x18000 0x38>; 49 compatible = "marvell,mv78230-pinctrl";
50 50 reg = <0x18000 0x38>;
51 sdio_pins: sdio-pins { 51
52 marvell,pins = "mpp30", "mpp31", "mpp32", 52 sdio_pins: sdio-pins {
53 "mpp33", "mpp34", "mpp35"; 53 marvell,pins = "mpp30", "mpp31", "mpp32",
54 marvell,function = "sd0"; 54 "mpp33", "mpp34", "mpp35";
55 marvell,function = "sd0";
56 };
55 }; 57 };
56 };
57
58 gpio0: gpio@18100 {
59 compatible = "marvell,orion-gpio";
60 reg = <0x18100 0x40>;
61 ngpios = <32>;
62 gpio-controller;
63 #gpio-cells = <2>;
64 interrupt-controller;
65 #interrupts-cells = <2>;
66 interrupts = <82>, <83>, <84>, <85>;
67 };
68
69 gpio1: gpio@18140 {
70 compatible = "marvell,orion-gpio";
71 reg = <0x18140 0x40>;
72 ngpios = <17>;
73 gpio-controller;
74 #gpio-cells = <2>;
75 interrupt-controller;
76 #interrupts-cells = <2>;
77 interrupts = <87>, <88>, <89>;
78 };
79 58
80 /* 59 gpio0: gpio@18100 {
81 * MV78230 has 2 PCIe units Gen2.0: One unit can be 60 compatible = "marvell,orion-gpio";
82 * configured as x4 or quad x1 lanes. One unit is 61 reg = <0x18100 0x40>;
83 * x4/x1. 62 ngpios = <32>;
84 */ 63 gpio-controller;
85 pcie-controller { 64 #gpio-cells = <2>;
86 compatible = "marvell,armada-xp-pcie"; 65 interrupt-controller;
87 status = "disabled"; 66 #interrupts-cells = <2>;
88 device_type = "pci"; 67 interrupts = <82>, <83>, <84>, <85>;
89
90 #address-cells = <3>;
91 #size-cells = <2>;
92
93 bus-range = <0x00 0xff>;
94
95 ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */
96 0x82000000 0 0x42000 0x42000 0 0x00002000 /* Port 2.0 registers */
97 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */
98 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */
99 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */
100 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
101 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
102
103 pcie@1,0 {
104 device_type = "pci";
105 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
106 reg = <0x0800 0 0 0 0>;
107 #address-cells = <3>;
108 #size-cells = <2>;
109 #interrupt-cells = <1>;
110 ranges;
111 interrupt-map-mask = <0 0 0 0>;
112 interrupt-map = <0 0 0 0 &mpic 58>;
113 marvell,pcie-port = <0>;
114 marvell,pcie-lane = <0>;
115 clocks = <&gateclk 5>;
116 status = "disabled";
117 }; 68 };
118 69
119 pcie@2,0 { 70 gpio1: gpio@18140 {
120 device_type = "pci"; 71 compatible = "marvell,orion-gpio";
121 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; 72 reg = <0x18140 0x40>;
122 reg = <0x1000 0 0 0 0>; 73 ngpios = <17>;
123 #address-cells = <3>; 74 gpio-controller;
124 #size-cells = <2>; 75 #gpio-cells = <2>;
125 #interrupt-cells = <1>; 76 interrupt-controller;
126 ranges; 77 #interrupts-cells = <2>;
127 interrupt-map-mask = <0 0 0 0>; 78 interrupts = <87>, <88>, <89>;
128 interrupt-map = <0 0 0 0 &mpic 59>;
129 marvell,pcie-port = <0>;
130 marvell,pcie-lane = <1>;
131 clocks = <&gateclk 6>;
132 status = "disabled";
133 }; 79 };
134 80
135 pcie@3,0 { 81 /*
136 device_type = "pci"; 82 * MV78230 has 2 PCIe units Gen2.0: One unit can be
137 assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; 83 * configured as x4 or quad x1 lanes. One unit is
138 reg = <0x1800 0 0 0 0>; 84 * x4/x1.
139 #address-cells = <3>; 85 */
140 #size-cells = <2>; 86 pcie-controller {
141 #interrupt-cells = <1>; 87 compatible = "marvell,armada-xp-pcie";
142 ranges;
143 interrupt-map-mask = <0 0 0 0>;
144 interrupt-map = <0 0 0 0 &mpic 60>;
145 marvell,pcie-port = <0>;
146 marvell,pcie-lane = <2>;
147 clocks = <&gateclk 7>;
148 status = "disabled"; 88 status = "disabled";
149 };
150
151 pcie@4,0 {
152 device_type = "pci"; 89 device_type = "pci";
153 assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>;
154 reg = <0x2000 0 0 0 0>;
155 #address-cells = <3>;
156 #size-cells = <2>;
157 #interrupt-cells = <1>;
158 ranges;
159 interrupt-map-mask = <0 0 0 0>;
160 interrupt-map = <0 0 0 0 &mpic 61>;
161 marvell,pcie-port = <0>;
162 marvell,pcie-lane = <3>;
163 clocks = <&gateclk 8>;
164 status = "disabled";
165 };
166 90
167 pcie@9,0 { 91#address-cells = <3>;
168 device_type = "pci"; 92#size-cells = <2>;
169 assigned-addresses = <0x82000800 0 0x42000 0 0x2000>; 93
170 reg = <0x4800 0 0 0 0>; 94 bus-range = <0x00 0xff>;
171 #address-cells = <3>; 95
172 #size-cells = <2>; 96 ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */
173 #interrupt-cells = <1>; 97 0x82000000 0 0x42000 0x42000 0 0x00002000 /* Port 2.0 registers */
174 ranges; 98 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */
175 interrupt-map-mask = <0 0 0 0>; 99 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */
176 interrupt-map = <0 0 0 0 &mpic 99>; 100 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */
177 marvell,pcie-port = <2>; 101 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
178 marvell,pcie-lane = <0>; 102 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
179 clocks = <&gateclk 26>; 103
180 status = "disabled"; 104 pcie@1,0 {
105 device_type = "pci";
106 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
107 reg = <0x0800 0 0 0 0>;
108 #address-cells = <3>;
109 #size-cells = <2>;
110 #interrupt-cells = <1>;
111 ranges;
112 interrupt-map-mask = <0 0 0 0>;
113 interrupt-map = <0 0 0 0 &mpic 58>;
114 marvell,pcie-port = <0>;
115 marvell,pcie-lane = <0>;
116 clocks = <&gateclk 5>;
117 status = "disabled";
118 };
119
120 pcie@2,0 {
121 device_type = "pci";
122 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
123 reg = <0x1000 0 0 0 0>;
124 #address-cells = <3>;
125 #size-cells = <2>;
126 #interrupt-cells = <1>;
127 ranges;
128 interrupt-map-mask = <0 0 0 0>;
129 interrupt-map = <0 0 0 0 &mpic 59>;
130 marvell,pcie-port = <0>;
131 marvell,pcie-lane = <1>;
132 clocks = <&gateclk 6>;
133 status = "disabled";
134 };
135
136 pcie@3,0 {
137 device_type = "pci";
138 assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
139 reg = <0x1800 0 0 0 0>;
140 #address-cells = <3>;
141 #size-cells = <2>;
142 #interrupt-cells = <1>;
143 ranges;
144 interrupt-map-mask = <0 0 0 0>;
145 interrupt-map = <0 0 0 0 &mpic 60>;
146 marvell,pcie-port = <0>;
147 marvell,pcie-lane = <2>;
148 clocks = <&gateclk 7>;
149 status = "disabled";
150 };
151
152 pcie@4,0 {
153 device_type = "pci";
154 assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>;
155 reg = <0x2000 0 0 0 0>;
156 #address-cells = <3>;
157 #size-cells = <2>;
158 #interrupt-cells = <1>;
159 ranges;
160 interrupt-map-mask = <0 0 0 0>;
161 interrupt-map = <0 0 0 0 &mpic 61>;
162 marvell,pcie-port = <0>;
163 marvell,pcie-lane = <3>;
164 clocks = <&gateclk 8>;
165 status = "disabled";
166 };
167
168 pcie@9,0 {
169 device_type = "pci";
170 assigned-addresses = <0x82000800 0 0x42000 0 0x2000>;
171 reg = <0x4800 0 0 0 0>;
172 #address-cells = <3>;
173 #size-cells = <2>;
174 #interrupt-cells = <1>;
175 ranges;
176 interrupt-map-mask = <0 0 0 0>;
177 interrupt-map = <0 0 0 0 &mpic 99>;
178 marvell,pcie-port = <2>;
179 marvell,pcie-lane = <0>;
180 clocks = <&gateclk 26>;
181 status = "disabled";
182 };
181 }; 183 };
182 }; 184 };
183 }; 185 };