]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/bcm958525xmc.dts
ASoC: rockchip: add bindings for rk3368 i2s
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / bcm958525xmc.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 XMC (BCM958525xmc)";
40 compatible = "brcm,bcm58525", "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 0x40000000>;
53 };
54
55 gpio-restart {
56 compatible = "gpio-restart";
57 gpios = <&gpioa 31 GPIO_ACTIVE_LOW>;
58 priority = <200>;
59 };
60 };
61
62 /* XHCI support needed to be complete */
63
64 &amac0 {
65 status = "okay";
66 };
67
68 &i2c0 {
69 temperature-sensor@4c {
70 compatible = "adi,adt7461a";
71 reg = <0x4c>;
72 };
73
74 eeprom@52 {
75 compatible = "atmel,24c02";
76 reg = <0x52>;
77 pagesize = <16>;
78 };
79
80 rtc@68 {
81 compatible = "st,m41t81";
82 reg = <0x68>;
83 };
84 };
85
86 &nand {
87 nandcs@0 {
88 compatible = "brcm,nandcs";
89 reg = <0>;
90 nand-on-flash-bbt;
91
92 #address-cells = <1>;
93 #size-cells = <1>;
94
95 nand-ecc-strength = <24>;
96 nand-ecc-step-size = <1024>;
97
98 brcm,nand-oob-sector-size = <27>;
99
100 partition@0 {
101 label = "nboot";
102 reg = <0x00000000 0x00200000>;
103 read-only;
104 };
105 partition@200000 {
106 label = "nenv";
107 reg = <0x00200000 0x00400000>;
108 };
109 partition@600000 {
110 label = "nsystem";
111 reg = <0x00600000 0x00a00000>;
112 };
113 partition@1000000 {
114 label = "nrootfs";
115 reg = <0x01000000 0x03000000>;
116 };
117 partition@4000000 {
118 label = "ncustfs";
119 reg = <0x04000000 0x3c000000>;
120 };
121 };
122 };
123
124 &pcie0 {
125 status = "okay";
126 };
127
128 &pcie1 {
129 status = "okay";
130 };
131
132 &pinctrl {
133 pinctrl-names = "default";
134 pinctrl-0 = <&nand_sel>;
135 nand_sel: nand_sel {
136 function = "nand";
137 groups = "nand_grp";
138 };
139 };
140
141 &qspi {
142 bspi-sel = <0>;
143 flash: m25p80@0 {
144 #address-cells = <1>;
145 #size-cells = <1>;
146 compatible = "m25p80";
147 reg = <0x0>;
148 spi-max-frequency = <12500000>;
149 m25p,fast-read;
150 spi-cpol;
151 spi-cpha;
152
153 partition@0 {
154 label = "boot";
155 reg = <0x00000000 0x000a0000>;
156 };
157
158 partition@a0000 {
159 label = "env";
160 reg = <0x000a0000 0x00060000>;
161 };
162
163 partition@100000 {
164 label = "system";
165 reg = <0x00100000 0x00600000>;
166 };
167
168 partition@700000 {
169 label = "rootfs";
170 reg = <0x00700000 0x01900000>;
171 };
172 };
173 };
174
175 &sata_phy0 {
176 status = "okay";
177 };
178
179 &sata_phy1 {
180 status = "okay";
181 };
182
183 &sata {
184 status = "okay";
185 };
186
187 &sdio {
188 status = "ok";
189 };
190
191 &uart0 {
192 status = "okay";
193 };