blob: 38e31d15a62d3fc41d91425beba35a41c44fa7a1 [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";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020017 stdout-path = &uart0;
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +020018 linux,initrd-start = <0x4500040>;
19 linux,initrd-end = <0x4800000>;
20 };
21
Ezequiel Garcia54397d82013-07-26 10:18:05 -030022 mbus {
Ezequiel Garcia54397d82013-07-26 10:18:05 -030023 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 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020033 pinctrl: pin-controller@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 };
86 };
Arnaud Patard (Rtp)2eecb472012-08-05 22:39:13 +020087
Andrew Lunn258f3672012-07-17 08:26:11 +020088 gpio-leds {
89 compatible = "gpio-leds";
Thomas Petazzoniedd27182013-05-24 11:44:46 +020090 pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
91 &pmx_led_power_red &pmx_led_usb1
92 &pmx_led_usb2 &pmx_led_usb3
93 &pmx_led_usb4 &pmx_led_otb >;
94 pinctrl-names = "default";
Andrew Lunn258f3672012-07-17 08:26:11 +020095
96 led-level {
97 label = "led_level";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010098 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +000099 default-state = "on";
Andrew Lunn258f3672012-07-17 08:26:11 +0200100 };
101 power-blue {
102 label = "power:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100103 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
Jason Cooperdcdf14c2013-10-14 17:37:55 +0000104 default-state = "keep";
Andrew Lunn258f3672012-07-17 08:26:11 +0200105 };
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200106 power-red {
107 label = "power:red";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100108 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
Arnaud Patard (Rtp)03810a22012-08-05 22:35:56 +0200109 };
Andrew Lunn258f3672012-07-17 08:26:11 +0200110 usb1 {
111 label = "usb1:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100112 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200113 };
114 usb2 {
115 label = "usb2:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100116 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200117 };
118 usb3 {
119 label = "usb3:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100120 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200121 };
122 usb4 {
123 label = "usb4:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100124 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200125 };
126 otb {
127 label = "otb:blue";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100128 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
Andrew Lunn258f3672012-07-17 08:26:11 +0200129 };
130 };
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200131
132 gpio_keys {
133 compatible = "gpio-keys";
134 #address-cells = <1>;
135 #size-cells = <0>;
Thomas Petazzoniedd27182013-05-24 11:44:46 +0200136 pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
137 pinctrl-names = "default";
138
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200139 button@1 {
140 label = "OTB Button";
Andrew Lunn23301192013-12-04 16:51:38 +0100141 linux,code = <KEY_COPY>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100142 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200143 debounce-interval = <100>;
144 };
145 button@2 {
146 label = "Reset";
Andrew Lunn23301192013-12-04 16:51:38 +0100147 linux,code = <KEY_RESTART>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +0100148 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
Arnaud Patard (Rtp)17ba0222012-08-05 22:39:12 +0200149 debounce-interval = <100>;
150 };
151 };
Arnaud Patard (Rtp)c06cd9b2012-04-18 23:16:41 +0200152};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200153
Jason Gunthorpe7045ff52013-09-17 12:44:33 -0600154&nand {
155 status = "okay";
156
157 partition@0 {
158 label = "uboot";
159 reg = <0x0000000 0xc0000>;
160 };
161
162 partition@a0000 {
163 label = "env";
164 reg = <0xa0000 0x20000>;
165 };
166
167 partition@100000 {
168 label = "zImage";
169 reg = <0x100000 0x300000>;
170 };
171
172 partition@540000 {
173 label = "initrd";
174 reg = <0x540000 0x300000>;
175 };
176
177 partition@980000 {
178 label = "boot";
179 reg = <0x980000 0x1f400000>;
180 };
181};
182
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200183&mdio {
184 status = "okay";
185
186 ethphy0: ethernet-phy@11 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +0200187 reg = <11>;
188 };
189};
190
191&eth0 {
192 status = "okay";
193 ethernet0-port@0 {
194 phy-handle = <&ethphy0>;
195 };
196};