1 From b5f350c790ae6aaf3dda5a825d7e3fdeed731164 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sat, 28 Mar 2015 15:01:38 +0100
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Asus RT-AC68U
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: Florian Fainelli <f.fainelli@gmail.com>
12 arch/arm/boot/dts/Makefile | 1 +
13 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 83 +++++++++++++++++++++++++++++
14 2 files changed, 84 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
17 --- a/arch/arm/boot/dts/Makefile
18 +++ b/arch/arm/boot/dts/Makefile
19 @@ -56,6 +56,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
21 bcm2835-rpi-b-plus.dtb
22 dtb-$(CONFIG_ARCH_BCM_5301X) += \
23 + bcm4708-asus-rt-ac68u.dtb \
24 bcm4708-buffalo-wzr-1750dhp.dtb \
25 bcm4708-luxul-xwc-1000.dtb \
26 bcm4708-netgear-r6250.dtb \
28 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
31 + * Broadcom BCM470X / BCM5301X ARM platform code.
32 + * DTS for Asus RT-AC68U
34 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
36 + * Licensed under the GNU/GPL. See COPYING for details.
41 +#include "bcm4708.dtsi"
44 + compatible = "asus,rt-ac68u", "brcm,bcm4708";
45 + model = "Asus RT-AC68U (BCM4708)";
48 + bootargs = "console=ttyS0,115200";
52 + reg = <0x00000000 0x08000000>;
56 + compatible = "gpio-leds";
59 + label = "bcm53xx:blue:usb2";
60 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
61 + linux,default-trigger = "default-off";
65 + label = "bcm53xx:blue:power";
66 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
67 + linux,default-trigger = "default-on";
71 + label = "bcm53xx:white:logo";
72 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
73 + linux,default-trigger = "default-on";
77 + label = "bcm53xx:blue:usb3";
78 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
79 + linux,default-trigger = "default-off";
84 + compatible = "gpio-keys";
85 + #address-cells = <1>;
89 + label = "Backlight";
90 + linux,code = <KEY_BRIGHTNESS_ZERO>;
91 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
96 + linux,code = <KEY_WPS_BUTTON>;
97 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
102 + linux,code = <KEY_RESTART>;
103 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
108 + linux,code = <KEY_RFKILL>;
109 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;