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>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 macaddr_factory_28: macaddr@28 {
116 compatible = "denx,uimage";
118 reg = <0x50000 0xfb0000>;
126 groups = "uartf", "wled", "ephy";
132 mediatek,portmap = "llllw";
133 nvmem-cells = <&macaddr_factory_28>;
134 nvmem-cell-names = "mac-address";
146 nvmem-cells = <&eeprom_factory_0>;
147 nvmem-cell-names = "eeprom";