1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R8500
4 Content-Type: text/plain; charset=UTF-8
5 Content-Transfer-Encoding: 8bit
7 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
9 arch/arm/boot/dts/Makefile | 1 +
10 arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 31 ++++++++++++++++++++++++++++
11 2 files changed, 32 insertions(+)
12 create mode 100644 arch/arm/boot/dts/bcm47094-netgear-r8500.dts
14 --- a/arch/arm/boot/dts/Makefile
15 +++ b/arch/arm/boot/dts/Makefile
16 @@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
17 bcm4709-netgear-r7900.dtb \
18 bcm4709-netgear-r8000.dtb \
19 bcm47094-dlink-dir-885l.dtb \
20 + bcm47094-netgear-r8500.dtb \
25 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
28 + * Broadcom BCM470X / BCM5301X ARM platform code.
29 + * DTS for Netgear R8500
31 + * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
33 + * Licensed under the GNU/GPL. See COPYING for details.
38 +#include "bcm4708.dtsi"
39 +#include "bcm5301x-nand-cs0-bch8.dtsi"
42 + compatible = "netgear,r8500", "brcm,bcm47094", "brcm,bcm4708";
43 + model = "Netgear R8500";
46 + bootargs = "console=ttyS0,115200";
50 + reg = <0x00000000 0x08000000>;
54 + compatible = "gpio-leds";
57 + label = "bcm53xx:white:power";
58 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
59 + linux,default-trigger = "default-on";
63 + label = "bcm53xx:amber:power";
64 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
65 + linux,default-trigger = "default-off";
69 + label = "bcm53xx:white:5ghz-1";
70 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
71 + linux,default-trigger = "default-off";
75 + label = "bcm53xx:white:5ghz-2";
76 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
77 + linux,default-trigger = "default-off";
81 + label = "bcm53xx:white:2ghz";
82 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
83 + linux,default-trigger = "default-off";
87 + label = "bcm53xx:white:usb2";
88 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
89 + linux,default-trigger = "default-off";
93 + label = "bcm53xx:white:usb3";
94 + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
95 + linux,default-trigger = "default-off";
100 + compatible = "gpio-keys";
101 + #address-cells = <1>;
105 + label = "Backlight";
106 + linux,code = <KEY_BRIGHTNESS_ZERO>;
107 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
112 + linux,code = <KEY_RESTART>;
113 + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
118 + linux,code = <KEY_WPS_BUTTON>;
119 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
124 + linux,code = <KEY_RFKILL>;
125 + gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
132 + clock-frequency = <125000000>;