• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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,brcm53012", "brcm,bcm4708";
40
41	aliases {
42		serial0 = &uart0;
43		serial1 = &uart1;
44	};
45
46	memory {
47		reg = <0x80000000 0x10000000>;
48	};
49};
50
51&nand {
52	nandcs@0 {
53		compatible = "brcm,nandcs";
54		reg = <0>;
55		nand-on-flash-bbt;
56
57		#address-cells = <1>;
58		#size-cells = <1>;
59
60		nand-ecc-strength = <4>;
61		nand-ecc-step-size = <512>;
62
63		partition@0 {
64			label = "nboot";
65			reg = <0x00000000 0x00200000>;
66			read-only;
67		};
68		partition@200000 {
69			label = "nenv";
70			reg = <0x00200000 0x00400000>;
71		};
72		partition@600000 {
73			label = "nsystem";
74			reg = <0x00600000 0x00a00000>;
75		};
76		partition@1000000 {
77			label = "nrootfs";
78			reg = <0x01000000 0x07000000>;
79		};
80	};
81};
82
83&spi_nor {
84	status = "okay";
85	spi-max-frequency = <62500000>;
86	m25p,default-addr-width = <3>;
87
88	#address-cells = <1>;
89	#size-cells = <1>;
90
91	partition@0 {
92		label = "boot";
93		reg = <0x00000000 0x000d0000>;
94	};
95	partition@d000 {
96		label = "env";
97		reg = <0x000d0000 0x00030000>;
98	};
99	partition@100000 {
100		label = "system";
101		reg = <0x00100000 0x00600000>;
102	};
103	partition@700000 {
104		label = "rootfs";
105		reg = <0x00700000 0x00900000>;
106	};
107};
108
109&uart0 {
110	status = "okay";
111};
112
113&uart1 {
114	status = "okay";
115};
116