1 From 97734a031475d5a7e8788435f8ce8374c459ef93 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Tue, 31 Mar 2015 17:26:17 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Asus RT-AC56U
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
11 This patch is based on top of
12 ARM: BCM5301X: Add DT for Asus RT-AC68U
13 (please follow this order, to avoid Makefile conflict)
15 arch/arm/boot/dts/Makefile | 1 +
16 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 96 +++++++++++++++++++++++++++++
17 2 files changed, 97 insertions(+)
18 create mode 100644 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
20 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
21 index 7c1ca2a..53f8c1a 100644
22 --- a/arch/arm/boot/dts/Makefile
23 +++ b/arch/arm/boot/dts/Makefile
24 @@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.
25 dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb
26 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
27 dtb-$(CONFIG_ARCH_BCM_5301X) += \
28 + bcm4708-asus-rt-ac56u.dtb \
29 bcm4708-asus-rt-ac68u.dtb \
30 bcm4708-buffalo-wzr-1750dhp.dtb \
31 bcm4708-luxul-xwc-1000.dtb \
32 diff --git a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
34 index 0000000..71cff8d
36 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
39 + * Broadcom BCM470X / BCM5301X ARM platform code.
40 + * DTS for Asus RT-AC56U
42 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
44 + * Licensed under the GNU/GPL. See COPYING for details.
49 +#include "bcm4708.dtsi"
52 + compatible = "asus,rt-ac56u", "brcm,bcm4708";
53 + model = "Asus RT-AC56U (BCM4708)";
56 + bootargs = "console=ttyS0,115200";
60 + reg = <0x00000000 0x08000000>;
64 + compatible = "gpio-leds";
67 + label = "bcm53xx:blue:usb3";
68 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
69 + linux,default-trigger = "default-off";
73 + label = "bcm53xx:blue:wan";
74 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
75 + linux,default-trigger = "default-off";
79 + label = "bcm53xx:blue:lan";
80 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
81 + linux,default-trigger = "default-off";
85 + label = "bcm53xx:blue:power";
86 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
87 + linux,default-trigger = "default-on";
91 + label = "bcm53xx:blue:all";
92 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
93 + linux,default-trigger = "default-on";
97 + label = "bcm53xx:blue:2ghz";
98 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
99 + linux,default-trigger = "default-off";
104 + label = "bcm53xx:blue:usb2";
105 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
106 + linux,default-trigger = "default-off";
111 + compatible = "gpio-keys";
112 + #address-cells = <1>;
117 + linux,code = <KEY_RFKILL>;
118 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
123 + linux,code = <KEY_RESTART>;
124 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
129 + linux,code = <KEY_WPS_BUTTON>;
130 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;