blob: 240e7a23d81ff3cc2eb2facad8a126970775a152 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Jun Nied5553cb2015-06-04 11:21:02 +08002
3#include "skeleton.dtsi"
4#include <dt-bindings/clock/zx296702-clock.h>
5#include <dt-bindings/interrupt-controller/arm-gic.h>
6
7/ {
8 cpus {
9 #address-cells = <1>;
10 #size-cells = <0>;
11 enable-method = "zte,zx296702-smp";
12
13 cpu@0 {
14 compatible = "arm,cortex-a9";
15 device_type = "cpu";
16 next-level-cache = <&l2cc>;
17 reg = <0>;
18 };
19
20 cpu@1 {
21 compatible = "arm,cortex-a9";
22 device_type = "cpu";
23 next-level-cache = <&l2cc>;
24 reg = <1>;
25 };
26 };
27
28
29 soc {
30 #address-cells = <1>;
31 #size-cells = <1>;
32 compatible = "simple-bus";
33 interrupt-parent = <&intc>;
34 ranges;
35
36 matrix: bus-matrix@400000 {
37 compatible = "zte,zx-bus-matrix";
38 reg = <0x00400000 0x1000>;
39 };
40
Rob Herring8dccafa2017-10-13 12:54:51 -050041 intc: interrupt-controller@801000 {
Jun Nied5553cb2015-06-04 11:21:02 +080042 compatible = "arm,cortex-a9-gic";
43 #interrupt-cells = <3>;
44 #address-cells = <1>;
45 #size-cells = <1>;
46 interrupt-controller;
47 reg = <0x00801000 0x1000>,
48 <0x00800100 0x100>;
49 };
50
Rob Herring8dccafa2017-10-13 12:54:51 -050051 global_timer: timer@8000200 {
Jun Nied5553cb2015-06-04 11:21:02 +080052 compatible = "arm,cortex-a9-global-timer";
53 reg = <0x00800200 0x20>;
54 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
55 interrupt-parent = <&intc>;
56 clocks = <&topclk ZX296702_A9_PERIPHCLK>;
57 };
58
Mathieu Malaterree519eed2017-12-15 13:46:48 +010059 l2cc: l2-cache-controller@c00000 {
Jun Nied5553cb2015-06-04 11:21:02 +080060 compatible = "arm,pl310-cache";
61 reg = <0x00c00000 0x1000>;
62 cache-unified;
63 cache-level = <2>;
64 arm,data-latency = <1 1 1>;
65 arm,tag-latency = <1 1 1>;
66 arm,double-linefill = <1>;
67 arm,double-linefill-incr = <0>;
68 };
69
Mathieu Malaterree519eed2017-12-15 13:46:48 +010070 pcu: pcu@a0008000 {
Jun Nied5553cb2015-06-04 11:21:02 +080071 compatible = "zte,zx296702-pcu";
72 reg = <0xa0008000 0x1000>;
73 };
74
Mathieu Malaterree519eed2017-12-15 13:46:48 +010075 topclk: topclk@9800000 {
Jun Nied5553cb2015-06-04 11:21:02 +080076 compatible = "zte,zx296702-topcrm-clk";
77 reg = <0x09800000 0x1000>;
78 #clock-cells = <1>;
79 };
80
Mathieu Malaterree519eed2017-12-15 13:46:48 +010081 lsp1clk: lsp1clk@9400000 {
Jun Nied5553cb2015-06-04 11:21:02 +080082 compatible = "zte,zx296702-lsp1crpm-clk";
83 reg = <0x09400000 0x1000>;
84 #clock-cells = <1>;
85 };
86
Mathieu Malaterree519eed2017-12-15 13:46:48 +010087 lsp0clk: lsp0clk@b000000 {
Jun Nied5553cb2015-06-04 11:21:02 +080088 compatible = "zte,zx296702-lsp0crpm-clk";
89 reg = <0x0b000000 0x1000>;
90 #clock-cells = <1>;
91 };
92
Mathieu Malaterree519eed2017-12-15 13:46:48 +010093 uart0: serial@9405000 {
Jun Nied5553cb2015-06-04 11:21:02 +080094 compatible = "zte,zx296702-uart";
95 reg = <0x09405000 0x1000>;
96 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
97 clocks = <&lsp1clk ZX296702_UART0_WCLK>;
98 status = "disabled";
99 };
100
Mathieu Malaterree519eed2017-12-15 13:46:48 +0100101 uart1: serial@9406000 {
Jun Nied5553cb2015-06-04 11:21:02 +0800102 compatible = "zte,zx296702-uart";
103 reg = <0x09406000 0x1000>;
104 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
105 clocks = <&lsp1clk ZX296702_UART1_WCLK>;
106 status = "disabled";
107 };
108
Mathieu Malaterree519eed2017-12-15 13:46:48 +0100109 mmc0: mmc@9408000 {
Jun Nied5553cb2015-06-04 11:21:02 +0800110 compatible = "snps,dw-mshc";
111 #address-cells = <1>;
112 #size-cells = <0>;
113 reg = <0x09408000 0x1000>;
114 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
115 fifo-depth = <32>;
116 clocks = <&lsp1clk ZX296702_SDMMC0_PCLK>,
117 <&lsp1clk ZX296702_SDMMC0_WCLK>;
118 clock-names = "biu", "ciu";
119 status = "disabled";
120 };
121
Mathieu Malaterree519eed2017-12-15 13:46:48 +0100122 mmc1: mmc@b003000 {
Jun Nied5553cb2015-06-04 11:21:02 +0800123 compatible = "snps,dw-mshc";
124 #address-cells = <1>;
125 #size-cells = <0>;
126 reg = <0x0b003000 0x1000>;
127 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
128 fifo-depth = <32>;
129 clocks = <&lsp0clk ZX296702_SDMMC1_PCLK>,
130 <&lsp0clk ZX296702_SDMMC1_WCLK>;
131 clock-names = "biu", "ciu";
132 status = "disabled";
133 };
134
Mathieu Malaterree519eed2017-12-15 13:46:48 +0100135 sysctrl: sysctrl@a0007000 {
Jun Nied5553cb2015-06-04 11:21:02 +0800136 compatible = "zte,sysctrl", "syscon";
137 reg = <0xa0007000 0x1000>;
138 };
139 };
140};