blob: d257e83dedfcb292672661f4a73c29e5e241884e [file] [log] [blame]
Jon Mason707bbc42016-06-07 18:28:06 -04001/*
2 * BSD LICENSE
3 *
4 * Copyright(c) 2016 Broadcom. 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 "bcm-nsp.dtsi"
36
37/ {
38 model = "NorthStar Plus XMC (BCM958525xmc)";
39 compatible = "brcm,bcm58525", "brcm,nsp";
40
41 aliases {
42 serial0 = &uart0;
43 };
44
45 chosen {
46 stdout-path = "serial0:115200n8";
47 };
48};
49
50&nand {
51 nandcs@0 {
52 compatible = "brcm,nandcs";
53 reg = <0>;
54 nand-on-flash-bbt;
55
56 #address-cells = <1>;
57 #size-cells = <1>;
58
59 nand-ecc-strength = <24>;
60 nand-ecc-step-size = <1024>;
61
62 brcm,nand-oob-sector-size = <27>;
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 0x03000000>;
80 };
81 partition@4000000 {
82 label = "ncustfs";
83 reg = <0x04000000 0x3c000000>;
84 };
85 };
86};
87
88/* XHCI, SATA, MMC, and Ethernet support needed to be complete */
89
90&uart0 {
91 status = "okay";
92};
93
94&pcie0 {
95 status = "okay";
96};
97
98&pcie1 {
99 status = "okay";
100};
101
102&pinctrl {
103 pinctrl-names = "default";
104 pinctrl-0 = <&nand_sel>;
105 nand_sel: nand_sel {
106 function = "nand";
107 groups = "nand_grp";
108 };
109};