1724ba675SRob Herring/*
2724ba675SRob Herring *  BSD LICENSE
3724ba675SRob Herring *
4724ba675SRob Herring *  Copyright(c) 2016 Broadcom. All rights reserved.
5724ba675SRob Herring *
6724ba675SRob Herring *  Redistribution and use in source and binary forms, with or without
7724ba675SRob Herring *  modification, are permitted provided that the following conditions
8724ba675SRob Herring *  are met:
9724ba675SRob Herring *
10724ba675SRob Herring *    * Redistributions of source code must retain the above copyright
11724ba675SRob Herring *      notice, this list of conditions and the following disclaimer.
12724ba675SRob Herring *    * Redistributions in binary form must reproduce the above copyright
13724ba675SRob Herring *      notice, this list of conditions and the following disclaimer in
14724ba675SRob Herring *      the documentation and/or other materials provided with the
15724ba675SRob Herring *      distribution.
16724ba675SRob Herring *    * Neither the name of Broadcom Corporation nor the names of its
17724ba675SRob Herring *      contributors may be used to endorse or promote products derived
18724ba675SRob Herring *      from this software without specific prior written permission.
19724ba675SRob Herring *
20724ba675SRob Herring *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21724ba675SRob Herring *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22724ba675SRob Herring *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23724ba675SRob Herring *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24724ba675SRob Herring *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25724ba675SRob Herring *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26724ba675SRob Herring *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27724ba675SRob Herring *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28724ba675SRob Herring *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29724ba675SRob Herring *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30724ba675SRob Herring *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31724ba675SRob Herring */
32724ba675SRob Herring
33724ba675SRob Herring/dts-v1/;
34724ba675SRob Herring
35724ba675SRob Herring#include "bcm4708.dtsi"
36724ba675SRob Herring#include "bcm5301x-nand-cs0-bch8.dtsi"
37724ba675SRob Herring
38724ba675SRob Herring/ {
39724ba675SRob Herring	model = "NorthStar Enterprise Router (BCM953012ER)";
40724ba675SRob Herring	compatible = "brcm,bcm953012er", "brcm,bcm53012", "brcm,bcm4708";
41724ba675SRob Herring
42724ba675SRob Herring	memory@0 {
43724ba675SRob Herring		device_type = "memory";
44724ba675SRob Herring		reg = <0x00000000 0x8000000>;
45724ba675SRob Herring	};
46724ba675SRob Herring
47724ba675SRob Herring	gpio-keys {
48724ba675SRob Herring		compatible = "gpio-keys";
49724ba675SRob Herring
50724ba675SRob Herring		button-wps {
51724ba675SRob Herring			label = "WPS";
52724ba675SRob Herring			linux,code = <KEY_WPS_BUTTON>;
53724ba675SRob Herring			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
54724ba675SRob Herring		};
55724ba675SRob Herring
56724ba675SRob Herring		button-restart {
57724ba675SRob Herring			label = "Reset";
58724ba675SRob Herring			linux,code = <KEY_RESTART>;
59724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
60724ba675SRob Herring		};
61724ba675SRob Herring	};
62724ba675SRob Herring};
63724ba675SRob Herring
64724ba675SRob Herring&spi_nor {
65724ba675SRob Herring	status = "okay";
66724ba675SRob Herring};
67724ba675SRob Herring
68724ba675SRob Herring&srab {
69724ba675SRob Herring	status = "okay";
70724ba675SRob Herring
71724ba675SRob Herring	ports {
72724ba675SRob Herring		port@0 {
73724ba675SRob Herring			reg = <0>;
74724ba675SRob Herring			label = "port0";
75724ba675SRob Herring		};
76724ba675SRob Herring
77724ba675SRob Herring		port@1 {
78724ba675SRob Herring			reg = <1>;
79724ba675SRob Herring			label = "port1";
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		port@5 {
83724ba675SRob Herring			reg = <5>;
84724ba675SRob Herring			label = "cpu";
85724ba675SRob Herring			ethernet = <&gmac0>;
86724ba675SRob Herring		};
87*fca21e13SRafał Miłecki
88*fca21e13SRafał Miłecki		port@7 {
89*fca21e13SRafał Miłecki			status = "disabled";
90*fca21e13SRafał Miłecki		};
91*fca21e13SRafał Miłecki
92*fca21e13SRafał Miłecki		port@8 {
93*fca21e13SRafał Miłecki			status = "disabled";
94*fca21e13SRafał Miłecki		};
95724ba675SRob Herring	};
96724ba675SRob Herring};
97724ba675SRob Herring
98724ba675SRob Herring&usb3_phy {
99724ba675SRob Herring	status = "okay";
100724ba675SRob Herring};
101