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 = "jcg,y2", "mediatek,mt7621-soc";
13 led-boot = &led_internet;
14 led-failsafe = &led_internet;
15 led-upgrade = &led_internet;
19 compatible = "gpio-leds";
21 led_internet: internet {
22 label = "blue:internet";
23 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 compatible = "gpio-keys";
32 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
42 compatible = "jedec,spi-nor";
44 spi-max-frequency = <80000000>;
48 compatible = "fixed-partitions";
60 reg = <0x30000 0x10000>;
66 reg = <0x40000 0x10000>;
70 compatible = "fixed-layout";
74 eeprom_factory_0: eeprom@0 {
78 macaddr_factory_e000: macaddr@e000 {
82 macaddr_factory_e006: macaddr@e006 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0xfb0000>;
103 compatible = "mediatek,mt76";
104 reg = <0x0000 0 0 0 0>;
105 nvmem-cells = <&eeprom_factory_0>;
106 nvmem-cell-names = "eeprom";
111 nvmem-cells = <&macaddr_factory_e000>;
112 nvmem-cell-names = "mac-address";
118 phy-handle = <ðphy4>;
120 nvmem-cells = <&macaddr_factory_e006>;
121 nvmem-cell-names = "mac-address";
125 /delete-property/ interrupts;
154 groups = "jtag", "wdt";