1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,nr7101", "mediatek,mt7621-soc";
10 model = "ZyXEL NR7101";
13 led-boot = &led_system_green;
14 led-failsafe = &led_system_green;
15 led-running = &led_system_green;
16 led-upgrade = &led_system_green;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
24 label = "yellow:system";
25 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
28 led_system_green: system_green {
29 label = "green:system";
30 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
35 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WLAN>;
50 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
59 gpios = <4 GPIO_ACTIVE_HIGH>;
61 line-name = "lte-pwrkey";
66 gpios = <18 GPIO_ACTIVE_HIGH>;
68 line-name = "lte-power";
76 compatible = "fixed-partitions";
88 reg = <0x80000 0x80000>;
91 factory: partition@100000 {
92 compatible = "nvmem-cells";
94 reg = <0x100000 0x40000>;
99 eeprom_factory_0: eeprom@0 {
103 macaddr_factory_e000: macaddr@e000 {
110 reg = <0x140000 0x1ec0000>;
115 reg = <0x540000 0x1ac0000>;
120 reg = <0x2140000 0x1ec0000>;
125 reg = <0x4000000 0x100000>;
130 reg = <0x4100000 0x1000000>;
135 reg = <0x5100000 0x100000>;
141 reg = <0x5200000 0x80000>;
152 reg = <0x0000 0 0 0 0>;
153 nvmem-cells = <&eeprom_factory_0>;
154 nvmem-cell-names = "eeprom";
159 nvmem-cells = <&macaddr_factory_e000>;
160 nvmem-cell-names = "mac-address";
174 groups = "i2c", "uart3", "jtag", "wdt";