OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
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,arv4525pw", "lantiq,xway", "lantiq,danube";
9 model = "Speedport W501V Typ A";
10  
11 chosen {
12 bootargs = "console=ttyLTQ0,115200";
13 };
14  
15 aliases {
16 /* we dont have a power led, lets use the online led */
17 led-boot = &online;
18 led-failsafe = &online;
19  
20 led-dsl = &dsl;
21 led-internet = &online;
22 led-wifi = &wifi;
23 };
24  
25 memory@0 {
26 reg = <0x0 0x2000000>;
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 0x2000000>;
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 0x10000>;
53 read-only;
54 };
55  
56 partition@10000 {
57 label = "uboot_env";
58 reg = <0x10000 0x10000>;
59 read-only;
60 };
61  
62 partition@20000 {
63 label = "firmware";
64 reg = <0x20000 0x3d0000>;
65 };
66  
67 boardconfig: partition@400000 {
68 label = "boardconfig";
69 reg = <0x3f0000 0x10000>;
70 read-only;
71 };
72 };
73 };
74  
75 ath5k_eep {
76 compatible = "ath5k,eeprom";
77 ath,eep-flash = <&boardconfig 0x400>;
78 ath,mac-offset = <0x0>;
79 ath,eep-swap;
80 };
81 };
82  
83 gpio: pinmux@E100B10 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&state_default>;
86  
87 state_default: pinmux {
88 pci_in {
89 lantiq,groups = "req1";
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 relay {
106 lantiq,pins = "io31";
107 lantiq,output = <1>;
108 };
109 };
110 };
111  
112 etop@E180000 {
113 phy-mode = "mii";
114 mtd-mac-address = <&boardconfig 0x16>;
115 };
116  
117 pci@E105400 {
118 status = "okay";
119 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
120 };
121 };
122  
123 /*
124 #define ARV4525PW_PHYRESET 13
125 #define ARV4525PW_RELAY 31
126 */
127  
128 gpio-keys-polled {
129 compatible = "gpio-keys-polled";
130 #address-cells = <1>;
131 #size-cells = <0>;
132 poll-interval = <100>;
133  
134 wps {
135 label = "wps";
136 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
137 linux,code = <KEY_WPS_BUTTON>;
138 };
139 reset {
140 label = "reset";
141 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
142 linux,code = <KEY_RESTART>;
143 };
144 };
145  
146 gpio-leds {
147 compatible = "gpio-leds";
148 fxo {
149 label = "arv4525pw:green:festnetz";
150 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
151 };
152 fxs {
153 label = "arv4525pw:green:internet";
154 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
155 };
156 dsl: dsl {
157 label = "arv4525pw:green:t-dsl";
158 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
159 };
160 wifi: wifi {
161 label = "arv4525pw:green:wlan";
162 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
163 };
164 online: online {
165 label = "arv4525pw:green:online";
166 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
167 };
168 };
169 };