2019-08-18 05:50:20 +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"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "iptime,a3", "mediatek,mt7628an-soc";
|
|
|
|
model = "ipTIME A3";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_cpu;
|
|
|
|
led-failsafe = &led_cpu;
|
|
|
|
led-running = &led_cpu;
|
|
|
|
led-upgrade = &led_cpu;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
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-08-18 05:50:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan {
|
2024-02-07 13:48:43 +00:00
|
|
|
function = LED_FUNCTION_WLAN;
|
|
|
|
color = <LED_COLOR_ID_BLUE>;
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
|
2019-08-18 05:50:20 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&esw {
|
|
|
|
mediatek,portmap = <0x3e>;
|
|
|
|
mediatek,portdisable = <0x32>;
|
|
|
|
};
|