OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "mt7620a.dtsi" |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | / { |
||
7 | compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc"; |
||
8 | |||
9 | chosen { |
||
10 | bootargs = "console=ttyS0,115200"; |
||
11 | }; |
||
12 | |||
3 | office | 13 | gpio-leds { |
1 | office | 14 | compatible = "gpio-leds"; |
3 | office | 15 | power { |
1 | office | 16 | label = "zbt-we826:green:power"; |
17 | gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; |
||
18 | }; |
||
19 | usb { |
||
20 | label = "zbt-we826:green:usb"; |
||
21 | gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
||
22 | }; |
||
23 | air { |
||
24 | label = "zbt-we826:green:wifi"; |
||
25 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
||
26 | }; |
||
27 | }; |
||
28 | |||
3 | office | 29 | gpio-keys-polled { |
1 | office | 30 | compatible = "gpio-keys-polled"; |
3 | office | 31 | #address-cells = <1>; |
32 | #size-cells = <0>; |
||
1 | office | 33 | poll-interval = <20>; |
34 | reset { |
||
35 | label = "reset"; |
||
36 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
||
37 | linux,code = <KEY_RESTART>; |
||
38 | }; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | &gpio0 { |
||
43 | status = "okay"; |
||
44 | }; |
||
45 | |||
46 | &gpio1 { |
||
47 | status = "okay"; |
||
48 | }; |
||
49 | |||
50 | &gpio3 { |
||
51 | status = "okay"; |
||
52 | }; |
||
53 | |||
54 | &sdhci { |
||
55 | status = "okay"; |
||
56 | }; |
||
57 | |||
58 | &ehci { |
||
59 | status = "okay"; |
||
60 | }; |
||
61 | |||
62 | &ohci { |
||
63 | status = "okay"; |
||
64 | }; |
||
65 | |||
66 | ðernet { |
||
67 | mtd-mac-address = <&factory 0x4>; |
||
68 | mediatek,portmap = "wllll"; |
||
69 | }; |
||
70 | |||
71 | &wmac { |
||
72 | ralink,mtd-eeprom = <&factory 0>; |
||
73 | }; |
||
74 | |||
75 | &pinctrl { |
||
76 | state_default: pinctrl0 { |
||
77 | default { |
||
78 | ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa"; |
||
79 | ralink,function = "gpio"; |
||
80 | }; |
||
81 | }; |
||
82 | }; |
||
83 | |||
84 | &pcie { |
||
85 | status = "okay"; |
||
86 | }; |