2019-05-26 13:01:09 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2016-04-26 11:43:53 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-10-24 11:36:47 +00:00
|
|
|
#include "mt7621_netgear_sercomm.dtsi"
|
2016-11-11 21:43:08 +00:00
|
|
|
|
2016-04-26 11:43:53 +00:00
|
|
|
/ {
|
2017-07-27 16:49:06 +00:00
|
|
|
compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
|
2019-07-03 21:22:28 +00:00
|
|
|
model = "Netgear WNDR3700 v5";
|
2019-10-24 11:36:47 +00:00
|
|
|
|
|
|
|
keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
wps {
|
|
|
|
label = "wps";
|
2019-11-10 19:54:38 +00:00
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
2019-10-24 11:36:47 +00:00
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wifi {
|
|
|
|
label = "wifi";
|
2019-11-10 19:54:38 +00:00
|
|
|
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
2019-10-24 11:36:47 +00:00
|
|
|
linux,code = <KEY_RFKILL>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reset {
|
|
|
|
label = "reset";
|
2019-11-10 19:54:38 +00:00
|
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
2019-10-24 11:36:47 +00:00
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&leds {
|
|
|
|
wps {
|
|
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
|
|
|
label = "wndr3700-v5:green:wps";
|
|
|
|
};
|
2019-05-26 13:01:09 +00:00
|
|
|
};
|
2016-04-26 11:43:53 +00:00
|
|
|
|
2019-05-26 13:01:09 +00:00
|
|
|
&led_power {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "wndr3700-v5:green:power";
|
2019-05-26 13:01:09 +00:00
|
|
|
};
|
2016-04-26 11:43:53 +00:00
|
|
|
|
2019-05-26 13:01:09 +00:00
|
|
|
&led_usb {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "wndr3700-v5:green:usb";
|
2019-05-26 13:01:09 +00:00
|
|
|
};
|
2016-04-26 11:43:53 +00:00
|
|
|
|
2019-05-26 13:01:09 +00:00
|
|
|
&led_internet {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "wndr3700-v5:green:wan";
|
2019-05-26 13:01:09 +00:00
|
|
|
};
|
2016-04-26 11:43:53 +00:00
|
|
|
|
2019-05-26 13:01:09 +00:00
|
|
|
&led_wifi {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "wndr3700-v5:green:wifi";
|
2019-05-26 13:01:09 +00:00
|
|
|
};
|
2016-04-26 11:43:53 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
|
2019-05-26 13:01:09 +00:00
|
|
|
flash@0 {
|
2016-11-18 07:39:05 +00:00
|
|
|
compatible = "jedec,spi-nor";
|
2016-05-14 17:22:08 +00:00
|
|
|
reg = <0>;
|
2016-05-10 10:41:46 +00:00
|
|
|
spi-max-frequency = <10000000>;
|
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@30000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
factory: partition@f30000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0xf30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@50000 {
|
2018-11-28 03:28:35 +00:00
|
|
|
compatible = "denx,uimage";
|
2018-08-01 20:32:34 +00:00
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0xee0000>;
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|