2016-05-09 06:32:52 +00:00
|
|
|
#include "rt5350.dtsi"
|
2013-07-24 08:54:41 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "AWM002", "ralink,rt5350-soc";
|
|
|
|
model = "AsiaRF AWM002";
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ld1 {
|
|
|
|
label = "awm002:green:ld1";
|
|
|
|
gpios = <&gpio0 0 1>;
|
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ld2 {
|
|
|
|
label = "awm002:green:ld2";
|
|
|
|
gpios = <&gpio0 1 1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
m25p80: m25p80@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2016-05-14 17:22:08 +00:00
|
|
|
reg = <0>;
|
2016-05-10 10:41:46 +00:00
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
spi-max-frequency = <10000000>;
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@30000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
2013-09-17 21:45:44 +00:00
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
factory: partition@40000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@50000 {
|
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0x1fb0000>;
|
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&pinctrl {
|
|
|
|
state_default {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "i2c", "jtag";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2013-07-24 08:54:41 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&esw {
|
|
|
|
mediatek,portmap = <0x3f>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
2013-07-24 08:54:41 +00:00
|
|
|
};
|