OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7620n.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "asus,rt-n14u", "ralink,mt7620n-soc"; |
||
10 | model = "Asus RT-N14U"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
15 | wan { |
||
16 | label = "rt-n14u:blue:wan"; |
||
17 | gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
||
18 | }; |
||
19 | |||
20 | lan { |
||
21 | label = "rt-n14u:blue:lan"; |
||
22 | gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | |||
25 | usb { |
||
26 | label = "rt-n14u:blue:usb"; |
||
27 | gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
||
28 | }; |
||
29 | |||
3 | office | 30 | power { |
1 | office | 31 | label = "rt-n14u:blue:power"; |
32 | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | |||
35 | air { |
||
36 | label = "rt-n14u:blue:air"; |
||
37 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
||
38 | }; |
||
39 | }; |
||
40 | |||
3 | office | 41 | gpio-keys-polled { |
1 | office | 42 | compatible = "gpio-keys-polled"; |
3 | office | 43 | #address-cells = <1>; |
44 | #size-cells = <0>; |
||
1 | office | 45 | poll-interval = <20>; |
46 | |||
47 | reset { |
||
48 | label = "reset"; |
||
49 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
||
50 | linux,code = <KEY_RESTART>; |
||
51 | }; |
||
52 | |||
53 | wps { |
||
54 | label = "wps"; |
||
55 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
||
56 | linux,code = <KEY_WPS_BUTTON>; |
||
57 | }; |
||
58 | }; |
||
59 | }; |
||
60 | |||
61 | &gpio2 { |
||
62 | status = "okay"; |
||
63 | }; |
||
64 | |||
65 | &gpio3 { |
||
66 | status = "okay"; |
||
67 | }; |
||
68 | |||
69 | &spi0 { |
||
70 | status = "okay"; |
||
71 | |||
72 | m25p80@0 { |
||
3 | office | 73 | #address-cells = <1>; |
74 | #size-cells = <1>; |
||
1 | office | 75 | compatible = "jedec,spi-nor"; |
76 | reg = <0>; |
||
77 | spi-max-frequency = <10000000>; |
||
78 | |||
3 | office | 79 | partition@0 { |
80 | label = "u-boot"; |
||
81 | reg = <0x0 0x30000>; |
||
82 | read-only; |
||
83 | }; |
||
1 | office | 84 | |
3 | office | 85 | partition@30000 { |
86 | label = "u-boot-env"; |
||
87 | reg = <0x30000 0x10000>; |
||
88 | read-only; |
||
89 | }; |
||
1 | office | 90 | |
3 | office | 91 | factory: partition@40000 { |
92 | label = "factory"; |
||
93 | reg = <0x40000 0x10000>; |
||
94 | read-only; |
||
95 | }; |
||
1 | office | 96 | |
3 | office | 97 | partition@50000 { |
98 | label = "firmware"; |
||
99 | reg = <0x50000 0xfb0000>; |
||
1 | office | 100 | }; |
101 | }; |
||
102 | }; |
||
103 | |||
104 | &ehci { |
||
105 | status = "okay"; |
||
106 | }; |
||
107 | |||
108 | &ohci { |
||
109 | status = "okay"; |
||
110 | }; |
||
111 | |||
112 | ðernet { |
||
113 | mtd-mac-address = <&factory 0x4>; |
||
114 | mediatek,portmap = "wllll"; |
||
115 | }; |
||
116 | |||
117 | &wmac { |
||
118 | ralink,mtd-eeprom = <&factory 0>; |
||
119 | }; |
||
120 | |||
121 | &pinctrl { |
||
122 | state_default: pinctrl0 { |
||
123 | default { |
||
124 | ralink,group = "ephy", "wled", "i2c"; |
||
125 | ralink,function = "gpio"; |
||
126 | }; |
||
127 | }; |
||
128 | }; |