mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Dom Cobley
parent
9091e57619
commit
0d696be21f
@@ -506,5 +506,6 @@ i2c_csi_dsi0: &i2c0 {
|
|||||||
|
|
||||||
eth_led0 = <&phy1>,"led-modes:0";
|
eth_led0 = <&phy1>,"led-modes:0";
|
||||||
eth_led1 = <&phy1>,"led-modes:4";
|
eth_led1 = <&phy1>,"led-modes:4";
|
||||||
|
eth_max_speed = <&phy1>,"max-speed:0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ cam0_reg: &cam_dummy_reg {
|
|||||||
<&led_act>,"status=okay";
|
<&led_act>,"status=okay";
|
||||||
act_led_activelow = <&led_act>,"gpios:8";
|
act_led_activelow = <&led_act>,"gpios:8";
|
||||||
act_led_trigger = <&led_act>,"linux,default-trigger";
|
act_led_trigger = <&led_act>,"linux,default-trigger";
|
||||||
|
eth_max_speed = <&phy1>,"max-speed:0";
|
||||||
pwr_led_gpio = <&led_pwr>,"gpios:4";
|
pwr_led_gpio = <&led_pwr>,"gpios:4";
|
||||||
pwr_led_activelow = <&led_pwr>,"gpios:8";
|
pwr_led_activelow = <&led_pwr>,"gpios:8";
|
||||||
pwr_led_trigger = <&led_pwr>,"linux,default-trigger";
|
pwr_led_trigger = <&led_pwr>,"linux,default-trigger";
|
||||||
|
|||||||
@@ -476,6 +476,7 @@ i2c_csi_dsi0: &i2c0 {
|
|||||||
|
|
||||||
eth_led0 = <&phy1>,"led-modes:0";
|
eth_led0 = <&phy1>,"led-modes:0";
|
||||||
eth_led1 = <&phy1>,"led-modes:4";
|
eth_led1 = <&phy1>,"led-modes:4";
|
||||||
|
eth_max_speed = <&phy1>,"max-speed:0";
|
||||||
|
|
||||||
ant1 = <&ant1>,"output-high?=on",
|
ant1 = <&ant1>,"output-high?=on",
|
||||||
<&ant1>, "output-low?=off",
|
<&ant1>, "output-low?=off",
|
||||||
|
|||||||
@@ -266,7 +266,8 @@ Params:
|
|||||||
|
|
||||||
eth_max_speed Set the maximum speed a link is allowed
|
eth_max_speed Set the maximum speed a link is allowed
|
||||||
to negotiate. Legal values are 10, 100 and
|
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
|
fan_temp0 Temperature threshold (in millicelcius) for
|
||||||
1st cooling level (default 50000). Pi5 only.
|
1st cooling level (default 50000). Pi5 only.
|
||||||
|
|||||||
Reference in New Issue
Block a user