1 From 41182beb217c47cfbaaf26a60f22a8b3943faa61 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Sun, 13 Nov 2016 11:12:09 +0100
4 Subject: [PATCH] ARM: BCM5301X: Add DT for TP-LINK Archer C9 V1
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 It's BCM4709A0 based device with 16 MiB flash, 128 MiB of RAM and two
10 PCIe based on-PCB BCM4360 chipsets.
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 arch/arm/boot/dts/Makefile | 1 +
16 arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 114 ++++++++++++++++++++++
17 2 files changed, 115 insertions(+)
18 create mode 100644 arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
20 --- a/arch/arm/boot/dts/Makefile
21 +++ b/arch/arm/boot/dts/Makefile
22 @@ -77,6 +77,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
23 bcm4709-buffalo-wxr-1900dhp.dtb \
24 bcm4709-netgear-r7000.dtb \
25 bcm4709-netgear-r8000.dtb \
26 + bcm4709-tplink-archer-c9-v1.dtb \
27 bcm47094-dlink-dir-885l.dtb \
28 bcm47094-luxul-xwr-3100.dtb \
29 bcm47094-netgear-r8500.dtb \
31 +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
34 + * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
36 + * Licensed under the ISC license.
41 +#include "bcm4709.dtsi"
44 + compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708";
45 + model = "TP-LINK Archer C9 V1";
48 + bootargs = "console=ttyS0,115200 earlycon";
52 + reg = <0x00000000 0x08000000>;
56 + compatible = "gpio-leds";
59 + label = "bcm53xx:blue:lan";
60 + gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
61 + linux,default-trigger = "default-off";
65 + label = "bcm53xx:blue:wps";
66 + gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
67 + linux,default-trigger = "default-off";
71 + label = "bcm53xx:blue:2ghz";
72 + gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
73 + linux,default-trigger = "default-off";
77 + label = "bcm53xx:blue:5ghz";
78 + gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
79 + linux,default-trigger = "default-off";
83 + label = "bcm53xx:blue:usb3";
84 + gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
85 + linux,default-trigger = "default-off";
89 + label = "bcm53xx:blue:usb2";
90 + gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
91 + linux,default-trigger = "default-off";
95 + label = "bcm53xx:blue:wan";
96 + gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
97 + linux,default-trigger = "default-off";
101 + label = "bcm53xx:amber:wan";
102 + gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
103 + linux,default-trigger = "default-off";
107 + label = "bcm53xx:blue:power";
108 + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
109 + linux,default-trigger = "default-on";
114 + compatible = "gpio-keys";
115 + #address-cells = <1>;
120 + linux,code = <KEY_WPS_BUTTON>;
121 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
126 + linux,code = <KEY_RESTART>;
127 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
137 + vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
141 + vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;