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 --- a/arch/arm/boot/dts/Makefile
21 +++ b/arch/arm/boot/dts/Makefile
22 @@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.
23 dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb
24 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
25 dtb-$(CONFIG_ARCH_BCM_5301X) += \
26 + bcm4708-asus-rt-ac56u.dtb \
27 bcm4708-asus-rt-ac68u.dtb \
28 bcm4708-buffalo-wzr-1750dhp.dtb \
29 bcm4708-luxul-xwc-1000.dtb \
31 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
34 + * Broadcom BCM470X / BCM5301X ARM platform code.
35 + * DTS for Asus RT-AC56U
37 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
39 + * Licensed under the GNU/GPL. See COPYING for details.
44 +#include "bcm4708.dtsi"
47 + compatible = "asus,rt-ac56u", "brcm,bcm4708";
48 + model = "Asus RT-AC56U (BCM4708)";
51 + bootargs = "console=ttyS0,115200";
55 + reg = <0x00000000 0x08000000>;
59 + compatible = "gpio-leds";
62 + label = "bcm53xx:blue:usb3";
63 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
64 + linux,default-trigger = "default-off";
68 + label = "bcm53xx:blue:wan";
69 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
70 + linux,default-trigger = "default-off";
74 + label = "bcm53xx:blue:lan";
75 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
76 + linux,default-trigger = "default-off";
80 + label = "bcm53xx:blue:power";
81 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
82 + linux,default-trigger = "default-on";
86 + label = "bcm53xx:blue:all";
87 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
88 + linux,default-trigger = "default-on";
92 + label = "bcm53xx:blue:2ghz";
93 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
94 + linux,default-trigger = "default-off";
99 + label = "bcm53xx:blue:usb2";
100 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
101 + linux,default-trigger = "default-off";
106 + compatible = "gpio-keys";
107 + #address-cells = <1>;
112 + linux,code = <KEY_RFKILL>;
113 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
118 + linux,code = <KEY_RESTART>;
119 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
124 + linux,code = <KEY_WPS_BUTTON>;
125 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;