3a5438c228241fad5c84bee9317092dca9f15fe5
[openwrt/staging/pepe2k.git] /
1 From 9fb90ae6cae7f8fe4fbf626945f32cd9da2c3892 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Mon, 20 Sep 2021 16:10:23 +0200
4 Subject: [PATCH] ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM53573 family SoC have Ethernet switch connected to the first Ethernet
10 controller (accessible over MDIO).
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm/boot/dts/bcm53573.dtsi | 18 ++++++++++++++++++
16 1 file changed, 18 insertions(+)
17
18 --- a/arch/arm/boot/dts/bcm53573.dtsi
19 +++ b/arch/arm/boot/dts/bcm53573.dtsi
20 @@ -180,6 +180,24 @@
21
22 gmac0: ethernet@5000 {
23 reg = <0x5000 0x1000>;
24 +
25 + mdio {
26 + #address-cells = <1>;
27 + #size-cells = <0>;
28 +
29 + switch: switch@1e {
30 + compatible = "brcm,bcm53125";
31 + reg = <0x1e>;
32 +
33 + status = "disabled";
34 +
35 + /* ports are defined in board DTS */
36 + ports {
37 + #address-cells = <1>;
38 + #size-cells = <0>;
39 + };
40 + };
41 + };
42 };
43
44 gmac1: ethernet@b000 {