Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
[firefly-linux-kernel-4.4.55.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
22                         pinctrl-0 = < &pmx_usb_power_enable &pmx_led_orange
23                                       &pmx_led_left_cap_0 &pmx_led_left_cap_1
24                                       &pmx_led_left_cap_2 &pmx_led_left_cap_3
25                                       &pmx_led_right_cap_0 &pmx_led_right_cap_1
26                                       &pmx_led_right_cap_2 &pmx_led_right_cap_3
27                                     >;
28                         pinctrl-names = "default";
29
30                         pmx_usb_power_enable: pmx-usb-power-enable {
31                                 marvell,pins = "mpp29";
32                                 marvell,function = "gpio";
33                         };
34                         pmx_led_right_cap_0: pmx-led_right_cap_0 {
35                                 marvell,pins = "mpp38";
36                                 marvell,function = "gpio";
37                         };
38                         pmx_led_right_cap_1: pmx-led_right_cap_1 {
39                                 marvell,pins = "mpp39";
40                                 marvell,function = "gpio";
41                         };
42                         pmx_led_right_cap_2: pmx-led_right_cap_2 {
43                                 marvell,pins = "mpp40";
44                                 marvell,function = "gpio";
45                         };
46                         pmx_led_right_cap_3: pmx-led_right_cap_3 {
47                                 marvell,pins = "mpp41";
48                                 marvell,function = "gpio";
49                         };
50                         pmx_led_left_cap_0: pmx-led_left_cap_0 {
51                                 marvell,pins = "mpp42";
52                                 marvell,function = "gpio";
53                         };
54                         pmx_led_left_cap_1: pmx-led_left_cap_1 {
55                                 marvell,pins = "mpp43";
56                                 marvell,function = "gpio";
57                         };
58                         pmx_led_left_cap_2: pmx-led_left_cap_2 {
59                                 marvell,pins = "mpp44";
60                                 marvell,function = "gpio";
61                         };
62                         pmx_led_left_cap_3: pmx-led_left_cap_3 {
63                                 marvell,pins = "mpp45";
64                                 marvell,function = "gpio";
65                         };
66                         pmx_led_green: pmx-led_green {
67                                 marvell,pins = "mpp46";
68                                 marvell,function = "gpio";
69                         };
70                         pmx_led_orange: pmx-led_orange {
71                                 marvell,pins = "mpp47";
72                                 marvell,function = "gpio";
73                         };
74                 };
75                 serial@12000 {
76                         status = "ok";
77                 };
78
79                 nand@3000000 {
80                         chip-delay = <40>;
81                         status = "okay";
82
83                         partition@0 {
84                                 label = "u-boot";
85                                 reg = <0x0000000 0x100000>;
86                                 read-only;
87                         };
88
89                         partition@100000 {
90                                 label = "uImage";
91                                 reg = <0x0100000 0x400000>;
92                         };
93
94                         partition@500000 {
95                                 label = "pogoplug";
96                                 reg = <0x0500000 0x2000000>;
97                         };
98
99                         partition@2500000 {
100                                 label = "root";
101                                 reg = <0x02500000 0xd800000>;
102                         };
103                 };
104                 sata@80000 {
105                         status = "okay";
106                         nr-ports = <2>;
107                 };
108
109         };
110         gpio-leds {
111                 compatible = "gpio-leds";
112
113                 health {
114                         label = "status:green:health";
115                         gpios = <&gpio1 14 1>;
116                         linux,default-trigger = "default-on";
117                 };
118                 fault {
119                         label = "status:orange:fault";
120                         gpios = <&gpio1 15 1>;
121                 };
122                 left0 {
123                         label = "status:white:left0";
124                         gpios = <&gpio1 10 0>;
125                 };
126                 left1 {
127                         label = "status:white:left1";
128                         gpios = <&gpio1 11 0>;
129                 };
130                 left2 {
131                         label = "status:white:left2";
132                         gpios = <&gpio1 12 0>;
133                 };
134                 left3 {
135                         label = "status:white:left3";
136                         gpios = <&gpio1 13 0>;
137                 };
138                 right0 {
139                         label = "status:white:right0";
140                         gpios = <&gpio1 6 0>;
141                 };
142                 right1 {
143                         label = "status:white:right1";
144                         gpios = <&gpio1 7 0>;
145                 };
146                 right2 {
147                         label = "status:white:right2";
148                         gpios = <&gpio1 8 0>;
149                 };
150                 right3 {
151                         label = "status:white:right3";
152                         gpios = <&gpio1 9 0>;
153                 };
154         };
155         regulators {
156                 compatible = "simple-bus";
157                 #address-cells = <1>;
158                 #size-cells = <0>;
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 };