mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
2898d1d126
This commit adds support for two variants of the already supported router Acer Predator Connect W6: The Acer Predator Connect W6d (W6 without 6 GHz wifi) and the Acer Connect Vero W6m (W6 without 2.5G eth1 port, usb3 port, and the 6 on-board gpio RGB LEDs, and with a KTD2026 RGB LED controller instead of the KTD2061 LED controller of the W6/W6d). The device tree for the W6m refers to the KTD202x driver suggested in PR #16860. Patching target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh removes the code repetition in (old) lines 121 to 124 on the occasion. This is the last of four commits into which the original commit was split to make reviews easier and more targeted. Signed-off-by: George Oldfort <openwrt@10099.de> Link: https://github.com/openwrt/openwrt/pull/16861 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
67 lines
1.1 KiB
Plaintext
67 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
#include "mt7986a-acer-w6-common.dtsi"
|
|
|
|
/ {
|
|
model = "Acer Connect Vero W6m";
|
|
compatible = "acer,vero-w6m", "mediatek,mt7986a";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
led-boot = &led_status;
|
|
led-failsafe = &led_status;
|
|
led-running = &led_status;
|
|
led-upgrade = &led_status;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
led-controller@30 {
|
|
compatible = "kinetic,ktd2026";
|
|
reg = <0x30>;
|
|
vin-supply = <®_5v>;
|
|
vio-supply = <®_3p3v>;
|
|
|
|
led_status: multi-led {
|
|
color = <LED_COLOR_ID_RGB>;
|
|
function = LED_FUNCTION_STATUS;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
led@0 {
|
|
reg = <0>;
|
|
color = <LED_COLOR_ID_RED>;
|
|
};
|
|
|
|
led@1 {
|
|
reg = <1>;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
};
|
|
|
|
led@2 {
|
|
reg = <2>;
|
|
color = <LED_COLOR_ID_BLUE>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&nvmem {
|
|
eeprom_factory_a0000: eeprom@a0000 {
|
|
reg = <0xa0000 0x1000>;
|
|
};
|
|
};
|
|
|
|
&slot0 {
|
|
radio0: mt7915@0,0 {
|
|
reg = <0x0000 0 0 0 0>;
|
|
nvmem-cells = <&eeprom_factory_a0000>;
|
|
nvmem-cell-names = "eeprom";
|
|
};
|
|
};
|
|
|
|
&swport0 {
|
|
label = "internet";
|
|
};
|