2016-05-09 06:32:52 +00:00
|
|
|
#include "rt5350.dtsi"
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2017-11-25 16:42:50 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2014-12-07 16:53:22 +00:00
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "nexx,wt1520", "ralink,rt5350-soc";
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2018-12-30 11:17:25 +00:00
|
|
|
keys {
|
2017-11-25 16:42:50 +00:00
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
poll-interval = <20>;
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2017-11-25 16:42:50 +00:00
|
|
|
reset {
|
|
|
|
label = "reset";
|
|
|
|
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&pinctrl {
|
2016-05-18 20:02:52 +00:00
|
|
|
state_default: pinctrl0 {
|
2016-05-10 10:41:46 +00:00
|
|
|
gpio {
|
2017-11-25 16:42:50 +00:00
|
|
|
ralink,group = "jtag", "uartf";
|
2016-05-10 10:41:46 +00:00
|
|
|
ralink,function = "gpio";
|
2014-12-07 16:53:22 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
};
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&wmac {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2014-12-07 16:53:22 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
2014-12-07 16:53:22 +00:00
|
|
|
};
|