xref: /freebsd/sys/contrib/device-tree/src/arm64/realtek/rtd1293.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Realtek RTD1293 SoC
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright (c) 2017-2019 Andreas Färber
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot#include "rtd129x.dtsi"
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadot/ {
11c66ec88fSEmmanuel Vadot	compatible = "realtek,rtd1293";
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot	cpus {
14c66ec88fSEmmanuel Vadot		#address-cells = <2>;
15c66ec88fSEmmanuel Vadot		#size-cells = <0>;
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot		cpu0: cpu@0 {
18c66ec88fSEmmanuel Vadot			device_type = "cpu";
19c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
20c66ec88fSEmmanuel Vadot			reg = <0x0 0x0>;
21c66ec88fSEmmanuel Vadot			next-level-cache = <&l2>;
22c66ec88fSEmmanuel Vadot		};
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot		cpu1: cpu@1 {
25c66ec88fSEmmanuel Vadot			device_type = "cpu";
26c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
27c66ec88fSEmmanuel Vadot			reg = <0x0 0x1>;
28c66ec88fSEmmanuel Vadot			next-level-cache = <&l2>;
29c66ec88fSEmmanuel Vadot		};
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot		l2: l2-cache {
32c66ec88fSEmmanuel Vadot			compatible = "cache";
33*f126890aSEmmanuel Vadot			cache-level = <2>;
34*f126890aSEmmanuel Vadot			cache-unified;
35c66ec88fSEmmanuel Vadot		};
36c66ec88fSEmmanuel Vadot	};
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot	timer {
39c66ec88fSEmmanuel Vadot		compatible = "arm,armv8-timer";
40c66ec88fSEmmanuel Vadot		interrupts = <GIC_PPI 13
41c66ec88fSEmmanuel Vadot			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
42c66ec88fSEmmanuel Vadot			     <GIC_PPI 14
43c66ec88fSEmmanuel Vadot			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
44c66ec88fSEmmanuel Vadot			     <GIC_PPI 11
45c66ec88fSEmmanuel Vadot			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
46c66ec88fSEmmanuel Vadot			     <GIC_PPI 10
47c66ec88fSEmmanuel Vadot			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
48c66ec88fSEmmanuel Vadot	};
49c66ec88fSEmmanuel Vadot};
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadot&arm_pmu {
52c66ec88fSEmmanuel Vadot	interrupt-affinity = <&cpu0>, <&cpu1>;
53c66ec88fSEmmanuel Vadot};
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel Vadot&gic {
56c66ec88fSEmmanuel Vadot	interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
57c66ec88fSEmmanuel Vadot};
58