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