ramips: add support for TP-Link RE200 v1
[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 &state_default {
22         gpio {
23                 ralink,group = "jtag", "uartf";
24                 ralink,function = "gpio";
25         };
26 };
27
28 &ethernet {
29         mtd-mac-address = <&factory 0x4>;
30 };
31
32 &wmac {
33         ralink,mtd-eeprom = <&factory 0>;
34 };
35
36 &ehci {
37         status = "okay";
38 };
39
40 &ohci {
41         status = "okay";
42 };