1 From c2ebc30d9633d80849e99f489497e4c862e532e5 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 14:51:08 +0100
4 Subject: [PATCH V2] 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>
11 arch/arm/boot/dts/Makefile | 1 +
12 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 83 +++++++++++++++++++++++++++++
13 2 files changed, 84 insertions(+)
14 create mode 100644 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
16 --- a/arch/arm/boot/dts/Makefile
17 +++ b/arch/arm/boot/dts/Makefile
18 @@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.
19 dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb
20 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
21 dtb-$(CONFIG_ARCH_BCM_5301X) += \
22 + bcm4708-asus-rt-ac68u.dtb \
23 bcm4708-buffalo-wzr-1750dhp.dtb \
24 bcm4708-luxul-xwc-1000.dtb \
25 bcm4708-netgear-r6250.dtb \
27 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
30 + * Broadcom BCM470X / BCM5301X ARM platform code.
31 + * DTS for Asus RT-AC68U
33 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
35 + * Licensed under the GNU/GPL. See COPYING for details.
40 +#include "bcm4708.dtsi"
43 + compatible = "asus,rt-ac68u", "brcm,bcm4708";
44 + model = "Asus RT-AC68U (BCM4708)";
47 + bootargs = "console=ttyS0,115200";
51 + reg = <0x00000000 0x08000000>;
55 + compatible = "gpio-leds";
58 + label = "bcm53xx:blue:usb2";
59 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
60 + linux,default-trigger = "default-off";
64 + label = "bcm53xx:blue:power";
65 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
66 + linux,default-trigger = "default-on";
70 + label = "bcm53xx:white:logo";
71 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
72 + linux,default-trigger = "default-on";
76 + label = "bcm53xx:blue:usb3";
77 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
78 + linux,default-trigger = "default-off";
83 + compatible = "gpio-keys";
84 + #address-cells = <1>;
88 + label = "Backlight";
89 + linux,code = <KEY_BRIGHTNESS_ZERO>;
90 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
95 + linux,code = <KEY_WPS_BUTTON>;
96 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
101 + linux,code = <KEY_RESTART>;
102 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
107 + linux,code = <KEY_RFKILL>;
108 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;