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 {
93 reg = <0x100000 0x40000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_e000: macaddr@e000 {
113 reg = <0x140000 0x1ec0000>;
118 reg = <0x540000 0x1ac0000>;
123 reg = <0x2140000 0x1ec0000>;
128 reg = <0x4000000 0x100000>;
133 reg = <0x4100000 0x1000000>;
138 reg = <0x5100000 0x100000>;
144 reg = <0x5200000 0x80000>;
155 reg = <0x0000 0 0 0 0>;
156 nvmem-cells = <&eeprom_factory_0>;
157 nvmem-cell-names = "eeprom";
162 nvmem-cells = <&macaddr_factory_e000>;
163 nvmem-cell-names = "mac-address";
177 groups = "i2c", "uart3", "jtag", "wdt";