OpenWrt – Blame information for rev 3

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