]> git.ipfire.org Git - thirdparty/linux.git/blame - arch/arm/boot/dts/marvell/kirkwood-goflexnet.dts
ARM: dts: Move .dts files to vendor sub-directories
[thirdparty/linux.git] / arch / arm / boot / dts / marvell / kirkwood-goflexnet.dts
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
5136b2aa
JC
2/dts-v1/;
3
0ab6129c
EG
4#include "kirkwood.dtsi"
5#include "kirkwood-6281.dtsi"
5136b2aa
JC
6
7/ {
8 model = "Seagate GoFlex Net";
f39c1101 9 compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood";
5136b2aa
JC
10
11 memory {
12 device_type = "memory";
13 reg = <0x00000000 0x8000000>;
14 };
15
16 chosen {
17 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
ab833614 18 stdout-path = &uart0;
5136b2aa
JC
19 };
20
21 ocp@f1000000 {
a9483969 22 pinctrl: pin-controller@10000 {
5d183ef9
AL
23 pmx_usb_power_enable: pmx-usb-power-enable {
24 marvell,pins = "mpp29";
25 marvell,function = "gpio";
26 };
27 pmx_led_right_cap_0: pmx-led_right_cap_0 {
28 marvell,pins = "mpp38";
29 marvell,function = "gpio";
30 };
31 pmx_led_right_cap_1: pmx-led_right_cap_1 {
32 marvell,pins = "mpp39";
33 marvell,function = "gpio";
34 };
35 pmx_led_right_cap_2: pmx-led_right_cap_2 {
36 marvell,pins = "mpp40";
37 marvell,function = "gpio";
38 };
39 pmx_led_right_cap_3: pmx-led_right_cap_3 {
40 marvell,pins = "mpp41";
41 marvell,function = "gpio";
42 };
43 pmx_led_left_cap_0: pmx-led_left_cap_0 {
44 marvell,pins = "mpp42";
45 marvell,function = "gpio";
46 };
47 pmx_led_left_cap_1: pmx-led_left_cap_1 {
48 marvell,pins = "mpp43";
49 marvell,function = "gpio";
50 };
51 pmx_led_left_cap_2: pmx-led_left_cap_2 {
52 marvell,pins = "mpp44";
53 marvell,function = "gpio";
54 };
55 pmx_led_left_cap_3: pmx-led_left_cap_3 {
56 marvell,pins = "mpp45";
57 marvell,function = "gpio";
58 };
59 pmx_led_green: pmx-led_green {
60 marvell,pins = "mpp46";
61 marvell,function = "gpio";
62 };
63 pmx_led_orange: pmx-led_orange {
64 marvell,pins = "mpp47";
65 marvell,function = "gpio";
66 };
67 };
5136b2aa 68 serial@12000 {
8f322209 69 status = "okay";
5136b2aa
JC
70 };
71
f3af1c73
AL
72 sata@80000 {
73 status = "okay";
74 nr-ports = <2>;
75 };
76
77 };
78 gpio-leds {
79 compatible = "gpio-leds";
7cfbb287
TP
80 pinctrl-0 = < &pmx_led_orange
81 &pmx_led_left_cap_0 &pmx_led_left_cap_1
82 &pmx_led_left_cap_2 &pmx_led_left_cap_3
83 &pmx_led_right_cap_0 &pmx_led_right_cap_1
84 &pmx_led_right_cap_2 &pmx_led_right_cap_3
85 >;
86 pinctrl-names = "default";
f3af1c73
AL
87
88 health {
89 label = "status:green:health";
3a31f2d7 90 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
dcdf14c7 91 default-state = "keep";
f3af1c73
AL
92 };
93 fault {
94 label = "status:orange:fault";
3a31f2d7 95 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
f3af1c73
AL
96 };
97 left0 {
98 label = "status:white:left0";
3a31f2d7 99 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
100 };
101 left1 {
102 label = "status:white:left1";
3a31f2d7 103 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
104 };
105 left2 {
106 label = "status:white:left2";
3a31f2d7 107 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
108 };
109 left3 {
110 label = "status:white:left3";
3a31f2d7 111 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
112 };
113 right0 {
114 label = "status:white:right0";
3a31f2d7 115 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
116 };
117 right1 {
118 label = "status:white:right1";
3a31f2d7 119 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
120 };
121 right2 {
122 label = "status:white:right2";
3a31f2d7 123 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
f3af1c73
AL
124 };
125 right3 {
126 label = "status:white:right3";
3a31f2d7 127 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
f3af1c73 128 };
5136b2aa 129 };
280b348d
AL
130 regulators {
131 compatible = "simple-bus";
132 #address-cells = <1>;
133 #size-cells = <0>;
7cfbb287
TP
134 pinctrl-0 = <&pmx_usb_power_enable>;
135 pinctrl-names = "default";
280b348d
AL
136
137 usb_power: regulator@1 {
138 compatible = "regulator-fixed";
139 reg = <1>;
140 regulator-name = "USB Power";
141 regulator-min-microvolt = <5000000>;
142 regulator-max-microvolt = <5000000>;
143 enable-active-high;
144 regulator-always-on;
145 regulator-boot-on;
3a31f2d7 146 gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
280b348d
AL
147 };
148 };
5136b2aa 149};
876e2333 150
7045ff5a
JG
151&nand {
152 chip-delay = <40>;
153 status = "okay";
154
155 partition@0 {
156 label = "u-boot";
157 reg = <0x0000000 0x100000>;
158 read-only;
159 };
160
161 partition@100000 {
162 label = "uImage";
163 reg = <0x0100000 0x400000>;
164 };
165
166 partition@500000 {
167 label = "pogoplug";
168 reg = <0x0500000 0x2000000>;
169 };
170
171 partition@2500000 {
172 label = "root";
173 reg = <0x02500000 0xd800000>;
174 };
175};
176
876e2333
SH
177&mdio {
178 status = "okay";
179
180 ethphy0: ethernet-phy@0 {
876e2333
SH
181 reg = <0>;
182 };
183};
184
185&eth0 {
186 status = "okay";
187 ethernet0-port@0 {
188 phy-handle = <&ethphy0>;
189 };
190};