OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | #include "ar7241.dtsi" |
||
7 | |||
8 | / { |
||
9 | compatible = "ubnt,xm", "qca,ar7241"; |
||
10 | model = "Ubiquiti Networks XM (rev 1.0) board"; |
||
11 | |||
12 | /* extosc: ref { |
||
13 | compatible = "fixed-clock"; |
||
14 | #clock-cells = <0>; |
||
15 | clock-frequency = <40000000>; |
||
16 | }; |
||
17 | */ |
||
18 | keys { |
||
19 | compatible = "gpio-keys-polled"; |
||
20 | poll-interval = <20>; |
||
21 | reset { |
||
22 | linux,code = <KEY_RESTART>; |
||
23 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
24 | debounce-interval = <60>; |
||
25 | }; |
||
26 | }; |
||
27 | }; |
||
28 | |||
29 | &uart { |
||
30 | status = "okay"; |
||
31 | }; |
||
32 | |||
33 | /*&pll { |
||
34 | clocks = <&extosc>; |
||
35 | };*/ |
||
36 | |||
37 | &spi { |
||
38 | status = "okay"; |
||
39 | num-cs = <1>; |
||
40 | |||
41 | flash@0 { |
||
42 | compatible = "jedec,spi-nor"; |
||
43 | reg = <0>; |
||
44 | spi-max-frequency = <25000000>; |
||
45 | |||
46 | partitions { |
||
47 | compatible = "fixed-partitions"; |
||
48 | #address-cells = <1>; |
||
49 | #size-cells = <1>; |
||
50 | |||
51 | partition@0 { |
||
52 | label = "u-boot"; |
||
53 | reg = <0x000000 0x040000>; |
||
54 | read-only; |
||
55 | }; |
||
56 | |||
57 | partition@1 { |
||
58 | label = "u-boot-env"; |
||
59 | reg = <0x040000 0x010000>; |
||
60 | }; |
||
61 | |||
62 | partition@2 { |
||
63 | compatible = "denx,uimage"; |
||
64 | label = "firmware"; |
||
65 | reg = <0x050000 0x750000>; |
||
66 | }; |
||
67 | |||
68 | partition@3 { |
||
69 | label = "board_config"; |
||
70 | reg = <0x7a0000 0x010000>; |
||
71 | read-only; |
||
72 | }; |
||
73 | |||
74 | partition@4 { |
||
75 | label = "cfg"; |
||
76 | reg = <0x7b0000 0x040000>; |
||
77 | read-only; |
||
78 | }; |
||
79 | |||
80 | art: partition@5 { |
||
81 | label = "art"; |
||
82 | reg = <0x7f0000 0x010000>; |
||
83 | read-only; |
||
84 | }; |
||
85 | }; |
||
86 | }; |
||
87 | }; |
||
88 | |||
89 | &pcie { |
||
90 | status = "okay"; |
||
91 | |||
92 | wifi@0,0 { |
||
93 | reg = <0x0000 0 0 0 0>; |
||
94 | qca,no-eeprom; |
||
95 | }; |
||
96 | }; |
||
97 | |||
98 | ð0 { |
||
99 | status = "okay"; |
||
100 | |||
101 | mtd-mac-address = <&art 0x0>; |
||
102 | }; |
||
103 | |||
104 | ð1 { |
||
105 | status = "okay"; |
||
106 | |||
107 | mtd-mac-address = <&art 0x6>; |
||
108 | }; |