1 From b5057e498da8211ac3cc8ff5780034e5da61d077 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 23 Aug 2016 08:40:32 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R8500
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Netgear R8500 is another BCM47094 device, it just has three BCM4366
10 wireless chipsets. It's a very standard DT with mostly GPIO devices.
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/bcm47094-netgear-r8500.dts | 104 +++++++++++++++++++++++++++
17 2 files changed, 105 insertions(+)
18 create mode 100644 arch/arm/boot/dts/bcm47094-netgear-r8500.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-netgear-r7000.dtb \
24 bcm4709-netgear-r8000.dtb \
25 bcm47094-dlink-dir-885l.dtb \
26 + bcm47094-netgear-r8500.dtb \
31 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
34 + * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
36 + * Licensed under the ISC license.
41 +#include "bcm4708.dtsi"
42 +#include "bcm5301x-nand-cs0-bch8.dtsi"
45 + compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
46 + model = "Netgear R8500";
49 + bootargs = "console=ttyS0,115200";
53 + reg = <0x00000000 0x08000000>;
57 + compatible = "gpio-leds";
60 + label = "bcm53xx:white:power";
61 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
62 + linux,default-trigger = "default-on";
66 + label = "bcm53xx:amber:power";
67 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
68 + linux,default-trigger = "default-off";
72 + label = "bcm53xx:white:5ghz-1";
73 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
74 + linux,default-trigger = "default-off";
78 + label = "bcm53xx:white:5ghz-2";
79 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
80 + linux,default-trigger = "default-off";
84 + label = "bcm53xx:white:2ghz";
85 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
86 + linux,default-trigger = "default-off";
90 + label = "bcm53xx:white:usb2";
91 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
92 + linux,default-trigger = "default-off";
96 + label = "bcm53xx:white:usb3";
97 + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
98 + linux,default-trigger = "default-off";
103 + compatible = "gpio-keys";
104 + #address-cells = <1>;
108 + label = "Backlight";
109 + linux,code = <KEY_BRIGHTNESS_ZERO>;
110 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
115 + linux,code = <KEY_RESTART>;
116 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
121 + linux,code = <KEY_WPS_BUTTON>;
122 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
127 + linux,code = <KEY_RFKILL>;
128 + gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
135 + clock-frequency = <125000000>;