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