blob: bb1d4df5c690c5d17684d6d4e981b63b2acc09ca [file] [log] [blame]
Jason Cooper767fc1e2012-10-22 02:15:35 +00001/dts-v1/;
2
3/include/ "kirkwood.dtsi"
Jason Cooper15989542013-01-26 20:50:11 +00004/include/ "kirkwood-6282.dtsi"
Jason Cooper767fc1e2012-10-22 02:15:35 +00005
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 {
Jason Cooper15989542013-01-26 20:50:11 +000020 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 pinctrl-names = "default";
57
58 pmx_led_disk_yellow: pmx-led-disk-yellow {
59 marvell,pins = "mpp21";
60 marvell,function = "gpio";
61 };
62
63 pmx_sata0_pwr_enable: pmx-sata0-pwr-enable {
64 marvell,pins = "mpp36";
65 marvell,function = "gpio";
66 };
67
68 pmx_led_sys_red: pmx-led-sys-red {
69 marvell,pins = "mpp37";
70 marvell,function = "gpio";
71 };
72
73 pmx_led_sys_blue: pmx-led-sys-blue {
74 marvell,pins = "mpp38";
75 marvell,function = "gpio";
76 };
77
78 pmx_led_wifi_green: pmx-led-wifi-green {
79 marvell,pins = "mpp39";
80 marvell,function = "gpio";
81 };
82
83 pmx_sw_left: pmx-sw-left {
84 marvell,pins = "mpp43";
85 marvell,function = "gpio";
86 };
87
88 pmx_sw_right: pmx-sw-right {
89 marvell,pins = "mpp44";
90 marvell,function = "gpio";
91 };
92
93 pmx_sw_idle: pmx-sw-idle {
94 marvell,pins = "mpp45";
95 marvell,function = "gpio";
96 };
97
98 pmx_sw_left2: pmx-sw-left2 {
99 marvell,pins = "mpp46";
100 marvell,function = "gpio";
101 };
102
103 pmx_led_wifi_yellow: pmx-led-wifi-yellow {
104 marvell,pins = "mpp48";
105 marvell,function = "gpio";
106 };
107 };
108
Jason Cooper767fc1e2012-10-22 02:15:35 +0000109 serial@12000 {
110 clock-frequency = <200000000>;
111 status = "ok";
112 };
113
114 nand@3000000 {
115 status = "okay";
116
117 partition@0 {
118 label = "u-boot";
119 reg = <0x0000000 0x180000>;
120 };
121
122 partition@180000 {
123 label = "u-boot env";
124 reg = <0x0180000 0x20000>;
125 };
126
127 partition@200000 {
128 label = "uImage";
129 reg = <0x0200000 0x600000>;
130 };
131
132 partition@800000 {
133 label = "uInitrd";
134 reg = <0x0800000 0x1000000>;
135 };
136
137 partition@1800000 {
138 label = "rootfs";
139 reg = <0x1800000 0xe800000>;
140 };
141 };
142
143 sata@80000 {
144 status = "okay";
145 nr-ports = <1>;
146 };
147 };
148
149 gpio-leds {
150 compatible = "gpio-leds";
151
152 disk {
153 label = "topkick:yellow:disk";
154 gpios = <&gpio0 21 1>;
155 linux,default-trigger = "ide-disk";
156 };
157 system2 {
158 label = "topkick:red:system";
159 gpios = <&gpio1 5 1>;
160 };
161 system {
162 label = "topkick:blue:system";
163 gpios = <&gpio1 6 1>;
164 default-state = "on";
165 };
166 wifi {
167 label = "topkick:green:wifi";
168 gpios = <&gpio1 7 1>;
169 };
170 wifi2 {
171 label = "topkick:yellow:wifi";
172 gpios = <&gpio1 16 1>;
173 };
174 };
Andrew Lunn8758c882013-01-06 11:10:38 +0100175 regulators {
176 compatible = "simple-bus";
177 #address-cells = <1>;
178 #size-cells = <0>;
179
180 sata0_power: regulator@1 {
181 compatible = "regulator-fixed";
182 reg = <1>;
183 regulator-name = "SATA0 Power";
184 regulator-min-microvolt = <5000000>;
185 regulator-max-microvolt = <5000000>;
186 enable-active-high;
187 regulator-always-on;
188 regulator-boot-on;
189 gpio = <&gpio1 4 0>;
190 };
191 };
Jason Cooper767fc1e2012-10-22 02:15:35 +0000192};