kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19
[openwrt/staging/wigyori.git] / target / linux / bcm53xx / patches-4.14 / 035-v4.15-0005-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-1440.patch
1 From 7030ea600d560026b91726f2eb79c856b813afa9 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dhaab@luxul.com>
3 Date: Mon, 9 Oct 2017 09:47:00 -0600
4 Subject: [PATCH] ARM: dts: BCM53573: Add DT for Luxul XAP-1440
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This is BCM53573 WiSoC based outdoor access point with an extra BCM43217
10 chipset used for 2.4 GHz.
11
12 Signed-off-by: Dan Haab <dhaab@luxul.com>
13 Acked-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm/boot/dts/Makefile | 1 +
17 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts | 50 +++++++++++++++++++++++++++
18 2 files changed, 51 insertions(+)
19 create mode 100644 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
20
21 --- a/arch/arm/boot/dts/Makefile
22 +++ b/arch/arm/boot/dts/Makefile
23 @@ -111,6 +111,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
24 bcm953012hr.dtb \
25 bcm953012k.dtb
26 dtb-$(CONFIG_ARCH_BCM_53573) += \
27 + bcm47189-luxul-xap-1440.dtb \
28 bcm47189-luxul-xap-810.dtb \
29 bcm47189-tenda-ac9.dtb \
30 bcm947189acdbmr.dtb
31 --- /dev/null
32 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
33 @@ -0,0 +1,50 @@
34 +/*
35 + * Copyright 2017 Luxul Inc.
36 + *
37 + * Licensed under the ISC license.
38 + */
39 +
40 +/dts-v1/;
41 +
42 +#include "bcm53573.dtsi"
43 +
44 +/ {
45 + compatible = "luxul,xap-1440-v1", "brcm,bcm47189", "brcm,bcm53573";
46 + model = "Luxul XAP-1440 V1";
47 +
48 + chosen {
49 + bootargs = "earlycon";
50 + };
51 +
52 + memory {
53 + reg = <0x00000000 0x08000000>;
54 + };
55 +
56 + leds {
57 + compatible = "gpio-leds";
58 +
59 + wlan {
60 + label = "bcm53xx:blue:wlan";
61 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
62 + linux,default-trigger = "default-off";
63 + };
64 +
65 + system {
66 + label = "bcm53xx:green:system";
67 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
68 + linux,default-trigger = "timer";
69 + };
70 + };
71 +
72 + gpio-keys {
73 + compatible = "gpio-keys";
74 + #address-cells = <1>;
75 + #size-cells = <0>;
76 +
77 + restart {
78 + label = "Reset";
79 + linux,code = <KEY_RESTART>;
80 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
81 + };
82 + };
83 +};