xref: /openbmc/linux/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi (revision 1499218c80c99ae73c937c370142c8f6048002d5)
1c35f6dc5SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c35f6dc5SNeil Armstrong/*
3c35f6dc5SNeil Armstrong * Copyright (c) 2019 BayLibre, SAS
4c35f6dc5SNeil Armstrong * Author: Neil Armstrong <narmstrong@baylibre.com>
5c35f6dc5SNeil Armstrong */
6c35f6dc5SNeil Armstrong
7*1499218cSNeil Armstrong#include "meson-g12-common.dtsi"
8c35f6dc5SNeil Armstrong
9c35f6dc5SNeil Armstrong/ {
10c35f6dc5SNeil Armstrong	compatible = "amlogic,g12b";
11c35f6dc5SNeil Armstrong
12c35f6dc5SNeil Armstrong	cpus {
13*1499218cSNeil Armstrong		#address-cells = <0x2>;
14*1499218cSNeil Armstrong		#size-cells = <0x0>;
15*1499218cSNeil Armstrong
16c35f6dc5SNeil Armstrong		cpu-map {
17c35f6dc5SNeil Armstrong			cluster0 {
18c35f6dc5SNeil Armstrong				core0 {
19c35f6dc5SNeil Armstrong					cpu = <&cpu0>;
20c35f6dc5SNeil Armstrong				};
21c35f6dc5SNeil Armstrong
22c35f6dc5SNeil Armstrong				core1 {
23c35f6dc5SNeil Armstrong					cpu = <&cpu1>;
24c35f6dc5SNeil Armstrong				};
25c35f6dc5SNeil Armstrong			};
26c35f6dc5SNeil Armstrong
27c35f6dc5SNeil Armstrong			cluster1 {
28c35f6dc5SNeil Armstrong				core0 {
29c35f6dc5SNeil Armstrong					cpu = <&cpu100>;
30c35f6dc5SNeil Armstrong				};
31c35f6dc5SNeil Armstrong
32c35f6dc5SNeil Armstrong				core1 {
33c35f6dc5SNeil Armstrong					cpu = <&cpu101>;
34c35f6dc5SNeil Armstrong				};
35c35f6dc5SNeil Armstrong
36c35f6dc5SNeil Armstrong				core2 {
37c35f6dc5SNeil Armstrong					cpu = <&cpu102>;
38c35f6dc5SNeil Armstrong				};
39c35f6dc5SNeil Armstrong
40c35f6dc5SNeil Armstrong				core3 {
41c35f6dc5SNeil Armstrong					cpu = <&cpu103>;
42c35f6dc5SNeil Armstrong				};
43c35f6dc5SNeil Armstrong			};
44c35f6dc5SNeil Armstrong		};
45c35f6dc5SNeil Armstrong
46*1499218cSNeil Armstrong		cpu0: cpu@0 {
47*1499218cSNeil Armstrong			device_type = "cpu";
48*1499218cSNeil Armstrong			compatible = "arm,cortex-a53";
49*1499218cSNeil Armstrong			reg = <0x0 0x0>;
50*1499218cSNeil Armstrong			enable-method = "psci";
51*1499218cSNeil Armstrong			next-level-cache = <&l2>;
52*1499218cSNeil Armstrong		};
53*1499218cSNeil Armstrong
54*1499218cSNeil Armstrong		cpu1: cpu@1 {
55*1499218cSNeil Armstrong			device_type = "cpu";
56*1499218cSNeil Armstrong			compatible = "arm,cortex-a53";
57*1499218cSNeil Armstrong			reg = <0x0 0x1>;
58*1499218cSNeil Armstrong			enable-method = "psci";
59*1499218cSNeil Armstrong			next-level-cache = <&l2>;
60*1499218cSNeil Armstrong		};
61c35f6dc5SNeil Armstrong
62c35f6dc5SNeil Armstrong		cpu100: cpu@100 {
63c35f6dc5SNeil Armstrong			device_type = "cpu";
64c35f6dc5SNeil Armstrong			compatible = "arm,cortex-a73";
65c35f6dc5SNeil Armstrong			reg = <0x0 0x100>;
66c35f6dc5SNeil Armstrong			enable-method = "psci";
67c35f6dc5SNeil Armstrong			next-level-cache = <&l2>;
68c35f6dc5SNeil Armstrong		};
69c35f6dc5SNeil Armstrong
70c35f6dc5SNeil Armstrong		cpu101: cpu@101 {
71c35f6dc5SNeil Armstrong			device_type = "cpu";
72c35f6dc5SNeil Armstrong			compatible = "arm,cortex-a73";
73c35f6dc5SNeil Armstrong			reg = <0x0 0x101>;
74c35f6dc5SNeil Armstrong			enable-method = "psci";
75c35f6dc5SNeil Armstrong			next-level-cache = <&l2>;
76c35f6dc5SNeil Armstrong		};
77c35f6dc5SNeil Armstrong
78c35f6dc5SNeil Armstrong		cpu102: cpu@102 {
79c35f6dc5SNeil Armstrong			device_type = "cpu";
80c35f6dc5SNeil Armstrong			compatible = "arm,cortex-a73";
81c35f6dc5SNeil Armstrong			reg = <0x0 0x102>;
82c35f6dc5SNeil Armstrong			enable-method = "psci";
83c35f6dc5SNeil Armstrong			next-level-cache = <&l2>;
84c35f6dc5SNeil Armstrong		};
85c35f6dc5SNeil Armstrong
86c35f6dc5SNeil Armstrong		cpu103: cpu@103 {
87c35f6dc5SNeil Armstrong			device_type = "cpu";
88c35f6dc5SNeil Armstrong			compatible = "arm,cortex-a73";
89c35f6dc5SNeil Armstrong			reg = <0x0 0x103>;
90c35f6dc5SNeil Armstrong			enable-method = "psci";
91c35f6dc5SNeil Armstrong			next-level-cache = <&l2>;
92c35f6dc5SNeil Armstrong		};
93*1499218cSNeil Armstrong
94*1499218cSNeil Armstrong		l2: l2-cache0 {
95*1499218cSNeil Armstrong			compatible = "cache";
96*1499218cSNeil Armstrong		};
97c35f6dc5SNeil Armstrong	};
98c35f6dc5SNeil Armstrong};
99c35f6dc5SNeil Armstrong
100c35f6dc5SNeil Armstrong&clkc {
101c35f6dc5SNeil Armstrong	compatible = "amlogic,g12b-clkc";
102c35f6dc5SNeil Armstrong};
103*1499218cSNeil Armstrong
104*1499218cSNeil Armstrong&sd_emmc_a {
105*1499218cSNeil Armstrong	amlogic,dram-access-quirk;
106*1499218cSNeil Armstrong};
107