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,arv7525pw", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Speedport W303V 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 = &power_green; |
||
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 = "board_config"; |
||
69 | reg = <0x3f0000 0x10000>; |
||
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 | exin { |
||
82 | lantiq,groups = "exin1"; |
||
83 | lantiq,function = "exin"; |
||
84 | }; |
||
85 | pci { |
||
86 | lantiq,groups = "gnt1", "req1"; |
||
87 | lantiq,function = "pci"; |
||
88 | }; |
||
89 | }; |
||
90 | }; |
||
91 | |||
92 | etop@E180000 { |
||
93 | phy-mode = "mii"; |
||
94 | mtd-mac-address = <&boardconfig 0x16>; |
||
95 | }; |
||
96 | }; |
||
97 | |||
98 | gpio-keys-polled { |
||
99 | compatible = "gpio-keys-polled"; |
||
100 | #address-cells = <1>; |
||
101 | #size-cells = <0>; |
||
102 | poll-interval = <100>; |
||
103 | |||
104 | wps { |
||
105 | label = "wps"; |
||
106 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
107 | linux,code = <KEY_WPS_BUTTON>; |
||
108 | }; |
||
109 | reset { |
||
110 | label = "reset"; |
||
111 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
112 | linux,code = <KEY_RESTART>; |
||
113 | }; |
||
114 | }; |
||
115 | |||
116 | gpio-leds { |
||
117 | compatible = "gpio-leds"; |
||
118 | power_green: power { |
||
119 | label = "arv7525pw:green:power"; |
||
120 | gpios = <&gpio 3 GPIO_ACTIVE_LOW>; |
||
121 | default-state = "keep"; |
||
122 | }; |
||
123 | power_red: power1 { |
||
124 | label = "arv7525pw:red:power"; |
||
125 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
126 | }; |
||
127 | online: online { |
||
128 | label = "arv7525pw:green:online"; |
||
129 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
130 | }; |
||
131 | voice { |
||
132 | label = "arv7525pw:green:telefonie"; |
||
133 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
134 | }; |
||
135 | voice2 { |
||
136 | label = "arv7525pw:red:telefonie"; |
||
137 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
138 | }; |
||
139 | wifi: wifi { |
||
140 | label = "arv7525pw:green:wlan"; |
||
141 | gpios = <&gpio 9 GPIO_ACTIVE_LOW>; |
||
142 | }; |
||
143 | }; |
||
144 | }; |
||
145 | |||
146 | &pci0 { |
||
147 | status = "okay"; |
||
148 | interrupt-map = <0x7000 0 0 1 &icu0 135 1>; |
||
149 | |||
150 | wifi@0,0 { |
||
151 | compatible = "pci0,0"; |
||
152 | reg = <0x7000 0 0 0 0>; |
||
153 | ralink,mtd-eeprom = <&boardconfig 0x410>; |
||
154 | }; |
||
155 | }; |