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"; |
ab833614 | 17 | stdout-path = &uart0; |
c06cd9bf APR |
18 | linux,initrd-start = <0x4500040>; |
19 | linux,initrd-end = <0x4800000>; | |
20 | }; | |
21 | ||
54397d85 | 22 | mbus { |
54397d85 EG |
23 | pcie-controller { |
24 | status = "okay"; | |
25 | ||
26 | pcie@1,0 { | |
27 | status = "okay"; | |
28 | }; | |
29 | }; | |
30 | }; | |
31 | ||
c06cd9bf | 32 | ocp@f1000000 { |
a9483969 | 33 | pinctrl: pin-controller@10000 { |
40eb4417 | 34 | pmx_button_reset: pmx-button-reset { |
2601c254 AL |
35 | marvell,pins = "mpp12"; |
36 | marvell,function = "gpio"; | |
37 | }; | |
40eb4417 | 38 | pmx_button_otb: pmx-button-otb { |
2601c254 AL |
39 | marvell,pins = "mpp35"; |
40 | marvell,function = "gpio"; | |
41 | }; | |
40eb4417 | 42 | pmx_led_level: pmx-led-level { |
2601c254 AL |
43 | marvell,pins = "mpp41"; |
44 | marvell,function = "gpio"; | |
45 | }; | |
40eb4417 | 46 | pmx_led_power_blue: pmx-led-power-blue { |
2601c254 AL |
47 | marvell,pins = "mpp42"; |
48 | marvell,function = "gpio"; | |
49 | }; | |
40eb4417 | 50 | pmx_led_power_red: pmx-power-red { |
2601c254 AL |
51 | marvell,pins = "mpp43"; |
52 | marvell,function = "gpio"; | |
53 | }; | |
40eb4417 | 54 | pmx_led_usb1: pmx-led-usb1 { |
2601c254 AL |
55 | marvell,pins = "mpp44"; |
56 | marvell,function = "gpio"; | |
57 | }; | |
40eb4417 | 58 | pmx_led_usb2: pmx-led-usb2 { |
2601c254 AL |
59 | marvell,pins = "mpp45"; |
60 | marvell,function = "gpio"; | |
61 | }; | |
40eb4417 | 62 | pmx_led_usb3: pmx-led-usb3 { |
2601c254 AL |
63 | marvell,pins = "mpp46"; |
64 | marvell,function = "gpio"; | |
65 | }; | |
40eb4417 | 66 | pmx_led_usb4: pmx-led-usb4 { |
2601c254 AL |
67 | marvell,pins = "mpp47"; |
68 | marvell,function = "gpio"; | |
69 | }; | |
40eb4417 | 70 | pmx_led_otb: pmx-led-otb { |
2601c254 AL |
71 | marvell,pins = "mpp48"; |
72 | marvell,function = "gpio"; | |
73 | }; | |
74 | }; | |
48135a66 AL |
75 | i2c@11000 { |
76 | status = "okay"; | |
77 | ||
78 | lm63: lm63@4c { | |
79 | compatible = "national,lm63"; | |
80 | reg = <0x4c>; | |
81 | }; | |
82 | }; | |
c06cd9bf | 83 | serial@12000 { |
c06cd9bf APR |
84 | status = "ok"; |
85 | }; | |
86 | }; | |
2eecb477 | 87 | |
258f3676 AL |
88 | gpio-leds { |
89 | compatible = "gpio-leds"; | |
edd2718f TP |
90 | 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"; | |
258f3676 AL |
95 | |
96 | led-level { | |
97 | label = "led_level"; | |
3a31f2d7 | 98 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
dcdf14c7 | 99 | default-state = "on"; |
258f3676 AL |
100 | }; |
101 | power-blue { | |
102 | label = "power:blue"; | |
3a31f2d7 | 103 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
dcdf14c7 | 104 | default-state = "keep"; |
258f3676 | 105 | }; |
03810a20 APR |
106 | power-red { |
107 | label = "power:red"; | |
3a31f2d7 | 108 | gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
03810a20 | 109 | }; |
258f3676 AL |
110 | usb1 { |
111 | label = "usb1:blue"; | |
3a31f2d7 | 112 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
258f3676 AL |
113 | }; |
114 | usb2 { | |
115 | label = "usb2:blue"; | |
3a31f2d7 | 116 | gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
258f3676 AL |
117 | }; |
118 | usb3 { | |
119 | label = "usb3:blue"; | |
3a31f2d7 | 120 | gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; |
258f3676 AL |
121 | }; |
122 | usb4 { | |
123 | label = "usb4:blue"; | |
3a31f2d7 | 124 | gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
258f3676 AL |
125 | }; |
126 | otb { | |
127 | label = "otb:blue"; | |
3a31f2d7 | 128 | gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; |
258f3676 AL |
129 | }; |
130 | }; | |
17ba0226 APR |
131 | |
132 | gpio_keys { | |
133 | compatible = "gpio-keys"; | |
134 | #address-cells = <1>; | |
135 | #size-cells = <0>; | |
edd2718f TP |
136 | pinctrl-0 = < &pmx_button_reset &pmx_button_otb >; |
137 | pinctrl-names = "default"; | |
138 | ||
17ba0226 APR |
139 | button@1 { |
140 | label = "OTB Button"; | |
23301190 | 141 | linux,code = <KEY_COPY>; |
3a31f2d7 | 142 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
17ba0226 APR |
143 | debounce-interval = <100>; |
144 | }; | |
145 | button@2 { | |
146 | label = "Reset"; | |
23301190 | 147 | linux,code = <KEY_RESTART>; |
3a31f2d7 | 148 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
17ba0226 APR |
149 | debounce-interval = <100>; |
150 | }; | |
151 | }; | |
c06cd9bf | 152 | }; |
876e2333 | 153 | |
7045ff5a JG |
154 | &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 | ||
876e2333 SH |
183 | &mdio { |
184 | status = "okay"; | |
185 | ||
186 | ethphy0: ethernet-phy@11 { | |
876e2333 SH |
187 | reg = <11>; |
188 | }; | |
189 | }; | |
190 | ||
191 | ð0 { | |
192 | status = "okay"; | |
193 | ethernet0-port@0 { | |
194 | phy-handle = <ðphy0>; | |
195 | }; | |
196 | }; |