OpenWrt – Blame information for rev 1
?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 "qca956x.dtsi" |
||
7 | |||
8 | / { |
||
9 | chosen { |
||
10 | bootargs = "console=ttyS0,115200n8"; |
||
11 | }; |
||
12 | |||
13 | leds { |
||
14 | compatible = "gpio-leds"; |
||
15 | |||
16 | wifi_ac { |
||
17 | label = "ubnt:white:dome"; |
||
18 | gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; |
||
19 | linux,default-trigger = "phy0tpt"; |
||
20 | }; |
||
21 | |||
22 | wifi_n { |
||
23 | label = "ubnt:blue:dome"; |
||
24 | gpios = <&gpio 8 GPIO_ACTIVE_HIGH>; |
||
25 | linux,default-trigger = "phy1tpt"; |
||
26 | }; |
||
27 | |||
28 | }; |
||
29 | |||
30 | keys { |
||
31 | compatible = "gpio-keys"; |
||
32 | |||
33 | reset { |
||
34 | label = "Reset button"; |
||
35 | linux,code = <KEY_RESTART>; |
||
36 | gpios = <&gpio 2 GPIO_ACTIVE_LOW>; |
||
37 | debounce-interval = <60>; |
||
38 | }; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | &uart { |
||
43 | status = "okay"; |
||
44 | }; |
||
45 | |||
46 | &gpio { |
||
47 | status = "okay"; |
||
48 | }; |
||
49 | |||
50 | &pcie { |
||
51 | status = "okay"; |
||
52 | }; |
||
53 | |||
54 | &spi { |
||
55 | status = "okay"; |
||
56 | num-cs = <1>; |
||
57 | |||
58 | flash@0 { |
||
59 | compatible = "jedec,spi-nor"; |
||
60 | reg = <0>; |
||
61 | spi-max-frequency = <25000000>; |
||
62 | |||
63 | partitions { |
||
64 | compatible = "fixed-partitions"; |
||
65 | #address-cells = <1>; |
||
66 | #size-cells = <1>; |
||
67 | |||
68 | partition@0 { |
||
69 | label = "u-boot"; |
||
70 | reg = <0x000000 0x060000>; |
||
71 | read-only; |
||
72 | }; |
||
73 | |||
74 | partition@60000 { |
||
75 | label = "u-boot-env"; |
||
76 | reg = <0x060000 0x010000>; |
||
77 | read-only; |
||
78 | }; |
||
79 | |||
80 | partition@70000 { |
||
81 | label = "firmware"; |
||
82 | reg = <0x070000 0x790000>; |
||
83 | compatible = "denx,uimage"; |
||
84 | }; |
||
85 | |||
86 | partition@800000 { |
||
87 | label = "ubnt-airos"; |
||
88 | reg = <0x800000 0x790000>; |
||
89 | read-only; |
||
90 | }; |
||
91 | |||
92 | partition@f90000 { |
||
93 | label = "bs"; |
||
94 | reg = <0xf90000 0x020000>; |
||
95 | }; |
||
96 | |||
97 | partition@fb0000 { |
||
98 | label = "cfg"; |
||
99 | reg = <0xfb0000 0x040000>; |
||
100 | read-only; |
||
101 | }; |
||
102 | |||
103 | eeprom: partition@ff0000 { |
||
104 | label = "EEPROM"; |
||
105 | reg = <0xff0000 0x010000>; |
||
106 | read-only; |
||
107 | }; |
||
108 | }; |
||
109 | }; |
||
110 | }; |
||
111 | |||
112 | &wmac { |
||
113 | status = "okay"; |
||
114 | mtd-cal-data = <&eeprom 0x1000>; |
||
115 | mtd-mac-address = <&eeprom 0x0>; |
||
116 | }; |