OpenWrt – Blame information for rev 3
?pathlinks?
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 = "netis,wf-2881", "mediatek,mt7621-soc"; |
||
10 | model = "NETIS WF-2881"; |
||
11 | |||
12 | memory@0 { |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x8000000>; |
||
15 | }; |
||
16 | |||
17 | chosen { |
||
18 | bootargs = "console=ttyS0,57600"; |
||
19 | }; |
||
20 | |||
3 | office | 21 | gpio-leds { |
1 | office | 22 | compatible = "gpio-leds"; |
23 | |||
24 | usb { |
||
25 | label = "wf-2881:green:usb"; |
||
26 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
||
27 | }; |
||
28 | |||
3 | office | 29 | wps { |
1 | office | 30 | label = "wf-2881:green:wps"; |
31 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
32 | }; |
||
33 | }; |
||
34 | |||
3 | office | 35 | gpio-keys-polled { |
1 | office | 36 | compatible = "gpio-keys-polled"; |
3 | office | 37 | #address-cells = <1>; |
38 | #size-cells = <0>; |
||
1 | office | 39 | poll-interval = <20>; |
40 | |||
41 | reset { |
||
42 | label = "reset"; |
||
43 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
44 | linux,code = <KEY_RESTART>; |
||
45 | }; |
||
46 | }; |
||
47 | }; |
||
48 | |||
49 | &nand { |
||
50 | status = "okay"; |
||
51 | |||
3 | office | 52 | partition@0 { |
53 | label = "u-boot"; |
||
54 | reg = <0x0 0x30000>; |
||
55 | read-only; |
||
56 | }; |
||
1 | office | 57 | |
3 | office | 58 | partition@30000 { |
59 | label = "u-boot-env"; |
||
60 | reg = <0x30000 0x1000>; |
||
61 | read-only; |
||
62 | }; |
||
1 | office | 63 | |
3 | office | 64 | partition@80000 { |
65 | label = "config"; |
||
66 | reg = <0x80000 0x80000>; |
||
67 | read-only; |
||
68 | }; |
||
1 | office | 69 | |
3 | office | 70 | factory: partition@100000 { |
71 | label = "factory"; |
||
72 | reg = <0x100000 0x40000>; |
||
73 | read-only; |
||
74 | }; |
||
1 | office | 75 | |
3 | office | 76 | partition@140000 { |
77 | label = "firmware"; |
||
78 | reg = <0x140000 0x7E40000>; |
||
1 | office | 79 | }; |
80 | }; |
||
81 | |||
82 | &pcie { |
||
83 | status = "okay"; |
||
84 | |||
3 | office | 85 | pcie0 { |
86 | mt76@0,0 { |
||
87 | reg = <0x0000 0 0 0 0>; |
||
88 | device_type = "pci"; |
||
89 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
90 | ieee80211-freq-limit = <5000000 6000000>; |
||
91 | }; |
||
1 | office | 92 | }; |
93 | |||
3 | office | 94 | pcie1 { |
95 | mt76@1,0 { |
||
96 | reg = <0x0000 0 0 0 0>; |
||
97 | device_type = "pci"; |
||
98 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
99 | ieee80211-freq-limit = <2400000 2500000>; |
||
100 | }; |
||
1 | office | 101 | }; |
102 | }; |
||
103 | |||
104 | ðernet { |
||
105 | mtd-mac-address = <&factory 0xe006>; |
||
106 | }; |
||
107 | |||
108 | &pinctrl { |
||
109 | state_default: pinctrl0 { |
||
110 | gpio { |
||
111 | ralink,group = "uart3", "jtag"; |
||
112 | ralink,function = "gpio"; |
||
113 | }; |
||
114 | }; |
||
115 | }; |