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 nvmem-cells = <&eeprom_factory_0>;
64 nvmem-cell-names = "eeprom";
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
75 partitions: partitions {
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
93 compatible = "nvmem-cells";
95 reg = <0x40000 0x10000>;
100 eeprom_factory_0: eeprom@0 {
104 macaddr_factory_4: macaddr@4 {
110 * Firmware-partition size is model-specific
111 * due to different flash sizes.
113 firmware_part: partition@50000 {
114 compatible = "denx,uimage";