1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/dts-v1/;
3*724ba675SRob Herring
4*724ba675SRob Herring#include "kirkwood.dtsi"
5*724ba675SRob Herring#include "kirkwood-6281.dtsi"
6*724ba675SRob Herring
7*724ba675SRob Herring/ {
8*724ba675SRob Herring	model = "Iomega Iconnect";
9*724ba675SRob Herring	compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10*724ba675SRob Herring
11*724ba675SRob Herring	memory {
12*724ba675SRob Herring		device_type = "memory";
13*724ba675SRob Herring		reg = <0x00000000 0x10000000>;
14*724ba675SRob Herring	};
15*724ba675SRob Herring
16*724ba675SRob Herring	chosen {
17*724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
18*724ba675SRob Herring		stdout-path = &uart0;
19*724ba675SRob Herring		linux,initrd-start = <0x4500040>;
20*724ba675SRob Herring		linux,initrd-end   = <0x4800000>;
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	ocp@f1000000 {
24*724ba675SRob Herring		pinctrl: pin-controller@10000 {
25*724ba675SRob Herring			pmx_button_reset: pmx-button-reset {
26*724ba675SRob Herring				marvell,pins = "mpp12";
27*724ba675SRob Herring				marvell,function = "gpio";
28*724ba675SRob Herring			};
29*724ba675SRob Herring			pmx_button_otb: pmx-button-otb {
30*724ba675SRob Herring				marvell,pins = "mpp35";
31*724ba675SRob Herring				marvell,function = "gpio";
32*724ba675SRob Herring			};
33*724ba675SRob Herring			pmx_led_level: pmx-led-level {
34*724ba675SRob Herring				marvell,pins = "mpp41";
35*724ba675SRob Herring				marvell,function = "gpio";
36*724ba675SRob Herring			};
37*724ba675SRob Herring			pmx_led_power_blue: pmx-led-power-blue {
38*724ba675SRob Herring				marvell,pins = "mpp42";
39*724ba675SRob Herring				marvell,function = "gpio";
40*724ba675SRob Herring			};
41*724ba675SRob Herring			pmx_led_power_red: pmx-power-red {
42*724ba675SRob Herring				marvell,pins = "mpp43";
43*724ba675SRob Herring				marvell,function = "gpio";
44*724ba675SRob Herring			};
45*724ba675SRob Herring			pmx_led_usb1: pmx-led-usb1 {
46*724ba675SRob Herring				marvell,pins = "mpp44";
47*724ba675SRob Herring				marvell,function = "gpio";
48*724ba675SRob Herring			};
49*724ba675SRob Herring			pmx_led_usb2: pmx-led-usb2 {
50*724ba675SRob Herring				marvell,pins = "mpp45";
51*724ba675SRob Herring				marvell,function = "gpio";
52*724ba675SRob Herring			};
53*724ba675SRob Herring			pmx_led_usb3: pmx-led-usb3 {
54*724ba675SRob Herring				marvell,pins = "mpp46";
55*724ba675SRob Herring				marvell,function = "gpio";
56*724ba675SRob Herring			};
57*724ba675SRob Herring			pmx_led_usb4: pmx-led-usb4 {
58*724ba675SRob Herring				marvell,pins = "mpp47";
59*724ba675SRob Herring				marvell,function = "gpio";
60*724ba675SRob Herring			};
61*724ba675SRob Herring			pmx_led_otb: pmx-led-otb {
62*724ba675SRob Herring				marvell,pins = "mpp48";
63*724ba675SRob Herring				marvell,function = "gpio";
64*724ba675SRob Herring			};
65*724ba675SRob Herring		};
66*724ba675SRob Herring		i2c@11000 {
67*724ba675SRob Herring			status = "okay";
68*724ba675SRob Herring
69*724ba675SRob Herring			lm63: lm63@4c {
70*724ba675SRob Herring				compatible = "national,lm63";
71*724ba675SRob Herring				reg = <0x4c>;
72*724ba675SRob Herring			};
73*724ba675SRob Herring		};
74*724ba675SRob Herring		serial@12000 {
75*724ba675SRob Herring			status = "okay";
76*724ba675SRob Herring		};
77*724ba675SRob Herring	};
78*724ba675SRob Herring
79*724ba675SRob Herring	gpio-leds {
80*724ba675SRob Herring		compatible = "gpio-leds";
81*724ba675SRob Herring		pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
82*724ba675SRob Herring			      &pmx_led_power_red &pmx_led_usb1
83*724ba675SRob Herring			      &pmx_led_usb2 &pmx_led_usb3
84*724ba675SRob Herring			      &pmx_led_usb4 &pmx_led_otb >;
85*724ba675SRob Herring		pinctrl-names = "default";
86*724ba675SRob Herring
87*724ba675SRob Herring		led-level {
88*724ba675SRob Herring			label = "led_level";
89*724ba675SRob Herring			gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
90*724ba675SRob Herring			default-state = "on";
91*724ba675SRob Herring		};
92*724ba675SRob Herring		power-blue {
93*724ba675SRob Herring			label = "power:blue";
94*724ba675SRob Herring			gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
95*724ba675SRob Herring			default-state = "keep";
96*724ba675SRob Herring		};
97*724ba675SRob Herring		power-red {
98*724ba675SRob Herring			label = "power:red";
99*724ba675SRob Herring			gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
100*724ba675SRob Herring		};
101*724ba675SRob Herring		usb1 {
102*724ba675SRob Herring			label = "usb1:blue";
103*724ba675SRob Herring			gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
104*724ba675SRob Herring		};
105*724ba675SRob Herring		usb2 {
106*724ba675SRob Herring			label = "usb2:blue";
107*724ba675SRob Herring			gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
108*724ba675SRob Herring		};
109*724ba675SRob Herring		usb3 {
110*724ba675SRob Herring			label = "usb3:blue";
111*724ba675SRob Herring			gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
112*724ba675SRob Herring		};
113*724ba675SRob Herring		usb4 {
114*724ba675SRob Herring			label = "usb4:blue";
115*724ba675SRob Herring			gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
116*724ba675SRob Herring		};
117*724ba675SRob Herring		otb {
118*724ba675SRob Herring			label = "otb:blue";
119*724ba675SRob Herring			gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
120*724ba675SRob Herring		};
121*724ba675SRob Herring	};
122*724ba675SRob Herring
123*724ba675SRob Herring	gpio_keys {
124*724ba675SRob Herring		compatible = "gpio-keys";
125*724ba675SRob Herring		#address-cells = <1>;
126*724ba675SRob Herring		#size-cells = <0>;
127*724ba675SRob Herring		pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
128*724ba675SRob Herring		pinctrl-names = "default";
129*724ba675SRob Herring
130*724ba675SRob Herring		otb {
131*724ba675SRob Herring			label = "OTB Button";
132*724ba675SRob Herring			linux,code = <KEY_COPY>;
133*724ba675SRob Herring			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
134*724ba675SRob Herring			debounce-interval = <100>;
135*724ba675SRob Herring		};
136*724ba675SRob Herring		reset {
137*724ba675SRob Herring			label = "Reset";
138*724ba675SRob Herring			linux,code = <KEY_RESTART>;
139*724ba675SRob Herring			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
140*724ba675SRob Herring			debounce-interval = <100>;
141*724ba675SRob Herring		};
142*724ba675SRob Herring	};
143*724ba675SRob Herring};
144*724ba675SRob Herring
145*724ba675SRob Herring&nand {
146*724ba675SRob Herring	status = "okay";
147*724ba675SRob Herring
148*724ba675SRob Herring	partition@0 {
149*724ba675SRob Herring		label = "uboot";
150*724ba675SRob Herring		reg = <0x0000000 0xc0000>;
151*724ba675SRob Herring	};
152*724ba675SRob Herring
153*724ba675SRob Herring	partition@a0000 {
154*724ba675SRob Herring		label = "env";
155*724ba675SRob Herring		reg = <0xa0000 0x20000>;
156*724ba675SRob Herring	};
157*724ba675SRob Herring
158*724ba675SRob Herring	partition@100000 {
159*724ba675SRob Herring		label = "zImage";
160*724ba675SRob Herring		reg = <0x100000 0x300000>;
161*724ba675SRob Herring	};
162*724ba675SRob Herring
163*724ba675SRob Herring	partition@540000 {
164*724ba675SRob Herring		label = "initrd";
165*724ba675SRob Herring		reg = <0x540000 0x300000>;
166*724ba675SRob Herring	};
167*724ba675SRob Herring
168*724ba675SRob Herring	partition@980000 {
169*724ba675SRob Herring		label = "boot";
170*724ba675SRob Herring		reg = <0x980000 0x1f400000>;
171*724ba675SRob Herring	};
172*724ba675SRob Herring};
173*724ba675SRob Herring
174*724ba675SRob Herring&mdio {
175*724ba675SRob Herring	status = "okay";
176*724ba675SRob Herring
177*724ba675SRob Herring	ethphy0: ethernet-phy@11 {
178*724ba675SRob Herring		reg = <11>;
179*724ba675SRob Herring	};
180*724ba675SRob Herring};
181*724ba675SRob Herring
182*724ba675SRob Herring&eth0 {
183*724ba675SRob Herring	status = "okay";
184*724ba675SRob Herring	ethernet0-port@0 {
185*724ba675SRob Herring		phy-handle = <&ethphy0>;
186*724ba675SRob Herring	};
187*724ba675SRob Herring};
188*724ba675SRob Herring
189*724ba675SRob Herring&pciec {
190*724ba675SRob Herring	status = "okay";
191*724ba675SRob Herring};
192*724ba675SRob Herring
193*724ba675SRob Herring&pcie0 {
194*724ba675SRob Herring	status = "okay";
195*724ba675SRob Herring};
196