1 From 514647c9af870bd2df2e579134a26bff8d17b6b9 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dhaab@luxul.com>
3 Date: Sat, 14 Jan 2017 19:29:28 -0700
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWR-1200
6 Luxul XWR-1200 in a dual-band router based on BCM47081. It uses serial
7 flash (for bootloader and NVRAM) and NAND flash (for firmware).
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-xwr-1200.dts | 107 ++++++++++++++++++++++++++
14 2 files changed, 108 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
17 --- a/arch/arm/boot/dts/Makefile
18 +++ b/arch/arm/boot/dts/Makefile
19 @@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
20 bcm47081-buffalo-wzr-600dhp2.dtb \
21 bcm47081-buffalo-wzr-900dhp.dtb \
22 bcm47081-luxul-xap-1410.dtb \
23 + bcm47081-luxul-xwr-1200.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-xwr-1200.dts
31 + * Copyright 2017 Luxul Inc.
33 + * Licensed under the ISC license.
38 +#include "bcm47081.dtsi"
39 +#include "bcm5301x-nand-cs0-bch4.dtsi"
42 + compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
43 + model = "Luxul XWR-1200 V1";
46 + bootargs = "console=ttyS0,115200";
50 + reg = <0x00000000 0x08000000>;
54 + compatible = "gpio-leds";
57 + label = "bcm53xx:green:power";
58 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
59 + linux,default-trigger = "default-on";
63 + label = "bcm53xx:green:lan3";
64 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
65 + linux,default-trigger = "none";
69 + label = "bcm53xx:green:lan4";
70 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
71 + linux,default-trigger = "none";
75 + label = "bcm53xx:green:wan";
76 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
77 + linux,default-trigger = "none";
81 + label = "bcm53xx:green:lan2";
82 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
83 + linux,default-trigger = "none";
87 + label = "bcm53xx:green:usb";
88 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
89 + linux,default-trigger = "none";
93 + label = "bcm53xx:green:status";
94 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
95 + linux,default-trigger = "timer";
99 + label = "bcm53xx:green:2ghz";
100 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
101 + linux,default-trigger = "none";
105 + label = "bcm53xx:green:5ghz";
106 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
107 + linux,default-trigger = "none";
111 + label = "bcm53xx:green:lan1";
112 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
113 + linux,default-trigger = "none";
118 + compatible = "gpio-keys";
119 + #address-cells = <1>;
124 + linux,code = <KEY_RESTART>;
125 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
131 + vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;