summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-09-01 21:16:22 +0300
committerStefan Wahren <stefan.wahren@i2se.com>2018-09-05 22:31:25 +0300
commit6ef5bd6cfd5da9fe67aea031fd0a66ff77d64ad6 (patch)
tree8be4bc1fd9b87d810c417253a13b49f510c33f7f /arch
parenta54fe8a6cf66828499b121c3c39c194b43b8ed94 (diff)
downloadlinux-6ef5bd6cfd5da9fe67aea031fd0a66ff77d64ad6.tar.xz
ARM: dts: bcm283x-rpi-lan7515: Enable Ethernet LEDs
Since the LAN7515 on Raspberry Pi 3B+ doesn't have an EEPROM and the OTP is empty, we need to enable the Ethernet LEDs via Device Tree. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
index 9403da0990d0..70bece63f9a7 100644
--- 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 = &ethernet;
@@ -21,6 +23,18 @@
ethernet: ethernet@1 {
compatible = "usb424,7800";
reg = <1>;
+
+ mdio {
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
+ eth_phy: ethernet-phy@1 {
+ reg = <1>;
+ microchip,led-modes = <
+ LAN78XX_LINK_1000_ACTIVITY
+ LAN78XX_LINK_10_100_ACTIVITY
+ >;
+ };
+ };
};
};
};