1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Realtek RTD1296 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,rtd1296"; 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 cpu2: cpu@2 { 32c66ec88fSEmmanuel Vadot device_type = "cpu"; 33c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 34c66ec88fSEmmanuel Vadot reg = <0x0 0x2>; 35c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 36c66ec88fSEmmanuel Vadot }; 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot cpu3: cpu@3 { 39c66ec88fSEmmanuel Vadot device_type = "cpu"; 40c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 41c66ec88fSEmmanuel Vadot reg = <0x0 0x3>; 42c66ec88fSEmmanuel Vadot next-level-cache = <&l2>; 43c66ec88fSEmmanuel Vadot }; 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot l2: l2-cache { 46c66ec88fSEmmanuel Vadot compatible = "cache"; 47*f126890aSEmmanuel Vadot cache-level = <2>; 48*f126890aSEmmanuel Vadot cache-unified; 49c66ec88fSEmmanuel Vadot }; 50c66ec88fSEmmanuel Vadot }; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot timer { 53c66ec88fSEmmanuel Vadot compatible = "arm,armv8-timer"; 54c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 13 55c66ec88fSEmmanuel Vadot (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 56c66ec88fSEmmanuel Vadot <GIC_PPI 14 57c66ec88fSEmmanuel Vadot (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 58c66ec88fSEmmanuel Vadot <GIC_PPI 11 59c66ec88fSEmmanuel Vadot (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 60c66ec88fSEmmanuel Vadot <GIC_PPI 10 61c66ec88fSEmmanuel Vadot (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot}; 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot&arm_pmu { 66c66ec88fSEmmanuel Vadot interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 67c66ec88fSEmmanuel Vadot}; 68