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