blob: 504f16be8b54bf682a4c45413a354a48fd27c35e [file] [log] [blame]
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +02001/dts-v1/;
2
3/include/ "kirkwood.dtsi"
Andrew Lunn2601c252012-11-17 17:00:47 +01004/include/ "kirkwood-6281.dtsi"
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +02005
6/ {
7 model = "Iomega Iconnect";
Andrew Lunn77843502012-07-18 19:22:54 +02008 compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +02009
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x10000000>;
13 };
14
15 chosen {
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +020016 bootargs = "console=ttyS0,115200n8 earlyprintk";
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020017 linux,initrd-start = <0x4500040>;
18 linux,initrd-end = <0x4800000>;
19 };
20
21 ocp@f1000000 {
Andrew Lunn2601c252012-11-17 17:00:47 +010022 pinctrl: pinctrl@10000 {
23
24 pinctrl-0 = < &pmx_gpio_12 &pmx_gpio_35
25 &pmx_gpio_41 &pmx_gpio_42
26 &pmx_gpio_43 &pmx_gpio_44
27 &pmx_gpio_45 &pmx_gpio_46
28 &pmx_gpio_47 &pmx_gpio_48 >;
29 pinctrl-names = "default";
30
31 pmx_gpio_12: pmx-gpio-12 {
32 marvell,pins = "mpp12";
33 marvell,function = "gpio";
34 };
35 pmx_gpio_35: pmx-gpio-35 {
36 marvell,pins = "mpp35";
37 marvell,function = "gpio";
38 };
39 pmx_gpio_41: pmx-gpio-41 {
40 marvell,pins = "mpp41";
41 marvell,function = "gpio";
42 };
43 pmx_gpio_42: pmx-gpio-42 {
44 marvell,pins = "mpp42";
45 marvell,function = "gpio";
46 };
47 pmx_gpio_43: pmx-gpio-43 {
48 marvell,pins = "mpp43";
49 marvell,function = "gpio";
50 };
51 pmx_gpio_44: pmx-gpio-44 {
52 marvell,pins = "mpp44";
53 marvell,function = "gpio";
54 };
55 pmx_gpio_45: pmx-gpio-45 {
56 marvell,pins = "mpp45";
57 marvell,function = "gpio";
58 };
59 pmx_gpio_46: pmx-gpio-46 {
60 marvell,pins = "mpp46";
61 marvell,function = "gpio";
62 };
63 pmx_gpio_47: pmx-gpio-47 {
64 marvell,pins = "mpp47";
65 marvell,function = "gpio";
66 };
67 pmx_gpio_48: pmx-gpio-48 {
68 marvell,pins = "mpp48";
69 marvell,function = "gpio";
70 };
71 };
Andrew Lunn48135a62012-07-16 12:54:58 +020072 i2c@11000 {
73 status = "okay";
74
75 lm63: lm63@4c {
76 compatible = "national,lm63";
77 reg = <0x4c>;
78 };
79 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020080 serial@12000 {
81 clock-frequency = <200000000>;
82 status = "ok";
83 };
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +020084
85 nand@3000000 {
86 status = "okay";
87
88 partition@0 {
89 label = "uboot";
90 reg = <0x0000000 0xc0000>;
91 };
92
93 partition@a0000 {
94 label = "env";
95 reg = <0xa0000 0x20000>;
96 };
97
98 partition@100000 {
99 label = "zImage";
100 reg = <0x100000 0x300000>;
101 };
102
103 partition@540000 {
104 label = "initrd";
105 reg = <0x540000 0x300000>;
106 };
107
108 partition@980000 {
109 label = "boot";
110 reg = <0x980000 0x1f400000>;
111 };
112 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +0200113 };
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +0200114
Andrew Lunn258f3672012-07-17 08:26:11 +0200115 gpio-leds {
116 compatible = "gpio-leds";
117
118 led-level {
119 label = "led_level";
120 gpios = <&gpio1 9 0>;
121 linux,default-trigger = "default-on";
122 };
123 power-blue {
124 label = "power:blue";
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200125 gpios = <&gpio1 10 0>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200126 linux,default-trigger = "timer";
127 };
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200128 power-red {
129 label = "power:red";
130 gpios = <&gpio1 11 0>;
131 };
Andrew Lunn258f3672012-07-17 08:26:11 +0200132 usb1 {
133 label = "usb1:blue";
134 gpios = <&gpio1 12 0>;
135 };
136 usb2 {
137 label = "usb2:blue";
138 gpios = <&gpio1 13 0>;
139 };
140 usb3 {
141 label = "usb3:blue";
142 gpios = <&gpio1 14 0>;
143 };
144 usb4 {
145 label = "usb4:blue";
146 gpios = <&gpio1 15 0>;
147 };
148 otb {
149 label = "otb:blue";
150 gpios = <&gpio1 16 0>;
151 };
152 };
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200153
154 gpio_keys {
155 compatible = "gpio-keys";
156 #address-cells = <1>;
157 #size-cells = <0>;
158 button@1 {
159 label = "OTB Button";
160 linux,code = <133>;
161 gpios = <&gpio1 3 1>;
162 debounce-interval = <100>;
163 };
164 button@2 {
165 label = "Reset";
166 linux,code = <0x198>;
167 gpios = <&gpio0 12 1>;
168 debounce-interval = <100>;
169 };
170 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +0200171};