1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "sercomm,na502", "mediatek,mt7621-soc";
10 model = "SERCOMM NA502";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "green:power";
24 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
28 label = "green:internet";
29 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
39 label = "green:zwave";
40 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
44 label = "green:service";
45 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
49 label = "green:zigbee";
50 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
54 label = "green:bluetooth";
55 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys";
64 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
70 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RFKILL>;
82 compatible = "gpio-export";
85 gpio-export,name = "zwave_reset";
86 gpio-export,output = <1>;
87 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
91 gpio-export,name = "zigbee_reset";
92 gpio-export,output = <1>;
93 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
99 mtd-mac-address = <&factory 0xe000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
118 reg = <0x80000 0x80000>;
122 factory: partition@100000 {
124 reg = <0x100000 0x40000>;
129 reg = <0x140000 0x1400000>;
134 reg = <0x1540000 0x400000>;
139 reg = <0x1940000 0x1000000>;
143 label = "user_storage";
144 reg = <0x2940000 0x100000>;
149 reg = <0x2a40000 0x1000000>;
154 reg = <0x3a40000 0x3200000>;
159 reg = <0x6c40000 0x1340000>;
170 compatible = "mediatek,mt76";
171 reg = <0x0000 0 0 0 0>;
172 mediatek,mtd-eeprom = <&factory 0x8000>;
173 mtd-mac-address = <&factory 0xe000>;
174 mtd-mac-address-increment = <1>;
175 ieee80211-freq-limit = <5000000 6000000>;
181 compatible = "mediatek,mt76";
183 mediatek,mtd-eeprom = <&factory 0x0000>;
184 mtd-mac-address = <&factory 0xe000>;
185 mtd-mac-address-increment = <2>;
186 ieee80211-freq-limit = <2400000 2500000>;
192 groups = "jtag", "rgmii2";