lede/target/linux/ramips/dts/WT1520.dtsi

52 lines
740 B
Plaintext
Raw Normal View History

2017-09-06 19:19:45 +08:00
#include "rt5350.dtsi"
2018-01-08 13:45:29 +08:00
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
2017-09-06 19:19:45 +08:00
/ {
compatible = "nexx,wt1520", "ralink,rt5350-soc";
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
2018-01-08 13:45:29 +08:00
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
2017-09-06 19:19:45 +08:00
2018-01-08 13:45:29 +08:00
reset {
label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
2017-09-06 19:19:45 +08:00
};
&pinctrl {
state_default: pinctrl0 {
gpio {
2018-01-08 13:45:29 +08:00
ralink,group = "jtag", "uartf";
2017-09-06 19:19:45 +08:00
ralink,function = "gpio";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};