From 4356e2b58a20ffc15cb8b47018419461e79c6f2b Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 10 Jan 2022 17:05:26 +0000 Subject: [PATCH] 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 --- .../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>; }; -- 2.30.2