1 From 4076b521cb50c411467c4ba65f82ef0079823357 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 18 Feb 2015 12:25:42 +0100
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R8000
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 Reported-by: Ian Kent <raven@themaw.net>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 arch/arm/boot/dts/Makefile | 3 +-
14 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 77 +++++++++++++++++++++++++++++
15 2 files changed, 79 insertions(+), 1 deletion(-)
16 create mode 100644 arch/arm/boot/dts/bcm4709-netgear-r8000.dts
18 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
19 index 2604d7c..c6e0a4c 100644
20 --- a/arch/arm/boot/dts/Makefile
21 +++ b/arch/arm/boot/dts/Makefile
22 @@ -61,7 +61,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
23 bcm4708-netgear-r6300-v2.dtb \
24 bcm47081-asus-rt-n18u.dtb \
25 bcm47081-buffalo-wzr-600dhp2.dtb \
26 - bcm47081-buffalo-wzr-900dhp.dtb
27 + bcm47081-buffalo-wzr-900dhp.dtb \
28 + bcm4709-netgear-r8000.dtb
29 dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb
30 dtb-$(CONFIG_ARCH_BCM_MOBILE) += bcm28155-ap.dtb \
32 diff --git a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
34 index 0000000..ea26dd3
36 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
39 + * Broadcom BCM470X / BCM5301X ARM platform code.
40 + * DTS for Netgear R8000
42 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
44 + * Licensed under the GNU/GPL. See COPYING for details.
49 +#include "bcm4708.dtsi"
52 + compatible = "netgear,r8000", "brcm,bcm4709", "brcm,bcm4708";
53 + model = "Netgear R8000 (BCM4709)";
56 + bootargs = "console=ttyS0,115200";
60 + reg = <0x00000000 0x08000000>;
64 + compatible = "gpio-leds";
67 + label = "bcm53xx:white:power";
68 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
69 + linux,default-trigger = "default-on";
73 + label = "bcm53xx:amber:power";
74 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
75 + linux,default-trigger = "default-off";
79 + label = "bcm53xx:white:5ghz-1";
80 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
81 + linux,default-trigger = "default-off";
85 + label = "bcm53xx:white:2ghz";
86 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
87 + linux,default-trigger = "default-off";
92 + compatible = "gpio-keys";
93 + #address-cells = <1>;
98 + linux,code = <KEY_RFKILL>;
99 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
104 + linux,code = <KEY_WPS_BUTTON>;
105 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
110 + linux,code = <KEY_RESTART>;
111 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;