xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm953012hr.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot/*
2*f126890aSEmmanuel Vadot *  SPDX-License-Identifier: BSD-3-Clause
3*f126890aSEmmanuel Vadot *
4*f126890aSEmmanuel Vadot *  Copyright(c) 2017 Broadcom
5*f126890aSEmmanuel Vadot *
6*f126890aSEmmanuel Vadot *  Redistribution and use in source and binary forms, with or without
7*f126890aSEmmanuel Vadot *  modification, are permitted provided that the following conditions
8*f126890aSEmmanuel Vadot *  are met:
9*f126890aSEmmanuel Vadot *
10*f126890aSEmmanuel Vadot *    * Redistributions of source code must retain the above copyright
11*f126890aSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer.
12*f126890aSEmmanuel Vadot *    * Redistributions in binary form must reproduce the above copyright
13*f126890aSEmmanuel Vadot *      notice, this list of conditions and the following disclaimer in
14*f126890aSEmmanuel Vadot *      the documentation and/or other materials provided with the
15*f126890aSEmmanuel Vadot *      distribution.
16*f126890aSEmmanuel Vadot *    * Neither the name of Broadcom nor the names of its contributors
17*f126890aSEmmanuel Vadot *      may be used to endorse or promote products derived from this
18*f126890aSEmmanuel Vadot *      software without specific prior written permission.
19*f126890aSEmmanuel Vadot *
20*f126890aSEmmanuel Vadot *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21*f126890aSEmmanuel Vadot *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*f126890aSEmmanuel Vadot *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23*f126890aSEmmanuel Vadot *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24*f126890aSEmmanuel Vadot *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25*f126890aSEmmanuel Vadot *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26*f126890aSEmmanuel Vadot *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27*f126890aSEmmanuel Vadot *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28*f126890aSEmmanuel Vadot *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29*f126890aSEmmanuel Vadot *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30*f126890aSEmmanuel Vadot *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*f126890aSEmmanuel Vadot */
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot/dts-v1/;
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot#include "bcm4708.dtsi"
36*f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch4.dtsi"
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot/ {
39*f126890aSEmmanuel Vadot	model = "NorthStar HR (BCM953012HR)";
40*f126890aSEmmanuel Vadot	compatible = "brcm,bcm953012hr", "brcm,bcm53012", "brcm,bcm4708";
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot	aliases {
43*f126890aSEmmanuel Vadot		ethernet0 = &gmac0;
44*f126890aSEmmanuel Vadot		ethernet1 = &gmac1;
45*f126890aSEmmanuel Vadot		ethernet2 = &gmac2;
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	memory@80000000 {
49*f126890aSEmmanuel Vadot		device_type = "memory";
50*f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot&nandcs {
55*f126890aSEmmanuel Vadot	partition@0 {
56*f126890aSEmmanuel Vadot		label = "nboot";
57*f126890aSEmmanuel Vadot		reg = <0x00000000 0x00200000>;
58*f126890aSEmmanuel Vadot		read-only;
59*f126890aSEmmanuel Vadot	};
60*f126890aSEmmanuel Vadot	partition@200000 {
61*f126890aSEmmanuel Vadot		label = "nenv";
62*f126890aSEmmanuel Vadot		reg = <0x00200000 0x00400000>;
63*f126890aSEmmanuel Vadot	};
64*f126890aSEmmanuel Vadot	partition@600000 {
65*f126890aSEmmanuel Vadot		label = "nsystem";
66*f126890aSEmmanuel Vadot		reg = <0x00600000 0x00a00000>;
67*f126890aSEmmanuel Vadot	};
68*f126890aSEmmanuel Vadot	partition@1000000 {
69*f126890aSEmmanuel Vadot		label = "nrootfs";
70*f126890aSEmmanuel Vadot		reg = <0x01000000 0x07000000>;
71*f126890aSEmmanuel Vadot	};
72*f126890aSEmmanuel Vadot};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot&spi_nor {
75*f126890aSEmmanuel Vadot	status = "okay";
76*f126890aSEmmanuel Vadot	spi-max-frequency = <62500000>;
77*f126890aSEmmanuel Vadot	m25p,default-addr-width = <3>;
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot	#address-cells = <1>;
80*f126890aSEmmanuel Vadot	#size-cells = <1>;
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot	partition@0 {
83*f126890aSEmmanuel Vadot		label = "boot";
84*f126890aSEmmanuel Vadot		reg = <0x00000000 0x000d0000>;
85*f126890aSEmmanuel Vadot	};
86*f126890aSEmmanuel Vadot	partition@d000 {
87*f126890aSEmmanuel Vadot		label = "env";
88*f126890aSEmmanuel Vadot		reg = <0x000d0000 0x00030000>;
89*f126890aSEmmanuel Vadot	};
90*f126890aSEmmanuel Vadot	partition@100000 {
91*f126890aSEmmanuel Vadot		label = "system";
92*f126890aSEmmanuel Vadot		reg = <0x00100000 0x00600000>;
93*f126890aSEmmanuel Vadot	};
94*f126890aSEmmanuel Vadot	partition@700000 {
95*f126890aSEmmanuel Vadot		label = "rootfs";
96*f126890aSEmmanuel Vadot		reg = <0x00700000 0x00900000>;
97*f126890aSEmmanuel Vadot	};
98*f126890aSEmmanuel Vadot};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot&usb3_phy {
101*f126890aSEmmanuel Vadot	status = "okay";
102*f126890aSEmmanuel Vadot};
103