OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 // SPDX-License-Identifier: GPL-2.0
2  
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5  
6 #include "ar9344.dtsi"
7  
8 / {
9 compatible = "ubnt,wa", "qca,ar9342";
10 model = "Ubiquiti Networks WA board";
11  
12 keys {
13 compatible = "gpio-keys";
14  
15 reset {
16 label = "Reset button";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
20 };
21 };
22 };
23  
24 &ref {
25 clock-frequency = <40000000>;
26 };
27  
28 &uart {
29 status = "okay";
30 };
31  
32 &gpio {
33 status = "okay";
34 };
35  
36 &pcie {
37 status = "okay";
38 };
39  
40 &spi {
41 status = "okay";
42 num-cs = <1>;
43  
44 flash@0 {
45 compatible = "jedec,spi-nor";
46 reg = <0>;
47 spi-max-frequency = <25000000>;
48  
49 partitions {
50 compatible = "fixed-partitions";
51 #address-cells = <1>;
52 #size-cells = <1>;
53  
54 partition@0 {
55 label = "u-boot";
56 reg = <0x000000 0x040000>;
57 read-only;
58 };
59  
60 partition@40000 {
61 label = "u-boot-env";
62 reg = <0x040000 0x010000>;
63 read-only;
64 };
65  
66 partition@50000 {
67 compatible = "denx,uimage";
68 label = "firmware";
69 reg = <0x050000 0xf60000>;
70 };
71  
72 partition@fb0000 {
73 label = "cfg";
74 reg = <0xfb0000 0x040000>;
75 read-only;
76 };
77  
78 eeprom: partition@ff0000 {
79 label = "EEPROM";
80 reg = <0xff0000 0x010000>;
81 read-only;
82 };
83 };
84 };
85 };
86  
87 &wmac {
88 status = "okay";
89  
90 qca,disable-5ghz;
91 mtd-cal-data = <&eeprom 0x1000>;
92 mtd-mac-address = <&eeprom 0x1002>;
93 };