kernel: bump 6.6 to 6.6.35
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_arcadyan_arv4525pw.dts
1 #include "danube.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 compatible = "arcadyan,arv4525pw", "lantiq,xway", "lantiq,danube";
8 model = "Speedport W501V Typ A";
9
10 chosen {
11 bootargs = "console=ttyLTQ0,115200";
12 };
13
14 aliases {
15 /* we dont have a power led, lets use the online led */
16 led-boot = &online;
17 led-failsafe = &online;
18
19 led-dsl = &dsl;
20 led-internet = &online;
21 led-wifi = &wifi;
22 };
23
24 memory@0 {
25 device_type = "memory";
26 reg = <0x0 0x2000000>;
27 };
28
29 ath5k_eep {
30 compatible = "ath5k,eeprom";
31 ath,eep-flash = <&boardconfig 0x400>;
32 ath,mac-offset = <0x0>;
33 ath,eep-swap;
34 };
35
36 keys {
37 compatible = "gpio-keys-polled";
38 poll-interval = <100>;
39
40 wps {
41 label = "wps";
42 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
44 };
45 reset {
46 label = "reset";
47 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
49 };
50 };
51
52 leds {
53 compatible = "gpio-leds";
54 fxo {
55 label = "green:festnetz";
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
57 };
58 fxs {
59 label = "green:internet";
60 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
61 };
62 dsl: dsl {
63 label = "green:t-dsl";
64 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
65 };
66 wifi: wifi {
67 function = LED_FUNCTION_WLAN;
68 color = <LED_COLOR_ID_GREEN>;
69 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
70 };
71 online: online {
72 label = "green:online";
73 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
74 };
75 };
76 };
77
78 &gpio {
79 pinctrl-names = "default";
80 pinctrl-0 = <&state_default>;
81
82 state_default: pinmux {
83 pci_rst {
84 lantiq,pins = "io21";
85 lantiq,pull = <2>;
86 lantiq,output = <1>;
87 };
88 relay {
89 lantiq,pins = "io31";
90 lantiq,output = <1>;
91 };
92 };
93 };
94
95 /* #define ARV4525PW_PHYRESET 13 */
96 &gsw {
97 phy-mode = "mii";
98 nvmem-cells = <&macaddr_boardconfig_16>;
99 nvmem-cell-names = "mac-address";
100 };
101
102 &localbus {
103 flash@0 {
104 compatible = "lantiq,nor";
105 bank-width = <2>;
106 reg = <0 0x0 0x2000000>;
107
108 partitions {
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
111 #size-cells = <1>;
112
113 partition@0 {
114 label = "uboot";
115 reg = <0x00000 0x10000>;
116 read-only;
117 };
118
119 partition@10000 {
120 label = "u-boot-env";
121 reg = <0x10000 0x10000>;
122 read-only;
123 };
124
125 partition@20000 {
126 label = "firmware";
127 reg = <0x20000 0x3d0000>;
128 };
129
130 boardconfig: partition@3f0000 {
131 label = "boardconfig";
132 reg = <0x3f0000 0x10000>;
133 read-only;
134
135 nvmem-layout {
136 compatible = "fixed-layout";
137 #address-cells = <1>;
138 #size-cells = <1>;
139
140 macaddr_boardconfig_16: macaddr@16 {
141 reg = <0x16 0x6>;
142 };
143 };
144 };
145 };
146 };
147 };
148
149 &pci0 {
150 status = "okay";
151
152 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
153 pinctrl-names = "default";
154
155 reset-gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
156 };
157
158 /* #define ARV4525PW_RELAY 31 */
159 &vmmc {
160 status = "okay";
161 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
162 };