OpenWrt – Blame information for rev 3
?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 | |||
3 | office | 9 | gpio-leds { |
1 | office | 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 | |||
3 | office | 28 | gpio-keys-polled { |
1 | office | 29 | compatible = "gpio-keys-polled"; |
3 | office | 30 | #address-cells = <1>; |
31 | #size-cells = <0>; |
||
1 | office | 32 | poll-interval = <20>; |
33 | |||
34 | reset { |
||
35 | label = "reset"; |
||
36 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
37 | linux,code = <KEY_RESTART>; |
||
38 | }; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | &gpio0 { |
||
43 | status = "okay"; |
||
44 | }; |
||
45 | |||
46 | &pinctrl { |
||
47 | state_default: pinctrl0 { |
||
48 | gpio { |
||
49 | ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; |
||
50 | ralink,function = "gpio"; |
||
51 | }; |
||
52 | }; |
||
53 | }; |
||
54 | |||
55 | ðernet { |
||
56 | mtd-mac-address = <&factory 0x28>; |
||
57 | }; |
||
58 | |||
59 | &esw { |
||
60 | mediatek,portmap = <0x3f>; |
||
61 | }; |
||
62 | |||
63 | &wmac { |
||
64 | ralink,mtd-eeprom = <&factory 0>; |
||
65 | }; |