]> Pileus Git - ~andy/linux/blob - arch/arm/boot/dts/kirkwood-topkick.dts
ARM: dts: exynops4210: really add universal_c210 dts
[~andy/linux] / arch / arm / boot / dts / kirkwood-topkick.dts
1 /dts-v1/;
2
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6282.dtsi"
5
6 / {
7         model = "Univeral Scientific Industrial Co. Topkick-1281P2";
8         compatible = "usi,topkick-1281P2", "usi,topkick", "marvell,kirkwood-88f6282", "marvell,kirkwood";
9
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x10000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17         };
18
19         ocp@f1000000 {
20                 pinctrl: pinctrl@10000 {
21                         /*
22                          * GPIO LED layout
23                          *
24                          *       /-SYS_LED(2)
25                          *       |
26                          *       |   /-DISK_LED
27                          *       |   |
28                          *       |   |   /-WLAN_LED(2)
29                          *       |   |   |
30                          * [SW] [*] [*] [*]
31                          */
32
33                         /*
34                          * Switch positions
35                          *
36                          *     /-SW_LEFT(2)
37                          *     |
38                          *     |   /-SW_IDLE
39                          *     |   |
40                          *     |   |   /-SW_RIGHT
41                          *     |   |   |
42                          * PS [L] [I] [R] LEDS
43                          */
44                         pinctrl-0 = < &pmx_led_disk_yellow
45                                       &pmx_sata0_pwr_enable
46                                       &pmx_led_sys_red
47                                       &pmx_led_sys_blue
48                                       &pmx_led_wifi_green
49                                       &pmx_sw_left
50                                       &pmx_sw_right
51                                       &pmx_sw_idle
52                                       &pmx_sw_left2
53                                       &pmx_led_wifi_yellow
54                                       &pmx_uart0
55                                       &pmx_nand
56                                       &pmx_twsi0 >;
57                         pinctrl-names = "default";
58
59                         pmx_led_disk_yellow: pmx-led-disk-yellow {
60                                 marvell,pins = "mpp21";
61                                 marvell,function = "gpio";
62                         };
63
64                         pmx_sata0_pwr_enable: pmx-sata0-pwr-enable {
65                                 marvell,pins = "mpp36";
66                                 marvell,function = "gpio";
67                         };
68
69                         pmx_led_sys_red: pmx-led-sys-red {
70                                 marvell,pins = "mpp37";
71                                 marvell,function = "gpio";
72                         };
73
74                         pmx_led_sys_blue: pmx-led-sys-blue {
75                                 marvell,pins = "mpp38";
76                                 marvell,function = "gpio";
77                         };
78
79                         pmx_led_wifi_green: pmx-led-wifi-green {
80                                 marvell,pins = "mpp39";
81                                 marvell,function = "gpio";
82                         };
83
84                         pmx_sw_left: pmx-sw-left {
85                                 marvell,pins = "mpp43";
86                                 marvell,function = "gpio";
87                         };
88
89                         pmx_sw_right: pmx-sw-right {
90                                 marvell,pins = "mpp44";
91                                 marvell,function = "gpio";
92                         };
93
94                         pmx_sw_idle: pmx-sw-idle {
95                                 marvell,pins = "mpp45";
96                                 marvell,function = "gpio";
97                         };
98
99                         pmx_sw_left2: pmx-sw-left2 {
100                                 marvell,pins = "mpp46";
101                                 marvell,function = "gpio";
102                         };
103
104                         pmx_led_wifi_yellow: pmx-led-wifi-yellow {
105                                 marvell,pins = "mpp48";
106                                 marvell,function = "gpio";
107                         };
108                 };
109
110                 serial@12000 {
111                         clock-frequency = <200000000>;
112                         status = "ok";
113                 };
114
115                 nand@3000000 {
116                         status = "okay";
117
118                         partition@0 {
119                                 label = "u-boot";
120                                 reg = <0x0000000 0x180000>;
121                         };
122
123                         partition@180000 {
124                                 label = "u-boot env";
125                                 reg = <0x0180000 0x20000>;
126                         };
127
128                         partition@200000 {
129                                 label = "uImage";
130                                 reg = <0x0200000 0x600000>;
131                         };
132
133                         partition@800000 {
134                                 label = "uInitrd";
135                                 reg = <0x0800000 0x1000000>;
136                         };
137
138                         partition@1800000 {
139                                 label = "rootfs";
140                                 reg = <0x1800000 0xe800000>;
141                         };
142                 };
143
144                 sata@80000 {
145                         status = "okay";
146                         nr-ports = <1>;
147                 };
148
149                 i2c@11000 {
150                         status = "ok";
151                 };
152
153                 mvsdio@90000 {
154                         pinctrl-0 = <&pmx_sdio>;
155                         pinctrl-names = "default";
156                         status = "okay";
157                         /* No CD or WP GPIOs */
158                 };
159         };
160
161         gpio-leds {
162                 compatible = "gpio-leds";
163
164                 disk {
165                         label = "topkick:yellow:disk";
166                         gpios = <&gpio0 21 1>;
167                         linux,default-trigger = "ide-disk";
168                 };
169                 system2 {
170                         label = "topkick:red:system";
171                         gpios = <&gpio1 5 1>;
172                 };
173                 system {
174                         label = "topkick:blue:system";
175                         gpios = <&gpio1 6 1>;
176                         default-state = "on";
177                 };
178                 wifi {
179                         label = "topkick:green:wifi";
180                         gpios = <&gpio1 7 1>;
181                 };
182                 wifi2 {
183                         label = "topkick:yellow:wifi";
184                         gpios = <&gpio1 16 1>;
185                 };
186         };
187         regulators {
188                 compatible = "simple-bus";
189                 #address-cells = <1>;
190                 #size-cells = <0>;
191
192                 sata0_power: regulator@1 {
193                         compatible = "regulator-fixed";
194                         reg = <1>;
195                         regulator-name = "SATA0 Power";
196                         regulator-min-microvolt = <5000000>;
197                         regulator-max-microvolt = <5000000>;
198                         enable-active-high;
199                         regulator-always-on;
200                         regulator-boot-on;
201                         gpio = <&gpio1 4 0>;
202                 };
203         };
204 };