Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.2.
  1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2/*
  3 * Author: Arınç ÜNAL <arinc.unal@arinc9.com>
  4 */
  5
  6/dts-v1/;
  7
  8#include "bcm47094-asus-rt-ac3100.dtsi"
  9
 10/ {
 11	compatible = "asus,rt-ac88u", "brcm,bcm47094", "brcm,bcm4708";
 12	model = "ASUS RT-AC88U";
 13
 14	nvram@1c080000 {
 15		et1macaddr: et1macaddr {
 16		};
 17	};
 18
 19	switch {
 20		compatible = "realtek,rtl8365mb";
 21		/* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */
 22		mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
 23		mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
 24		reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
 25		realtek,disable-leds;
 26		dsa,member = <1 0>;
 27
 28		ports {
 29			#address-cells = <1>;
 30			#size-cells = <0>;
 31
 32			port@0 {
 33				reg = <0>;
 34				label = "lan5";
 35				phy-handle = <&ethphy0>;
 36			};
 37
 38			port@1 {
 39				reg = <1>;
 40				label = "lan6";
 41				phy-handle = <&ethphy1>;
 42			};
 43
 44			port@2 {
 45				reg = <2>;
 46				label = "lan7";
 47				phy-handle = <&ethphy2>;
 48			};
 49
 50			port@3 {
 51				reg = <3>;
 52				label = "lan8";
 53				phy-handle = <&ethphy3>;
 54			};
 55
 56			port@6 {
 57				reg = <6>;
 58				label = "cpu";
 59				ethernet = <&sw0_p5>;
 60				phy-mode = "rgmii";
 61				tx-internal-delay-ps = <2000>;
 62				rx-internal-delay-ps = <2100>;
 63
 64				fixed-link {
 65					speed = <1000>;
 66					full-duplex;
 67					pause;
 68				};
 69			};
 70		};
 71
 72		mdio {
 73			compatible = "realtek,smi-mdio";
 74			#address-cells = <1>;
 75			#size-cells = <0>;
 76
 77			ethphy0: ethernet-phy@0 {
 78				reg = <0>;
 79			};
 80
 81			ethphy1: ethernet-phy@1 {
 82				reg = <1>;
 83			};
 84
 85			ethphy2: ethernet-phy@2 {
 86				reg = <2>;
 87			};
 88
 89			ethphy3: ethernet-phy@3 {
 90				reg = <3>;
 91			};
 92		};
 93	};
 94};
 95
 96&srab {
 97	dsa,member = <0 0>;
 98
 99	ports {
100		sw0_p5: port@5 {
101			/delete-property/ethernet;
102
103			label = "extsw";
104			phy-mode = "rgmii";
105
106			fixed-link {
107				speed = <1000>;
108				full-duplex;
109				pause;
110			};
111		};
112	};
113};
114
115&gmac0 {
116	status = "disabled";
117};
118
119&gmac1 {
120	nvmem-cells = <&et1macaddr>;
121	nvmem-cell-names = "mac-address";
122};