OpenWrt – Blame information for rev 2
?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 | |||
9 | aliases { |
||
10 | led-boot = &led_wifi; |
||
11 | led-failsafe = &led_wifi; |
||
12 | led-running = &led_wifi; |
||
13 | led-upgrade = &led_wifi; |
||
14 | }; |
||
15 | |||
16 | keys { |
||
17 | compatible = "gpio-keys-polled"; |
||
18 | poll-interval = <20>; |
||
19 | |||
20 | reset { |
||
21 | label = "reset"; |
||
22 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
23 | linux,code = <KEY_RESTART>; |
||
24 | }; |
||
25 | }; |
||
26 | |||
27 | leds { |
||
28 | compatible = "gpio-leds"; |
||
29 | |||
30 | led_wifi: wifi { |
||
31 | label = "px-4885:orange:wifi"; |
||
32 | gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | |||
35 | storage { |
||
36 | label = "px-4885:blue:storage"; |
||
37 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
||
38 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
||
39 | linux,default-trigger = "usbport"; |
||
40 | }; |
||
41 | }; |
||
42 | }; |
||
43 | |||
44 | &pinctrl { |
||
45 | state_default: pinctrl0 { |
||
46 | gpio { |
||
47 | ralink,group = "i2c", "jtag", "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 | }; |