mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +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>
65 lines
1.8 KiB
Diff
65 lines
1.8 KiB
Diff
From eb6864f9dc059e86d057822b493feb8b4a9684ba Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Tue, 27 Nov 2018 16:33:31 +0000
|
|
Subject: [PATCH] ARM: dts: bcm283x: The lan7515 PHY node has moved
|
|
|
|
The DT node describing the LAN7800s PHY has now moved inside an "mdio"
|
|
node. Update the DT declarations accordingly.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 31 ++++++++++++++--------
|
|
1 file changed, 20 insertions(+), 11 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
|
|
@@ -1,4 +1,6 @@
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
+#include <dt-bindings/net/microchip-lan78xx.h>
|
|
+
|
|
/ {
|
|
aliases {
|
|
ethernet0 = ðernet;
|
|
@@ -21,13 +23,20 @@
|
|
ethernet: ethernet@1 {
|
|
compatible = "usb424,7800";
|
|
reg = <1>;
|
|
- microchip,eee-enabled;
|
|
- microchip,tx-lpi-timer = <600>; /* non-aggressive*/
|
|
- /*
|
|
- * led0 = 1:link1000/activity
|
|
- * led1 = 6:link10/100/activity
|
|
- */
|
|
- microchip,led-modes = <1 6>;
|
|
+
|
|
+ mdio {
|
|
+ #address-cells = <0x1>;
|
|
+ #size-cells = <0x0>;
|
|
+ eth_phy: ethernet-phy@1 {
|
|
+ reg = <1>;
|
|
+ microchip,eee-enabled;
|
|
+ microchip,tx-lpi-timer = <600>; /* non-aggressive*/
|
|
+ microchip,led-modes = <
|
|
+ LAN78XX_LINK_1000_ACTIVITY
|
|
+ LAN78XX_LINK_10_100_ACTIVITY
|
|
+ >;
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
};
|
|
@@ -36,9 +45,9 @@
|
|
|
|
/ {
|
|
__overrides__ {
|
|
- eee = <ðernet>,"microchip,eee-enabled?";
|
|
- tx_lpi_timer = <ðernet>,"microchip,tx-lpi-timer:0";
|
|
- eth_led0 = <ðernet>,"microchip,led-modes:0";
|
|
- eth_led1 = <ðernet>,"microchip,led-modes:4";
|
|
+ eee = <ð_phy>,"microchip,eee-enabled?";
|
|
+ tx_lpi_timer = <ð_phy>,"microchip,tx-lpi-timer:0";
|
|
+ eth_led0 = <ð_phy>,"microchip,led-modes:0";
|
|
+ eth_led1 = <ð_phy>,"microchip,led-modes:4";
|
|
};
|
|
};
|