2019-07-20 18:34:59 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2024-02-07 13:48:43 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
2019-08-18 05:50:20 +00:00
|
|
|
#include "mt7628an_iptime.dtsi"
|
2019-07-20 18:34:59 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "iptime,a604m", "mediatek,mt7628an-soc";
|
|
|
|
model = "ipTIME A604M";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_cpu;
|
|
|
|
led-failsafe = &led_cpu;
|
|
|
|
led-running = &led_cpu;
|
|
|
|
led-upgrade = &led_cpu;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
wlan5g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan5g";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
2019-07-20 18:34:59 +00:00
|
|
|
linux,default-trigger = "phy1tpt";
|
|
|
|
};
|
|
|
|
|
|
|
|
led_cpu: cpu {
|
2024-02-07 13:48:43 +00:00
|
|
|
function = LED_FUNCTION_CPU;
|
|
|
|
color = <LED_COLOR_ID_BLUE>;
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
2019-07-20 18:34:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan2g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan2g";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
|
2019-07-20 18:34:59 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c", "uart1", "wdt";
|
|
|
|
function = "gpio";
|
2019-07-20 18:34:59 +00:00
|
|
|
};
|
|
|
|
};
|