540fd253ebe9810447b80216b6a7b2f66a0b2044
[openwrt/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 groups = "jtag", "uartf";
24 function = "gpio";
25 };
26 };
27
28 &ethernet {
29 mtd-mac-address = <&factory 0x4>;
30 };
31
32 &wmac {
33 ralink,mtd-eeprom = <&factory 0x0>;
34 };