]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm64/boot/dts/broadcom/ns2-svk.dts
de8d379f44e2e490383d0f6059306b648320a149
[mirror_ubuntu-artful-kernel.git] / arch / arm64 / boot / dts / broadcom / ns2-svk.dts
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 "ns2.dtsi"
36
37 / {
38 model = "Broadcom NS2 SVK";
39 compatible = "brcm,ns2-svk", "brcm,ns2";
40
41 aliases {
42 serial0 = &uart3;
43 serial1 = &uart0;
44 serial2 = &uart1;
45 serial3 = &uart2;
46 };
47
48 chosen {
49 stdout-path = "serial0:115200n8";
50 bootargs = "earlycon=uart8250,mmio32,0x66130000";
51 };
52
53 memory {
54 device_type = "memory";
55 reg = <0x000000000 0x80000000 0x00000000 0x40000000>;
56 };
57 };
58
59 &enet {
60 status = "ok";
61 };
62
63 &pci_phy0 {
64 status = "ok";
65 };
66
67 &pci_phy1 {
68 status = "ok";
69 };
70
71 &pcie0 {
72 status = "ok";
73 };
74
75 &pcie4 {
76 status = "ok";
77 };
78
79 &i2c0 {
80 status = "ok";
81 };
82
83 &i2c1 {
84 status = "ok";
85 };
86
87 &uart0 {
88 status = "ok";
89 };
90
91 &uart1 {
92 status = "ok";
93 };
94
95 &uart2 {
96 status = "ok";
97 };
98
99 &uart3 {
100 status = "ok";
101 };
102
103 &ssp0 {
104 status = "ok";
105
106 slic@0 {
107 compatible = "silabs,si3226x";
108 reg = <0>;
109 spi-max-frequency = <5000000>;
110 spi-cpha = <1>;
111 spi-cpol = <1>;
112 pl022,hierarchy = <0>;
113 pl022,interface = <0>;
114 pl022,slave-tx-disable = <0>;
115 pl022,com-mode = <0>;
116 pl022,rx-level-trig = <1>;
117 pl022,tx-level-trig = <1>;
118 pl022,ctrl-len = <11>;
119 pl022,wait-state = <0>;
120 pl022,duplex = <0>;
121 };
122 };
123
124 &ssp1 {
125 status = "ok";
126
127 at25@0 {
128 compatible = "atmel,at25";
129 reg = <0>;
130 spi-max-frequency = <5000000>;
131 at25,byte-len = <0x8000>;
132 at25,addr-mode = <2>;
133 at25,page-size = <64>;
134 spi-cpha = <1>;
135 spi-cpol = <1>;
136 pl022,hierarchy = <0>;
137 pl022,interface = <0>;
138 pl022,slave-tx-disable = <0>;
139 pl022,com-mode = <0>;
140 pl022,rx-level-trig = <1>;
141 pl022,tx-level-trig = <1>;
142 pl022,ctrl-len = <11>;
143 pl022,wait-state = <0>;
144 pl022,duplex = <0>;
145 };
146 };
147
148 &sata_phy0 {
149 status = "ok";
150 };
151
152 &sata_phy1 {
153 status = "ok";
154 };
155
156 &sata {
157 status = "ok";
158 };
159
160 &sdio0 {
161 status = "ok";
162 };
163
164 &sdio1 {
165 status = "ok";
166 };
167
168 &nand {
169 nandcs@0 {
170 compatible = "brcm,nandcs";
171 reg = <0>;
172 nand-ecc-mode = "hw";
173 nand-ecc-strength = <8>;
174 nand-ecc-step-size = <512>;
175 nand-bus-width = <16>;
176 brcm,nand-oob-sector-size = <16>;
177 #address-cells = <1>;
178 #size-cells = <1>;
179 };
180 };
181
182 &mdio_mux_iproc {
183 mdio@10 {
184 gphy0: eth-phy@10 {
185 enet-phy-lane-swap;
186 reg = <0x10>;
187 };
188 };
189 };
190
191 &pinctrl {
192 pinctrl-names = "default";
193 pinctrl-0 = <&nand_sel>;
194 nand_sel: nand_sel {
195 function = "nand";
196 groups = "nand_grp";
197 };
198 };
199
200 &qspi {
201 bspi-sel = <0>;
202 flash: m25p80@0 {
203 #address-cells = <1>;
204 #size-cells = <1>;
205 compatible = "m25p80";
206 reg = <0x0>;
207 spi-max-frequency = <12500000>;
208 m25p,fast-read;
209 spi-cpol;
210 spi-cpha;
211
212 partition@0 {
213 label = "boot";
214 reg = <0x00000000 0x000a0000>;
215 };
216
217 partition@a0000 {
218 label = "env";
219 reg = <0x000a0000 0x00060000>;
220 };
221
222 partition@100000 {
223 label = "system";
224 reg = <0x00100000 0x00600000>;
225 };
226
227 partition@700000 {
228 label = "rootfs";
229 reg = <0x00700000 0x01900000>;
230 };
231 };
232 };