aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-01-10 17:05:26 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-01-23 19:48:36 +0000
commit4356e2b58a20ffc15cb8b47018419461e79c6f2b (patch)
treee6b462219d901781828382c3b069a1d73263e7ad /target/linux/mediatek
parent8a324fb7591518b423b63772fe811f289f0bde4f (diff)
downloadupstream-4356e2b58a20ffc15cb8b47018419461e79c6f2b.tar.gz
upstream-4356e2b58a20ffc15cb8b47018419461e79c6f2b.tar.bz2
upstream-4356e2b58a20ffc15cb8b47018419461e79c6f2b.zip
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@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi10
1 files 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>;
};