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