1 From 2e2105a1578172eaf61e3b59a2c10c4fe04c21b9 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <riproute@gmail.com>
3 Date: Fri, 4 May 2018 10:08:43 -0600
4 Subject: [PATCH] ARM: dts: BCM5301X: Add DT for Luxul XWR-3150 V1
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Luxul XWR-3150 is a wireless router similar to the XWR-3100 except:
11 2) Its NAND controller in running in BCH8 mode
12 3) LAN ports LEDs are hardware controlled
14 Signed-off-by: Dan Haab <dan.haab@luxul.com>
15 Acked-by: Rafał Miłecki <rafal@milecki.pl>
16 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 arch/arm/boot/dts/Makefile | 1 +
19 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 77 ++++++++++++++++++++++++
20 2 files changed, 78 insertions(+)
21 create mode 100644 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
23 --- a/arch/arm/boot/dts/Makefile
24 +++ b/arch/arm/boot/dts/Makefile
25 @@ -104,6 +104,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
26 bcm47094-luxul-abr-4500.dtb \
27 bcm47094-luxul-xbr-4500.dtb \
28 bcm47094-luxul-xwr-3100.dtb \
29 + bcm47094-luxul-xwr-3150-v1.dtb \
30 bcm47094-netgear-r8500.dtb \
34 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
36 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
38 + * Copyright 2018 Luxul Inc.
43 +#include "bcm47094.dtsi"
44 +#include "bcm5301x-nand-cs0-bch8.dtsi"
47 + compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708";
48 + model = "Luxul XWR-3150 V1";
51 + bootargs = "earlycon";
55 + reg = <0x00000000 0x08000000
56 + 0x88000000 0x18000000>;
60 + compatible = "gpio-leds";
63 + label = "bcm53xx:green:power";
64 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
65 + linux,default-trigger = "default-on";
69 + label = "bcm53xx:green:usb3";
70 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
71 + trigger-sources = <&ohci_port1>, <&ehci_port1>,
73 + linux,default-trigger = "usbport";
77 + label = "bcm53xx:green:status";
78 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
79 + linux,default-trigger = "timer";
83 + label = "bcm53xx:green:2ghz";
84 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
88 + label = "bcm53xx:green:5ghz";
89 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
94 + compatible = "gpio-keys";
95 + #address-cells = <1>;
100 + linux,code = <KEY_RESTART>;
101 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
107 + vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;