a5ds.dts 2.74 KB
Newer Older
1
/*
2
 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3
4
5
6
7
8
9
10
11
12
13
14
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/dts-v1/;

/ {
	model = "A5DS";
	compatible = "arm,A5DS";
	interrupt-parent = <&gic>;
	#address-cells = <1>;
	#size-cells = <1>;
Usama Arif's avatar
Usama Arif committed
15
16
17
18
19
20
21

	psci {
		compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci";
		method = "smc";
		cpu_on = <0x84000003>;
	};

22
23
24
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
25
		enable-method = "psci";
26
27
28
29
		cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-a5";
			reg = <0>;
30
			next-level-cache = <&L2>;
31
		};
Usama Arif's avatar
Usama Arif committed
32
33
34
35
		cpu@1 {
			device_type = "cpu";
			compatible = "arm,cortex-a5";
			reg = <1>;
36
			next-level-cache = <&L2>;
Usama Arif's avatar
Usama Arif committed
37
38
39
40
41
		};
		cpu@2 {
			device_type = "cpu";
			compatible = "arm,cortex-a5";
			reg = <2>;
42
			next-level-cache = <&L2>;
Usama Arif's avatar
Usama Arif committed
43
44
45
46
47
		};
		cpu@3 {
			device_type = "cpu";
			compatible = "arm,cortex-a5";
			reg = <3>;
48
			next-level-cache = <&L2>;
Usama Arif's avatar
Usama Arif committed
49
		};
50
51
52
53
54
55
56
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x80000000 0x7F000000>;
	};

57
58
59
60
61
62
63
64
65
66
	L2: cache-controller@1C010000 {
		compatible = "arm,pl310-cache";
		reg = <0x1C010000 0x1000>;
		interrupts = <0 84 4>;
		cache-level = <2>;
		cache-unified;
		arm,data-latency = <1 1 1>;
		arm,tag-latency = <1 1 1>;
	};

67
	refclk7500khz: refclk7500khz {
68
69
		compatible = "fixed-clock";
		#clock-cells = <0>;
70
71
72
73
74
75
76
77
		clock-frequency = <7500000>;
		clock-output-names = "apb_pclk";
	};

	refclk24mhz: refclk24mhz {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <24000000>;
78
79
80
81
82
83
84
85
86
87
88
89
90
91
		clock-output-names = "apb_pclk";
	};

	smbclk: refclk24mhzx2 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <48000000>;
		clock-output-names = "smclk";
	};


	rtc@1a220000 {
		compatible = "arm,pl031", "arm,primecell";
		reg = <0x1a220000 0x1000>;
92
		clocks = <&refclk24mhz>;
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
		interrupts = <0 6 0xf04>;
		clock-names = "apb_pclk";
	};

	gic: interrupt-controller@1c001000 {
		compatible = "arm,cortex-a9-gic";
		#interrupt-cells = <3>;
		#address-cells = <0>;
		interrupt-controller;
		reg = <0x1c001000 0x1000>,
			  <0x1c000100 0x100>;
		interrupts = <1 9 0xf04>;
	};

	serial0: uart@1a200000 {
		compatible = "arm,pl011", "arm,primecell";
		reg = <0x1a200000 0x1000>;
		interrupt-parent = <&gic>;
		interrupts = <0 8 0xf04>;
112
		clocks = <&refclk7500khz>;
113
114
115
116
117
118
119
120
		clock-names = "apb_pclk";
	};

	serial1: uart@1a210000 {
		compatible = "arm,pl011", "arm,primecell";
		reg = <0x1a210000 0x1000>;
		interrupt-parent = <&gic>;
		interrupts = <0 9 0xf04>;
121
		clocks = <&refclk7500khz>;
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
		clock-names = "apb_pclk";
	};

	timer0: timer@1a040000 {
		compatible = "arm,armv7-timer-mem";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		reg = <0x1a040000 0x1000>;
		clock-frequency = <50000000>;

		frame@1a050000 {
			frame-number = <0>;
			interrupts = <0 2 0xf04>;
			reg = <0x1a050000 0x1000>;
		};
	};
};