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
|
|
|
/ {
|
|
|
|
compatible = "NEXXWT1520", "ralink,rt5350-soc";
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x2000000>;
|
|
|
|
};
|
|
|
|
|
2017-11-25 16:42:50 +00:00
|
|
|
gpio-keys-polled {
|
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
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
|
|
|
};
|