0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Broadcom BCM470X / BCM5301X ARM platform code.
0004 * DTS for Asus RT-AC56U
0005 *
0006 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
0007 */
0008
0009 /dts-v1/;
0010
0011 #include "bcm4708.dtsi"
0012 #include "bcm5301x-nand-cs0-bch8.dtsi"
0013
0014 / {
0015 compatible = "asus,rt-ac56u", "brcm,bcm4708";
0016 model = "Asus RT-AC56U (BCM4708)";
0017
0018 chosen {
0019 bootargs = "console=ttyS0,115200";
0020 };
0021
0022 memory@0 {
0023 device_type = "memory";
0024 reg = <0x00000000 0x08000000>,
0025 <0x88000000 0x08000000>;
0026 };
0027
0028 leds {
0029 compatible = "gpio-leds";
0030
0031 usb3 {
0032 label = "bcm53xx:blue:usb3";
0033 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
0034 };
0035
0036 wan {
0037 label = "bcm53xx:blue:wan";
0038 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
0039 };
0040
0041 lan {
0042 label = "bcm53xx:blue:lan";
0043 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
0044 };
0045
0046 power {
0047 label = "bcm53xx:blue:power";
0048 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
0049 linux,default-trigger = "default-on";
0050 };
0051
0052 all {
0053 label = "bcm53xx:blue:all";
0054 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
0055 linux,default-trigger = "default-on";
0056 };
0057
0058 2ghz {
0059 label = "bcm53xx:blue:2ghz";
0060 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
0061 };
0062
0063
0064 usb2 {
0065 label = "bcm53xx:blue:usb2";
0066 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
0067 };
0068 };
0069
0070 gpio-keys {
0071 compatible = "gpio-keys";
0072
0073 button-rfkill {
0074 label = "WiFi";
0075 linux,code = <KEY_RFKILL>;
0076 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
0077 };
0078
0079 button-restart {
0080 label = "Reset";
0081 linux,code = <KEY_RESTART>;
0082 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0083 };
0084
0085 button-wps {
0086 label = "WPS";
0087 linux,code = <KEY_WPS_BUTTON>;
0088 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
0089 };
0090 };
0091 };
0092
0093 &usb3_phy {
0094 status = "okay";
0095 };