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>;
64 factory: partition@40000 {
65 compatible = "nvmem-cells";
67 reg = <0x40000 0x10000>;
72 eeprom_factory_0: eeprom@0 {
76 macaddr_factory_e000: macaddr@e000 {
80 macaddr_factory_e006: macaddr@e006 {
86 compatible = "denx,uimage";
88 reg = <0x50000 0xfb0000>;
100 compatible = "mediatek,mt76";
101 reg = <0x0000 0 0 0 0>;
102 nvmem-cells = <&eeprom_factory_0>;
103 nvmem-cell-names = "eeprom";
108 nvmem-cells = <&macaddr_factory_e000>;
109 nvmem-cell-names = "mac-address";
115 phy-handle = <ðphy4>;
117 nvmem-cells = <&macaddr_factory_e006>;
118 nvmem-cell-names = "mac-address";
122 ethphy4: ethernet-phy@4 {
153 groups = "jtag", "wdt";