xref: /linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-iconnect.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include "kirkwood.dtsi"
5724ba675SRob Herring#include "kirkwood-6281.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Iomega Iconnect";
9724ba675SRob Herring	compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10724ba675SRob Herring
11724ba675SRob Herring	memory {
12724ba675SRob Herring		device_type = "memory";
13724ba675SRob Herring		reg = <0x00000000 0x10000000>;
14724ba675SRob Herring	};
15724ba675SRob Herring
16724ba675SRob Herring	chosen {
17724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
18724ba675SRob Herring		stdout-path = &uart0;
19724ba675SRob Herring		linux,initrd-start = <0x4500040>;
20724ba675SRob Herring		linux,initrd-end   = <0x4800000>;
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	ocp@f1000000 {
24724ba675SRob Herring		pinctrl: pin-controller@10000 {
25724ba675SRob Herring			pmx_button_reset: pmx-button-reset {
26724ba675SRob Herring				marvell,pins = "mpp12";
27724ba675SRob Herring				marvell,function = "gpio";
28724ba675SRob Herring			};
29724ba675SRob Herring			pmx_button_otb: pmx-button-otb {
30724ba675SRob Herring				marvell,pins = "mpp35";
31724ba675SRob Herring				marvell,function = "gpio";
32724ba675SRob Herring			};
33724ba675SRob Herring			pmx_led_level: pmx-led-level {
34724ba675SRob Herring				marvell,pins = "mpp41";
35724ba675SRob Herring				marvell,function = "gpio";
36724ba675SRob Herring			};
37724ba675SRob Herring			pmx_led_power_blue: pmx-led-power-blue {
38724ba675SRob Herring				marvell,pins = "mpp42";
39724ba675SRob Herring				marvell,function = "gpio";
40724ba675SRob Herring			};
41724ba675SRob Herring			pmx_led_power_red: pmx-power-red {
42724ba675SRob Herring				marvell,pins = "mpp43";
43724ba675SRob Herring				marvell,function = "gpio";
44724ba675SRob Herring			};
45724ba675SRob Herring			pmx_led_usb1: pmx-led-usb1 {
46724ba675SRob Herring				marvell,pins = "mpp44";
47724ba675SRob Herring				marvell,function = "gpio";
48724ba675SRob Herring			};
49724ba675SRob Herring			pmx_led_usb2: pmx-led-usb2 {
50724ba675SRob Herring				marvell,pins = "mpp45";
51724ba675SRob Herring				marvell,function = "gpio";
52724ba675SRob Herring			};
53724ba675SRob Herring			pmx_led_usb3: pmx-led-usb3 {
54724ba675SRob Herring				marvell,pins = "mpp46";
55724ba675SRob Herring				marvell,function = "gpio";
56724ba675SRob Herring			};
57724ba675SRob Herring			pmx_led_usb4: pmx-led-usb4 {
58724ba675SRob Herring				marvell,pins = "mpp47";
59724ba675SRob Herring				marvell,function = "gpio";
60724ba675SRob Herring			};
61724ba675SRob Herring			pmx_led_otb: pmx-led-otb {
62724ba675SRob Herring				marvell,pins = "mpp48";
63724ba675SRob Herring				marvell,function = "gpio";
64724ba675SRob Herring			};
65724ba675SRob Herring		};
66724ba675SRob Herring		i2c@11000 {
67724ba675SRob Herring			status = "okay";
68724ba675SRob Herring
69724ba675SRob Herring			lm63: lm63@4c {
70724ba675SRob Herring				compatible = "national,lm63";
71724ba675SRob Herring				reg = <0x4c>;
72724ba675SRob Herring			};
73724ba675SRob Herring		};
74724ba675SRob Herring		serial@12000 {
75724ba675SRob Herring			status = "okay";
76724ba675SRob Herring		};
77724ba675SRob Herring	};
78724ba675SRob Herring
79724ba675SRob Herring	gpio-leds {
80724ba675SRob Herring		compatible = "gpio-leds";
81724ba675SRob Herring		pinctrl-0 = < &pmx_led_level &pmx_led_power_blue
82724ba675SRob Herring			      &pmx_led_power_red &pmx_led_usb1
83724ba675SRob Herring			      &pmx_led_usb2 &pmx_led_usb3
84724ba675SRob Herring			      &pmx_led_usb4 &pmx_led_otb >;
85724ba675SRob Herring		pinctrl-names = "default";
86724ba675SRob Herring
87724ba675SRob Herring		led-level {
88724ba675SRob Herring			label = "led_level";
89724ba675SRob Herring			gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
90724ba675SRob Herring			default-state = "on";
91724ba675SRob Herring		};
92*9d0120b7SKrzysztof Kozlowski		led-power-blue {
93724ba675SRob Herring			label = "power:blue";
94724ba675SRob Herring			gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
95724ba675SRob Herring			default-state = "keep";
96724ba675SRob Herring		};
97*9d0120b7SKrzysztof Kozlowski		led-power-red {
98724ba675SRob Herring			label = "power:red";
99724ba675SRob Herring			gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
100724ba675SRob Herring		};
101*9d0120b7SKrzysztof Kozlowski		led-usb1 {
102724ba675SRob Herring			label = "usb1:blue";
103724ba675SRob Herring			gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
104724ba675SRob Herring		};
105*9d0120b7SKrzysztof Kozlowski		led-usb2 {
106724ba675SRob Herring			label = "usb2:blue";
107724ba675SRob Herring			gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
108724ba675SRob Herring		};
109*9d0120b7SKrzysztof Kozlowski		led-usb3 {
110724ba675SRob Herring			label = "usb3:blue";
111724ba675SRob Herring			gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
112724ba675SRob Herring		};
113*9d0120b7SKrzysztof Kozlowski		led-usb4 {
114724ba675SRob Herring			label = "usb4:blue";
115724ba675SRob Herring			gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
116724ba675SRob Herring		};
117*9d0120b7SKrzysztof Kozlowski		led-otb {
118724ba675SRob Herring			label = "otb:blue";
119724ba675SRob Herring			gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
120724ba675SRob Herring		};
121724ba675SRob Herring	};
122724ba675SRob Herring
123724ba675SRob Herring	gpio_keys {
124724ba675SRob Herring		compatible = "gpio-keys";
125724ba675SRob Herring		pinctrl-0 = < &pmx_button_reset &pmx_button_otb >;
126724ba675SRob Herring		pinctrl-names = "default";
127724ba675SRob Herring
128b98a9191SKrzysztof Kozlowski		button-otb {
129724ba675SRob Herring			label = "OTB Button";
130724ba675SRob Herring			linux,code = <KEY_COPY>;
131724ba675SRob Herring			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
132724ba675SRob Herring			debounce-interval = <100>;
133724ba675SRob Herring		};
134b98a9191SKrzysztof Kozlowski		button-reset {
135724ba675SRob Herring			label = "Reset";
136724ba675SRob Herring			linux,code = <KEY_RESTART>;
137724ba675SRob Herring			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
138724ba675SRob Herring			debounce-interval = <100>;
139724ba675SRob Herring		};
140724ba675SRob Herring	};
141724ba675SRob Herring};
142724ba675SRob Herring
143724ba675SRob Herring&nand {
144724ba675SRob Herring	status = "okay";
145724ba675SRob Herring
146724ba675SRob Herring	partition@0 {
147724ba675SRob Herring		label = "uboot";
148724ba675SRob Herring		reg = <0x0000000 0xc0000>;
149724ba675SRob Herring	};
150724ba675SRob Herring
151724ba675SRob Herring	partition@a0000 {
152724ba675SRob Herring		label = "env";
153724ba675SRob Herring		reg = <0xa0000 0x20000>;
154724ba675SRob Herring	};
155724ba675SRob Herring
156724ba675SRob Herring	partition@100000 {
157724ba675SRob Herring		label = "zImage";
158724ba675SRob Herring		reg = <0x100000 0x300000>;
159724ba675SRob Herring	};
160724ba675SRob Herring
161724ba675SRob Herring	partition@540000 {
162724ba675SRob Herring		label = "initrd";
163724ba675SRob Herring		reg = <0x540000 0x300000>;
164724ba675SRob Herring	};
165724ba675SRob Herring
166724ba675SRob Herring	partition@980000 {
167724ba675SRob Herring		label = "boot";
168724ba675SRob Herring		reg = <0x980000 0x1f400000>;
169724ba675SRob Herring	};
170724ba675SRob Herring};
171724ba675SRob Herring
172724ba675SRob Herring&mdio {
173724ba675SRob Herring	status = "okay";
174724ba675SRob Herring
175724ba675SRob Herring	ethphy0: ethernet-phy@11 {
176724ba675SRob Herring		reg = <11>;
177724ba675SRob Herring	};
178724ba675SRob Herring};
179724ba675SRob Herring
180724ba675SRob Herring&eth0 {
181724ba675SRob Herring	status = "okay";
182724ba675SRob Herring	ethernet0-port@0 {
183724ba675SRob Herring		phy-handle = <&ethphy0>;
184724ba675SRob Herring	};
185724ba675SRob Herring};
186724ba675SRob Herring
187724ba675SRob Herring&pciec {
188724ba675SRob Herring	status = "okay";
189724ba675SRob Herring};
190724ba675SRob Herring
191724ba675SRob Herring&pcie0 {
192724ba675SRob Herring	status = "okay";
193724ba675SRob Herring};
194