]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/bcm958522er.dts
ASoC: wm_adsp: add support for DSP region lock
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / bcm958522er.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 (BCM958522ER)";
40 compatible = "brcm,bcm58522", "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 &nand {
73 nandcs@0 {
74 compatible = "brcm,nandcs";
75 reg = <0>;
76 nand-on-flash-bbt;
77
78 #address-cells = <1>;
79 #size-cells = <1>;
80
81 nand-ecc-strength = <24>;
82 nand-ecc-step-size = <1024>;
83
84 brcm,nand-oob-sector-size = <27>;
85
86 partition@0 {
87 label = "nboot";
88 reg = <0x00000000 0x00200000>;
89 read-only;
90 };
91 partition@200000 {
92 label = "nenv";
93 reg = <0x00200000 0x00400000>;
94 };
95 partition@600000 {
96 label = "nsystem";
97 reg = <0x00600000 0x00a00000>;
98 };
99 partition@1000000 {
100 label = "nrootfs";
101 reg = <0x01000000 0x03000000>;
102 };
103 partition@4000000 {
104 label = "ncustfs";
105 reg = <0x04000000 0x3c000000>;
106 };
107 };
108 };
109
110 &pcie0 {
111 status = "okay";
112 };
113
114 &pcie1 {
115 status = "okay";
116 };
117
118 &pinctrl {
119 pinctrl-names = "default";
120 pinctrl-0 = <&nand_sel>;
121 nand_sel: nand_sel {
122 function = "nand";
123 groups = "nand_grp";
124 };
125 };
126
127 &qspi {
128 bspi-sel = <0>;
129 flash: m25p80@0 {
130 #address-cells = <1>;
131 #size-cells = <1>;
132 compatible = "m25p80";
133 reg = <0x0>;
134 spi-max-frequency = <12500000>;
135 m25p,fast-read;
136 spi-cpol;
137 spi-cpha;
138
139 partition@0 {
140 label = "boot";
141 reg = <0x00000000 0x000a0000>;
142 };
143
144 partition@a0000 {
145 label = "env";
146 reg = <0x000a0000 0x00060000>;
147 };
148
149 partition@100000 {
150 label = "system";
151 reg = <0x00100000 0x00600000>;
152 };
153
154 partition@700000 {
155 label = "rootfs";
156 reg = <0x00700000 0x01900000>;
157 };
158 };
159 };
160
161 &uart0 {
162 status = "okay";
163 };