xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm953012er.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot *  BSD LICENSE
3f126890aSEmmanuel Vadot *
4f126890aSEmmanuel Vadot *  Copyright(c) 2016 Broadcom. All rights reserved.
5f126890aSEmmanuel Vadot *
6f126890aSEmmanuel Vadot *  Redistribution and use in source and binary forms, with or without
7f126890aSEmmanuel Vadot *  modification, are permitted provided that the following conditions
8f126890aSEmmanuel Vadot *  are met:
9f126890aSEmmanuel Vadot *
10f126890aSEmmanuel Vadot *    * Redistributions of source code must retain the above copyright
11f126890aSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer.
12f126890aSEmmanuel Vadot *    * Redistributions in binary form must reproduce the above copyright
13f126890aSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer in
14f126890aSEmmanuel Vadot *      the documentation and/or other materials provided with the
15f126890aSEmmanuel Vadot *      distribution.
16f126890aSEmmanuel Vadot *    * Neither the name of Broadcom Corporation nor the names of its
17f126890aSEmmanuel Vadot *      contributors may be used to endorse or promote products derived
18f126890aSEmmanuel Vadot *      from this software without specific prior written permission.
19f126890aSEmmanuel Vadot *
20f126890aSEmmanuel Vadot *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21f126890aSEmmanuel Vadot *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22f126890aSEmmanuel Vadot *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23f126890aSEmmanuel Vadot *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24f126890aSEmmanuel Vadot *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25f126890aSEmmanuel Vadot *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26f126890aSEmmanuel Vadot *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27f126890aSEmmanuel Vadot *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28f126890aSEmmanuel Vadot *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29f126890aSEmmanuel Vadot *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30f126890aSEmmanuel Vadot *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31f126890aSEmmanuel Vadot */
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot/dts-v1/;
34f126890aSEmmanuel Vadot
35f126890aSEmmanuel Vadot#include "bcm4708.dtsi"
36f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi"
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot/ {
39f126890aSEmmanuel Vadot	model = "NorthStar Enterprise Router (BCM953012ER)";
40f126890aSEmmanuel Vadot	compatible = "brcm,bcm953012er", "brcm,bcm53012", "brcm,bcm4708";
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	memory@0 {
43f126890aSEmmanuel Vadot		device_type = "memory";
44f126890aSEmmanuel Vadot		reg = <0x00000000 0x8000000>;
45f126890aSEmmanuel Vadot	};
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot	gpio-keys {
48f126890aSEmmanuel Vadot		compatible = "gpio-keys";
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot		button-wps {
51f126890aSEmmanuel Vadot			label = "WPS";
52f126890aSEmmanuel Vadot			linux,code = <KEY_WPS_BUTTON>;
53f126890aSEmmanuel Vadot			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		button-restart {
57f126890aSEmmanuel Vadot			label = "Reset";
58f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
59f126890aSEmmanuel Vadot			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot};
63f126890aSEmmanuel Vadot
64f126890aSEmmanuel Vadot&spi_nor {
65f126890aSEmmanuel Vadot	status = "okay";
66f126890aSEmmanuel Vadot};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot&srab {
69f126890aSEmmanuel Vadot	status = "okay";
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot	ports {
72f126890aSEmmanuel Vadot		port@0 {
73f126890aSEmmanuel Vadot			reg = <0>;
74f126890aSEmmanuel Vadot			label = "port0";
75f126890aSEmmanuel Vadot		};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot		port@1 {
78f126890aSEmmanuel Vadot			reg = <1>;
79f126890aSEmmanuel Vadot			label = "port1";
80f126890aSEmmanuel Vadot		};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot		port@5 {
83f126890aSEmmanuel Vadot			reg = <5>;
84f126890aSEmmanuel Vadot			label = "cpu";
85f126890aSEmmanuel Vadot			ethernet = <&gmac0>;
86f126890aSEmmanuel Vadot		};
87*84943d6fSEmmanuel Vadot
88*84943d6fSEmmanuel Vadot		port@7 {
89*84943d6fSEmmanuel Vadot			status = "disabled";
90*84943d6fSEmmanuel Vadot		};
91*84943d6fSEmmanuel Vadot
92*84943d6fSEmmanuel Vadot		port@8 {
93*84943d6fSEmmanuel Vadot			status = "disabled";
94*84943d6fSEmmanuel Vadot		};
95f126890aSEmmanuel Vadot	};
96f126890aSEmmanuel Vadot};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot&usb3_phy {
99f126890aSEmmanuel Vadot	status = "okay";
100f126890aSEmmanuel Vadot};
101