2016-05-09 06:32:52 +00:00
|
|
|
#include "rt5350.dtsi"
|
2014-04-22 08:08:51 +00:00
|
|
|
|
2016-11-11 21:43:08 +00:00
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2014-04-22 08:08:51 +00:00
|
|
|
/ {
|
2015-08-17 06:01:06 +00:00
|
|
|
compatible = "PX-4885", "ralink,rt5350-soc";
|
2014-04-22 08:08:51 +00:00
|
|
|
|
|
|
|
gpio-keys-polled {
|
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
poll-interval = <20>;
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-04-22 08:08:51 +00:00
|
|
|
reset {
|
|
|
|
label = "reset";
|
|
|
|
gpios = <&gpio0 10 1>;
|
2016-11-11 21:43:08 +00:00
|
|
|
linux,code = <KEY_RESTART>;
|
2014-04-22 08:08:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-04-22 08:08:51 +00:00
|
|
|
orange {
|
2015-08-17 06:01:06 +00:00
|
|
|
label = "px-4885:orange:wifi";
|
2014-04-22 08:08:51 +00:00
|
|
|
gpios = <&gpio0 18 1>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-04-22 08:08:51 +00:00
|
|
|
blue {
|
2015-08-17 06:01:06 +00:00
|
|
|
label = "px-4885:blue:storage";
|
2014-04-22 08:08:51 +00:00
|
|
|
gpios = <&gpio0 19 1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
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 {
|
|
|
|
ralink,group = "i2c", "jtag", "uartf";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&esw {
|
|
|
|
mediatek,portmap = <0x3f>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wmac {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|