1 From b6c99228c8edc5e67d8229ba1c5f76cce210ddfc Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
3 Date: Wed, 27 Oct 2021 00:57:06 +0800
4 Subject: [PATCH] ARM: dts: BCM5301X: define RTL8365MB switch on Asus RT-AC88U
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Define the Realtek RTL8365MB switch without interrupt support on the device
10 tree of Asus RT-AC88U.
12 Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
13 Acked-by: Alvin Šipraga <alsi@bang-olufsen.dk>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 77 ++++++++++++++++++++
17 1 file changed, 77 insertions(+)
19 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
20 +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
22 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
27 + compatible = "realtek,rtl8365mb";
28 + /* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */
29 + mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
30 + mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
31 + reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
32 + realtek,disable-leds;
36 + #address-cells = <1>;
43 + phy-handle = <ðphy0>;
49 + phy-handle = <ðphy1>;
55 + phy-handle = <ðphy2>;
61 + phy-handle = <ðphy3>;
67 + ethernet = <&sw0_p5>;
69 + tx-internal-delay-ps = <2000>;
70 + rx-internal-delay-ps = <2000>;
81 + compatible = "realtek,smi-mdio";
82 + #address-cells = <1>;
85 + ethphy0: ethernet-phy@0 {
89 + ethphy1: ethernet-phy@1 {
93 + ethphy2: ethernet-phy@2 {
97 + ethphy3: ethernet-phy@3 {