OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "mt7621.dtsi" |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | / { |
||
7 | compatible = "wevo,w2914ns-v2", "mediatek,mt7621-soc"; |
||
8 | |||
9 | chosen { |
||
10 | bootargs = "console=ttyS0,57600"; |
||
11 | }; |
||
12 | |||
3 | office | 13 | gpio-keys-polled { |
1 | office | 14 | compatible = "gpio-keys-polled"; |
3 | office | 15 | #address-cells = <1>; |
16 | #size-cells = <0>; |
||
1 | office | 17 | poll-interval = <20>; |
18 | |||
19 | reset { |
||
20 | label = "reset"; |
||
21 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
||
22 | linux,code = <KEY_RESTART>; |
||
23 | }; |
||
24 | |||
25 | wps { |
||
26 | label = "wps"; |
||
27 | gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |
||
28 | linux,code = <KEY_WPS_BUTTON>; |
||
29 | }; |
||
30 | }; |
||
31 | }; |
||
32 | |||
33 | &xhci { |
||
34 | status = "okay"; |
||
35 | }; |
||
36 | |||
37 | &spi0 { |
||
38 | status = "okay"; |
||
39 | |||
40 | m25p80@0 { |
||
3 | office | 41 | #address-cells = <1>; |
42 | #size-cells = <1>; |
||
1 | office | 43 | compatible = "jedec,spi-nor"; |
44 | reg = <0>; |
||
45 | spi-max-frequency = <10000000>; |
||
3 | office | 46 | m25p,chunked-io = <32>; |
1 | office | 47 | |
3 | office | 48 | partition@0 { |
49 | label = "u-boot"; |
||
50 | reg = <0x0 0x30000>; |
||
51 | read-only; |
||
52 | }; |
||
1 | office | 53 | |
3 | office | 54 | partition@30000 { |
55 | label = "u-boot-env"; |
||
56 | reg = <0x30000 0x10000>; |
||
57 | read-only; |
||
58 | }; |
||
1 | office | 59 | |
3 | office | 60 | factory: partition@40000 { |
61 | label = "factory"; |
||
62 | reg = <0x40000 0x10000>; |
||
63 | read-only; |
||
64 | }; |
||
1 | office | 65 | |
3 | office | 66 | partition@50000 { |
67 | label = "firmware"; |
||
68 | reg = <0x50000 0xfb0000>; |
||
1 | office | 69 | }; |
70 | }; |
||
71 | }; |
||
72 | |||
73 | &pcie { |
||
74 | status = "okay"; |
||
75 | |||
3 | office | 76 | pcie0 { |
77 | wifi@14c3,7603 { |
||
78 | compatible = "pci14c3,7603"; |
||
79 | reg = <0x0000 0 0 0 0>; |
||
80 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
81 | }; |
||
1 | office | 82 | }; |
83 | |||
3 | office | 84 | pcie1 { |
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 | }; |
||
1 | office | 91 | }; |
92 | }; |
||
93 | |||
94 | ðernet { |
||
95 | mtd-mac-address = <&factory 0xe000>; |
||
96 | }; |
||
97 | |||
98 | &pinctrl { |
||
99 | state_default: pinctrl0 { |
||
100 | gpio { |
||
101 | ralink,group = "wdt", "rgmii2", "jtag", "mdio"; |
||
102 | ralink,function = "gpio"; |
||
103 | }; |
||
104 | }; |
||
105 | }; |