2013-04-03 09:59:46 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/include/ "rt3050.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
|
|
|
|
model = "Asus RT-N10+";
|
|
|
|
|
|
|
|
cfi@1f000000 {
|
|
|
|
compatible = "cfi-flash";
|
|
|
|
reg = <0x1f000000 0x800000>;
|
|
|
|
bank-width = <2>;
|
|
|
|
device-width = <2>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2013-04-09 14:19:24 +00:00
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@30000 {
|
|
|
|
label = "devdata";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
2014-07-17 10:55:31 +00:00
|
|
|
devconf: partition@40000 {
|
2013-04-09 14:19:24 +00:00
|
|
|
label = "devconf";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@50000 {
|
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0x3b0000>;
|
|
|
|
};
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2014-07-26 20:36:09 +00:00
|
|
|
ethernet@10100000 {
|
|
|
|
mtd-mac-address = <&devconf 0x4>;
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
esw@10110000 {
|
|
|
|
ralink,portmap = <0x3e>;
|
|
|
|
};
|
|
|
|
|
2014-07-17 10:55:31 +00:00
|
|
|
wmac@10180000 {
|
|
|
|
ralink,mtd-eeprom = <&devconf 0>;
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
wps {
|
2015-08-17 06:24:34 +00:00
|
|
|
label = "rt-n10-plus:green:wps";
|
2013-04-03 09:59:46 +00:00
|
|
|
gpios = <&gpio0 14 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
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
reset {
|
|
|
|
label = "reset";
|
|
|
|
gpios = <&gpio0 10 1>;
|
|
|
|
linux,code = <0x198>;
|
|
|
|
};
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
wps {
|
|
|
|
label = "wps";
|
|
|
|
gpios = <&gpio0 0 1>;
|
|
|
|
linux,code = <0x211>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|