blob: 730848740f74279d21f05941ed7797784549c6fa [file] [log] [blame]
Ray Jui6aad8bf2015-07-27 15:42:21 -07001/*
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 "ns2.dtsi"
36
37/ {
38 model = "Broadcom NS2 SVK";
39 compatible = "brcm,ns2-svk", "brcm,ns2";
40
41 aliases {
42 serial0 = &uart3;
Jon Mason1e0fdee2016-05-11 18:56:08 -040043 serial1 = &uart0;
44 serial2 = &uart1;
45 serial3 = &uart2;
Ray Jui6aad8bf2015-07-27 15:42:21 -070046 };
47
48 chosen {
49 stdout-path = "serial0:115200n8";
Jon Mason1e0fdee2016-05-11 18:56:08 -040050 bootargs = "earlycon=uart8250,mmio32,0x66130000";
Ray Jui6aad8bf2015-07-27 15:42:21 -070051 };
52
53 memory {
54 device_type = "memory";
55 reg = <0x000000000 0x80000000 0x00000000 0x40000000>;
56 };
Anup Patelc6fe9a22015-10-30 12:29:21 +053057};
Ray Jui6aad8bf2015-07-27 15:42:21 -070058
Pramod Kumar5f1a0672016-06-10 11:03:48 +053059&pci_phy0 {
60 status = "ok";
61};
62
63&pci_phy1 {
64 status = "ok";
65};
66
Ray Juifd5e5dd2016-02-10 11:40:51 +053067&pcie0 {
68 status = "ok";
69};
70
71&pcie4 {
72 status = "ok";
73};
74
Anup Patelc6fe9a22015-10-30 12:29:21 +053075&i2c0 {
76 status = "ok";
77};
Ray Jui7ac674e2015-10-02 23:24:23 +053078
Anup Patelc6fe9a22015-10-30 12:29:21 +053079&i2c1 {
80 status = "ok";
81};
Ray Jui7ac674e2015-10-02 23:24:23 +053082
Jon Mason1e0fdee2016-05-11 18:56:08 -040083&uart0 {
84 status = "ok";
85};
86
87&uart1 {
88 status = "ok";
89};
90
91&uart2 {
92 status = "ok";
93};
94
Anup Patelc6fe9a22015-10-30 12:29:21 +053095&uart3 {
96 status = "ok";
97};
98
Anup Pateld69dbd92016-03-29 12:57:34 +053099&ssp0 {
100 status = "ok";
101
102 slic@0 {
103 compatible = "silabs,si3226x";
104 reg = <0>;
105 spi-max-frequency = <5000000>;
106 spi-cpha = <1>;
107 spi-cpol = <1>;
108 pl022,hierarchy = <0>;
109 pl022,interface = <0>;
110 pl022,slave-tx-disable = <0>;
111 pl022,com-mode = <0>;
112 pl022,rx-level-trig = <1>;
113 pl022,tx-level-trig = <1>;
114 pl022,ctrl-len = <11>;
115 pl022,wait-state = <0>;
116 pl022,duplex = <0>;
117 };
118};
119
120&ssp1 {
121 status = "ok";
122
123 at25@0 {
124 compatible = "atmel,at25";
125 reg = <0>;
126 spi-max-frequency = <5000000>;
127 at25,byte-len = <0x8000>;
128 at25,addr-mode = <2>;
129 at25,page-size = <64>;
130 spi-cpha = <1>;
131 spi-cpol = <1>;
132 pl022,hierarchy = <0>;
133 pl022,interface = <0>;
134 pl022,slave-tx-disable = <0>;
135 pl022,com-mode = <0>;
136 pl022,rx-level-trig = <1>;
137 pl022,tx-level-trig = <1>;
138 pl022,ctrl-len = <11>;
139 pl022,wait-state = <0>;
140 pl022,duplex = <0>;
141 };
142};
143
Anup Patelac9aae02016-03-28 10:18:30 +0530144&sata_phy0 {
145 status = "ok";
146};
147
148&sata_phy1 {
149 status = "ok";
150};
151
152&sata {
153 status = "ok";
154};
155
Anup Patelefc87762016-02-10 11:40:47 +0530156&sdio0 {
157 status = "ok";
158};
159
Anup Patelc6fe9a22015-10-30 12:29:21 +0530160&nand {
161 nandcs@0 {
162 compatible = "brcm,nandcs";
163 reg = <0>;
164 nand-ecc-mode = "hw";
165 nand-ecc-strength = <8>;
166 nand-ecc-step-size = <512>;
167 #address-cells = <1>;
168 #size-cells = <1>;
Ray Jui6aad8bf2015-07-27 15:42:21 -0700169 };
170};
Pramod Kumar5f1a0672016-06-10 11:03:48 +0530171
172&mdio_mux_iproc {
173 mdio@10 {
174 gphy0: eth-phy@10 {
175 reg = <0x10>;
176 };
177 };
178};
Linus Torvaldsed780682016-08-01 18:47:01 -0400179
Yendapally Reddy Dhananjaya Reddy97b15042016-04-29 08:51:39 -0400180&pinctrl {
181 pinctrl-names = "default";
182 pinctrl-0 = <&nand_sel>;
183 nand_sel: nand_sel {
184 function = "nand";
185 groups = "nand_grp";
186 };
187};
Kamal Dasuff739172016-08-24 18:04:28 -0400188
189&qspi {
190 bspi-sel = <0>;
191 flash: m25p80@0 {
192 #address-cells = <1>;
193 #size-cells = <1>;
194 compatible = "m25p80";
195 reg = <0x0>;
196 spi-max-frequency = <12500000>;
197 m25p,fast-read;
198 spi-cpol;
199 spi-cpha;
200
201 partition@0 {
202 label = "boot";
203 reg = <0x00000000 0x000a0000>;
204 };
205
206 partition@a0000 {
207 label = "env";
208 reg = <0x000a0000 0x00060000>;
209 };
210
211 partition@100000 {
212 label = "system";
213 reg = <0x00100000 0x00600000>;
214 };
215
216 partition@700000 {
217 label = "rootfs";
218 reg = <0x00700000 0x01900000>;
219 };
220 };
221};