Skip to content

Commit

Permalink
R3mini.dts: Add phy14 leds
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwoud committed Nov 26, 2023
1 parent 03d5ef2 commit e71e954
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,32 @@
phy-mode = "2500base-x";
full-duplex;
pause;
leds {
#address-cells = <1>;
#size-cells = <0>;

led@0 {
reg = <0>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
default-state = "keep";
linux,default-trigger = "link_100";
};
led@1 {
reg = <1>;
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_LAN;
default-state = "keep";
linux,default-trigger = "link_1000";
};
led@2 {
reg = <2>;
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_LAN;
default-state = "keep";
linux,default-trigger = "link_2500";
};
};
};

phy15: ethernet-phy@15 {
Expand Down

0 comments on commit e71e954

Please sign in to comment.