2014-07-22 09:58:21 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "AWM002-8M.dtsi"
|
2014-07-22 09:58:21 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "AWM003", "ralink,rt5350-soc";
|
|
|
|
model = "AsiaRF AWM003 EVB";
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x4000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
palmbus@10000000 {
|
|
|
|
spi@b00 {
|
|
|
|
m25p80@0 {
|
2015-12-18 22:26:40 +00:00
|
|
|
compatible = "jedec,spi-nor";
|
2014-07-22 09:58:21 +00:00
|
|
|
linux,modalias = "m25p80", "mx25l6405d";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-07-28 15:26:23 +00:00
|
|
|
ethernet@10100000 {
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
};
|
|
|
|
|
2014-07-22 09:58:21 +00:00
|
|
|
wmac@10180000 {
|
|
|
|
ralink,mtd-eeprom = <&factory 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-07-22 09:58:21 +00:00
|
|
|
tx {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "awm003-evb:green:tx";
|
2014-07-22 09:58:21 +00:00
|
|
|
gpios = <&gpio0 15 1>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-07-22 09:58:21 +00:00
|
|
|
rx {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "awm003-evb:green:rx";
|
2014-07-22 09:58:21 +00:00
|
|
|
gpios = <&gpio0 16 1>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-07-22 09:58:21 +00:00
|
|
|
wps {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "awm003-evb:green:wps";
|
2014-07-22 09:58:21 +00:00
|
|
|
gpios = <&gpio0 21 1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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-07-22 09:58:21 +00:00
|
|
|
reset_wps {
|
|
|
|
label = "reset_wps";
|
|
|
|
gpios = <&gpio0 0 1>;
|
|
|
|
linux,code = <0x198>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2014-07-22 09:58:21 +00:00
|
|
|
mode {
|
|
|
|
label = "mode";
|
2014-07-28 15:26:32 +00:00
|
|
|
gpios = <&gpio0 20 1>;
|
2014-07-22 09:58:21 +00:00
|
|
|
linux,code = <0x32>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|