ramips: add support for Netgear EX6130
[oweals/openwrt.git] / target / linux / ramips / dts / rt5350_nexx_wt1520.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7         compatible = "nexx,wt1520", "ralink,rt5350-soc";
8
9         keys {
10                 compatible = "gpio-keys-polled";
11                 poll-interval = <20>;
12
13                 reset {
14                         label = "reset";
15                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
16                         linux,code = <KEY_RESTART>;
17                 };
18         };
19 };
20
21 &pinctrl {
22         state_default: pinctrl0 {
23                 gpio {
24                         ralink,group = "jtag", "uartf";
25                         ralink,function = "gpio";
26                 };
27         };
28 };
29
30 &ethernet {
31         mtd-mac-address = <&factory 0x4>;
32 };
33
34 &wmac {
35         ralink,mtd-eeprom = <&factory 0>;
36 };
37
38 &ehci {
39         status = "okay";
40 };
41
42 &ohci {
43         status = "okay";
44 };