0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Broadcom BCM470X / BCM5301X ARM platform code.
0004 * DTS for Asus RT-AC68U
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-ac68u", "brcm,bcm4708";
0016 model = "Asus RT-AC68U (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 usb2 {
0032 label = "bcm53xx:blue:usb2";
0033 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
0034 };
0035
0036 power {
0037 label = "bcm53xx:blue:power";
0038 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
0039 linux,default-trigger = "default-on";
0040 };
0041
0042 logo {
0043 label = "bcm53xx:white:logo";
0044 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
0045 linux,default-trigger = "default-on";
0046 };
0047
0048 usb3 {
0049 label = "bcm53xx:blue:usb3";
0050 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
0051 };
0052 };
0053
0054 gpio-keys {
0055 compatible = "gpio-keys";
0056
0057 button-brightness {
0058 label = "Backlight";
0059 linux,code = <KEY_BRIGHTNESS_ZERO>;
0060 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
0061 };
0062
0063 button-wps {
0064 label = "WPS";
0065 linux,code = <KEY_WPS_BUTTON>;
0066 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
0067 };
0068
0069 button-restart {
0070 label = "Reset";
0071 linux,code = <KEY_RESTART>;
0072 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0073 };
0074
0075 button-rfkill {
0076 label = "WiFi";
0077 linux,code = <KEY_RFKILL>;
0078 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
0079 };
0080 };
0081 };
0082
0083 &usb3_phy {
0084 status = "okay";
0085 };