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 {
26 /* Name is set device-specific */
27 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
30 led_wlan_white: wlan {
31 /* Name is set device-specific */
32 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
38 compatible = "gpio-keys";
42 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
50 ralink,group = "wdt", "wled_an", "p1led_an";
51 ralink,function = "gpio";
56 mtd-mac-address = <&factory 0x4>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
71 partitions: partitions {
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 * Firmware-partition size is model-specific
96 * due to different flash sizes.
98 firmware_part: partition@50000 {
99 compatible = "denx,uimage";