]> git.ipfire.org Git - thirdparty/linux.git/blob - arch/arm/boot/dts/bcm958623hr.dts
ASoC: sirf: Added blank line after declarations
[thirdparty/linux.git] / arch / arm / boot / dts / bcm958623hr.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 (BCM958623HR)";
40 compatible = "brcm,bcm58623", "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 and SLIC 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 &sata_phy0 {
132 status = "okay";
133 };
134
135 &sata {
136 status = "okay";
137 };
138
139 &qspi {
140 bspi-sel = <0>;
141 flash: m25p80@0 {
142 #address-cells = <1>;
143 #size-cells = <1>;
144 compatible = "m25p80";
145 reg = <0x0>;
146 spi-max-frequency = <12500000>;
147 m25p,fast-read;
148 spi-cpol;
149 spi-cpha;
150
151 partition@0 {
152 label = "boot";
153 reg = <0x00000000 0x000a0000>;
154 };
155
156 partition@a0000 {
157 label = "env";
158 reg = <0x000a0000 0x00060000>;
159 };
160
161 partition@100000 {
162 label = "system";
163 reg = <0x00100000 0x00600000>;
164 };
165
166 partition@700000 {
167 label = "rootfs";
168 reg = <0x00700000 0x01900000>;
169 };
170 };
171 };
172
173 &srab {
174 compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
175 status = "okay";
176
177 ports {
178 #address-cells = <1>;
179 #size-cells = <0>;
180
181 port@0 {
182 label = "port0";
183 reg = <0>;
184 };
185
186 port@1 {
187 label = "port1";
188 reg = <1>;
189 };
190
191 port@2 {
192 label = "port2";
193 reg = <2>;
194 };
195
196 port@3 {
197 label = "port3";
198 reg = <3>;
199 };
200
201 port@4 {
202 label = "port4";
203 reg = <4>;
204 };
205
206 port@5 {
207 ethernet = <&amac0>;
208 label = "cpu";
209 reg = <5>;
210 fixed-link {
211 speed = <1000>;
212 full-duplex;
213 };
214 };
215 };
216 };
217
218 &uart0 {
219 status = "okay";
220 };