18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Realtek RTD1293 SoC
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2017-2019 Andreas Färber
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include "rtd129x.dtsi"
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/ {
118c2ecf20Sopenharmony_ci	compatible = "realtek,rtd1293";
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	cpus {
148c2ecf20Sopenharmony_ci		#address-cells = <2>;
158c2ecf20Sopenharmony_ci		#size-cells = <0>;
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci		cpu0: cpu@0 {
188c2ecf20Sopenharmony_ci			device_type = "cpu";
198c2ecf20Sopenharmony_ci			compatible = "arm,cortex-a53";
208c2ecf20Sopenharmony_ci			reg = <0x0 0x0>;
218c2ecf20Sopenharmony_ci			next-level-cache = <&l2>;
228c2ecf20Sopenharmony_ci		};
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci		cpu1: cpu@1 {
258c2ecf20Sopenharmony_ci			device_type = "cpu";
268c2ecf20Sopenharmony_ci			compatible = "arm,cortex-a53";
278c2ecf20Sopenharmony_ci			reg = <0x0 0x1>;
288c2ecf20Sopenharmony_ci			next-level-cache = <&l2>;
298c2ecf20Sopenharmony_ci		};
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci		l2: l2-cache {
328c2ecf20Sopenharmony_ci			compatible = "cache";
338c2ecf20Sopenharmony_ci		};
348c2ecf20Sopenharmony_ci	};
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	timer {
378c2ecf20Sopenharmony_ci		compatible = "arm,armv8-timer";
388c2ecf20Sopenharmony_ci		interrupts = <GIC_PPI 13
398c2ecf20Sopenharmony_ci			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
408c2ecf20Sopenharmony_ci			     <GIC_PPI 14
418c2ecf20Sopenharmony_ci			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
428c2ecf20Sopenharmony_ci			     <GIC_PPI 11
438c2ecf20Sopenharmony_ci			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
448c2ecf20Sopenharmony_ci			     <GIC_PPI 10
458c2ecf20Sopenharmony_ci			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
468c2ecf20Sopenharmony_ci	};
478c2ecf20Sopenharmony_ci};
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci&arm_pmu {
508c2ecf20Sopenharmony_ci	interrupt-affinity = <&cpu0>, <&cpu1>;
518c2ecf20Sopenharmony_ci};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci&gic {
548c2ecf20Sopenharmony_ci	interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
558c2ecf20Sopenharmony_ci};
56