1 From f8c331bda6a90b239f600020eec1b0defe7249b5 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Wed, 22 Jun 2016 17:00:35 -0700
4 Subject: [PATCH] ARM: dts: BCM5301x: Add BCM953012ER board
6 Add support for the Broadcom BCM953012 Enterprise Router reference
7 board, enable the following peripherals:
9 - UART0 (UART1 is not populated)
10 - WPS and restart GPIO buttons
11 - Ethernet switch w/ only two facing ports
15 Acked-by: Jon Mason <jon.mason@broadcom.com>
16 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 arch/arm/boot/dts/Makefile | 1 +
19 arch/arm/boot/dts/bcm953012er.dts | 104 ++++++++++++++++++++++++++++++++++++++
20 2 files changed, 105 insertions(+)
21 create mode 100644 arch/arm/boot/dts/bcm953012er.dts
23 --- a/arch/arm/boot/dts/Makefile
24 +++ b/arch/arm/boot/dts/Makefile
25 @@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
26 bcm47094-dlink-dir-885l.dtb \
31 dtb-$(CONFIG_ARCH_BCM_63XX) += \
34 +++ b/arch/arm/boot/dts/bcm953012er.dts
39 + * Copyright(c) 2016 Broadcom. All rights reserved.
41 + * Redistribution and use in source and binary forms, with or without
42 + * modification, are permitted provided that the following conditions
45 + * * Redistributions of source code must retain the above copyright
46 + * notice, this list of conditions and the following disclaimer.
47 + * * Redistributions in binary form must reproduce the above copyright
48 + * notice, this list of conditions and the following disclaimer in
49 + * the documentation and/or other materials provided with the
51 + * * Neither the name of Broadcom Corporation nor the names of its
52 + * contributors may be used to endorse or promote products derived
53 + * from this software without specific prior written permission.
55 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
56 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
57 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
58 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
59 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
60 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
61 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
62 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
63 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
64 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
65 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
70 +#include "bcm4708.dtsi"
71 +#include "bcm5301x-nand-cs0-bch8.dtsi"
74 + model = "NorthStar Enterprise Router (BCM953012ER)";
75 + compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708";
82 + stdout-path = "serial0:115200n8";
86 + reg = <0x00000000 0x8000000>;
90 + compatible = "gpio-keys";
91 + #address-cells = <1>;
96 + linux,code = <KEY_WPS_BUTTON>;
97 + gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
102 + linux,code = <KEY_RESTART>;
103 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
120 + #address-cells = <1>;
136 + ethernet = <&gmac0>;