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