Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[linux-2.6.git] / arch / arm / boot / dts / kirkwood-iconnect.dts
blob441204e8abc6aa969b371a44ca2fd7dab97e9bcc
1 /dts-v1/;
3 /include/ "kirkwood.dtsi"
4 /include/ "kirkwood-6281.dtsi"
6 / {
7         model = "Iomega Iconnect";
8         compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10         memory {
11                 device_type = "memory";
12                 reg = <0x00000000 0x10000000>;
13         };
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk";
17                 linux,initrd-start = <0x4500040>;
18                 linux,initrd-end   = <0x4800000>;
19         };
21         ocp@f1000000 {
22                 pinctrl: pinctrl@10000 {
23                         pmx_button_reset: pmx-button-reset {
24                                 marvell,pins = "mpp12";
25                                 marvell,function = "gpio";
26                         };
27                         pmx_button_otb: pmx-button-otb {
28                                 marvell,pins = "mpp35";
29                                 marvell,function = "gpio";
30                         };
31                         pmx_led_level: pmx-led-level {
32                                 marvell,pins = "mpp41";
33                                 marvell,function = "gpio";
34                         };
35                         pmx_led_power_blue: pmx-led-power-blue {
36                                 marvell,pins = "mpp42";
37                                 marvell,function = "gpio";
38                         };
39                         pmx_led_power_red: pmx-power-red {
40                                 marvell,pins = "mpp43";
41                                 marvell,function = "gpio";
42                         };
43                         pmx_led_usb1: pmx-led-usb1 {
44                                 marvell,pins = "mpp44";
45                                 marvell,function = "gpio";
46                         };
47                         pmx_led_usb2: pmx-led-usb2 {
48                                 marvell,pins = "mpp45";
49                                 marvell,function = "gpio";
50                         };
51                         pmx_led_usb3: pmx-led-usb3 {
52                                 marvell,pins = "mpp46";
53                                 marvell,function = "gpio";
54                         };
55                         pmx_led_usb4: pmx-led-usb4 {
56                                 marvell,pins = "mpp47";
57                                 marvell,function = "gpio";
58                         };
59                         pmx_led_otb: pmx-led-otb {
60                                 marvell,pins = "mpp48";
61                                 marvell,function = "gpio";
62                         };
63                 };
64                 i2c@11000 {
65                         status = "okay";
67                         lm63: lm63@4c {
68                                 compatible = "national,lm63";
69                                 reg = <0x4c>;
70                         };
71                 };
72                 serial@12000 {
73                         status = "ok";
74                 };
76                 nand@3000000 {
77                         status = "okay";
79                         partition@0 {
80                                 label = "uboot";
81                                 reg = <0x0000000 0xc0000>;
82                         };
84                         partition@a0000 {
85                                 label = "env";
86                                 reg = <0xa0000 0x20000>;
87                         };
89                         partition@100000 {
90                                 label = "zImage";
91                                 reg = <0x100000 0x300000>;
92                         };
94                         partition@540000 {
95                                 label = "initrd";
96                                 reg = <0x540000 0x300000>;
97                         };
99                         partition@980000 {
100                                 label = "boot";
101                                 reg = <0x980000 0x1f400000>;
102                         };
103                 };
105                 pcie-controller {
106                         status = "okay";
108                         pcie@1,0 {
109                                 status = "okay";
110                         };
111                 };
112         };
114         gpio-leds {
115                 compatible = "gpio-leds";
116                 pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
117                               &pmx_led_power_red &pmx_led_usb1
118                               &pmx_led_usb2 &pmx_led_usb3
119                               &pmx_led_usb4 &pmx_led_otb >;
120                 pinctrl-names = "default";
122                 led-level {
123                         label = "led_level";
124                         gpios = <&gpio1 9 0>;
125                         linux,default-trigger = "default-on";
126                 };
127                 power-blue {
128                         label = "power:blue";
129                         gpios = <&gpio1 10 0>;
130                         linux,default-trigger = "timer";
131                 };
132                 power-red {
133                         label = "power:red";
134                         gpios = <&gpio1 11 0>;
135                 };
136                 usb1 {
137                         label = "usb1:blue";
138                         gpios = <&gpio1 12 0>;
139                 };
140                 usb2 {
141                         label = "usb2:blue";
142                         gpios = <&gpio1 13 0>;
143                 };
144                 usb3 {
145                         label = "usb3:blue";
146                         gpios = <&gpio1 14 0>;
147                 };
148                 usb4 {
149                         label = "usb4:blue";
150                         gpios = <&gpio1 15 0>;
151                 };
152                 otb {
153                         label = "otb:blue";
154                         gpios = <&gpio1 16 0>;
155                 };
156         };
158         gpio_keys {
159                 compatible = "gpio-keys";
160                 #address-cells = <1>;
161                 #size-cells = <0>;
162                 pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
163                 pinctrl-names = "default";
165                 button@1 {
166                         label = "OTB Button";
167                         linux,code = <133>;
168                         gpios = <&gpio1 3 1>;
169                         debounce-interval = <100>;
170                 };
171                 button@2 {
172                         label = "Reset";
173                         linux,code = <0x198>;
174                         gpios = <&gpio0 12 1>;
175                         debounce-interval = <100>;
176                 };
177         };