OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "danube.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | compatible = "arcadyan,arv8539pw22", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Speedport W 504V Typ A"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power_green; |
||
17 | led-failsafe = &power_red; |
||
18 | led-running = &power_green; |
||
19 | led-upgrade = &power_green; |
||
20 | |||
21 | led-dsl = &dsl_green; |
||
22 | led-internet = &online_green; |
||
23 | led-wifi = &wireless_green; |
||
24 | }; |
||
25 | |||
26 | memory@0 { |
||
27 | reg = <0x0 0x4000000>; |
||
28 | }; |
||
29 | |||
30 | gpio-keys-polled { |
||
31 | compatible = "gpio-keys-polled"; |
||
32 | #address-cells = <1>; |
||
33 | #size-cells = <0>; |
||
34 | poll-interval = <100>; |
||
35 | |||
36 | wlan { |
||
37 | label = "wlan"; |
||
38 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
39 | linux,code = <KEY_WPS_BUTTON>; |
||
40 | }; |
||
41 | reset { |
||
42 | label = "reset"; |
||
43 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
44 | linux,code = <KEY_RESTART>; |
||
45 | }; |
||
46 | /* key DECT is missing */ |
||
47 | }; |
||
48 | |||
49 | gpio-leds { |
||
50 | compatible = "gpio-leds"; |
||
51 | |||
52 | power_green: power-green { |
||
53 | label = "arv8539pw22:green:power"; |
||
54 | gpios = <&gpio 24 GPIO_ACTIVE_LOW>; |
||
55 | default-state = "keep"; |
||
56 | }; |
||
57 | power_red: power-red { |
||
58 | label = "arv8539pw22:red:power"; |
||
59 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
60 | }; |
||
61 | |||
62 | dsl_green: dsl-green { |
||
63 | label = "arv8539pw22:green:dsl"; |
||
64 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
65 | }; |
||
66 | |||
67 | online_green: online-green { |
||
68 | label = "arv8539pw22:green:online"; |
||
69 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
70 | }; |
||
71 | |||
72 | wireless_green: wireless-green { |
||
73 | label = "arv8539pw22:green:wlan"; |
||
74 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
75 | }; |
||
76 | /* |
||
77 | telefonie green is missing |
||
78 | */ |
||
79 | }; |
||
80 | |||
81 | usb_vbus: regulator-usb-vbus { |
||
82 | compatible = "regulator-fixed"; |
||
83 | |||
84 | regulator-name = "USB_VBUS"; |
||
85 | |||
86 | regulator-min-microvolt = <5000000>; |
||
87 | regulator-max-microvolt = <5000000>; |
||
88 | |||
89 | gpio = <&gpio 14 GPIO_ACTIVE_HIGH>; |
||
90 | enable-active-high; |
||
91 | }; |
||
92 | }; |
||
93 | |||
94 | &gpio { |
||
95 | pinctrl-names = "default"; |
||
96 | pinctrl-0 = <&state_default>; |
||
97 | |||
98 | state_default: pinmux { |
||
99 | pci_in { |
||
100 | lantiq,groups = "req1"; |
||
101 | lantiq,function = "pci"; |
||
102 | lantiq,open-drain = <1>; |
||
103 | lantiq,pull = <2>; |
||
104 | lantiq,output = <0>; |
||
105 | }; |
||
106 | pci_out { |
||
107 | lantiq,groups = "gnt1"; |
||
108 | lantiq,function = "pci"; |
||
109 | lantiq,output = <1>; |
||
110 | }; |
||
111 | pci_rst { |
||
112 | lantiq,pins = "io21"; |
||
113 | lantiq,pull = <2>; |
||
114 | lantiq,output = <1>; |
||
115 | }; |
||
116 | relay { |
||
117 | lantiq,pins = "io31"; |
||
118 | lantiq,output = <1>; |
||
119 | }; |
||
120 | }; |
||
121 | }; |
||
122 | |||
123 | &gsw { |
||
124 | phy-mode = "mii"; |
||
125 | mtd-mac-address = <&art 0x16>; |
||
126 | }; |
||
127 | |||
128 | &localbus { |
||
129 | nor@0 { |
||
130 | compatible = "lantiq,nor"; |
||
131 | bank-width = <2>; |
||
132 | reg = <0 0x0 0x800000>; |
||
133 | #address-cells = <1>; |
||
134 | #size-cells = <1>; |
||
135 | |||
136 | partitions { |
||
137 | compatible = "fixed-partitions"; |
||
138 | #address-cells = <1>; |
||
139 | #size-cells = <1>; |
||
140 | |||
141 | partition@0 { |
||
142 | label = "uboot"; |
||
143 | reg = <0x00000 0x30000>; /* 192 KiB */ |
||
144 | read-only; |
||
145 | }; |
||
146 | |||
147 | partition@30000 { |
||
148 | label = "uboot"; |
||
149 | reg = <0x30000 0x10000>; /* 64 KiB */ |
||
150 | read-only; |
||
151 | }; |
||
152 | |||
153 | partition@40000 { |
||
154 | label = "firmware"; |
||
155 | reg = <0x40000 0x7B0000>; /* 7872 KiB */ |
||
156 | }; |
||
157 | |||
158 | art: partition@7F0000 { |
||
159 | label = "art"; |
||
160 | reg = <0x7F0000 0x10000>; /* 64 KiB*/ |
||
161 | read-only; |
||
162 | }; |
||
163 | }; |
||
164 | }; |
||
165 | }; |
||
166 | |||
167 | &pci0 { |
||
168 | status = "okay"; |
||
169 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
170 | |||
171 | wifi@168c,0029 { |
||
172 | compatible = "pci168c,0029"; |
||
173 | reg = <0x7000 0 0 0 0>; |
||
174 | qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */ |
||
175 | mtd-mac-address = <&art 0x16>; |
||
176 | mtd-mac-address-increment = <1>; |
||
177 | }; |
||
178 | }; |
||
179 | |||
180 | &usb_phy { |
||
181 | status = "okay"; |
||
182 | }; |
||
183 | |||
184 | &usb { |
||
185 | status = "okay"; |
||
186 | vbus-supply = <&usb_vbus>; |
||
187 | }; |
||
188 | |||
189 | &vmmc { |
||
190 | status = "okay"; |
||
191 | gpios = <&gpio 31 GPIO_ACTIVE_HIGH>; |
||
192 | }; |