blob: ec19fbf928a142db6d9e853fee7e98f1e31d66b2 [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
Jon Masondddc3c92016-11-04 01:11:02 -040059&enet {
Jon Mason231b3622017-03-06 11:29:04 -050060 status = "okay";
Jon Masondddc3c92016-11-04 01:11:02 -040061};
62
Pramod Kumar5f1a0672016-06-10 11:03:48 +053063&pci_phy0 {
Jon Mason231b3622017-03-06 11:29:04 -050064 status = "okay";
Pramod Kumar5f1a0672016-06-10 11:03:48 +053065};
66
67&pci_phy1 {
Jon Mason231b3622017-03-06 11:29:04 -050068 status = "okay";
Pramod Kumar5f1a0672016-06-10 11:03:48 +053069};
70
Ray Juifd5e5dd2016-02-10 11:40:51 +053071&pcie0 {
Jon Mason231b3622017-03-06 11:29:04 -050072 status = "okay";
Ray Juifd5e5dd2016-02-10 11:40:51 +053073};
74
75&pcie4 {
Jon Mason231b3622017-03-06 11:29:04 -050076 status = "okay";
Ray Juifd5e5dd2016-02-10 11:40:51 +053077};
78
Jon Mason2f5cb592016-11-28 14:31:31 -050079&pcie8 {
Jon Mason231b3622017-03-06 11:29:04 -050080 status = "okay";
Jon Mason2f5cb592016-11-28 14:31:31 -050081};
82
Anup Patelc6fe9a22015-10-30 12:29:21 +053083&i2c0 {
Jon Mason231b3622017-03-06 11:29:04 -050084 status = "okay";
Anup Patelc6fe9a22015-10-30 12:29:21 +053085};
Ray Jui7ac674e2015-10-02 23:24:23 +053086
Anup Patelc6fe9a22015-10-30 12:29:21 +053087&i2c1 {
Jon Mason231b3622017-03-06 11:29:04 -050088 status = "okay";
Anup Patelc6fe9a22015-10-30 12:29:21 +053089};
Ray Jui7ac674e2015-10-02 23:24:23 +053090
Jon Mason1e0fdee2016-05-11 18:56:08 -040091&uart0 {
Jon Mason231b3622017-03-06 11:29:04 -050092 status = "okay";
Jon Mason1e0fdee2016-05-11 18:56:08 -040093};
94
95&uart1 {
Jon Mason231b3622017-03-06 11:29:04 -050096 status = "okay";
Jon Mason1e0fdee2016-05-11 18:56:08 -040097};
98
99&uart2 {
Jon Mason231b3622017-03-06 11:29:04 -0500100 status = "okay";
Jon Mason1e0fdee2016-05-11 18:56:08 -0400101};
102
Anup Patelc6fe9a22015-10-30 12:29:21 +0530103&uart3 {
Jon Mason231b3622017-03-06 11:29:04 -0500104 status = "okay";
Anup Patelc6fe9a22015-10-30 12:29:21 +0530105};
106
Anup Pateld69dbd92016-03-29 12:57:34 +0530107&ssp0 {
Jon Mason231b3622017-03-06 11:29:04 -0500108 status = "okay";
Anup Pateld69dbd92016-03-29 12:57:34 +0530109
110 slic@0 {
111 compatible = "silabs,si3226x";
112 reg = <0>;
113 spi-max-frequency = <5000000>;
114 spi-cpha = <1>;
115 spi-cpol = <1>;
116 pl022,hierarchy = <0>;
117 pl022,interface = <0>;
118 pl022,slave-tx-disable = <0>;
119 pl022,com-mode = <0>;
120 pl022,rx-level-trig = <1>;
121 pl022,tx-level-trig = <1>;
122 pl022,ctrl-len = <11>;
123 pl022,wait-state = <0>;
124 pl022,duplex = <0>;
125 };
126};
127
128&ssp1 {
Jon Mason231b3622017-03-06 11:29:04 -0500129 status = "okay";
Anup Pateld69dbd92016-03-29 12:57:34 +0530130
131 at25@0 {
132 compatible = "atmel,at25";
133 reg = <0>;
134 spi-max-frequency = <5000000>;
135 at25,byte-len = <0x8000>;
136 at25,addr-mode = <2>;
137 at25,page-size = <64>;
138 spi-cpha = <1>;
139 spi-cpol = <1>;
140 pl022,hierarchy = <0>;
141 pl022,interface = <0>;
142 pl022,slave-tx-disable = <0>;
143 pl022,com-mode = <0>;
144 pl022,rx-level-trig = <1>;
145 pl022,tx-level-trig = <1>;
146 pl022,ctrl-len = <11>;
147 pl022,wait-state = <0>;
148 pl022,duplex = <0>;
149 };
150};
151
Anup Patelac9aae02016-03-28 10:18:30 +0530152&sata_phy0 {
Jon Mason231b3622017-03-06 11:29:04 -0500153 status = "okay";
Anup Patelac9aae02016-03-28 10:18:30 +0530154};
155
156&sata_phy1 {
Jon Mason231b3622017-03-06 11:29:04 -0500157 status = "okay";
Anup Patelac9aae02016-03-28 10:18:30 +0530158};
159
160&sata {
Jon Mason231b3622017-03-06 11:29:04 -0500161 status = "okay";
Anup Patelac9aae02016-03-28 10:18:30 +0530162};
163
Anup Patelefc87762016-02-10 11:40:47 +0530164&sdio0 {
Jon Mason231b3622017-03-06 11:29:04 -0500165 status = "okay";
Anup Patelefc87762016-02-10 11:40:47 +0530166};
167
Jon Masonebcc47a2016-11-17 18:25:02 -0500168&sdio1 {
Jon Mason231b3622017-03-06 11:29:04 -0500169 status = "okay";
Jon Masonebcc47a2016-11-17 18:25:02 -0500170};
171
Anup Patelc6fe9a22015-10-30 12:29:21 +0530172&nand {
173 nandcs@0 {
174 compatible = "brcm,nandcs";
175 reg = <0>;
176 nand-ecc-mode = "hw";
177 nand-ecc-strength = <8>;
178 nand-ecc-step-size = <512>;
Ray Jui963d7902016-07-20 14:53:51 -0700179 nand-bus-width = <16>;
180 brcm,nand-oob-sector-size = <16>;
Anup Patelc6fe9a22015-10-30 12:29:21 +0530181 #address-cells = <1>;
182 #size-cells = <1>;
Ray Jui6aad8bf2015-07-27 15:42:21 -0700183 };
184};
Pramod Kumar5f1a0672016-06-10 11:03:48 +0530185
186&mdio_mux_iproc {
187 mdio@10 {
188 gphy0: eth-phy@10 {
Jon Masondddc3c92016-11-04 01:11:02 -0400189 enet-phy-lane-swap;
Pramod Kumar5f1a0672016-06-10 11:03:48 +0530190 reg = <0x10>;
191 };
192 };
193};
Linus Torvaldsed780682016-08-01 18:47:01 -0400194
Yendapally Reddy Dhananjaya Reddy97b15042016-04-29 08:51:39 -0400195&pinctrl {
196 pinctrl-names = "default";
197 pinctrl-0 = <&nand_sel>;
198 nand_sel: nand_sel {
199 function = "nand";
200 groups = "nand_grp";
201 };
202};
Kamal Dasuff739172016-08-24 18:04:28 -0400203
204&qspi {
205 bspi-sel = <0>;
206 flash: m25p80@0 {
207 #address-cells = <1>;
208 #size-cells = <1>;
209 compatible = "m25p80";
210 reg = <0x0>;
211 spi-max-frequency = <12500000>;
212 m25p,fast-read;
213 spi-cpol;
214 spi-cpha;
215
216 partition@0 {
217 label = "boot";
218 reg = <0x00000000 0x000a0000>;
219 };
220
221 partition@a0000 {
222 label = "env";
223 reg = <0x000a0000 0x00060000>;
224 };
225
226 partition@100000 {
227 label = "system";
228 reg = <0x00100000 0x00600000>;
229 };
230
231 partition@700000 {
232 label = "rootfs";
233 reg = <0x00700000 0x01900000>;
234 };
235 };
236};