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