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