dt: Add eth_max_speed override for CM4, Pi4, and Pi400

max-speed is a generic property for ethernet PHYs, so should be supported
by the PHY on CM4/Pi4/Pi400.

Add the override and update the documentation accordingly.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2025-09-02 14:27:33 +01:00
committed by Dom Cobley
parent 9091e57619
commit 0d696be21f
4 changed files with 5 additions and 1 deletions

View File

@@ -506,5 +506,6 @@ i2c_csi_dsi0: &i2c0 {
eth_led0 = <&phy1>,"led-modes:0";
eth_led1 = <&phy1>,"led-modes:4";
eth_max_speed = <&phy1>,"max-speed:0";
};
};

View File

@@ -81,6 +81,7 @@ cam0_reg: &cam_dummy_reg {
<&led_act>,"status=okay";
act_led_activelow = <&led_act>,"gpios:8";
act_led_trigger = <&led_act>,"linux,default-trigger";
eth_max_speed = <&phy1>,"max-speed:0";
pwr_led_gpio = <&led_pwr>,"gpios:4";
pwr_led_activelow = <&led_pwr>,"gpios:8";
pwr_led_trigger = <&led_pwr>,"linux,default-trigger";

View File

@@ -476,6 +476,7 @@ i2c_csi_dsi0: &i2c0 {
eth_led0 = <&phy1>,"led-modes:0";
eth_led1 = <&phy1>,"led-modes:4";
eth_max_speed = <&phy1>,"max-speed:0";
ant1 = <&ant1>,"output-high?=on",
<&ant1>, "output-low?=off",

View File

@@ -266,7 +266,8 @@ Params:
eth_max_speed Set the maximum speed a link is allowed
to negotiate. Legal values are 10, 100 and
1000 (default 1000). Pi3B+ only.
1000 (default set by the platform).
Pi3B+, Pi4, Pi400, and CM4 only.
fan_temp0 Temperature threshold (in millicelcius) for
1st cooling level (default 50000). Pi5 only.