blob: 8314118b6b8a33d96c75c76e563ae92f61481646 [file] [log] [blame]
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +02001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#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
Ezequiel Garcia54397d82013-07-26 10:18:05 -030021 mbus {
22 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
23 pcie-controller {
24 status = "okay";
25
26 pcie@1,0 {
27 status = "okay";
28 };
29 };
30 };
31
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020032 ocp@f1000000 {
Andrew Lunn2601c252012-11-17 17:00:47 +010033 pinctrl: pinctrl@10000 {
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020034 pmx_button_reset: pmx-button-reset {
Andrew Lunn2601c252012-11-17 17:00:47 +010035 marvell,pins = "mpp12";
36 marvell,function = "gpio";
37 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020038 pmx_button_otb: pmx-button-otb {
Andrew Lunn2601c252012-11-17 17:00:47 +010039 marvell,pins = "mpp35";
40 marvell,function = "gpio";
41 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020042 pmx_led_level: pmx-led-level {
Andrew Lunn2601c252012-11-17 17:00:47 +010043 marvell,pins = "mpp41";
44 marvell,function = "gpio";
45 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020046 pmx_led_power_blue: pmx-led-power-blue {
Andrew Lunn2601c252012-11-17 17:00:47 +010047 marvell,pins = "mpp42";
48 marvell,function = "gpio";
49 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020050 pmx_led_power_red: pmx-power-red {
Andrew Lunn2601c252012-11-17 17:00:47 +010051 marvell,pins = "mpp43";
52 marvell,function = "gpio";
53 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020054 pmx_led_usb1: pmx-led-usb1 {
Andrew Lunn2601c252012-11-17 17:00:47 +010055 marvell,pins = "mpp44";
56 marvell,function = "gpio";
57 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020058 pmx_led_usb2: pmx-led-usb2 {
Andrew Lunn2601c252012-11-17 17:00:47 +010059 marvell,pins = "mpp45";
60 marvell,function = "gpio";
61 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020062 pmx_led_usb3: pmx-led-usb3 {
Andrew Lunn2601c252012-11-17 17:00:47 +010063 marvell,pins = "mpp46";
64 marvell,function = "gpio";
65 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020066 pmx_led_usb4: pmx-led-usb4 {
Andrew Lunn2601c252012-11-17 17:00:47 +010067 marvell,pins = "mpp47";
68 marvell,function = "gpio";
69 };
Thomas Petazzoni40eb4412013-05-24 11:44:45 +020070 pmx_led_otb: pmx-led-otb {
Andrew Lunn2601c252012-11-17 17:00:47 +010071 marvell,pins = "mpp48";
72 marvell,function = "gpio";
73 };
74 };
Andrew Lunn48135a62012-07-16 12:54:58 +020075 i2c@11000 {
76 status = "okay";
77
78 lm63: lm63@4c {
79 compatible = "national,lm63";
80 reg = <0x4c>;
81 };
82 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020083 serial@12000 {
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020084 status = "ok";
85 };
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +020086
87 nand@3000000 {
88 status = "okay";
89
90 partition@0 {
91 label = "uboot";
92 reg = <0x0000000 0xc0000>;
93 };
94
95 partition@a0000 {
96 label = "env";
97 reg = <0xa0000 0x20000>;
98 };
99
100 partition@100000 {
101 label = "zImage";
102 reg = <0x100000 0x300000>;
103 };
104
105 partition@540000 {
106 label = "initrd";
107 reg = <0x540000 0x300000>;
108 };
109
110 partition@980000 {
111 label = "boot";
112 reg = <0x980000 0x1f400000>;
113 };
114 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +0200115 };
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +0200116
Andrew Lunn258f3672012-07-17 08:26:11 +0200117 gpio-leds {
118 compatible = "gpio-leds";
Thomas Petazzoniedd27182013-05-24 11:44:46 +0200119 pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
120 &pmx_led_power_red &pmx_led_usb1
121 &pmx_led_usb2 &pmx_led_usb3
122 &pmx_led_usb4 &pmx_led_otb >;
123 pinctrl-names = "default";
Andrew Lunn258f3672012-07-17 08:26:11 +0200124
125 led-level {
126 label = "led_level";
127 gpios = <&gpio1 9 0>;
128 linux,default-trigger = "default-on";
129 };
130 power-blue {
131 label = "power:blue";
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200132 gpios = <&gpio1 10 0>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200133 linux,default-trigger = "timer";
134 };
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200135 power-red {
136 label = "power:red";
137 gpios = <&gpio1 11 0>;
138 };
Andrew Lunn258f3672012-07-17 08:26:11 +0200139 usb1 {
140 label = "usb1:blue";
141 gpios = <&gpio1 12 0>;
142 };
143 usb2 {
144 label = "usb2:blue";
145 gpios = <&gpio1 13 0>;
146 };
147 usb3 {
148 label = "usb3:blue";
149 gpios = <&gpio1 14 0>;
150 };
151 usb4 {
152 label = "usb4:blue";
153 gpios = <&gpio1 15 0>;
154 };
155 otb {
156 label = "otb:blue";
157 gpios = <&gpio1 16 0>;
158 };
159 };
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200160
161 gpio_keys {
162 compatible = "gpio-keys";
163 #address-cells = <1>;
164 #size-cells = <0>;
Thomas Petazzoniedd27182013-05-24 11:44:46 +0200165 pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
166 pinctrl-names = "default";
167
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200168 button@1 {
169 label = "OTB Button";
170 linux,code = <133>;
171 gpios = <&gpio1 3 1>;
172 debounce-interval = <100>;
173 };
174 button@2 {
175 label = "Reset";
176 linux,code = <0x198>;
177 gpios = <&gpio0 12 1>;
178 debounce-interval = <100>;
179 };
180 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +0200181};