1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netcore,nw5212", "ralink,mt7620a-soc";
10 model = "Netcore NW5212";
13 label-mac-device = ðernet;
17 compatible = "gpio-leds";
21 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
36 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
45 label = "green:wlan2g";
46 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
52 compatible = "gpio-keys";
56 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <70000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfb0000>;
112 groups = "uartf", "wled", "ephy";
118 mtd-mac-address = <&factory 0x28>;
119 mediatek,portmap = "llllw";
131 ralink,mtd-eeprom = <&factory 0x0>;