blob: 442002597063516f0fa060b3886ac5d11d802e89 [file] [log] [blame]
Jon Masona7dd6232016-05-05 19:29:32 -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"
Jon Masonb1aaf882016-08-03 14:39:00 -040036#include <dt-bindings/gpio/gpio.h>
Jon Masona7dd6232016-05-05 19:29:32 -040037
38/ {
39 model = "NorthStar Plus SVK (BCM958625HR)";
40 compatible = "brcm,bcm58625", "brcm,nsp";
41
42 aliases {
43 serial0 = &uart0;
44 };
45
46 chosen {
47 stdout-path = "serial0:115200n8";
48 };
Florian Fainelli9a4865d2016-06-28 18:04:21 -070049
50 memory {
Jon Masonc53beb42016-07-14 16:14:17 -040051 device_type = "memory";
52 reg = <0x60000000 0x80000000>;
Florian Fainelli9a4865d2016-06-28 18:04:21 -070053 };
Jon Masonb1aaf882016-08-03 14:39:00 -040054
55 gpio-restart {
56 compatible = "gpio-restart";
57 gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
58 priority = <200>;
59 };
Jon Masona7dd6232016-05-05 19:29:32 -040060};
61
62&nand {
63 nandcs@0 {
64 compatible = "brcm,nandcs";
65 reg = <0>;
66 nand-on-flash-bbt;
67
68 #address-cells = <1>;
69 #size-cells = <1>;
70
71 nand-ecc-strength = <24>;
72 nand-ecc-step-size = <1024>;
73
74 brcm,nand-oob-sector-size = <27>;
75
76 partition@0 {
77 label = "nboot";
78 reg = <0x00000000 0x00200000>;
79 read-only;
80 };
81 partition@200000 {
82 label = "nenv";
83 reg = <0x00200000 0x00400000>;
84 };
85 partition@600000 {
86 label = "nsystem";
87 reg = <0x00600000 0x00a00000>;
88 };
89 partition@1000000 {
90 label = "nrootfs";
91 reg = <0x01000000 0x03000000>;
92 };
93 partition@4000000 {
94 label = "ncustfs";
95 reg = <0x04000000 0x3c000000>;
96 };
97 };
98};
99
100&uart0 {
101 status = "okay";
102};
103
104&pcie0 {
105 status = "okay";
106};
107
108&pcie1 {
109 status = "okay";
110};
111
112&pinctrl {
113 pinctrl-names = "default";
114 pinctrl-0 = <&nand_sel>;
115 nand_sel: nand_sel {
116 function = "nand";
117 groups = "nand_grp";
118 };
119};
Florian Fainelli1bc1d822016-07-08 11:49:29 -0700120
121&amac0 {
122 status = "okay";
123};
124
125&srab {
126 compatible = "brcm,bcm58625-srab", "brcm,nsp-srab";
127 status = "okay";
128
129 ports {
130 #address-cells = <1>;
131 #size-cells = <0>;
132
133 port@0 {
134 label = "port0";
135 reg = <0>;
136 };
137
138 port@1 {
139 label = "port1";
140 reg = <1>;
141 };
142
143 port@2 {
144 label = "port2";
145 reg = <2>;
146 };
147
148 port@3 {
149 label = "port3";
150 reg = <3>;
151 };
152
153 port@4 {
154 label = "port4";
155 reg = <4>;
156 };
157
158 port@5 {
159 ethernet = <&amac0>;
160 label = "cpu";
161 reg = <5>;
162 fixed-link {
163 speed = <1000>;
164 full-duplex;
165 };
166 };
167 };
168};
Jon Mason70725d62016-08-03 14:38:56 -0400169
170&sata_phy0 {
171 status = "okay";
172};
173
174&sata_phy1 {
175 status = "okay";
176};
177
178&sata {
179 status = "okay";
180};