aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
diff options
context:
space:
mode:
authorFrederik Noe-Sdun <Frederik.Sdun@googlemail.com>2019-07-29 20:23:28 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-08 18:16:14 +0100
commit0cbd2c74d0c9f41d07757907226e5cfeaf16e06a (patch)
tree3368f58bd39707eef689c97559e97a4a5706252e /target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
parent0ff2385a92c0a31769fce954b7bd571d6114dbc8 (diff)
downloadupstream-0cbd2c74d0c9f41d07757907226e5cfeaf16e06a.tar.gz
upstream-0cbd2c74d0c9f41d07757907226e5cfeaf16e06a.tar.bz2
upstream-0cbd2c74d0c9f41d07757907226e5cfeaf16e06a.zip
ramips: add support for Netgear EX6130
Specifications: * SoC: MT7620A * RAM: 64 MB DDR * Flash: 8MB NOR SPI flash * WiFi: MT7612E (5Ghz) and builtin MT7620A (2.4GHz) * LAN: 1x100M The -factory images can be flashed from the device's web interface or via nmrpflash. The device seems to use base PCB as EX3700/EX3800, but supporting AC1200 using MT7612E. MAC adresses: 5.0 GHz 0x8004 *:9a 2.4 GHz 0x4 *:9b lan 0x28 *:9b wan 0x2e *:9c Since this is a one-port device, although wan MAC address is set in flash, it is not used in OpenWrt setup. Signed-off-by: Frederik Noe-Sdun <Frederik.Sdun@googlemail.com> [rebased, extended commit message, tiny DTS style fixes] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_netgear_ex3700.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_netgear_ex3700.dts114
1 files changed, 1 insertions, 113 deletions
diff --git a/target/linux/ramips/dts/mt7620a_netgear_ex3700.dts b/target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
index 311f27781d..f657e926cb 100644
--- a/target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
+++ b/target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
@@ -2,10 +2,7 @@
/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
-#include "mt7620a.dtsi"
+#include "mt7620a_netgear_ex3700_ex6130.dtsi"
/ {
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
@@ -18,10 +15,6 @@
led-upgrade = &led_power_green;
};
- chosen {
- bootargs = "console=ttyS0,57600";
- };
-
leds {
compatible = "gpio-leds";
@@ -61,109 +54,4 @@
gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
};
};
-
- keys {
- compatible = "gpio-keys";
-
- reset {
- label = "reset";
- gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
- };
-
- wps {
- label = "wps";
- gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_WPS_BUTTON>;
- };
- };
-};
-
-&gpio0 {
- status = "okay";
-};
-
-&gpio2 {
- status = "okay";
-};
-
-&spi0 {
- status = "okay";
-
- m25p80@0 {
- compatible = "jedec,spi-nor";
- reg = <0>;
- spi-max-frequency = <10000000>;
-
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
-
- partition@0 {
- label = "u-boot";
- reg = <0x0 0x30000>;
- read-only;
- };
-
- partition@30000 {
- label = "config";
- reg = <0x30000 0x10000>;
- read-only;
- };
-
- factory: partition@40000 {
- label = "factory";
- reg = <0x40000 0x10000>;
- read-only;
- };
-
- partition@50000 {
- compatible = "denx,uimage";
- label = "firmware";
- reg = <0x50000 0x790000>;
- };
-
- partition@7e0000 {
- label = "board_data";
- reg = <0x7e0000 0x10000>;
- read-only;
- };
-
- partition@7f0000 {
- label = "nvram";
- reg = <0x7f0000 0x10000>;
- read-only;
- };
- };
- };
-};
-
-&pcie {
- status = "okay";
-};
-
-&pcie0 {
- mt76@0,0 {
- reg = <0x0000 0 0 0 0 >;
- mediatek,mtd-eeprom = <&factory 0x8000>;
- ieee80211-freq-limit = <5000000 6000000>;
- };
-};
-
-&ethernet {
- mtd-mac-address = <&factory 0x28>;
-};
-
-&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
-};
-
-&pinctrl {
- state_default: pinctrl0 {
- default {
- ralink,group = "i2c", "rgmii2", "spi refclk";
- ralink,function = "gpio";
- };
- };
};