OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | 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 | |||
20 | led-dsl = &dsl_green; |
||
21 | led-internet = &online_green; |
||
22 | led-wifi = &wireless_green; |
||
23 | }; |
||
24 | |||
25 | memory@0 { |
||
26 | reg = <0x0 0x4000000>; |
||
27 | }; |
||
28 | |||
29 | sram@1F000000 { |
||
30 | vmmc@107000 { |
||
31 | status = "okay"; |
||
32 | gpios = <&gpio 31 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 0x800000>; |
||
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 0x30000>; /* 192 KiB */ |
||
53 | read-only; |
||
54 | }; |
||
55 | |||
56 | partition@30000 { |
||
57 | label = "uboot"; |
||
58 | reg = <0x30000 0x10000>; /* 64 KiB */ |
||
59 | read-only; |
||
60 | }; |
||
61 | |||
62 | partition@40000 { |
||
63 | label = "firmware"; |
||
64 | reg = <0x40000 0x7B0000>; /* 7872 KiB */ |
||
65 | }; |
||
66 | |||
67 | art: partition@7F0000 { |
||
68 | label = "art"; |
||
69 | reg = <0x7F0000 0x10000>; /* 64 KiB*/ |
||
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 | pci_in { |
||
82 | lantiq,groups = "req1"; |
||
83 | lantiq,function = "pci"; |
||
84 | lantiq,open-drain = <1>; |
||
85 | lantiq,pull = <2>; |
||
86 | lantiq,output = <0>; |
||
87 | }; |
||
88 | pci_out { |
||
89 | lantiq,groups = "gnt1"; |
||
90 | lantiq,function = "pci"; |
||
91 | lantiq,output = <1>; |
||
92 | }; |
||
93 | pci_rst { |
||
94 | lantiq,pins = "io21"; |
||
95 | lantiq,pull = <2>; |
||
96 | lantiq,output = <1>; |
||
97 | }; |
||
98 | relay { |
||
99 | lantiq,pins = "io31"; |
||
100 | lantiq,output = <1>; |
||
101 | }; |
||
102 | }; |
||
103 | }; |
||
104 | |||
105 | etop@E180000 { |
||
106 | phy-mode = "mii"; |
||
107 | mtd-mac-address = <&art 0x16>; |
||
108 | }; |
||
109 | |||
110 | ifxhcd@E101000 { |
||
111 | status = "okay"; |
||
112 | gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; |
||
113 | lantiq,portmask = <0x3>; |
||
114 | }; |
||
115 | }; |
||
116 | |||
117 | gpio-keys-polled { |
||
118 | compatible = "gpio-keys-polled"; |
||
119 | #address-cells = <1>; |
||
120 | #size-cells = <0>; |
||
121 | poll-interval = <100>; |
||
122 | |||
123 | wlan { |
||
124 | label = "wlan"; |
||
125 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
126 | linux,code = <KEY_WPS_BUTTON>; |
||
127 | }; |
||
128 | reset { |
||
129 | label = "reset"; |
||
130 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
131 | linux,code = <KEY_RESTART>; |
||
132 | }; |
||
133 | /* key DECT is missing */ |
||
134 | }; |
||
135 | |||
136 | gpio-leds { |
||
137 | compatible = "gpio-leds"; |
||
138 | |||
139 | power_green: power-green { |
||
140 | label = "arv8539pw22:green:power"; |
||
141 | gpios = <&gpio 24 GPIO_ACTIVE_LOW>; |
||
142 | default-state = "keep"; |
||
143 | }; |
||
144 | power_red: power-red { |
||
145 | label = "arv8539pw22:red:power"; |
||
146 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
147 | }; |
||
148 | |||
149 | dsl_green: dsl-green { |
||
150 | label = "arv8539pw22:green:dsl"; |
||
151 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
152 | }; |
||
153 | |||
154 | online_green: online-green { |
||
155 | label = "arv8539pw22:green:online"; |
||
156 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
157 | }; |
||
158 | |||
159 | wireless_green: wireless-green { |
||
160 | label = "arv8539pw22:green:wlan"; |
||
161 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
162 | }; |
||
163 | /* |
||
164 | telefonie green is missing |
||
165 | */ |
||
166 | }; |
||
167 | }; |
||
168 | |||
169 | &pci0 { |
||
170 | status = "okay"; |
||
171 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
172 | |||
173 | wifi@168c,0029 { |
||
174 | compatible = "pci168c,0029"; |
||
175 | reg = <0x7000 0 0 0 0>; |
||
176 | qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */ |
||
177 | mtd-mac-address = <&art 0x16>; |
||
178 | mtd-mac-address-increment = <1>; |
||
179 | }; |
||
180 | }; |