7a30ef3ff89f3fa8a27ff21010cbb0f909ff9a78
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV7510PW22.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6 model = "ARV7510PW22 - Astoria Networks";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11 leds {
12 boot = &power;
13 failsafe = &power;
14 running = &power;
15
16 internet = &internet;
17 wifi = &wlan;
18 };
19 };
20
21 memory@0 {
22 reg = <0x0 0x4000000>;
23 };
24
25 sram@1F000000 {
26 vmmc@107000 {
27 status = "okay";
28 gpios = <&gpio 9 0>;
29 };
30 };
31
32 fpi@10000000 {
33 localbus@0 {
34 nor-boot@0 {
35 compatible = "lantiq,nor";
36 bank-width = <2>;
37 reg = <0 0x0 0x1000000>;
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 partitions {
42 compatible = "fixed-partitions";
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 partition@0 {
47 label = "uboot";
48 reg = <0x00000 0x40000>;
49 read-only;
50 };
51
52 partition@40000 {
53 label = "uboot_env";
54 reg = <0x40000 0x20000>;
55 read-only;
56 };
57
58 partition@60000 {
59 label = "firmware";
60 reg = <0x60000 0xf80000>;
61 };
62
63 partition@fe0000 {
64 label = "board_config";
65 reg = <0xfe0000 0x20000>;
66 read-only;
67 };
68 };
69 };
70
71 mac_addr {
72 compatible = "lantiq,eth-mac";
73 reg = <0 0xfe0016 0x6>;
74 };
75 };
76
77 gpio: pinmux@E100B10 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&state_default>;
80
81 state_default: pinmux {
82 exin {
83 lantiq,groups = "exin1";
84 lantiq,function = "exin";
85 lantiq,pull = <2>;
86 lantiq,output = <0>;
87 };
88 pci_in {
89 lantiq,groups = "req1", "req2";
90 lantiq,function = "pci";
91 lantiq,open-drain = <1>;
92 lantiq,pull = <2>;
93 lantiq,output = <0>;
94 };
95 pci_out {
96 lantiq,groups = "gnt1";
97 lantiq,function = "pci";
98 lantiq,output = <1>;
99 };
100 pci_rst {
101 lantiq,pins = "io21";
102 lantiq,pull = <2>;
103 lantiq,output = <1>;
104 };
105 pins_out {
106 lantiq,pins = "io2", "io4", "io8", "io9", "io10", "io15", "io20";
107 lantiq,output = <1>;
108 };
109 pins_in {
110 lantiq,pins = "io11", "io12", "io28";
111 lantiq,open-drain = <1>;
112 lantiq,pull = <2>;
113 lantiq,output = <0>;
114 };
115 };
116 };
117
118 ifxhcd@E101000 {
119 status = "okay";
120 gpios = <&gpio 8 0>;
121 };
122
123 etop@E180000 {
124 phy-mode = "mii";
125 /* Switch reset 19 */
126 };
127
128 pci@E105400 {
129 status = "okay";
130 lantiq,external-clock;
131 interrupt-map = <
132 0x7000 0 0 1 &icu0 30
133 0x7800 0 0 1 &icu0 135
134 0x7800 0 0 2 &icu0 135
135 0x7800 0 0 3 &icu0 135
136 >;
137 gpio-reset = <&gpio 21 0>;
138 req-mask = <0x3>;
139 };
140 };
141
142 ralink_eep {
143 compatible = "ralink,eeprom";
144 ralink,eeprom = "RT2860.eeprom";
145 };
146
147 gpio-keys-polled {
148 compatible = "gpio-keys-polled";
149 #address-cells = <1>;
150 #size-cells = <0>;
151 poll-interval = <100>;
152
153 rfkill {
154 label = "rfkill";
155 gpios = <&gpio 11 1>;
156 linux,code = <0xf7>;
157 };
158 restart {
159 label = "restart";
160 gpios = <&gpio 12 1>;
161 linux,code = <0x100>;
162 };
163 reset {
164 label = "reset";
165 gpios = <&gpio 28 1>;
166 linux,code = <0x198>;
167 };
168 };
169
170 gpio-leds {
171 compatible = "gpio-leds";
172 power: power {
173 label = "power";
174 gpios = <&gpio 2 1>;
175 default-state = "keep";
176 };
177 internet: internet {
178 label = "internet";
179 gpios = <&gpio 4 1>;
180 };
181 wlan: wlan {
182 label = "wlan";
183 gpios = <&gpio 10 1>;
184 };
185 3g {
186 label = "3g";
187 gpios = <&gpio 15 1>;
188 };
189 message {
190 label = "message";
191 gpios = <&gpio 20 1>;
192 };
193 };
194 };