summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/zx296702.dtsi
blob: 752d28e0f9b0181b5dd2d52cbb02e55b9ec9e63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// SPDX-License-Identifier: GPL-2.0

#include "skeleton.dtsi"
#include <dt-bindings/clock/zx296702-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		enable-method = "zte,zx296702-smp";

		cpu@0 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <&l2cc>;
			reg = <0>;
		};

		cpu@1 {
			compatible = "arm,cortex-a9";
			device_type = "cpu";
			next-level-cache = <&l2cc>;
			reg = <1>;
		};
	};


	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		interrupt-parent = <&intc>;
		ranges;

		matrix: bus-matrix@400000 {
			compatible = "zte,zx-bus-matrix";
			reg = <0x00400000 0x1000>;
		};

		intc: interrupt-controller@00801000 {
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			#address-cells = <1>;
			#size-cells = <1>;
			interrupt-controller;
			reg = <0x00801000 0x1000>,
			      <0x00800100 0x100>;
		};

		global_timer: timer@008000200 {
			compatible = "arm,cortex-a9-global-timer";
			reg = <0x00800200 0x20>;
			interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-parent = <&intc>;
			clocks = <&topclk ZX296702_A9_PERIPHCLK>;
		};

		l2cc: l2-cache-controller@0x00c00000 {
			compatible = "arm,pl310-cache";
			reg = <0x00c00000 0x1000>;
			cache-unified;
			cache-level = <2>;
			arm,data-latency = <1 1 1>;
			arm,tag-latency = <1 1 1>;
			arm,double-linefill = <1>;
			arm,double-linefill-incr = <0>;
		};

		pcu: pcu@0xa0008000 {
			compatible = "zte,zx296702-pcu";
			reg = <0xa0008000 0x1000>;
		};

		topclk: topclk@0x09800000 {
			compatible = "zte,zx296702-topcrm-clk";
			reg = <0x09800000 0x1000>;
			#clock-cells = <1>;
		};

		lsp1clk: lsp1clk@0x09400000 {
			compatible = "zte,zx296702-lsp1crpm-clk";
			reg = <0x09400000 0x1000>;
			#clock-cells = <1>;
		};

		lsp0clk: lsp0clk@0x0b000000 {
			compatible = "zte,zx296702-lsp0crpm-clk";
			reg = <0x0b000000 0x1000>;
			#clock-cells = <1>;
		};

		uart0: serial@0x09405000 {
			compatible = "zte,zx296702-uart";
			reg = <0x09405000 0x1000>;
			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&lsp1clk ZX296702_UART0_WCLK>;
			status = "disabled";
		};

		uart1: serial@0x09406000 {
			compatible = "zte,zx296702-uart";
			reg = <0x09406000 0x1000>;
			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&lsp1clk ZX296702_UART1_WCLK>;
			status = "disabled";
		};

		mmc0: mmc@0x09408000 {
			compatible = "snps,dw-mshc";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x09408000 0x1000>;
			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
			fifo-depth = <32>;
			clocks = <&lsp1clk ZX296702_SDMMC0_PCLK>,
				 <&lsp1clk ZX296702_SDMMC0_WCLK>;
			clock-names = "biu", "ciu";
			status = "disabled";
		};

		mmc1: mmc@0x0b003000 {
			compatible = "snps,dw-mshc";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x0b003000 0x1000>;
			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
			fifo-depth = <32>;
			clocks = <&lsp0clk ZX296702_SDMMC1_PCLK>,
				 <&lsp0clk ZX296702_SDMMC1_WCLK>;
			clock-names = "biu", "ciu";
			status = "disabled";
		};

		sysctrl: sysctrl@0xa0007000 {
			compatible = "zte,sysctrl", "syscon";
			reg = <0xa0007000 0x1000>;
		};
	};
};