[openwrt/openwrt] mediatek: add common DTS aliases for UniElec U7623 board
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 23 12:22:24 PST 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4356e2b58a20ffc15cb8b47018419461e79c6f2b
commit 4356e2b58a20ffc15cb8b47018419461e79c6f2b
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Jan 10 17:05:26 2022 +0000
mediatek: add common DTS aliases for UniElec U7623 board
* Use serial0 instead of serial2 for the only serial port
* Add LED aliases
* Add ethernet0 alias to inherit ethaddr from U-Boot env
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
index 1c5a18de02..46db0985d6 100644
--- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
+++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
@@ -11,7 +11,13 @@
compatible = "unielec,u7623-02-emmc", "mediatek,mt7623";
aliases {
- serial2 = &uart2;
+ serial0 = &uart2;
+ ethernet0 = &gmac0;
+ mmc0 = &mmc0;
+ led-boot = &led3_green;
+ led-failsafe = &led3_green;
+ led-running = &led3_green;
+ led-upgrade = &led3_green;
};
chosen {
@@ -81,7 +87,7 @@
pinctrl-names = "default";
pinctrl-0 = <&led_pins_unielec>;
- led3 {
+ led3_green: led3 {
label = "u7623-01:green:led3";
gpios = <&pio 14 GPIO_ACTIVE_LOW>;
};
More information about the lede-commits
mailing list