1 From eeacbb3e30f220d5d775c61421f813d4e186a325 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dhaab@luxul.com>
3 Date: Sat, 14 Jan 2017 19:29:27 -0700
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XAP-1410
6 Luxul XAP-1410 in a dual-band access point device based on BCM47081 with
7 serial flash. It has 3 LEDs and just one (reset) button.
9 Signed-off-by: Dan Haab <dhaab@luxul.com>
10 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 arch/arm/boot/dts/Makefile | 1 +
13 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 60 +++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
17 --- a/arch/arm/boot/dts/Makefile
18 +++ b/arch/arm/boot/dts/Makefile
19 @@ -73,6 +73,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
20 bcm47081-asus-rt-n18u.dtb \
21 bcm47081-buffalo-wzr-600dhp2.dtb \
22 bcm47081-buffalo-wzr-900dhp.dtb \
23 + bcm47081-luxul-xap-1410.dtb \
24 bcm4709-asus-rt-ac87u.dtb \
25 bcm4709-buffalo-wxr-1900dhp.dtb \
26 bcm4709-netgear-r7000.dtb \
28 +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
31 + * Copyright 2017 Luxul Inc.
33 + * Licensed under the ISC license.
38 +#include "bcm47081.dtsi"
41 + compatible = "luxul,xap-1410v1", "brcm,bcm47081", "brcm,bcm4708";
42 + model = "Luxul XAP-1410 V1";
45 + bootargs = "console=ttyS0,115200";
49 + reg = <0x00000000 0x08000000>;
53 + compatible = "gpio-leds";
56 + label = "bcm53xx:blue:5ghz";
57 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
58 + linux,default-trigger = "none";
62 + label = "bcm53xx:blue:2ghz";
63 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
64 + linux,default-trigger = "none";
68 + label = "bcm53xx:green:status";
69 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
70 + linux,default-trigger = "timer";
75 + compatible = "gpio-keys";
76 + #address-cells = <1>;
81 + linux,code = <KEY_RESTART>;
82 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;