1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2724ba675SRob Herring/* 329000832SArınç ÜNAL * Author: Arınç ÜNAL <arinc.unal@arinc9.com> 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 829000832SArınç ÜNAL#include "bcm47094-asus-rt-ac3100.dtsi" 9724ba675SRob Herring 10724ba675SRob Herring/ { 11724ba675SRob Herring compatible = "asus,rt-ac88u", "brcm,bcm47094", "brcm,bcm4708"; 1229000832SArınç ÜNAL model = "ASUS RT-AC88U"; 13724ba675SRob Herring 14724ba675SRob Herring nvram@1c080000 { 15724ba675SRob Herring et1macaddr: et1macaddr { 161acb48eeSArınç ÜNAL #nvmem-cell-cells = <1>; 17724ba675SRob Herring }; 18724ba675SRob Herring }; 19724ba675SRob Herring 20724ba675SRob Herring switch { 21724ba675SRob Herring compatible = "realtek,rtl8365mb"; 22724ba675SRob Herring mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>; 23724ba675SRob Herring mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; 24724ba675SRob Herring reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 25724ba675SRob Herring realtek,disable-leds; 26724ba675SRob Herring dsa,member = <1 0>; 27724ba675SRob Herring 28*4dd01a37SArınç ÜNAL mdio { 29*4dd01a37SArınç ÜNAL compatible = "realtek,smi-mdio"; 30*4dd01a37SArınç ÜNAL #address-cells = <1>; 31*4dd01a37SArınç ÜNAL #size-cells = <0>; 32*4dd01a37SArınç ÜNAL 33*4dd01a37SArınç ÜNAL ethphy0: ethernet-phy@0 { 34*4dd01a37SArınç ÜNAL reg = <0>; 35*4dd01a37SArınç ÜNAL }; 36*4dd01a37SArınç ÜNAL 37*4dd01a37SArınç ÜNAL ethphy1: ethernet-phy@1 { 38*4dd01a37SArınç ÜNAL reg = <1>; 39*4dd01a37SArınç ÜNAL }; 40*4dd01a37SArınç ÜNAL 41*4dd01a37SArınç ÜNAL ethphy2: ethernet-phy@2 { 42*4dd01a37SArınç ÜNAL reg = <2>; 43*4dd01a37SArınç ÜNAL }; 44*4dd01a37SArınç ÜNAL 45*4dd01a37SArınç ÜNAL ethphy3: ethernet-phy@3 { 46*4dd01a37SArınç ÜNAL reg = <3>; 47*4dd01a37SArınç ÜNAL }; 48*4dd01a37SArınç ÜNAL }; 49*4dd01a37SArınç ÜNAL 50724ba675SRob Herring ports { 51724ba675SRob Herring #address-cells = <1>; 52724ba675SRob Herring #size-cells = <0>; 53724ba675SRob Herring 54724ba675SRob Herring port@0 { 55724ba675SRob Herring reg = <0>; 56724ba675SRob Herring label = "lan5"; 57724ba675SRob Herring phy-handle = <ðphy0>; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring port@1 { 61724ba675SRob Herring reg = <1>; 62724ba675SRob Herring label = "lan6"; 63724ba675SRob Herring phy-handle = <ðphy1>; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring port@2 { 67724ba675SRob Herring reg = <2>; 68724ba675SRob Herring label = "lan7"; 69724ba675SRob Herring phy-handle = <ðphy2>; 70724ba675SRob Herring }; 71724ba675SRob Herring 72724ba675SRob Herring port@3 { 73724ba675SRob Herring reg = <3>; 74724ba675SRob Herring label = "lan8"; 75724ba675SRob Herring phy-handle = <ðphy3>; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring port@6 { 79724ba675SRob Herring reg = <6>; 80724ba675SRob Herring label = "cpu"; 81724ba675SRob Herring ethernet = <&sw0_p5>; 82724ba675SRob Herring phy-mode = "rgmii"; 83724ba675SRob Herring tx-internal-delay-ps = <2000>; 84724ba675SRob Herring rx-internal-delay-ps = <2100>; 85724ba675SRob Herring 86724ba675SRob Herring fixed-link { 87724ba675SRob Herring speed = <1000>; 88724ba675SRob Herring full-duplex; 89724ba675SRob Herring pause; 90724ba675SRob Herring }; 91724ba675SRob Herring }; 92724ba675SRob Herring }; 93*4dd01a37SArınç ÜNAL }; 94724ba675SRob Herring}; 95724ba675SRob Herring 96*4dd01a37SArınç ÜNAL&gmac0 { 97*4dd01a37SArınç ÜNAL status = "disabled"; 98724ba675SRob Herring}; 99724ba675SRob Herring 100*4dd01a37SArınç ÜNAL&gmac1 { 101*4dd01a37SArınç ÜNAL nvmem-cells = <&et1macaddr 0>; 102*4dd01a37SArınç ÜNAL nvmem-cell-names = "mac-address"; 103724ba675SRob Herring}; 104724ba675SRob Herring 105*4dd01a37SArınç ÜNAL&gmac2 { 106*4dd01a37SArınç ÜNAL nvmem-cells = <&et1macaddr 1>; 107*4dd01a37SArınç ÜNAL nvmem-cell-names = "mac-address"; 108724ba675SRob Herring}; 109724ba675SRob Herring 110724ba675SRob Herring&srab { 111724ba675SRob Herring dsa,member = <0 0>; 112724ba675SRob Herring 113724ba675SRob Herring ports { 114724ba675SRob Herring sw0_p5: port@5 { 115724ba675SRob Herring /delete-property/ethernet; 116724ba675SRob Herring 117724ba675SRob Herring label = "extsw"; 118724ba675SRob Herring phy-mode = "rgmii"; 119724ba675SRob Herring 120724ba675SRob Herring fixed-link { 121724ba675SRob Herring speed = <1000>; 122724ba675SRob Herring full-duplex; 123724ba675SRob Herring pause; 124724ba675SRob Herring }; 125724ba675SRob Herring }; 126724ba675SRob Herring }; 127724ba675SRob Herring}; 128