1 From b7620da56595c5505e4a10b8779cec0362b59db2 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Thu, 9 Oct 2014 18:04:28 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Buffalo WZR-1750DHP
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
11 arch/arm/boot/dts/Makefile | 1 +
12 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 74 +++++++++++++++++++++++
13 2 files changed, 75 insertions(+)
14 create mode 100644 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
16 --- a/arch/arm/boot/dts/Makefile
17 +++ b/arch/arm/boot/dts/Makefile
18 @@ -51,6 +51,7 @@ dtb-$(CONFIG_ARCH_BCM_MOBILE) += bcm1135
20 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
21 dtb-$(CONFIG_ARCH_BCM_5301X) += \
22 + bcm4708-buffalo-wzr-1750dhp.dtb \
23 bcm4708-netgear-r6250.dtb \
24 bcm4708-netgear-r6300-v2.dtb
25 dtb-$(CONFIG_ARCH_BERLIN) += \
27 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
30 + * Broadcom BCM470X / BCM5301X arm platform code.
31 + * DTS for Buffalo WZR-1750DHP
33 + * Copyright © 2014 Rafał Miłecki <zajec5@gmail.com>
35 + * Licensed under the GNU/GPL. See COPYING for details.
40 +#include "bcm4708.dtsi"
43 + compatible = "buffalo,wzr-1750dhp", "brcm,bcm4708";
44 + model = "Buffalo WZR-1750DHP (BCM4708)";
47 + bootargs = "console=ttyS0,115200 earlyprintk";
51 + reg = <0x00000000 0x08000000>;
55 + uart0: serial@0300 {
59 + uart1: serial@0400 {
65 + compatible = "gpio-keys-polled";
66 + #address-cells = <1>;
68 + poll-interval = <200>;
72 + linux,code = <KEY_RESTART>;
73 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
78 + linux,code = <KEY_WPS_BUTTON>;
79 + gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
82 + /* Commit mode set by switch? */
85 + linux,code = <KEY_SETUP>;
86 + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
89 + /* Switch: AP mode */
92 + linux,code = <BTN_0>;
93 + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
97 + label = "USB eject";
98 + linux,code = <KEY_EJECTCD>;
99 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;