45 lines
1.1 KiB
Diff
45 lines
1.1 KiB
Diff
From 9fb90ae6cae7f8fe4fbf626945f32cd9da2c3892 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Mon, 20 Sep 2021 16:10:23 +0200
|
|
Subject: [PATCH] ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
BCM53573 family SoC have Ethernet switch connected to the first Ethernet
|
|
controller (accessible over MDIO).
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/bcm53573.dtsi | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm53573.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm53573.dtsi
|
|
@@ -180,6 +180,24 @@
|
|
|
|
gmac0: ethernet@5000 {
|
|
reg = <0x5000 0x1000>;
|
|
+
|
|
+ mdio {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ switch: switch@1e {
|
|
+ compatible = "brcm,bcm53125";
|
|
+ reg = <0x1e>;
|
|
+
|
|
+ status = "disabled";
|
|
+
|
|
+ /* ports are defined in board DTS */
|
|
+ ports {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
gmac1: ethernet@b000 {
|