1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Broadcom BCM470X / BCM5301X ARM platform code. 4 * DTS for Asus RT-AC87U 5 * 6 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com> 7 */ 8 9/dts-v1/; 10 11#include "bcm4709.dtsi" 12#include "bcm5301x-nand-cs0-bch8.dtsi" 13 14/ { 15 compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708"; 16 model = "Asus RT-AC87U"; 17 18 chosen { 19 bootargs = "console=ttyS0,115200"; 20 }; 21 22 memory { 23 reg = <0x00000000 0x08000000 24 0x88000000 0x08000000>; 25 }; 26 27 leds { 28 compatible = "gpio-leds"; 29 30 wps { 31 label = "bcm53xx:blue:wps"; 32 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 33 }; 34 35 power { 36 label = "bcm53xx:blue:power"; 37 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 38 linux,default-trigger = "default-on"; 39 }; 40 41 wan { 42 label = "bcm53xx:red:wan"; 43 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; 44 }; 45 }; 46 47 gpio-keys { 48 compatible = "gpio-keys"; 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 wps { 53 label = "WPS"; 54 linux,code = <KEY_WPS_BUTTON>; 55 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 56 }; 57 58 restart { 59 label = "Reset"; 60 linux,code = <KEY_RESTART>; 61 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 62 }; 63 }; 64}; 65 66&usb3_phy { 67 status = "okay"; 68}; 69