d657d7ab1c956641d07627b6f6bada053913c958
[openwrt/staging/xback.git] /
1 From 03e96644d7a810916fc4997d572577e876908b18 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ren=C3=A9=20Kjellerup?= <rk.katana.steel@gmail.com>
3 Date: Mon, 1 Oct 2018 15:07:16 -0700
4 Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2
5
6 It is wireless home router based on BCM4708A0 with BCM4360 + BCM4331
7 wireless chipsets. The BCM4331 5GHz chip currently isn't supported only
8 due to missing compatible firmware.
9
10 Signed-off-by: Rene Kjellerup <rk.katana.steel@gmail.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 ---
13 arch/arm/boot/dts/Makefile | 1 +
14 arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts | 45 +++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16 create mode 100644 arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
17
18 --- a/arch/arm/boot/dts/Makefile
19 +++ b/arch/arm/boot/dts/Makefile
20 @@ -82,6 +82,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
21 bcm4708-asus-rt-ac68u.dtb \
22 bcm4708-buffalo-wzr-1750dhp.dtb \
23 bcm4708-linksys-ea6300-v1.dtb \
24 + bcm4708-linksys-ea6500-v2.dtb \
25 bcm4708-luxul-xap-1510.dtb \
26 bcm4708-luxul-xwc-1000.dtb \
27 bcm4708-netgear-r6250.dtb \
28 --- /dev/null
29 +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
30 @@ -0,0 +1,45 @@
31 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
32 +/*
33 + * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
34 + * Copyright (C) 2018 Rene Kjellerup <rk.katana.steel@gmail.com>
35 + */
36 +
37 +/dts-v1/;
38 +
39 +#include "bcm4708.dtsi"
40 +#include "bcm5301x-nand-cs0-bch8.dtsi"
41 +
42 +/ {
43 + compatible = "linksys,ea6500-v2", "brcm,bcm4708";
44 + model = "Linksys EA6500 V2";
45 +
46 + chosen {
47 + bootargs = "console=ttyS0,115200";
48 + };
49 +
50 + memory {
51 + reg = <0x00000000 0x08000000>;
52 + };
53 +
54 + gpio-keys {
55 + compatible = "gpio-keys";
56 + #address-cells = <1>;
57 + #size-cells = <0>;
58 +
59 + wps {
60 + label = "WPS";
61 + linux,code = <KEY_WPS_BUTTON>;
62 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
63 + };
64 +
65 + restart {
66 + label = "Reset";
67 + linux,code = <KEY_RESTART>;
68 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
69 + };
70 + };
71 +};
72 +
73 +&usb3_phy {
74 + status = "okay";
75 +};