diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2015-01-13 23:49:29 -0500 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2015-01-21 19:35:26 -0500 |
commit | 7636bda61aacbef955c7f0088f7c3cb0875dc4a9 (patch) | |
tree | 8fa4596cf1609b7f1c1a7269c2ec76552f10df4e /arch/arm/boot/dts/kirkwood-pogo_e02.dts | |
parent | a9e274c42da9213c94e308fae9aa488d3698f86a (diff) |
ARM: Kirkwood: Added support for pogoplug e02 (pink/gray)
The pogoplug differs from the SheevaPlug only by a
few details, but especially in the led assignments.
This patch was tested under Gentoo Linux and is
based on dts files from Arch Linux ARM and OpenWrt.
Suggested-by: Felix Kaechele <heffer@fedoraproject.org>
Suggested-by: Oleg Rakhmanov <moonman.ca@gmail.com>
Signed-off-by: Christoph Junghans <ottxor@gentoo.org>
[Andrew Lunn <andrew@lunn.ch>: Fixed subject line]
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-pogo_e02.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-pogo_e02.dts | 134 |
1 files changed, 134 insertions, 0 deletions
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 | }; | ||