1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
18 compatible = "gpio-leds";
22 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "phy0tpt";
33 compatible = "gpio-keys";
37 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <25000000>;
52 partitions: partitions {
53 compatible = "fixed-partitions";
64 reg = <0x30000 0x10000>;
67 factory: partition@40000 {
69 reg = <0x40000 0x10000>;
73 compatible = "denx,uimage";
75 reg = <0x50000 0xfb0000>;
89 function = "p0led_an";
94 compatible = "nvmem-cells";
98 macaddr_factory_4: macaddr@4 {
104 nvmem-cells = <&macaddr_factory_4>;
105 nvmem-cell-names = "mac-address";
111 mediatek,mtd-eeprom = <&factory 0x0000>;