OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #include "mt7620a.dtsi"
2  
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5  
6 / {
7 compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
8  
3 office 9 gpio-keys-polled {
1 office 10 compatible = "gpio-keys-polled";
3 office 11 #address-cells = <1>;
12 #size-cells = <0>;
1 office 13 poll-interval = <20>;
14  
15 reset {
16 label = "reset";
17 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
18 linux,code = <KEY_RESTART>;
19 };
20 };
21 };
22  
23 &gpio0 {
24 status = "okay";
25 };
26  
27 &spi0 {
28 status = "okay";
29  
30 m25p80@0 {
3 office 31 #address-cells = <1>;
32 #size-cells = <1>;
1 office 33 compatible = "jedec,spi-nor";
34 reg = <0>;
35 spi-max-frequency = <10000000>;
36  
3 office 37 partition@0 {
38 label = "u-boot";
39 reg = <0x0 0x30000>;
40 read-only;
41 };
1 office 42  
3 office 43 partition@20000 {
44 label = "u-boot-env";
45 reg = <0x30000 0x10000>;
46 read-only;
47 };
1 office 48  
3 office 49 factory: partition@30000 {
50 label = "factory";
51 reg = <0x40000 0x10000>;
52 read-only;
53 };
1 office 54  
3 office 55 partition@40000 {
56 label = "firmware";
57 reg = <0x50000 0x7b0000>;
1 office 58 };
59 };
60 };
61  
62 &pcie {
63 status = "okay";
64  
3 office 65 pcie-bridge {
66 mt76@0,0 {
67 reg = <0x0000 0 0 0 0>;
68 device_type = "pci";
69 mediatek,mtd-eeprom = <&factory 0x8000>;
70 ieee80211-freq-limit = <5000000 6000000>;
71 };
1 office 72 };
73 };
74  
75 &wmac {
76 ralink,mtd-eeprom = <&factory 0>;
77 };