mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
56 lines
2.4 KiB
Diff
56 lines
2.4 KiB
Diff
From 18867d71460b80385146e8d91a23cfb1729858f8 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Tue, 27 Nov 2018 16:56:50 +0000
|
|
Subject: [PATCH] BCM270X_DT: Add new Ethernet DT parameters
|
|
|
|
Add "eth_downshift_after" DT parameter to allow the delay before the
|
|
downshift to be specified. The default is 2 auto-negotiation cycles,
|
|
and legal values are 2, 3, 4, 5 and 0 (disabled).
|
|
|
|
Add "eth_max_speed" DT parameter as a way of prohibiting 1000Mbps
|
|
links. This can be used to avoid the delay until the downshift mechanism
|
|
activates. Legal values are 10, 100 and 1000, where the default is
|
|
unlimited (effectively 1000Mbps).
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 2 ++
|
|
arch/arm/boot/dts/overlays/README | 9 +++++++++
|
|
2 files changed, 11 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
|
|
@@ -50,5 +50,7 @@
|
|
tx_lpi_timer = <ð_phy>,"microchip,tx-lpi-timer:0";
|
|
eth_led0 = <ð_phy>,"microchip,led-modes:0";
|
|
eth_led1 = <ð_phy>,"microchip,led-modes:4";
|
|
+ eth_downshift_after = <ð_phy>,"microchip,downshift-after";
|
|
+ eth_max_speed = <ð_phy>,"max-speed:0";
|
|
};
|
|
};
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -98,6 +98,11 @@ Params:
|
|
compatible devices (default "on"). See also
|
|
"tx_lpi_timer".
|
|
|
|
+ eth_downshift_after Set the number of auto-negotiation failures
|
|
+ after which the 1000Mbps modes are disabled.
|
|
+ Legal values are 2, 3, 4, 5 and 0, where
|
|
+ 0 means never downshift (default 2).
|
|
+
|
|
eth_led0 Set mode of LED0 (usually orange) (default
|
|
"1"). The legal values are:
|
|
0=link/activity 1=link1000/activity
|
|
@@ -108,6 +113,10 @@ Params:
|
|
eth_led1 Set mode of LED1 (usually green) (default
|
|
"6"). See eth_led0 for legal values.
|
|
|
|
+ eth_max_speed Set the maximum speed a link is allowed
|
|
+ to negotiate. Legal values are 10, 100 and
|
|
+ 1000 (default 1000).
|
|
+
|
|
i2c_arm Set to "on" to enable the ARM's i2c interface
|
|
(default "off")
|
|
|