bcm53xx: use the latest submitted version of ILP clock driver
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch
1 From ccf0b5e37115f8675455632f583d06ea94f43539 Mon Sep 17 00:00:00 2001
2 From: Jon Mason <jonmason@broadcom.com>
3 Date: Mon, 2 Nov 2015 13:34:53 -0500
4 Subject: [PATCH] ARM: dts: bcm5301x: Add BCM SVK DT files
5
6 Add device tree files for Broadcom Northstar based SVKs. Since the
7 bcm5301x.dtsi already exists, all that is necessary is the dts files to
8 enable the UARTs. With these files, the SVKs are able to boot to shell.
9
10 Signed-off-by: Jon Mason <jonmason@broadcom.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12 ---
13 arch/arm/boot/dts/Makefile | 5 +++-
14 arch/arm/boot/dts/bcm94708.dts | 56 +++++++++++++++++++++++++++++++++++
15 arch/arm/boot/dts/bcm94709.dts | 56 +++++++++++++++++++++++++++++++++++
16 arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
17 4 files changed, 179 insertions(+), 1 deletion(-)
18 create mode 100644 arch/arm/boot/dts/bcm94708.dts
19 create mode 100644 arch/arm/boot/dts/bcm94709.dts
20 create mode 100644 arch/arm/boot/dts/bcm953012k.dts
21
22 --- a/arch/arm/boot/dts/Makefile
23 +++ b/arch/arm/boot/dts/Makefile
24 @@ -75,7 +75,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
25 bcm4709-asus-rt-ac87u.dtb \
26 bcm4709-buffalo-wxr-1900dhp.dtb \
27 bcm4709-netgear-r7000.dtb \
28 - bcm4709-netgear-r8000.dtb
29 + bcm4709-netgear-r8000.dtb \
30 + bcm94708.dtb \
31 + bcm94709.dtb \
32 + bcm953012k.dtb
33 dtb-$(CONFIG_ARCH_BCM_63XX) += \
34 bcm963138dvt.dtb
35 dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
36 --- /dev/null
37 +++ b/arch/arm/boot/dts/bcm94708.dts
38 @@ -0,0 +1,56 @@
39 +/*
40 + * BSD LICENSE
41 + *
42 + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
43 + *
44 + * Redistribution and use in source and binary forms, with or without
45 + * modification, are permitted provided that the following conditions
46 + * are met:
47 + *
48 + * * Redistributions of source code must retain the above copyright
49 + * notice, this list of conditions and the following disclaimer.
50 + * * Redistributions in binary form must reproduce the above copyright
51 + * notice, this list of conditions and the following disclaimer in
52 + * the documentation and/or other materials provided with the
53 + * distribution.
54 + * * Neither the name of Broadcom Corporation nor the names of its
55 + * contributors may be used to endorse or promote products derived
56 + * from this software without specific prior written permission.
57 + *
58 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
59 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
60 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
61 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
62 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
63 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
64 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
65 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
66 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
67 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
68 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69 + */
70 +
71 +/dts-v1/;
72 +
73 +#include "bcm4708.dtsi"
74 +
75 +/ {
76 + model = "NorthStar SVK (BCM94708)";
77 + compatible = "brcm,bcm94708", "brcm,bcm4708";
78 +
79 + aliases {
80 + serial0 = &uart0;
81 + };
82 +
83 + chosen {
84 + stdout-path = "serial0:115200n8";
85 + };
86 +
87 + memory {
88 + reg = <0x00000000 0x08000000>;
89 + };
90 +};
91 +
92 +&uart0 {
93 + status = "okay";
94 +};
95 --- /dev/null
96 +++ b/arch/arm/boot/dts/bcm94709.dts
97 @@ -0,0 +1,56 @@
98 +/*
99 + * BSD LICENSE
100 + *
101 + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
102 + *
103 + * Redistribution and use in source and binary forms, with or without
104 + * modification, are permitted provided that the following conditions
105 + * are met:
106 + *
107 + * * Redistributions of source code must retain the above copyright
108 + * notice, this list of conditions and the following disclaimer.
109 + * * Redistributions in binary form must reproduce the above copyright
110 + * notice, this list of conditions and the following disclaimer in
111 + * the documentation and/or other materials provided with the
112 + * distribution.
113 + * * Neither the name of Broadcom Corporation nor the names of its
114 + * contributors may be used to endorse or promote products derived
115 + * from this software without specific prior written permission.
116 + *
117 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
118 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
119 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
120 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
121 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
122 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
123 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
124 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
125 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
126 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
127 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
128 + */
129 +
130 +/dts-v1/;
131 +
132 +#include "bcm4708.dtsi"
133 +
134 +/ {
135 + model = "NorthStar SVK (BCM94709)";
136 + compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
137 +
138 + aliases {
139 + serial0 = &uart0;
140 + };
141 +
142 + chosen {
143 + stdout-path = "serial0:115200n8";
144 + };
145 +
146 + memory {
147 + reg = <0x00000000 0x08000000>;
148 + };
149 +};
150 +
151 +&uart0 {
152 + status = "okay";
153 +};
154 --- /dev/null
155 +++ b/arch/arm/boot/dts/bcm953012k.dts
156 @@ -0,0 +1,63 @@
157 +/*
158 + * BSD LICENSE
159 + *
160 + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
161 + *
162 + * Redistribution and use in source and binary forms, with or without
163 + * modification, are permitted provided that the following conditions
164 + * are met:
165 + *
166 + * * Redistributions of source code must retain the above copyright
167 + * notice, this list of conditions and the following disclaimer.
168 + * * Redistributions in binary form must reproduce the above copyright
169 + * notice, this list of conditions and the following disclaimer in
170 + * the documentation and/or other materials provided with the
171 + * distribution.
172 + * * Neither the name of Broadcom Corporation nor the names of its
173 + * contributors may be used to endorse or promote products derived
174 + * from this software without specific prior written permission.
175 + *
176 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
177 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
178 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
179 + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
180 + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
181 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
182 + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
183 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
184 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
185 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
186 + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
187 + */
188 +
189 +/dts-v1/;
190 +
191 +#include "bcm4708.dtsi"
192 +
193 +/ {
194 + model = "NorthStar SVK (BCM953012K)";
195 + compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
196 +
197 + aliases {
198 + serial0 = &uart0;
199 + serial1 = &uart1;
200 + };
201 +
202 + chosen {
203 + stdout-path = "serial0:115200n8";
204 + };
205 +
206 + memory {
207 + reg = <0x00000000 0x10000000>;
208 + };
209 +};
210 +
211 +&uart0 {
212 + clock-frequency = <62499840>;
213 + status = "okay";
214 +};
215 +
216 +&uart1 {
217 + clock-frequency = <62499840>;
218 + status = "okay";
219 +};