1 From 441d531ec9b766f49e01c107a3043235daa4493f 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: Sun, 2 Jan 2022 23:33:04 +0300
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 | 76 ++++++++++++++++++++
17 1 file changed, 76 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>;
42 + phy-handle = <ðphy0>;
48 + phy-handle = <ðphy1>;
54 + phy-handle = <ðphy2>;
60 + phy-handle = <ðphy3>;
66 + ethernet = <&sw0_p5>;
68 + tx-internal-delay-ps = <2000>;
69 + rx-internal-delay-ps = <2100>;
80 + compatible = "realtek,smi-mdio";
81 + #address-cells = <1>;
84 + ethphy0: ethernet-phy@0 {
88 + ethphy1: ethernet-phy@1 {
92 + ethphy2: ethernet-phy@2 {
96 + ethphy3: ethernet-phy@3 {