xref: /linux/arch/arm/boot/dts/broadcom/bcm958623hr.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring/*
2*724ba675SRob Herring *  BSD LICENSE
3*724ba675SRob Herring *
4*724ba675SRob Herring *  Copyright(c) 2016 Broadcom.  All rights reserved.
5*724ba675SRob Herring *
6*724ba675SRob Herring *  Redistribution and use in source and binary forms, with or without
7*724ba675SRob Herring *  modification, are permitted provided that the following conditions
8*724ba675SRob Herring *  are met:
9*724ba675SRob Herring *
10*724ba675SRob Herring *    * Redistributions of source code must retain the above copyright
11*724ba675SRob Herring *      notice, this list of conditions and the following disclaimer.
12*724ba675SRob Herring *    * Redistributions in binary form must reproduce the above copyright
13*724ba675SRob Herring *      notice, this list of conditions and the following disclaimer in
14*724ba675SRob Herring *      the documentation and/or other materials provided with the
15*724ba675SRob Herring *      distribution.
16*724ba675SRob Herring *    * Neither the name of Broadcom Corporation nor the names of its
17*724ba675SRob Herring *      contributors may be used to endorse or promote products derived
18*724ba675SRob Herring *      from this software without specific prior written permission.
19*724ba675SRob Herring *
20*724ba675SRob Herring *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21*724ba675SRob Herring *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*724ba675SRob Herring *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23*724ba675SRob Herring *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24*724ba675SRob Herring *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25*724ba675SRob Herring *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26*724ba675SRob Herring *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27*724ba675SRob Herring *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28*724ba675SRob Herring *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29*724ba675SRob Herring *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30*724ba675SRob Herring *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*724ba675SRob Herring */
32*724ba675SRob Herring
33*724ba675SRob Herring/dts-v1/;
34*724ba675SRob Herring
35*724ba675SRob Herring#include "bcm-nsp.dtsi"
36*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
37*724ba675SRob Herring
38*724ba675SRob Herring/ {
39*724ba675SRob Herring	model = "NorthStar Plus SVK (BCM958623HR)";
40*724ba675SRob Herring	compatible = "brcm,bcm958623hr", "brcm,bcm58623", "brcm,nsp";
41*724ba675SRob Herring
42*724ba675SRob Herring	chosen {
43*724ba675SRob Herring		stdout-path = "serial0:115200n8";
44*724ba675SRob Herring	};
45*724ba675SRob Herring
46*724ba675SRob Herring	memory@60000000 {
47*724ba675SRob Herring		device_type = "memory";
48*724ba675SRob Herring		reg = <0x60000000 0x80000000>;
49*724ba675SRob Herring	};
50*724ba675SRob Herring
51*724ba675SRob Herring	gpio-restart {
52*724ba675SRob Herring		compatible = "gpio-restart";
53*724ba675SRob Herring		gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
54*724ba675SRob Herring		open-source;
55*724ba675SRob Herring		priority = <200>;
56*724ba675SRob Herring	};
57*724ba675SRob Herring};
58*724ba675SRob Herring
59*724ba675SRob Herring/* USB 3 and SLIC support needed to be complete */
60*724ba675SRob Herring
61*724ba675SRob Herring&dma {
62*724ba675SRob Herring	status = "okay";
63*724ba675SRob Herring};
64*724ba675SRob Herring
65*724ba675SRob Herring&amac0 {
66*724ba675SRob Herring	status = "okay";
67*724ba675SRob Herring};
68*724ba675SRob Herring
69*724ba675SRob Herring&amac1 {
70*724ba675SRob Herring	status = "okay";
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&amac2 {
74*724ba675SRob Herring	status = "okay";
75*724ba675SRob Herring};
76*724ba675SRob Herring
77*724ba675SRob Herring&ehci0 {
78*724ba675SRob Herring	status = "okay";
79*724ba675SRob Herring};
80*724ba675SRob Herring
81*724ba675SRob Herring&nand_controller {
82*724ba675SRob Herring	nand@0 {
83*724ba675SRob Herring		compatible = "brcm,nandcs";
84*724ba675SRob Herring		reg = <0>;
85*724ba675SRob Herring		nand-on-flash-bbt;
86*724ba675SRob Herring
87*724ba675SRob Herring		#address-cells = <1>;
88*724ba675SRob Herring		#size-cells = <1>;
89*724ba675SRob Herring
90*724ba675SRob Herring		nand-ecc-strength = <24>;
91*724ba675SRob Herring		nand-ecc-step-size = <1024>;
92*724ba675SRob Herring
93*724ba675SRob Herring		brcm,nand-oob-sector-size = <27>;
94*724ba675SRob Herring
95*724ba675SRob Herring		partition@0 {
96*724ba675SRob Herring			label = "nboot";
97*724ba675SRob Herring			reg = <0x00000000 0x00200000>;
98*724ba675SRob Herring			read-only;
99*724ba675SRob Herring		};
100*724ba675SRob Herring		partition@200000 {
101*724ba675SRob Herring			label = "nenv";
102*724ba675SRob Herring			reg = <0x00200000 0x00400000>;
103*724ba675SRob Herring		};
104*724ba675SRob Herring		partition@600000 {
105*724ba675SRob Herring			label = "nsystem";
106*724ba675SRob Herring			reg = <0x00600000 0x00a00000>;
107*724ba675SRob Herring		};
108*724ba675SRob Herring		partition@1000000 {
109*724ba675SRob Herring			label = "nrootfs";
110*724ba675SRob Herring			reg = <0x01000000 0x03000000>;
111*724ba675SRob Herring		};
112*724ba675SRob Herring		partition@4000000 {
113*724ba675SRob Herring			label = "ncustfs";
114*724ba675SRob Herring			reg = <0x04000000 0x3c000000>;
115*724ba675SRob Herring		};
116*724ba675SRob Herring	};
117*724ba675SRob Herring};
118*724ba675SRob Herring
119*724ba675SRob Herring&ohci0 {
120*724ba675SRob Herring	status = "okay";
121*724ba675SRob Herring};
122*724ba675SRob Herring
123*724ba675SRob Herring&pcie0 {
124*724ba675SRob Herring	status = "okay";
125*724ba675SRob Herring};
126*724ba675SRob Herring
127*724ba675SRob Herring&pcie1 {
128*724ba675SRob Herring	status = "okay";
129*724ba675SRob Herring};
130*724ba675SRob Herring
131*724ba675SRob Herring&pinctrl {
132*724ba675SRob Herring	pinctrl-names = "default";
133*724ba675SRob Herring	pinctrl-0 = <&nand_sel>;
134*724ba675SRob Herring	nand_sel: nand_sel {
135*724ba675SRob Herring		function = "nand";
136*724ba675SRob Herring		groups = "nand_grp";
137*724ba675SRob Herring	};
138*724ba675SRob Herring};
139*724ba675SRob Herring
140*724ba675SRob Herring&sata_phy0 {
141*724ba675SRob Herring	status = "okay";
142*724ba675SRob Herring};
143*724ba675SRob Herring
144*724ba675SRob Herring&qspi {
145*724ba675SRob Herring	status = "okay";
146*724ba675SRob Herring	bspi-sel = <0>;
147*724ba675SRob Herring	flash: flash@0 {
148*724ba675SRob Herring		#address-cells = <1>;
149*724ba675SRob Herring		#size-cells = <1>;
150*724ba675SRob Herring		compatible = "m25p80";
151*724ba675SRob Herring		reg = <0x0>;
152*724ba675SRob Herring		spi-max-frequency = <12500000>;
153*724ba675SRob Herring		m25p,fast-read;
154*724ba675SRob Herring		spi-cpol;
155*724ba675SRob Herring		spi-cpha;
156*724ba675SRob Herring
157*724ba675SRob Herring		partition@0 {
158*724ba675SRob Herring			label = "boot";
159*724ba675SRob Herring			reg = <0x00000000 0x000a0000>;
160*724ba675SRob Herring		};
161*724ba675SRob Herring
162*724ba675SRob Herring		partition@a0000 {
163*724ba675SRob Herring			label = "env";
164*724ba675SRob Herring			reg = <0x000a0000 0x00060000>;
165*724ba675SRob Herring		};
166*724ba675SRob Herring
167*724ba675SRob Herring		partition@100000 {
168*724ba675SRob Herring			label = "system";
169*724ba675SRob Herring			reg = <0x00100000 0x00600000>;
170*724ba675SRob Herring		};
171*724ba675SRob Herring
172*724ba675SRob Herring		partition@700000 {
173*724ba675SRob Herring			label = "rootfs";
174*724ba675SRob Herring			reg = <0x00700000 0x01900000>;
175*724ba675SRob Herring		};
176*724ba675SRob Herring	};
177*724ba675SRob Herring};
178*724ba675SRob Herring
179*724ba675SRob Herring&srab {
180*724ba675SRob Herring	compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
181*724ba675SRob Herring	status = "okay";
182*724ba675SRob Herring
183*724ba675SRob Herring	ports {
184*724ba675SRob Herring		port@0 {
185*724ba675SRob Herring			label = "port0";
186*724ba675SRob Herring			reg = <0>;
187*724ba675SRob Herring		};
188*724ba675SRob Herring
189*724ba675SRob Herring		port@1 {
190*724ba675SRob Herring			label = "port1";
191*724ba675SRob Herring			reg = <1>;
192*724ba675SRob Herring		};
193*724ba675SRob Herring
194*724ba675SRob Herring		port@2 {
195*724ba675SRob Herring			label = "port2";
196*724ba675SRob Herring			reg = <2>;
197*724ba675SRob Herring		};
198*724ba675SRob Herring
199*724ba675SRob Herring		port@3 {
200*724ba675SRob Herring			label = "port3";
201*724ba675SRob Herring			reg = <3>;
202*724ba675SRob Herring		};
203*724ba675SRob Herring
204*724ba675SRob Herring		port@4 {
205*724ba675SRob Herring			label = "port4";
206*724ba675SRob Herring			reg = <4>;
207*724ba675SRob Herring		};
208*724ba675SRob Herring
209*724ba675SRob Herring		port@8 {
210*724ba675SRob Herring			ethernet = <&amac2>;
211*724ba675SRob Herring			label = "cpu";
212*724ba675SRob Herring			reg = <8>;
213*724ba675SRob Herring			fixed-link {
214*724ba675SRob Herring				speed = <1000>;
215*724ba675SRob Herring				full-duplex;
216*724ba675SRob Herring			};
217*724ba675SRob Herring		};
218*724ba675SRob Herring	};
219*724ba675SRob Herring};
220*724ba675SRob Herring
221*724ba675SRob Herring&uart0 {
222*724ba675SRob Herring	status = "okay";
223*724ba675SRob Herring};
224*724ba675SRob Herring
225*724ba675SRob Herring&usb3_phy {
226*724ba675SRob Herring	status = "okay";
227*724ba675SRob Herring};
228*724ba675SRob Herring
229*724ba675SRob Herring&xhci {
230*724ba675SRob Herring	status = "okay";
231*724ba675SRob Herring};
232