OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "rt3050.dtsi" |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | / { |
||
7 | compatible = "allnet,all0256n", "ralink,rt3050-soc"; |
||
8 | |||
9 | leds { |
||
10 | compatible = "gpio-leds"; |
||
11 | |||
12 | rssilow { |
||
13 | label = "all0256n:green:rssilow"; |
||
14 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
||
15 | }; |
||
16 | |||
17 | rssimed { |
||
18 | label = "all0256n:green:rssimed"; |
||
19 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
20 | }; |
||
21 | |||
22 | rssihigh { |
||
23 | label = "all0256n:green:rssihigh"; |
||
24 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
25 | }; |
||
26 | }; |
||
27 | |||
28 | keys { |
||
29 | compatible = "gpio-keys-polled"; |
||
30 | poll-interval = <20>; |
||
31 | |||
32 | reset { |
||
33 | label = "reset"; |
||
34 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
35 | linux,code = <KEY_RESTART>; |
||
36 | }; |
||
37 | }; |
||
38 | }; |
||
39 | |||
40 | &gpio0 { |
||
41 | status = "okay"; |
||
42 | }; |
||
43 | |||
44 | &pinctrl { |
||
45 | state_default: pinctrl0 { |
||
46 | gpio { |
||
47 | ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; |
||
48 | ralink,function = "gpio"; |
||
49 | }; |
||
50 | }; |
||
51 | }; |
||
52 | |||
53 | ðernet { |
||
54 | mtd-mac-address = <&factory 0x28>; |
||
55 | }; |
||
56 | |||
57 | &esw { |
||
58 | mediatek,portmap = <0x3f>; |
||
59 | }; |
||
60 | |||
61 | &wmac { |
||
62 | ralink,mtd-eeprom = <&factory 0>; |
||
63 | }; |