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>;
99 reg = <0x140000 0x1ec0000>;
104 reg = <0x540000 0x1ac0000>;
109 reg = <0x2140000 0x1ec0000>;
114 reg = <0x4000000 0x100000>;
119 reg = <0x4100000 0x1000000>;
124 reg = <0x5100000 0x100000>;
130 reg = <0x5200000 0x80000>;
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x0>;
147 nvmem-cells = <&macaddr_factory_e000>;
148 nvmem-cell-names = "mac-address";
162 groups = "i2c", "uart3", "jtag", "wdt";
168 compatible = "nvmem-cells";
169 #address-cells = <1>;
172 macaddr_factory_e000: macaddr@e000 {