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,arv4519pw", "lantiq,xway", "lantiq,danube";
9 model = "Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
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;
21 led-internet = &internet_green;
22 led-usb = &led_usb;
23 led-wifi = &wifi;
24 };
25  
26 memory@0 {
27 reg = <0x0 0x2000000>;
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 rfkill {
37 label = "rfkill";
38 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
40 };
41 reset {
42 label = "reset";
43 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
45 };
46 };
47  
48 gpio-leds {
49 compatible = "gpio-leds";
50  
51 power_green: power {
52 label = "arv4519pw:green:power";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
55 };
56 power_red: power2 {
57 label = "arv4519pw:red:power";
58 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
59 };
60 wifi: wifi {
61 label = "arv4519pw:green:wlan";
62 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
63 };
64 dsl: dsl {
65 label = "arv4519pw:green:dsl";
66 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
67 };
68 internet_green: online {
69 label = "arv4519pw:green:internet";
70 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
71 };
72 online2 {
73 label = "arv4519pw:red:internet";
74 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
75 };
76 led_usb: usb {
77 label = "arv4519pw:green:usb";
78 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
79 };
80 voip {
81 label = "arv4519pw:green:voip";
82 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
83 };
84 fxs1 {
85 label = "arv4519pw:green:phone1";
86 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
87 };
88 fxs2 {
89 label = "arv4519pw:green:phone2";
90 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
91 };
92 fxo {
93 label = "arv4519pw:green:line";
94 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
95 };
96 wps2 {
97 label = "arv4519pw:green:wps";
98 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
99 };
100 wps {
101 label = "arv4519pw:orange:wps";
102 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
103 };
104 wps3 {
105 label = "arv4519pw:red:wps";
106 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
107 };
108 };
109  
110 usb_vbus: regulator-usb-vbus {
111 compatible = "regulator-fixed";
112  
113 regulator-name = "USB_VBUS";
114  
115 regulator-min-microvolt = <5000000>;
116 regulator-max-microvolt = <5000000>;
117  
118 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
119 enable-active-high;
120 };
121 };
122  
123 &gpio {
124 pinctrl-names = "default";
125 pinctrl-0 = <&state_default>;
126  
127 state_default: pinmux {
128 ebu {
129 lantiq,groups = "ebu cs1";
130 lantiq,function = "ebu";
131 };
132 };
133 };
134  
135 &gpiomm {
136 status = "okay";
137 lantiq,shadow = <0x400>;
138 };
139  
140 &gsw {
141 phy-mode = "mii";
142 mtd-mac-address = <&boardconfig 0x16>;
143 };
144  
145 &localbus {
146 nor@0 {
147 compatible = "lantiq,nor";
148 bank-width = <2>;
149 reg = <0 0x0 0x2000000>;
150 #address-cells = <1>;
151 #size-cells = <1>;
152  
153 partitions {
154 compatible = "fixed-partitions";
155 #address-cells = <1>;
156 #size-cells = <1>;
157  
158 partition@0 {
159 label = "uboot";
160 reg = <0x00000 0x10000>;
161 read-only;
162 };
163  
164 partition@10000 {
165 label = "uboot_env";
166 reg = <0x10000 0x10000>;
167 };
168  
169 partition@20000 {
170 label = "firmware";
171 reg = <0x20000 0x3d0000>;
172 };
173  
174 boardconfig: partition@3f0000 {
175 label = "boardconfig";
176 reg = <0x3f0000 0x10000>;
177 read-only;
178 };
179 };
180 };
181 };
182  
3 office 183 &pci0 {
1 office 184 status = "okay";
185 lantiq,external-clock;
186 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
187 req-mask = <0xf>;
188 };
189  
190 &usb_phy {
191 status = "okay";
3 office 192 phy-supply = <&usb_vbus>;
1 office 193 };
194  
195 &usb {
196 status = "okay";
197 };
198  
199 &vmmc {
200 status = "okay";
201 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
202 };