aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-xp-axpwifiap.dts
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-08-06 13:09:42 -0400
committerJason Cooper <jason@lakedaemon.net>2013-08-07 16:05:05 -0400
commitd10ff4d745fe0388d0d8d3dd0c1003c61f97f257 (patch)
tree0b8a6b6eac889530ff12892a223c8675da7f4a70 /arch/arm/boot/dts/armada-xp-axpwifiap.dts
parentc7841473f7ecbff624809f31f36aab0df5041ef9 (diff)
ARM: mvebu: Fix AXP-WiFi-AP DT for MBUS DT binding
The ranges property needs to be changed to use the new MBus DT binding. Also, the pcie-controller node needs to be relocated as according the MBus DT binding, it's now a child of the mbus-compatible node. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-axpwifiap.dts')
-rw-r--r--arch/arm/boot/dts/armada-xp-axpwifiap.dts50
1 files changed, 25 insertions, 25 deletions
diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
index 2a542bd20565..c5fe57269f5a 100644
--- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts
+++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
@@ -16,7 +16,7 @@
16 */ 16 */
17 17
18/dts-v1/; 18/dts-v1/;
19/include/ "armada-xp-mv78230.dtsi" 19#include "armada-xp-mv78230.dtsi"
20 20
21/ { 21/ {
22 model = "Marvell RD-AXPWiFiAP"; 22 model = "Marvell RD-AXPWiFiAP";
@@ -32,8 +32,30 @@
32 }; 32 };
33 33
34 soc { 34 soc {
35 ranges = <0 0 0xf1000000 0x100000 /* Internal registers 1MiB */ 35 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
36 0xe0000000 0 0xe0000000 0x8100000 /* PCIe */>; 36 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
37
38 pcie-controller {
39 status = "okay";
40
41 /* First mini-PCIe port */
42 pcie@1,0 {
43 /* Port 0, Lane 0 */
44 status = "okay";
45 };
46
47 /* Second mini-PCIe port */
48 pcie@2,0 {
49 /* Port 0, Lane 1 */
50 status = "okay";
51 };
52
53 /* Renesas uPD720202 USB 3.0 controller */
54 pcie@3,0 {
55 /* Port 0, Lane 3 */
56 status = "okay";
57 };
58 };
37 59
38 internal-regs { 60 internal-regs {
39 pinctrl { 61 pinctrl {
@@ -123,28 +145,6 @@
123 spi-max-frequency = <108000000>; 145 spi-max-frequency = <108000000>;
124 }; 146 };
125 }; 147 };
126
127 pcie-controller {
128 status = "okay";
129
130 /* First mini-PCIe port */
131 pcie@1,0 {
132 /* Port 0, Lane 0 */
133 status = "okay";
134 };
135
136 /* Second mini-PCIe port */
137 pcie@2,0 {
138 /* Port 0, Lane 1 */
139 status = "okay";
140 };
141
142 /* Renesas uPD720202 USB 3.0 controller */
143 pcie@3,0 {
144 /* Port 0, Lane 3 */
145 status = "okay";
146 };
147 };
148 }; 148 };
149 }; 149 };
150 150