1 From: Dan Haab <dhaab@luxul.com>
2 Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWR-1200
4 Luxul XWR-1200 in a dual-band router based on BCM47081. It uses serial
5 flash (for bootloader and NVRAM) and NAND flash (for firmware).
7 Signed-off-by: Dan Haab <dhaab@luxul.com>
9 arch/arm/boot/dts/Makefile | 1 +
10 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 107 ++++++++++++++++++++++++++
11 2 files changed, 108 insertions(+)
12 create mode 100644 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
14 --- a/arch/arm/boot/dts/Makefile
15 +++ b/arch/arm/boot/dts/Makefile
16 @@ -74,6 +74,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
17 bcm47081-buffalo-wzr-600dhp2.dtb \
18 bcm47081-buffalo-wzr-900dhp.dtb \
19 bcm47081-luxul-xap-1410.dtb \
20 + bcm47081-luxul-xwr-1200.dtb \
21 bcm4709-asus-rt-ac87u.dtb \
22 bcm4709-buffalo-wxr-1900dhp.dtb \
23 bcm4709-netgear-r7000.dtb \
25 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
28 + * Copyright 2017 Luxul Inc.
30 + * Licensed under the ISC license.
35 +#include "bcm47081.dtsi"
36 +#include "bcm5301x-nand-cs0-bch4.dtsi"
39 + compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
40 + model = "Luxul XWR-1200 V1";
43 + bootargs = "console=ttyS0,115200";
47 + reg = <0x00000000 0x08000000>;
51 + compatible = "gpio-leds";
54 + label = "bcm53xx:green:power";
55 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
56 + linux,default-trigger = "default-on";
60 + label = "bcm53xx:green:lan3";
61 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
62 + linux,default-trigger = "none";
66 + label = "bcm53xx:green:lan4";
67 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
68 + linux,default-trigger = "none";
72 + label = "bcm53xx:green:wan";
73 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
74 + linux,default-trigger = "none";
78 + label = "bcm53xx:green:lan2";
79 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
80 + linux,default-trigger = "none";
84 + label = "bcm53xx:green:usb";
85 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
86 + linux,default-trigger = "none";
90 + label = "bcm53xx:green:status";
91 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
92 + linux,default-trigger = "timer";
96 + label = "bcm53xx:green:2ghz";
97 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
98 + linux,default-trigger = "none";
102 + label = "bcm53xx:green:5ghz";
103 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
104 + linux,default-trigger = "none";
108 + label = "bcm53xx:green:lan1";
109 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
110 + linux,default-trigger = "none";
115 + compatible = "gpio-keys";
116 + #address-cells = <1>;
121 + linux,code = <KEY_RESTART>;
122 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
128 + vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;