OpenWrt – Blame information for rev 3

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