2022-02-17 22:22:25 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2024-02-07 13:48:34 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
2022-02-17 22:22:25 +00:00
|
|
|
#include "qca9531_alfa-network_r36a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "ALFA Network Tube-2HQ";
|
|
|
|
compatible = "alfa-network,tube-2hq", "qca,qca9531";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_signal4;
|
|
|
|
led-failsafe = &led_signal4;
|
|
|
|
led-upgrade = &led_signal4;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
|
|
|
|
|
|
|
|
lan {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_LAN;
|
|
|
|
color = <LED_COLOR_ID_BLUE>;
|
2022-02-17 22:22:25 +00:00
|
|
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
led_signal4: signal4 {
|
|
|
|
label = "green:signal4";
|
|
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
signal1 {
|
|
|
|
label = "red:signal1";
|
|
|
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
signal2 {
|
|
|
|
label = "orange:signal2";
|
|
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
signal3 {
|
|
|
|
label = "green:signal3";
|
|
|
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
2023-11-10 22:55:43 +00:00
|
|
|
nvmem-cells = <&macaddr_art_1002 (-1)>;
|
2022-02-17 22:22:25 +00:00
|
|
|
nvmem-cell-names = "mac-address";
|
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
compatible = "syscon", "simple-mfd";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_phy {
|
|
|
|
status = "disabled";
|
|
|
|
};
|