Skip to content

Commit

Permalink
mediatek: add common DTS aliases for UniElec U7623 board
Browse files Browse the repository at this point in the history
 * 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>
  • Loading branch information
dangowrt committed Jan 23, 2022
1 parent 8a324fb commit 4356e2b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
Expand Up @@ -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 {
Expand Down Expand Up @@ -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>;
};
Expand Down

0 comments on commit 4356e2b

Please sign in to comment.