OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "mt7628an.dtsi" |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | / { |
||
7 | compatible = "widora,neo", "mediatek,mt7628an-soc"; |
||
8 | |||
9 | chosen { |
||
10 | bootargs = "console=ttyS0,115200"; |
||
11 | }; |
||
12 | |||
13 | memory@0 { |
||
14 | device_type = "memory"; |
||
15 | reg = <0x0 0x8000000>; |
||
16 | }; |
||
17 | |||
3 | office | 18 | gpio-leds { |
1 | office | 19 | compatible = "gpio-leds"; |
20 | |||
3 | office | 21 | wifi { |
1 | office | 22 | label = "widora:orange:wifi"; |
23 | gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>; |
||
24 | default-state = "on"; |
||
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 | wps { |
||
35 | label = "reset"; |
||
36 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
||
37 | linux,code = <KEY_WPS_BUTTON>; |
||
38 | }; |
||
39 | }; |
||
40 | |||
41 | wgpio: gpio-wifi { |
||
42 | compatible = "mediatek,gpio-wifi"; |
||
43 | #address-cells = <1>; |
||
44 | #size-cells = <0>; |
||
45 | gpio-controller; |
||
46 | #gpio-cells = <2>; |
||
47 | }; |
||
48 | }; |
||
49 | |||
50 | &pinctrl { |
||
51 | state_default: pinctrl0 { |
||
52 | gpio { |
||
53 | ralink,group = "gpio"; |
||
54 | ralink,function = "gpio"; |
||
55 | }; |
||
56 | |||
57 | perst { |
||
58 | ralink,group = "perst"; |
||
59 | ralink,function = "gpio"; |
||
60 | }; |
||
61 | |||
62 | refclk { |
||
63 | ralink,group = "refclk"; |
||
64 | ralink,function = "gpio"; |
||
65 | }; |
||
66 | |||
67 | i2s { |
||
68 | ralink,group = "i2s"; |
||
69 | ralink,function = "gpio"; |
||
70 | }; |
||
71 | |||
72 | spis { |
||
73 | ralink,group = "spis"; |
||
74 | ralink,function = "gpio"; |
||
75 | }; |
||
76 | |||
77 | wled_kn { |
||
78 | ralink,group = "wled_kn"; |
||
79 | ralink,function = "gpio"; |
||
80 | }; |
||
81 | |||
82 | wled_an { |
||
83 | ralink,group = "wled_an"; |
||
84 | ralink,function = "wled_an"; |
||
85 | }; |
||
86 | |||
87 | wdt { |
||
88 | ralink,group = "wdt"; |
||
89 | ralink,function = "gpio"; |
||
90 | }; |
||
91 | }; |
||
92 | }; |
||
93 | |||
94 | &i2c { |
||
95 | status = "okay"; |
||
96 | }; |
||
97 | |||
98 | &uart1 { |
||
99 | status = "okay"; |
||
100 | }; |
||
101 | |||
102 | &uart2 { |
||
103 | status = "okay"; |
||
104 | }; |
||
105 | |||
106 | &pwm { |
||
107 | status = "okay"; |
||
108 | }; |
||
109 | |||
110 | ðernet { |
||
111 | mtd-mac-address = <&factory 0x28>; |
||
112 | }; |
||
113 | |||
114 | &sdhci { |
||
115 | status = "okay"; |
||
116 | mediatek,cd-low; |
||
117 | }; |
||
118 | |||
119 | &wmac { |
||
120 | status = "okay"; |
||
121 | }; |