1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power_blue;
11 led-failsafe = &led_power_blue;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_blue;
15 label-mac-device = ðernet;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
25 led_power_blue: power {
27 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
38 compatible = "gpio-keys";
42 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
50 groups = "wdt", "wled_an", "p1led_an";
56 nvmem-cells = <&macaddr_factory_4>;
57 nvmem-cell-names = "mac-address";
63 mediatek,mtd-eeprom = <&factory 0x0>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
74 partitions: partitions {
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 * Firmware-partition size is model-specific
99 * due to different flash sizes.
101 firmware_part: partition@50000 {
102 compatible = "denx,uimage";
110 compatible = "nvmem-cells";
111 #address-cells = <1>;
114 macaddr_factory_4: macaddr@4 {