1 From 1f970a144215ec8bbd96a3d79aea8a19ed8d109a Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sat, 16 May 2015 16:51:51 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Asus RT-AC87U
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
12 arch/arm/boot/dts/Makefile | 1 +
13 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 65 +++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
17 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
18 index 4802376..4e76f68 100644
19 --- a/arch/arm/boot/dts/Makefile
20 +++ b/arch/arm/boot/dts/Makefile
21 @@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
22 bcm47081-asus-rt-n18u.dtb \
23 bcm47081-buffalo-wzr-600dhp2.dtb \
24 bcm47081-buffalo-wzr-900dhp.dtb \
25 + bcm4709-asus-rt-ac87u.dtb \
26 bcm4709-buffalo-wxr-1900dhp.dtb \
27 bcm4709-netgear-r8000.dtb
28 dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb
29 diff --git a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
31 index 0000000..aedf3c4
33 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
36 + * Broadcom BCM470X / BCM5301X ARM platform code.
37 + * DTS for Asus RT-AC87U
39 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
41 + * Licensed under the GNU/GPL. See COPYING for details.
46 +#include "bcm4708.dtsi"
49 + compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708";
50 + model = "Asus RT-AC87U";
53 + bootargs = "console=ttyS0,115200";
57 + reg = <0x00000000 0x08000000>;
61 + compatible = "gpio-leds";
64 + label = "bcm53xx:blue:wps";
65 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
66 + linux,default-trigger = "default-off";
70 + label = "bcm53xx:blue:power";
71 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
72 + linux,default-trigger = "default-on";
76 + label = "bcm53xx:red:wan";
77 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
78 + linux,default-trigger = "default-off";
83 + compatible = "gpio-keys";
84 + #address-cells = <1>;
89 + linux,code = <KEY_WPS_BUTTON>;
90 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
95 + linux,code = <KEY_RESTART>;
96 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;