diff options
author | Olof Johansson <olof@lixom.net> | 2015-01-23 17:17:15 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-01-23 17:17:15 -0500 |
commit | fd10a2e4113971f42c05796b8a487fdf10d32c48 (patch) | |
tree | d76a77815f585ee7ad106e4a3dfe83825160cd52 /arch/arm/boot/dts | |
parent | 8739f728dba738f1d6f0da2d3d19cf92ed4b7e32 (diff) | |
parent | 6cc082a84e13f3a0078973a08adf22f1404acc3d (diff) |
Merge tag 'mvebu-dt-3.20-2' of git://git.infradead.org/linux-mvebu into next/dt
Merge "mvebu/dt #2" from Andrew Lunn:
Second set of dt patches for mvebu for v3.20.
* tag 'mvebu-dt-3.20-2' of git://git.infradead.org/linux-mvebu:
ARM: mvebu: make DTS comments reflect DEBUG_LL changes
ARM: mvebu: Armada 385 GP: Add regulators to the SATA port
ARM: Kirkwood: Added support for pogoplug e02 (pink/gray)
ARM: mvebu: fix compatible strings of MBus on Armada 375 and Armada 38x
dt: bindings: update mvebu-mbus DT binding with new compatible properties
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-375.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-388-gp.dts | 126 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-38x.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp-axpwifiap.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-pogo_e02.dts | 134 |
6 files changed, 267 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index bb55b6a84a6a..89b732b6d6cf 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -187,6 +187,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \ | |||
187 | kirkwood-openrd-base.dtb \ | 187 | kirkwood-openrd-base.dtb \ |
188 | kirkwood-openrd-client.dtb \ | 188 | kirkwood-openrd-client.dtb \ |
189 | kirkwood-openrd-ultimate.dtb \ | 189 | kirkwood-openrd-ultimate.dtb \ |
190 | kirkwood-pogo_e02.dtb \ | ||
190 | kirkwood-rd88f6192.dtb \ | 191 | kirkwood-rd88f6192.dtb \ |
191 | kirkwood-rd88f6281-z0.dtb \ | 192 | kirkwood-rd88f6281-z0.dtb \ |
192 | kirkwood-rd88f6281-a.dtb \ | 193 | kirkwood-rd88f6281-a.dtb \ |
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi index 50096d3427eb..126bf7e9e6b4 100644 --- a/arch/arm/boot/dts/armada-375.dtsi +++ b/arch/arm/boot/dts/armada-375.dtsi | |||
@@ -63,7 +63,7 @@ | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | soc { | 65 | soc { |
66 | compatible = "marvell,armada375-mbus", "marvell,armada370-mbus", "simple-bus"; | 66 | compatible = "marvell,armada375-mbus", "simple-bus"; |
67 | #address-cells = <2>; | 67 | #address-cells = <2>; |
68 | #size-cells = <1>; | 68 | #size-cells = <1>; |
69 | controller = <&mbusc>; | 69 | controller = <&mbusc>; |
diff --git a/arch/arm/boot/dts/armada-388-gp.dts b/arch/arm/boot/dts/armada-388-gp.dts index 4df22bf91683..590b383db323 100644 --- a/arch/arm/boot/dts/armada-388-gp.dts +++ b/arch/arm/boot/dts/armada-388-gp.dts | |||
@@ -173,6 +173,16 @@ | |||
173 | status = "okay"; | 173 | status = "okay"; |
174 | #address-cells = <1>; | 174 | #address-cells = <1>; |
175 | #size-cells = <0>; | 175 | #size-cells = <0>; |
176 | |||
177 | sata0: sata-port@0 { | ||
178 | reg = <0>; | ||
179 | target-supply = <®_5v_sata0>; | ||
180 | }; | ||
181 | |||
182 | sata1: sata-port@1 { | ||
183 | reg = <1>; | ||
184 | target-supply = <®_5v_sata1>; | ||
185 | }; | ||
176 | }; | 186 | }; |
177 | 187 | ||
178 | sata@e0000 { | 188 | sata@e0000 { |
@@ -181,6 +191,16 @@ | |||
181 | status = "okay"; | 191 | status = "okay"; |
182 | #address-cells = <1>; | 192 | #address-cells = <1>; |
183 | #size-cells = <0>; | 193 | #size-cells = <0>; |
194 | |||
195 | sata2: sata-port@0 { | ||
196 | reg = <0>; | ||
197 | target-supply = <®_5v_sata2>; | ||
198 | }; | ||
199 | |||
200 | sata3: sata-port@1 { | ||
201 | reg = <1>; | ||
202 | target-supply = <®_5v_sata3>; | ||
203 | }; | ||
184 | }; | 204 | }; |
185 | 205 | ||
186 | sdhci@d8000 { | 206 | sdhci@d8000 { |
@@ -278,6 +298,112 @@ | |||
278 | regulator-always-on; | 298 | regulator-always-on; |
279 | gpio = <&expander0 4 GPIO_ACTIVE_HIGH>; | 299 | gpio = <&expander0 4 GPIO_ACTIVE_HIGH>; |
280 | }; | 300 | }; |
301 | |||
302 | reg_sata0: pwr-sata0 { | ||
303 | compatible = "regulator-fixed"; | ||
304 | regulator-name = "pwr_en_sata0"; | ||
305 | enable-active-high; | ||
306 | regulator-always-on; | ||
307 | |||
308 | }; | ||
309 | |||
310 | reg_5v_sata0: v5-sata0 { | ||
311 | compatible = "regulator-fixed"; | ||
312 | regulator-name = "v5.0-sata0"; | ||
313 | regulator-min-microvolt = <5000000>; | ||
314 | regulator-max-microvolt = <5000000>; | ||
315 | regulator-always-on; | ||
316 | vin-supply = <®_sata0>; | ||
317 | }; | ||
318 | |||
319 | reg_12v_sata0: v12-sata0 { | ||
320 | compatible = "regulator-fixed"; | ||
321 | regulator-name = "v12.0-sata0"; | ||
322 | regulator-min-microvolt = <12000000>; | ||
323 | regulator-max-microvolt = <12000000>; | ||
324 | regulator-always-on; | ||
325 | vin-supply = <®_sata0>; | ||
326 | }; | ||
327 | |||
328 | reg_sata1: pwr-sata1 { | ||
329 | regulator-name = "pwr_en_sata1"; | ||
330 | compatible = "regulator-fixed"; | ||
331 | regulator-min-microvolt = <12000000>; | ||
332 | regulator-max-microvolt = <12000000>; | ||
333 | enable-active-high; | ||
334 | regulator-always-on; | ||
335 | gpio = <&expander0 3 GPIO_ACTIVE_HIGH>; | ||
336 | }; | ||
337 | |||
338 | reg_5v_sata1: v5-sata1 { | ||
339 | compatible = "regulator-fixed"; | ||
340 | regulator-name = "v5.0-sata1"; | ||
341 | regulator-min-microvolt = <5000000>; | ||
342 | regulator-max-microvolt = <5000000>; | ||
343 | regulator-always-on; | ||
344 | vin-supply = <®_sata1>; | ||
345 | }; | ||
346 | |||
347 | reg_12v_sata1: v12-sata1 { | ||
348 | compatible = "regulator-fixed"; | ||
349 | regulator-name = "v12.0-sata1"; | ||
350 | regulator-min-microvolt = <12000000>; | ||
351 | regulator-max-microvolt = <12000000>; | ||
352 | regulator-always-on; | ||
353 | vin-supply = <®_sata1>; | ||
354 | }; | ||
355 | |||
356 | reg_sata2: pwr-sata2 { | ||
357 | compatible = "regulator-fixed"; | ||
358 | regulator-name = "pwr_en_sata2"; | ||
359 | enable-active-high; | ||
360 | regulator-always-on; | ||
361 | gpio = <&expander0 11 GPIO_ACTIVE_HIGH>; | ||
362 | }; | ||
363 | |||
364 | reg_5v_sata2: v5-sata2 { | ||
365 | compatible = "regulator-fixed"; | ||
366 | regulator-name = "v5.0-sata2"; | ||
367 | regulator-min-microvolt = <5000000>; | ||
368 | regulator-max-microvolt = <5000000>; | ||
369 | regulator-always-on; | ||
370 | vin-supply = <®_sata2>; | ||
371 | }; | ||
372 | |||
373 | reg_12v_sata2: v12-sata2 { | ||
374 | compatible = "regulator-fixed"; | ||
375 | regulator-name = "v12.0-sata2"; | ||
376 | regulator-min-microvolt = <12000000>; | ||
377 | regulator-max-microvolt = <12000000>; | ||
378 | regulator-always-on; | ||
379 | vin-supply = <®_sata2>; | ||
380 | }; | ||
381 | |||
382 | reg_sata3: pwr-sata3 { | ||
383 | compatible = "regulator-fixed"; | ||
384 | regulator-name = "pwr_en_sata3"; | ||
385 | enable-active-high; | ||
386 | regulator-always-on; | ||
387 | gpio = <&expander0 12 GPIO_ACTIVE_HIGH>; | ||
388 | }; | ||
389 | |||
390 | reg_5v_sata3: v5-sata3 { | ||
391 | compatible = "regulator-fixed"; | ||
392 | regulator-name = "v5.0-sata3"; | ||
393 | regulator-min-microvolt = <5000000>; | ||
394 | regulator-max-microvolt = <5000000>; | ||
395 | regulator-always-on; | ||
396 | vin-supply = <®_sata3>; | ||
397 | }; | ||
398 | |||
399 | reg_12v_sata3: v12-sata3 { | ||
400 | compatible = "regulator-fixed"; | ||
401 | regulator-name = "v12.0-sata3"; | ||
402 | regulator-min-microvolt = <12000000>; | ||
403 | regulator-max-microvolt = <12000000>; | ||
404 | regulator-always-on; | ||
405 | vin-supply = <®_sata3>; | ||
406 | }; | ||
281 | }; | 407 | }; |
282 | 408 | ||
283 | &pinctrl { | 409 | &pinctrl { |
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 04fe80d101f8..33cad7f7a224 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi | |||
@@ -31,8 +31,7 @@ | |||
31 | }; | 31 | }; |
32 | 32 | ||
33 | soc { | 33 | soc { |
34 | compatible = "marvell,armada380-mbus", "marvell,armada370-mbus", | 34 | compatible = "marvell,armada380-mbus", "simple-bus"; |
35 | "simple-bus"; | ||
36 | #address-cells = <2>; | 35 | #address-cells = <2>; |
37 | #size-cells = <1>; | 36 | #size-cells = <1>; |
38 | controller = <&mbusc>; | 37 | controller = <&mbusc>; |
diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts index ca0200e20751..28174ab019f9 100644 --- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts +++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Note: this board is shipped with a new generation boot loader that | 4 | * Note: this board is shipped with a new generation boot loader that |
5 | * remaps internal registers at 0xf1000000. Therefore, if earlyprintk | 5 | * remaps internal registers at 0xf1000000. Therefore, if earlyprintk |
6 | * is used, the CONFIG_DEBUG_MVEBU_UART_ALTERNATE option should be | 6 | * is used, the CONFIG_DEBUG_MVEBU_UART0_ALTERNATE option or the |
7 | * used. | 7 | * CONFIG_DEBUG_MVEBU_UART1_ALTERNATE option should be used. |
8 | * | 8 | * |
9 | * Copyright (C) 2013 Marvell | 9 | * Copyright (C) 2013 Marvell |
10 | * | 10 | * |
@@ -60,10 +60,12 @@ | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | internal-regs { | 62 | internal-regs { |
63 | /* UART0 */ | ||
63 | serial@12000 { | 64 | serial@12000 { |
64 | status = "okay"; | 65 | status = "okay"; |
65 | }; | 66 | }; |
66 | 67 | ||
68 | /* UART1 */ | ||
67 | serial@12100 { | 69 | serial@12100 { |
68 | status = "okay"; | 70 | status = "okay"; |
69 | }; | 71 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-pogo_e02.dts b/arch/arm/boot/dts/kirkwood-pogo_e02.dts new file mode 100644 index 000000000000..a190080c9c4f --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-pogo_e02.dts | |||
@@ -0,0 +1,134 @@ | |||
1 | /* | ||
2 | * kirkwood-pogo_e02.dts - Device tree file for Pogoplug E02 | ||
3 | * | ||
4 | * Copyright (C) 2015 Christoph Junghans <ottxor@gentoo.org> | ||
5 | * | ||
6 | * based on information of dts files from | ||
7 | * Arch Linux ARM by Oleg Rakhmanov <moonman.ca@gmail.com> | ||
8 | * OpenWrt by Felix Kaechele <heffer@fedoraproject.org> | ||
9 | * | ||
10 | * This file is licensed under the terms of the GNU General Public | ||
11 | * License version 2. This program is licensed "as is" without any | ||
12 | * warranty of any kind, whether express or implied. | ||
13 | */ | ||
14 | |||
15 | /dts-v1/; | ||
16 | |||
17 | #include "kirkwood.dtsi" | ||
18 | #include "kirkwood-6281.dtsi" | ||
19 | |||
20 | / { | ||
21 | model = "Cloud Engines Pogoplug E02"; | ||
22 | compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281", | ||
23 | "marvell,kirkwood"; | ||
24 | |||
25 | memory { | ||
26 | device_type = "memory"; | ||
27 | reg = <0x00000000 0x10000000>; | ||
28 | }; | ||
29 | |||
30 | chosen { | ||
31 | bootargs = "console=ttyS0,115200n8"; | ||
32 | stdout-path = &uart0; | ||
33 | }; | ||
34 | |||
35 | gpio-leds { | ||
36 | compatible = "gpio-leds"; | ||
37 | |||
38 | health { | ||
39 | label = "pogo_e02:green:health"; | ||
40 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; | ||
41 | default-state = "keep"; | ||
42 | }; | ||
43 | fault { | ||
44 | label = "pogo_e02:orange:fault"; | ||
45 | gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; | ||
46 | }; | ||
47 | }; | ||
48 | |||
49 | regulators { | ||
50 | compatible = "simple-bus"; | ||
51 | #address-cells = <1>; | ||
52 | #size-cells = <0>; | ||
53 | pinctrl-0 = <&pmx_usb_power_enable>; | ||
54 | pinctrl-names = "default"; | ||
55 | |||
56 | usb_power: regulator@1 { | ||
57 | compatible = "regulator-fixed"; | ||
58 | reg = <1>; | ||
59 | regulator-name = "USB Power"; | ||
60 | regulator-min-microvolt = <5000000>; | ||
61 | regulator-max-microvolt = <5000000>; | ||
62 | enable-active-high; | ||
63 | regulator-always-on; | ||
64 | regulator-boot-on; | ||
65 | gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; | ||
66 | }; | ||
67 | }; | ||
68 | }; | ||
69 | |||
70 | &pinctrl { | ||
71 | pinctrl-0 = < &pmx_usb_power_enable &pmx_led_orange | ||
72 | &pmx_led_green >; | ||
73 | pinctrl-names = "default"; | ||
74 | |||
75 | pmx_usb_power_enable: pmx-usb-power-enable { | ||
76 | marvell,pins = "mpp29"; | ||
77 | marvell,function = "gpio"; | ||
78 | }; | ||
79 | |||
80 | pmx_led_green: pmx-led-green { | ||
81 | marvell,pins = "mpp48"; | ||
82 | marvell,function = "gpio"; | ||
83 | }; | ||
84 | |||
85 | pmx_led_orange: pmx-led-orange { | ||
86 | marvell,pins = "mpp49"; | ||
87 | marvell,function = "gpio"; | ||
88 | }; | ||
89 | }; | ||
90 | |||
91 | &uart0 { | ||
92 | status = "okay"; | ||
93 | }; | ||
94 | |||
95 | &nand { | ||
96 | chip-delay = <40>; | ||
97 | status = "okay"; | ||
98 | |||
99 | partition@0 { | ||
100 | label = "u-boot"; | ||
101 | reg = <0x0000000 0x100000>; | ||
102 | read-only; | ||
103 | }; | ||
104 | |||
105 | partition@100000 { | ||
106 | label = "uImage"; | ||
107 | reg = <0x0100000 0x400000>; | ||
108 | }; | ||
109 | |||
110 | partition@500000 { | ||
111 | label = "pogoplug"; | ||
112 | reg = <0x0500000 0x2000000>; | ||
113 | }; | ||
114 | |||
115 | partition@2500000 { | ||
116 | label = "root"; | ||
117 | reg = <0x02500000 0x5b00000>; | ||
118 | }; | ||
119 | }; | ||
120 | |||
121 | &mdio { | ||
122 | status = "okay"; | ||
123 | |||
124 | ethphy0: ethernet-phy@0 { | ||
125 | reg = <0>; | ||
126 | }; | ||
127 | }; | ||
128 | |||
129 | ð0 { | ||
130 | status = "okay"; | ||
131 | ethernet0-port@0 { | ||
132 | phy-handle = <ðphy0>; | ||
133 | }; | ||
134 | }; | ||