ag71xx: Fix rx ring buffer stall on small packets flood on qca956x and qca953x.
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 044-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch
1 From 46daccf62d1651bf8b09978478ca6465a7a81f47 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dhaab@luxul.com>
3 Date: Tue, 27 Sep 2016 11:27:10 -0600
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XAP-1510
5
6 Luxul XAP-1510 is an AP device based on BCM4708 SoC with 2 x BCM4360
7 chipsets on PCB connected using PCIe.
8
9 Signed-off-by: Dan Haab <dhaab@luxul.com>
10 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
11 ---
12 arch/arm/boot/dts/Makefile | 1 +
13 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 64 ++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
16
17 --- a/arch/arm/boot/dts/Makefile
18 +++ b/arch/arm/boot/dts/Makefile
19 @@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
20 bcm4708-asus-rt-ac56u.dtb \
21 bcm4708-asus-rt-ac68u.dtb \
22 bcm4708-buffalo-wzr-1750dhp.dtb \
23 + bcm4708-luxul-xap-1510.dtb \
24 bcm4708-luxul-xwc-1000.dtb \
25 bcm4708-netgear-r6250.dtb \
26 bcm4708-netgear-r6300-v2.dtb \
27 --- /dev/null
28 +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
29 @@ -0,0 +1,64 @@
30 +/*
31 + * Copyright 2016 Luxul Inc.
32 + *
33 + * Licensed under the ISC license.
34 + */
35 +
36 +/dts-v1/;
37 +
38 +#include "bcm4708.dtsi"
39 +
40 +/ {
41 + compatible = "luxul,xap-1510v1", "brcm,bcm4708";
42 + model = "Luxul XAP-1510 V1";
43 +
44 + chosen {
45 + bootargs = "console=ttyS0,115200 earlycon";
46 + };
47 +
48 + memory {
49 + reg = <0x00000000 0x08000000>;
50 + };
51 +
52 + leds {
53 + compatible = "gpio-leds";
54 +
55 + 5ghz {
56 + label = "bcm53xx:blue:5ghz";
57 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
58 + linux,default-trigger = "none";
59 + };
60 +
61 + 2ghz {
62 + label = "bcm53xx:blue:2ghz";
63 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
64 + linux,default-trigger = "none";
65 + };
66 +
67 + status {
68 + label = "bcm53xx:green:status";
69 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
70 + linux,default-trigger = "timer";
71 + };
72 + };
73 +
74 + gpio-keys {
75 + compatible = "gpio-keys";
76 + #address-cells = <1>;
77 + #size-cells = <0>;
78 +
79 + restart {
80 + label = "Reset";
81 + linux,code = <KEY_RESTART>;
82 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
83 + };
84 + };
85 +};
86 +
87 +&uart0 {
88 + status = "okay";
89 +};
90 +
91 +&spi_nor {
92 + status = "okay";
93 +};