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