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