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 --- a/arch/arm/boot/dts/Makefile
19 +++ b/arch/arm/boot/dts/Makefile
20 @@ -61,7 +61,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
21 bcm4708-netgear-r6300-v2.dtb \
22 bcm47081-asus-rt-n18u.dtb \
23 bcm47081-buffalo-wzr-600dhp2.dtb \
24 - bcm47081-buffalo-wzr-900dhp.dtb
25 + bcm47081-buffalo-wzr-900dhp.dtb \
26 + bcm4709-netgear-r8000.dtb
27 dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb
28 dtb-$(CONFIG_ARCH_BCM_MOBILE) += bcm28155-ap.dtb \
31 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
34 + * Broadcom BCM470X / BCM5301X ARM platform code.
35 + * DTS for Netgear R8000
37 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
39 + * Licensed under the GNU/GPL. See COPYING for details.
44 +#include "bcm4708.dtsi"
47 + compatible = "netgear,r8000", "brcm,bcm4709", "brcm,bcm4708";
48 + model = "Netgear R8000 (BCM4709)";
51 + bootargs = "console=ttyS0,115200";
55 + reg = <0x00000000 0x08000000>;
59 + compatible = "gpio-leds";
62 + label = "bcm53xx:white:power";
63 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
64 + linux,default-trigger = "default-on";
68 + label = "bcm53xx:amber:power";
69 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
70 + linux,default-trigger = "default-off";
74 + label = "bcm53xx:white:5ghz-1";
75 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
76 + linux,default-trigger = "default-off";
80 + label = "bcm53xx:white:2ghz";
81 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
82 + linux,default-trigger = "default-off";
87 + compatible = "gpio-keys";
88 + #address-cells = <1>;
93 + linux,code = <KEY_RFKILL>;
94 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
99 + linux,code = <KEY_WPS_BUTTON>;
100 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
105 + linux,code = <KEY_RESTART>;
106 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;