1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for Asus RT-AC56U
6 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
11 #include "bcm4708.dtsi"
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
15 compatible = "asus,rt-ac56u", "brcm,bcm4708";
16 model = "Asus RT-AC56U (BCM4708)";
19 bootargs = "console=ttyS0,115200";
23 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
28 compatible = "gpio-leds";
31 label = "bcm53xx:blue:usb3";
32 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
36 label = "bcm53xx:blue:wan";
37 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
41 label = "bcm53xx:blue:lan";
42 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
46 label = "bcm53xx:blue:power";
47 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "default-on";
52 label = "bcm53xx:blue:all";
53 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "default-on";
58 label = "bcm53xx:blue:2ghz";
59 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
64 label = "bcm53xx:blue:usb2";
65 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys";
76 linux,code = <KEY_RFKILL>;
77 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
83 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
89 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;