OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | #include <dt-bindings/input/input.h> |
||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | |||
5 | #include "mt7628an.dtsi" |
||
6 | |||
7 | / { |
||
8 | compatible = "wavlink,wl-wn575a3", "mediatek,mt7628an-soc"; |
||
9 | model = "Wavlink WL-WN575A3"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyS0,57600"; |
||
13 | }; |
||
14 | |||
15 | memory@0 { |
||
16 | device_type = "memory"; |
||
17 | reg = <0x0 0x4000000>; |
||
18 | }; |
||
19 | |||
3 | office | 20 | gpio-keys-polled { |
1 | office | 21 | compatible = "gpio-keys-polled"; |
3 | office | 22 | #address-cells = <1>; |
23 | #size-cells = <0>; |
||
1 | office | 24 | poll-interval = <20>; |
25 | |||
26 | reset { |
||
27 | label = "reset"; |
||
28 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
||
29 | linux,code = <KEY_RESTART>; |
||
30 | }; |
||
31 | |||
32 | wps { |
||
33 | label = "wps"; |
||
34 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
||
35 | linux,code = <KEY_WPS_BUTTON>; |
||
36 | }; |
||
37 | }; |
||
38 | |||
3 | office | 39 | gpio-leds { |
1 | office | 40 | compatible = "gpio-leds"; |
41 | |||
42 | wifi-high { |
||
43 | label = "wl-wn575a3:green:wifi-high"; |
||
44 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
||
45 | }; |
||
46 | |||
47 | wifi-med { |
||
48 | label = "wl-wn575a3:green:wifi-med"; |
||
49 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
||
50 | }; |
||
51 | |||
52 | wifi-low { |
||
53 | label = "wl-wn575a3:green:wifi-low"; |
||
54 | gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
||
55 | }; |
||
56 | |||
57 | wps { |
||
58 | label = "wl-wn575a3:green:wps"; |
||
59 | gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; |
||
60 | }; |
||
61 | }; |
||
62 | }; |
||
63 | |||
64 | &pinctrl { |
||
65 | state_default: pinctrl0 { |
||
66 | gpio { |
||
3 | office | 67 | ralink,group = "i2c", "wled_an"; |
1 | office | 68 | ralink,function = "gpio"; |
69 | }; |
||
70 | }; |
||
71 | }; |
||
72 | |||
73 | &pcie { |
||
74 | status = "okay"; |
||
3 | office | 75 | pcie-bridge { |
76 | mt76@0,0 { |
||
77 | reg = <0x0000 0 0 0 0>; |
||
78 | device_type = "pci"; |
||
79 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
80 | ieee80211-freq-limit = <5000000 6000000>; |
||
81 | }; |
||
1 | office | 82 | }; |
83 | }; |
||
84 | |||
85 | &spi0 { |
||
86 | status = "okay"; |
||
87 | |||
3 | office | 88 | m25p80@0 { |
89 | #address-cells = <1>; |
||
90 | #size-cells = <1>; |
||
1 | office | 91 | compatible = "jedec,spi-nor"; |
92 | reg = <0>; |
||
93 | spi-max-frequency = <10000000>; |
||
3 | office | 94 | m25p,chunked-io = <32>; |
1 | office | 95 | |
3 | office | 96 | partition@0 { |
97 | label = "u-boot"; |
||
98 | reg = <0x0 0x30000>; |
||
99 | read-only; |
||
100 | }; |
||
1 | office | 101 | |
3 | office | 102 | partition@30000 { |
103 | label = "u-boot-env"; |
||
104 | reg = <0x30000 0x10000>; |
||
105 | read-only; |
||
106 | }; |
||
1 | office | 107 | |
3 | office | 108 | factory: partition@40000 { |
109 | label = "factory"; |
||
110 | reg = <0x40000 0x10000>; |
||
111 | read-only; |
||
112 | }; |
||
1 | office | 113 | |
3 | office | 114 | partition@50000 { |
115 | label = "firmware"; |
||
116 | reg = <0x50000 0x7b0000>; |
||
1 | office | 117 | }; |
118 | }; |
||
119 | }; |
||
120 | |||
121 | &wmac { |
||
122 | status = "okay"; |
||
3 | office | 123 | ralink,mtd-eeprom = <&factory 0x4>; |
1 | office | 124 | }; |
125 | |||
126 | ðernet { |
||
3 | office | 127 | mtd-mac-address = <&factory 0x2e>; |
1 | office | 128 | mediatek,portmap = "llllw"; |
129 | }; |