OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "ar9.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9"; |
||
9 | model = "BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */ |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power_orange; |
||
17 | led-failsafe = &power_red; |
||
18 | led-running = &power_blue; |
||
19 | |||
20 | led-dsl = &broadband_blue; |
||
21 | led-wifi = &wireless_blue; |
||
22 | }; |
||
23 | |||
24 | memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */ |
||
25 | reg = <0x0 0x4000000>; |
||
26 | }; |
||
27 | |||
28 | sram@1F000000 { |
||
29 | vmmc@107000 { |
||
30 | status = "okay"; |
||
31 | gpios = <&gpio 31 GPIO_ACTIVE_HIGH>; |
||
32 | }; |
||
33 | }; |
||
34 | |||
35 | fpi@10000000 { |
||
36 | localbus@0 { |
||
37 | nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */ |
||
38 | compatible = "lantiq,nand-xway"; |
||
39 | lantiq,cs = <1>; |
||
40 | bank-width = <2>; |
||
41 | reg = <1 0x0 0x2000000 >; |
||
42 | #address-cells = <1>; |
||
43 | #size-cells = <1>; |
||
44 | req-mask = <0x1>; /* PCI request lines to mask during NAND access */ |
||
45 | |||
46 | partitions { |
||
47 | compatible = "fixed-partitions"; |
||
48 | #address-cells = <1>; |
||
49 | #size-cells = <1>; |
||
50 | |||
51 | partition@0 { |
||
52 | label = "preboot"; |
||
53 | reg = <0x00000 0x8000>; |
||
54 | read-only; |
||
55 | }; |
||
56 | partition@8000 { |
||
57 | label = "u-boot"; |
||
58 | reg = <0x8000 0x05c000>; |
||
59 | read-only; |
||
60 | }; |
||
61 | partition@64000 { |
||
62 | label = "uboot_env"; |
||
63 | reg = <0x64000 0x004000>; |
||
64 | }; |
||
65 | ath9k_cal: partition@68000 { |
||
66 | label = "art-copy"; |
||
67 | reg = <0x68000 0x004000>; |
||
68 | }; |
||
69 | partition@6c000 { |
||
70 | label = "kernel"; |
||
71 | reg = <0x6c000 0x200000>; |
||
72 | }; |
||
73 | partition@26c000 { |
||
74 | label = "ubi"; |
||
75 | reg = <0x26c000 0x1d94000>; |
||
76 | }; |
||
77 | }; |
||
78 | }; |
||
79 | }; |
||
80 | |||
81 | gpio: pinmux@E100B10 { |
||
82 | pinctrl-names = "default"; |
||
83 | pinctrl-0 = <&state_default>; |
||
84 | |||
85 | state_default: pinmux { |
||
86 | nand_out { |
||
87 | lantiq,groups = "nand cle", "nand ale"; |
||
88 | lantiq,function = "ebu"; |
||
89 | lantiq,output = <1>; |
||
90 | lantiq,open-drain = <0>; |
||
91 | lantiq,pull = <0>; |
||
92 | }; |
||
93 | nand_cs1 { |
||
94 | lantiq,groups = "nand cs1"; |
||
95 | lantiq,function = "ebu"; |
||
96 | lantiq,open-drain = <0>; |
||
97 | lantiq,pull = <0>; |
||
98 | }; |
||
99 | |||
100 | pci_in { |
||
101 | lantiq,groups = "req1"; |
||
102 | lantiq,function = "pci"; |
||
103 | lantiq,output = <0>; |
||
104 | lantiq,open-drain = <1>; |
||
105 | lantiq,pull = <2>; |
||
106 | }; |
||
107 | pci_out { |
||
108 | lantiq,groups = "gnt1"; |
||
109 | lantiq,function = "pci"; |
||
110 | lantiq,output = <1>; |
||
111 | lantiq,open-drain = <0>; |
||
112 | lantiq,pull = <0>; |
||
113 | }; |
||
114 | |||
115 | pci_rst { |
||
116 | lantiq,pins = "io21"; |
||
117 | lantiq,output = <1>; |
||
118 | lantiq,open-drain = <0>; |
||
119 | }; |
||
120 | }; |
||
121 | }; |
||
122 | |||
123 | etop@E180000 { |
||
124 | phy-mode = "rgmii"; |
||
125 | }; |
||
126 | |||
127 | ifxhcd@E101000 { |
||
128 | status = "okay"; |
||
129 | gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; |
||
130 | }; |
||
131 | }; |
||
132 | |||
133 | gpio-keys-polled { |
||
134 | compatible = "gpio-keys-polled"; |
||
135 | #address-cells = <1>; |
||
136 | #size-cells = <0>; |
||
137 | poll-interval = <100>; |
||
138 | reset { |
||
139 | label = "reset"; |
||
140 | gpios = <&gpio 54 GPIO_ACTIVE_LOW>; |
||
141 | linux,code = <KEY_RESTART>; |
||
142 | }; |
||
143 | restart { |
||
144 | label = "restart"; |
||
145 | gpios = <&gpio 52 GPIO_ACTIVE_LOW>; |
||
146 | linux,code = <KEY_POWER>; |
||
147 | }; |
||
148 | wps { |
||
149 | label = "wps"; |
||
150 | gpios = <&gpio 53 GPIO_ACTIVE_LOW>; |
||
151 | linux,code = <KEY_WPS_BUTTON>; |
||
152 | }; |
||
153 | }; |
||
154 | |||
155 | gpio-leds { |
||
156 | compatible = "gpio-leds"; |
||
157 | |||
158 | wireless-red { |
||
159 | label = "bthomehubv3a:red:wireless"; |
||
160 | gpios = <&gpio 2 GPIO_ACTIVE_LOW>; |
||
161 | }; |
||
162 | wireless-orange { |
||
163 | label = "bthomehubv3a:orange:wireless"; |
||
164 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
165 | }; |
||
166 | wireless_blue: wireless-blue { |
||
167 | label = "bthomehubv3a:blue:wireless"; |
||
168 | gpios = <&gpio 9 GPIO_ACTIVE_LOW>; |
||
169 | }; |
||
170 | |||
171 | broadband-red { |
||
172 | label = "bthomehubv3a:red:broadband"; |
||
173 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
||
174 | }; |
||
175 | broadband-orange { |
||
176 | label = "bthomehubv3a:orange:broadband"; |
||
177 | gpios = <&gpio 0 GPIO_ACTIVE_LOW>; |
||
178 | }; |
||
179 | broadband_blue: broadband-blue { |
||
180 | label = "bthomehubv3a:blue:broadband"; |
||
181 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
182 | }; |
||
183 | |||
184 | power_red: power-red { |
||
185 | label = "bthomehubv3a:red:power"; |
||
186 | gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
||
187 | }; |
||
188 | power_orange: power-orange { |
||
189 | label = "bthomehubv3a:orange:power"; |
||
190 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
191 | default-state = "keep"; |
||
192 | }; |
||
193 | power_blue: power-blue { |
||
194 | label = "bthomehubv3a:blue:power"; |
||
195 | gpios = <&gpio 1 GPIO_ACTIVE_LOW>; |
||
196 | }; |
||
197 | }; |
||
198 | }; |
||
199 | |||
200 | &pci0 { |
||
201 | status = "okay"; |
||
202 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
203 | |||
204 | ath9k@7000 { |
||
205 | reg = <0x7000 0 0 0 0>; |
||
206 | qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */ |
||
207 | }; |
||
208 | }; |