1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Date: Wed, 26 Aug 2015 16:11:38 +0200
3 Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R7000
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
8 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 --- a/arch/arm/boot/dts/Makefile
11 +++ b/arch/arm/boot/dts/Makefile
12 @@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
13 bcm47081-buffalo-wzr-900dhp.dtb \
14 bcm4709-asus-rt-ac87u.dtb \
15 bcm4709-buffalo-wxr-1900dhp.dtb \
16 + bcm4709-netgear-r7000.dtb \
17 bcm4709-netgear-r8000.dtb
18 dtb-$(CONFIG_ARCH_BCM_63XX) += \
21 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
24 + * Broadcom BCM470X / BCM5301X ARM platform code.
25 + * DTS for Netgear R7000
27 + * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
29 + * Licensed under the GNU/GPL. See COPYING for details.
34 +#include "bcm4708.dtsi"
35 +#include "bcm5301x-nand-cs0-bch8.dtsi"
38 + compatible = "netgear,r7000", "brcm,bcm4709", "brcm,bcm4708";
39 + model = "Netgear R7000";
42 + bootargs = "console=ttyS0,115200";
46 + reg = <0x00000000 0x08000000>;
50 + compatible = "gpio-leds";
53 + label = "bcm53xx:white:power";
54 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
55 + linux,default-trigger = "default-on";
59 + label = "bcm53xx:amber:power";
60 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
61 + linux,default-trigger = "default-off";
65 + label = "bcm53xx:white:5ghz";
66 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
67 + linux,default-trigger = "default-off";
71 + label = "bcm53xx:white:2ghz";
72 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
73 + linux,default-trigger = "default-off";
77 + label = "bcm53xx:white:wps";
78 + gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
79 + linux,default-trigger = "default-off";
83 + label = "bcm53xx:white:wireless";
84 + gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
85 + linux,default-trigger = "default-off";
89 + label = "bcm53xx:white:usb3";
90 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
91 + linux,default-trigger = "default-off";
95 + label = "bcm53xx:white:usb2";
96 + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
97 + linux,default-trigger = "default-off";
102 + compatible = "gpio-keys";
103 + #address-cells = <1>;
108 + linux,code = <KEY_WPS_BUTTON>;
109 + gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
114 + linux,code = <KEY_RFKILL>;
115 + gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
120 + linux,code = <KEY_RESTART>;
121 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;