1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright (C) 2021-2022 Arınç ÜNAL <arinc.unal@arinc9.com>
8 #include "bcm47094.dtsi"
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
12 compatible = "asus,rt-ac88u", "brcm,bcm47094", "brcm,bcm4708";
13 model = "Asus RT-AC88U";
16 bootargs = "earlycon";
20 device_type = "memory";
21 reg = <0x00000000 0x08000000>,
22 <0x88000000 0x18000000>;
26 compatible = "brcm,nvram";
27 reg = <0x1c080000 0x00180000>;
29 et1macaddr: et1macaddr {
34 compatible = "gpio-leds";
37 label = "white:power";
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "default-on";
44 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
49 gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>;
54 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
55 trigger-sources = <&ehci_port2>;
56 linux,default-trigger = "usbport";
61 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
62 trigger-sources = <&ehci_port1>, <&xhci_port1>;
63 linux,default-trigger = "usbport";
68 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys";
77 linux,code = <KEY_WPS_BUTTON>;
78 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RESTART>;
84 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_RFKILL>;
90 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_BRIGHTNESS_ZERO>;
96 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
101 compatible = "realtek,rtl8365mb";
102 /* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */
103 mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
104 mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
105 reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
106 realtek,disable-leds;
110 #address-cells = <1>;
116 phy-handle = <ðphy0>;
122 phy-handle = <ðphy1>;
128 phy-handle = <ðphy2>;
134 phy-handle = <ðphy3>;
140 ethernet = <&sw0_p5>;
142 tx-internal-delay-ps = <2000>;
143 rx-internal-delay-ps = <2100>;
154 compatible = "realtek,smi-mdio";
155 #address-cells = <1>;
158 ethphy0: ethernet-phy@0 {
162 ethphy1: ethernet-phy@1 {
166 ethphy2: ethernet-phy@2 {
170 ethphy3: ethernet-phy@3 {
178 compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab";
249 nvmem-cells = <&et1macaddr>;
250 nvmem-cell-names = "mac-address";
254 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
263 compatible = "fixed-partitions";
264 #address-cells = <1>;
269 reg = <0x00000000 0x00080000>;
275 reg = <0x00080000 0x00180000>;
280 reg = <0x00200000 0x07e00000>;
281 compatible = "brcm,trx";