]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/bcm988312hr.dts
ASoC: wm_adsp: add support for DSP region lock
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / bcm988312hr.dts
1 /*
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 #include <dt-bindings/gpio/gpio.h>
37
38 / {
39 model = "NorthStar Plus SVK (BCM988312HR)";
40 compatible = "brcm,bcm88312", "brcm,nsp";
41
42 aliases {
43 serial0 = &uart0;
44 };
45
46 chosen {
47 stdout-path = "serial0:115200n8";
48 };
49
50 memory {
51 device_type = "memory";
52 reg = <0x60000000 0x80000000>;
53 };
54
55 gpio-restart {
56 compatible = "gpio-restart";
57 gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
58 priority = <200>;
59 };
60 };
61
62 /* USB 2/3 support needed to be complete */
63
64 &amac0 {
65 status = "okay";
66 };
67
68 &amac1 {
69 status = "okay";
70 };
71
72 &amac2 {
73 status = "okay";
74 };
75
76 &nand {
77 nandcs@0 {
78 compatible = "brcm,nandcs";
79 reg = <0>;
80 nand-on-flash-bbt;
81
82 #address-cells = <1>;
83 #size-cells = <1>;
84
85 nand-ecc-strength = <24>;
86 nand-ecc-step-size = <1024>;
87
88 brcm,nand-oob-sector-size = <27>;
89
90 partition@0 {
91 label = "nboot";
92 reg = <0x00000000 0x00200000>;
93 read-only;
94 };
95 partition@200000 {
96 label = "nenv";
97 reg = <0x00200000 0x00400000>;
98 };
99 partition@600000 {
100 label = "nsystem";
101 reg = <0x00600000 0x00a00000>;
102 };
103 partition@1000000 {
104 label = "nrootfs";
105 reg = <0x01000000 0x03000000>;
106 };
107 partition@4000000 {
108 label = "ncustfs";
109 reg = <0x04000000 0x3c000000>;
110 };
111 };
112 };
113
114 &pcie0 {
115 status = "okay";
116 };
117
118 &pcie1 {
119 status = "okay";
120 };
121
122 &pinctrl {
123 pinctrl-names = "default";
124 pinctrl-0 = <&nand_sel>;
125 nand_sel: nand_sel {
126 function = "nand";
127 groups = "nand_grp";
128 };
129 };
130
131 &qspi {
132 bspi-sel = <0>;
133 flash: m25p80@0 {
134 #address-cells = <1>;
135 #size-cells = <1>;
136 compatible = "m25p80";
137 reg = <0x0>;
138 spi-max-frequency = <12500000>;
139 m25p,fast-read;
140 spi-cpol;
141 spi-cpha;
142
143 partition@0 {
144 label = "boot";
145 reg = <0x00000000 0x000a0000>;
146 };
147
148 partition@a0000 {
149 label = "env";
150 reg = <0x000a0000 0x00060000>;
151 };
152
153 partition@100000 {
154 label = "system";
155 reg = <0x00100000 0x00600000>;
156 };
157
158 partition@700000 {
159 label = "rootfs";
160 reg = <0x00700000 0x01900000>;
161 };
162 };
163 };
164
165 &sata_phy0 {
166 status = "okay";
167 };
168
169 &sata_phy1 {
170 status = "okay";
171 };
172
173 &sata {
174 status = "okay";
175 };
176
177 &srab {
178 compatible = "brcm,bcm88312-srab", "brcm,nsp-srab";
179 status = "okay";
180
181 ports {
182 #address-cells = <1>;
183 #size-cells = <0>;
184
185 port@0 {
186 label = "port0";
187 reg = <0>;
188 };
189
190 port@1 {
191 label = "port1";
192 reg = <1>;
193 };
194
195 port@2 {
196 label = "port2";
197 reg = <2>;
198 };
199
200 port@3 {
201 label = "port3";
202 reg = <3>;
203 };
204
205 port@4 {
206 label = "port4";
207 reg = <4>;
208 };
209
210 port@5 {
211 ethernet = <&amac0>;
212 label = "cpu";
213 reg = <5>;
214 fixed-link {
215 speed = <1000>;
216 full-duplex;
217 };
218 };
219 };
220 };
221
222 &uart0 {
223 status = "okay";
224 };