xref: /linux/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi (revision 114abfe1aa5f55b26fbaf050996a937de4b92cf2)
1*114abfe1SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2bb51b535SNeil Armstrong/*
3bb51b535SNeil Armstrong * Copyright (c) 2016 Endless Computers, Inc.
4bb51b535SNeil Armstrong * Author: Carlo Caione <carlo@endlessm.com>
5bb51b535SNeil Armstrong */
6bb51b535SNeil Armstrong
7bb51b535SNeil Armstrong#include "meson-gxl.dtsi"
8bb51b535SNeil Armstrong
9bb51b535SNeil Armstrong/ {
10bb51b535SNeil Armstrong	compatible = "amlogic,meson-gxm";
11bb51b535SNeil Armstrong
12bb51b535SNeil Armstrong	cpus {
13bb51b535SNeil Armstrong		cpu-map {
14bb51b535SNeil Armstrong			cluster0 {
15bb51b535SNeil Armstrong				core0 {
16bb51b535SNeil Armstrong					cpu = <&cpu0>;
17bb51b535SNeil Armstrong				};
18bb51b535SNeil Armstrong				core1 {
19bb51b535SNeil Armstrong					cpu = <&cpu1>;
20bb51b535SNeil Armstrong				};
21bb51b535SNeil Armstrong				core2 {
22bb51b535SNeil Armstrong					cpu = <&cpu2>;
23bb51b535SNeil Armstrong				};
24bb51b535SNeil Armstrong				core3 {
25bb51b535SNeil Armstrong					cpu = <&cpu3>;
26bb51b535SNeil Armstrong				};
27bb51b535SNeil Armstrong			};
28bb51b535SNeil Armstrong
29bb51b535SNeil Armstrong			cluster1 {
30bb51b535SNeil Armstrong				core0 {
31bb51b535SNeil Armstrong					cpu = <&cpu4>;
32bb51b535SNeil Armstrong				};
33bb51b535SNeil Armstrong				core1 {
34bb51b535SNeil Armstrong					cpu = <&cpu5>;
35bb51b535SNeil Armstrong				};
36bb51b535SNeil Armstrong				core2 {
37bb51b535SNeil Armstrong					cpu = <&cpu6>;
38bb51b535SNeil Armstrong				};
39bb51b535SNeil Armstrong				core3 {
40bb51b535SNeil Armstrong					cpu = <&cpu7>;
41bb51b535SNeil Armstrong				};
42bb51b535SNeil Armstrong			};
43bb51b535SNeil Armstrong		};
44bb51b535SNeil Armstrong
45bb51b535SNeil Armstrong		cpu4: cpu@100 {
46bb51b535SNeil Armstrong			device_type = "cpu";
47bb51b535SNeil Armstrong			compatible = "arm,cortex-a53", "arm,armv8";
48bb51b535SNeil Armstrong			reg = <0x0 0x100>;
49bb51b535SNeil Armstrong			enable-method = "psci";
50bb51b535SNeil Armstrong			next-level-cache = <&l2>;
51bd97abc0SMartin Blumenstingl			clocks = <&scpi_dvfs 1>;
52bb51b535SNeil Armstrong		};
53bb51b535SNeil Armstrong
54bb51b535SNeil Armstrong		cpu5: cpu@101 {
55bb51b535SNeil Armstrong			device_type = "cpu";
56bb51b535SNeil Armstrong			compatible = "arm,cortex-a53", "arm,armv8";
57bb51b535SNeil Armstrong			reg = <0x0 0x101>;
58bb51b535SNeil Armstrong			enable-method = "psci";
59bb51b535SNeil Armstrong			next-level-cache = <&l2>;
60bd97abc0SMartin Blumenstingl			clocks = <&scpi_dvfs 1>;
61bb51b535SNeil Armstrong		};
62bb51b535SNeil Armstrong
63bb51b535SNeil Armstrong		cpu6: cpu@102 {
64bb51b535SNeil Armstrong			device_type = "cpu";
65bb51b535SNeil Armstrong			compatible = "arm,cortex-a53", "arm,armv8";
66bb51b535SNeil Armstrong			reg = <0x0 0x102>;
67bb51b535SNeil Armstrong			enable-method = "psci";
68bb51b535SNeil Armstrong			next-level-cache = <&l2>;
69bd97abc0SMartin Blumenstingl			clocks = <&scpi_dvfs 1>;
70bb51b535SNeil Armstrong		};
71bb51b535SNeil Armstrong
72bb51b535SNeil Armstrong		cpu7: cpu@103 {
73bb51b535SNeil Armstrong			device_type = "cpu";
74bb51b535SNeil Armstrong			compatible = "arm,cortex-a53", "arm,armv8";
75bb51b535SNeil Armstrong			reg = <0x0 0x103>;
76bb51b535SNeil Armstrong			enable-method = "psci";
77bb51b535SNeil Armstrong			next-level-cache = <&l2>;
78bd97abc0SMartin Blumenstingl			clocks = <&scpi_dvfs 1>;
79bb51b535SNeil Armstrong		};
80bb51b535SNeil Armstrong	};
81bb51b535SNeil Armstrong};
82fafdbdf7SNeil Armstrong
837fd2c355SNeil Armstrong&clkc_AO {
847fd2c355SNeil Armstrong	compatible = "amlogic,meson-gxm-aoclkc", "amlogic,meson-gx-aoclkc";
857fd2c355SNeil Armstrong};
867fd2c355SNeil Armstrong
87bd80ef5eSMartin Blumenstingl&saradc {
88bd80ef5eSMartin Blumenstingl	compatible = "amlogic,meson-gxm-saradc", "amlogic,meson-saradc";
89bd80ef5eSMartin Blumenstingl};
90bd80ef5eSMartin Blumenstingl
91bd97abc0SMartin Blumenstingl&scpi_dvfs {
92bd97abc0SMartin Blumenstingl	clock-indices = <0 1>;
93bd97abc0SMartin Blumenstingl	clock-output-names = "vbig", "vlittle";
94bd97abc0SMartin Blumenstingl};
95bd97abc0SMartin Blumenstingl
96fafdbdf7SNeil Armstrong&vpu {
97fafdbdf7SNeil Armstrong	compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu";
98fafdbdf7SNeil Armstrong};
99bd97abc0SMartin Blumenstingl
1006939db7eSNeil Armstrong&hdmi_tx {
1016939db7eSNeil Armstrong	compatible = "amlogic,meson-gxm-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
1026939db7eSNeil Armstrong};
103