OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 /dts-v1/;
2  
3 #include "mt7621.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "zbtlink,zbt-we3526", "mediatek,mt7621-soc";
10 model = "ZBT-WE3526";
11  
12 memory@0 {
13 device_type = "memory";
14 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
15 };
16  
17 chosen {
18 bootargs = "console=ttyS0,115200";
19 };
20  
21 palmbus: palmbus@1E000000 {
22 i2c@900 {
23 status = "okay";
24 };
25 };
26  
27 gpio-keys-polled {
28 compatible = "gpio-keys-polled";
29 #address-cells = <1>;
30 #size-cells = <0>;
31 poll-interval = <20>;
32  
33 reset {
34 label = "reset";
35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
37 };
38 };
39 };
40  
41 &sdhci {
42 status = "okay";
43 };
44  
45 &spi0 {
46 status = "okay";
47  
48 m25p80@0 {
49 #address-cells = <1>;
50 #size-cells = <1>;
51 compatible = "jedec,spi-nor";
52 reg = <0>;
53 spi-max-frequency = <10000000>;
54 m25p,chunked-io = <32>;
55  
56 partition@0 {
57 label = "u-boot";
58 reg = <0x0 0x30000>;
59 read-only;
60 };
61  
62 partition@30000 {
63 label = "u-boot-env";
64 reg = <0x30000 0x10000>;
65 read-only;
66 };
67  
68 factory: partition@40000 {
69 label = "factory";
70 reg = <0x40000 0x10000>;
71 read-only;
72 };
73  
74 firmware: partition@50000 {
75 label = "firmware";
76 reg = <0x50000 0xfb0000>;
77 };
78 };
79 };
80  
81 &pcie {
82 status = "okay";
83  
84 pcie0 {
85 wifi@14c3,7662 {
86 compatible = "pci14c3,7662";
87 reg = <0x0000 0 0 0 0>;
88 mediatek,mtd-eeprom = <&factory 0x8000>;
89 ieee80211-freq-limit = <5000000 6000000>;
90  
91 led {
92 led-sources = <2>;
93 };
94 };
95 };
96  
97 pcie1 {
98 wifi@14c3,7603 {
99 compatible = "pci14c3,7603";
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x0000>;
102 };
103 };
104 };
105  
106 &ethernet {
107 mtd-mac-address = <&factory 0xe000>;
108 };
109  
110 &pinctrl {
111 state_default: pinctrl0 {
112 gpio {
113 ralink,group = "wdt";
114 ralink,function = "gpio";
115 };
116 };
117 };