]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/boot/dts/bcm958625hr.dts
ARM: dts: NSP: DT Clean-ups
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / bcm958625hr.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 (BCM958625HR)";
40 compatible = "brcm,bcm58625", "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 &amac0 {
63 status = "okay";
64 };
65
66 &nand {
67 nandcs@0 {
68 compatible = "brcm,nandcs";
69 reg = <0>;
70 nand-on-flash-bbt;
71
72 #address-cells = <1>;
73 #size-cells = <1>;
74
75 nand-ecc-strength = <24>;
76 nand-ecc-step-size = <1024>;
77
78 brcm,nand-oob-sector-size = <27>;
79
80 partition@0 {
81 label = "nboot";
82 reg = <0x00000000 0x00200000>;
83 read-only;
84 };
85 partition@200000 {
86 label = "nenv";
87 reg = <0x00200000 0x00400000>;
88 };
89 partition@600000 {
90 label = "nsystem";
91 reg = <0x00600000 0x00a00000>;
92 };
93 partition@1000000 {
94 label = "nrootfs";
95 reg = <0x01000000 0x03000000>;
96 };
97 partition@4000000 {
98 label = "ncustfs";
99 reg = <0x04000000 0x3c000000>;
100 };
101 };
102 };
103
104 &pcie0 {
105 status = "okay";
106 };
107
108 &pcie1 {
109 status = "okay";
110 };
111
112 &pinctrl {
113 pinctrl-names = "default";
114 pinctrl-0 = <&nand_sel>;
115 nand_sel: nand_sel {
116 function = "nand";
117 groups = "nand_grp";
118 };
119 };
120
121 &sata_phy0 {
122 status = "okay";
123 };
124
125 &sata_phy1 {
126 status = "okay";
127 };
128
129 &sata {
130 status = "okay";
131 };
132
133 &srab {
134 compatible = "brcm,bcm58625-srab", "brcm,nsp-srab";
135 status = "okay";
136
137 ports {
138 #address-cells = <1>;
139 #size-cells = <0>;
140
141 port@0 {
142 label = "port0";
143 reg = <0>;
144 };
145
146 port@1 {
147 label = "port1";
148 reg = <1>;
149 };
150
151 port@2 {
152 label = "port2";
153 reg = <2>;
154 };
155
156 port@3 {
157 label = "port3";
158 reg = <3>;
159 };
160
161 port@4 {
162 label = "port4";
163 reg = <4>;
164 };
165
166 port@5 {
167 ethernet = <&amac0>;
168 label = "cpu";
169 reg = <5>;
170 fixed-link {
171 speed = <1000>;
172 full-duplex;
173 };
174 };
175 };
176 };
177
178 &uart0 {
179 status = "okay";
180 };