2 * Copyright 2016 ZTE Corporation.
3 * Copyright 2016 Linaro Ltd.
5 * This file is dual-licensed: you can use it either under the terms
6 * of the GPL or the X11 license, at your option. Note that this dual
7 * licensing only applies to this file, and not this project as a
10 * a) This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of the
13 * License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
22 * b) Permission is hereby granted, free of charge, to any person
23 * obtaining a copy of this software and associated documentation
24 * files (the "Software"), to deal in the Software without
25 * restriction, including without limitation the rights to use,
26 * copy, modify, merge, publish, distribute, sublicense, and/or
27 * sell copies of the Software, and to permit persons to whom the
28 * Software is furnished to do so, subject to the following
31 * The above copyright notice and this permission notice shall be
32 * included in all copies or substantial portions of the Software.
34 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41 * OTHER DEALINGS IN THE SOFTWARE.
44 #include <dt-bindings/input/input.h>
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/gpio/gpio.h>
49 compatible = "zte,zx296718";
52 interrupt-parent = <&gic>;
81 compatible = "arm,cortex-a53","arm,armv8";
83 enable-method = "psci";
88 compatible = "arm,cortex-a53","arm,armv8";
90 enable-method = "psci";
95 compatible = "arm,cortex-a53","arm,armv8";
97 enable-method = "psci";
102 compatible = "arm,cortex-a53","arm,armv8";
104 enable-method = "psci";
109 compatible = "fixed-clock";
111 clock-frequency = <24000>;
112 clock-output-names = "rtcclk";
116 compatible = "fixed-clock";
118 clock-frequency = <32000>;
119 clock-output-names = "osc32k";
123 compatible = "fixed-clock";
125 clock-frequency = <12000000>;
126 clock-output-names = "osc12m";
130 compatible = "fixed-clock";
132 clock-frequency = <24000000>;
133 clock-output-names = "osc24m";
137 compatible = "fixed-clock";
139 clock-frequency = <25000000>;
140 clock-output-names = "osc25m";
144 compatible = "fixed-clock";
146 clock-frequency = <60000000>;
147 clock-output-names = "osc60m";
151 compatible = "fixed-clock";
153 clock-frequency = <99000000>;
154 clock-output-names = "osc99m";
157 osc125m: clk-osc125m {
158 compatible = "fixed-clock";
160 clock-frequency = <125000000>;
161 clock-output-names = "osc125m";
164 osc198m: clk-osc198m {
165 compatible = "fixed-clock";
167 clock-frequency = <198000000>;
168 clock-output-names = "osc198m";
171 pll_audio: clk-pll-884m {
172 compatible = "fixed-clock";
174 clock-frequency = <884000000>;
175 clock-output-names = "pll_audio";
178 pll_ddr: clk-pll-932m {
179 compatible = "fixed-clock";
181 clock-frequency = <932000000>;
182 clock-output-names = "pll_ddr";
185 pll_hsic: clk-pll-960m {
186 compatible = "fixed-clock";
188 clock-frequency = <960000000>;
189 clock-output-names = "pll_hsic";
192 pll_mac: clk-pll-1000m {
193 compatible = "fixed-clock";
195 clock-frequency = <1000000000>;
196 clock-output-names = "pll_mac";
199 pll_vga: clk-pll-1073m {
200 compatible = "fixed-clock";
202 clock-frequency = <1073000000>;
203 clock-output-names = "pll_vga";
206 pll_mm0: clk-pll-1188m {
207 compatible = "fixed-clock";
209 clock-frequency = <1188000000>;
210 clock-output-names = "pll_mm0";
213 pll_mm1: clk-pll-1296m {
214 compatible = "fixed-clock";
216 clock-frequency = <1296000000>;
217 clock-output-names = "pll_mm1";
221 compatible = "arm,psci-1.0";
226 compatible = "arm,armv8-timer";
227 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
228 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
229 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
230 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
234 compatible = "arm,cortex-a53-pmu";
235 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
238 gic: interrupt-controller@2a00000 {
239 compatible = "arm,gic-v3";
240 #interrupt-cells = <3>;
241 #address-cells = <0>;
242 #redistributor-regions = <6>;
243 redistributor-stride = <0x0 0x40000>;
244 interrupt-controller;
245 reg = <0x02a00000 0x10000>,
246 <0x02b00000 0x20000>,
247 <0x02b20000 0x20000>,
248 <0x02b40000 0x20000>,
249 <0x02b60000 0x20000>,
250 <0x02b80000 0x20000>,
251 <0x02ba0000 0x20000>;
252 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
256 #address-cells = <1>;
258 compatible = "simple-bus";
261 aon_sysctrl: aon-sysctrl@116000 {
262 compatible = "zte,zx296718-aon-sysctrl", "syscon";
263 reg = <0x116000 0x1000>;
267 compatible = "arm,pl011", "arm,primecell";
268 arm,primecell-periphid = <0x001feffe>;
269 reg = <0x11f000 0x1000>;
270 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
272 clock-names = "apb_pclk";
276 dma: dma-controller@1460000 {
277 compatible = "zte,zx296702-dma";
278 reg = <0x01460000 0x1000>;
279 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
281 clock-names = "dmaclk";
287 sysctrl: sysctrl@1463000 {
288 compatible = "zte,zx296718-sysctrl", "syscon";
289 reg = <0x1463000 0x1000>;