ramips: Fix GB-PC1 cpuclock again
[openwrt/openwrt.git] / target / linux / ramips / dts / WT3020.dtsi
1 #include "mt7620n.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "nexx,wt3020", "ralink,mt7620n-soc";
8
9 gpio-keys-polled {
10 compatible = "gpio-keys-polled";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 poll-interval = <20>;
14
15 reset {
16 label = "reset";
17 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
18 linux,code = <KEY_RESTART>;
19 };
20 };
21
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 power {
26 label = "wt3020:blue:power";
27 gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
28 };
29 };
30 };
31
32 &gpio2 {
33 status = "okay";
34 };
35
36 &gpio3 {
37 status = "okay";
38 };
39
40 &ethernet {
41 mtd-mac-address = <&factory 0x4>;
42 mediatek,portmap = "wllll";
43 };
44
45 &wmac {
46 ralink,mtd-eeprom = <&factory 0>;
47 };
48
49 &pinctrl {
50 state_default: pinctrl0 {
51 default {
52 ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
53 ralink,function = "gpio";
54 };
55 };
56 };