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