162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * ARM Ltd. Fast Models 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Architecture Envelope Model (AEM) ARMv8-A 662306a36Sopenharmony_ci * ARMAEMv8AMPCT 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * RTSM_VE_AEMv8A.lisa 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/dts-v1/; 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include <dt-bindings/interrupt-controller/arm-gic.h> 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci/memreserve/ 0x80000000 0x00010000; 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#include "rtsm_ve-motherboard.dtsi" 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci/ { 2062306a36Sopenharmony_ci model = "RTSM_VE_AEMv8A"; 2162306a36Sopenharmony_ci compatible = "arm,rtsm_ve,aemv8a", "arm,vexpress"; 2262306a36Sopenharmony_ci interrupt-parent = <&gic>; 2362306a36Sopenharmony_ci #address-cells = <2>; 2462306a36Sopenharmony_ci #size-cells = <2>; 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci chosen { }; 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci aliases { 2962306a36Sopenharmony_ci serial0 = &v2m_serial0; 3062306a36Sopenharmony_ci serial1 = &v2m_serial1; 3162306a36Sopenharmony_ci serial2 = &v2m_serial2; 3262306a36Sopenharmony_ci serial3 = &v2m_serial3; 3362306a36Sopenharmony_ci }; 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci cpus { 3662306a36Sopenharmony_ci #address-cells = <2>; 3762306a36Sopenharmony_ci #size-cells = <0>; 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci cpu@0 { 4062306a36Sopenharmony_ci device_type = "cpu"; 4162306a36Sopenharmony_ci compatible = "arm,armv8"; 4262306a36Sopenharmony_ci reg = <0x0 0x0>; 4362306a36Sopenharmony_ci enable-method = "spin-table"; 4462306a36Sopenharmony_ci cpu-release-addr = <0x0 0x8000fff8>; 4562306a36Sopenharmony_ci next-level-cache = <&L2_0>; 4662306a36Sopenharmony_ci }; 4762306a36Sopenharmony_ci cpu@1 { 4862306a36Sopenharmony_ci device_type = "cpu"; 4962306a36Sopenharmony_ci compatible = "arm,armv8"; 5062306a36Sopenharmony_ci reg = <0x0 0x1>; 5162306a36Sopenharmony_ci enable-method = "spin-table"; 5262306a36Sopenharmony_ci cpu-release-addr = <0x0 0x8000fff8>; 5362306a36Sopenharmony_ci next-level-cache = <&L2_0>; 5462306a36Sopenharmony_ci }; 5562306a36Sopenharmony_ci cpu@2 { 5662306a36Sopenharmony_ci device_type = "cpu"; 5762306a36Sopenharmony_ci compatible = "arm,armv8"; 5862306a36Sopenharmony_ci reg = <0x0 0x2>; 5962306a36Sopenharmony_ci enable-method = "spin-table"; 6062306a36Sopenharmony_ci cpu-release-addr = <0x0 0x8000fff8>; 6162306a36Sopenharmony_ci next-level-cache = <&L2_0>; 6262306a36Sopenharmony_ci }; 6362306a36Sopenharmony_ci cpu@3 { 6462306a36Sopenharmony_ci device_type = "cpu"; 6562306a36Sopenharmony_ci compatible = "arm,armv8"; 6662306a36Sopenharmony_ci reg = <0x0 0x3>; 6762306a36Sopenharmony_ci enable-method = "spin-table"; 6862306a36Sopenharmony_ci cpu-release-addr = <0x0 0x8000fff8>; 6962306a36Sopenharmony_ci next-level-cache = <&L2_0>; 7062306a36Sopenharmony_ci }; 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ci L2_0: l2-cache0 { 7362306a36Sopenharmony_ci compatible = "cache"; 7462306a36Sopenharmony_ci cache-level = <2>; 7562306a36Sopenharmony_ci cache-unified; 7662306a36Sopenharmony_ci }; 7762306a36Sopenharmony_ci }; 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ci memory@80000000 { 8062306a36Sopenharmony_ci device_type = "memory"; 8162306a36Sopenharmony_ci reg = <0x00000000 0x80000000 0 0x80000000>, 8262306a36Sopenharmony_ci <0x00000008 0x80000000 0 0x80000000>; 8362306a36Sopenharmony_ci }; 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ci reserved-memory { 8662306a36Sopenharmony_ci #address-cells = <2>; 8762306a36Sopenharmony_ci #size-cells = <2>; 8862306a36Sopenharmony_ci ranges; 8962306a36Sopenharmony_ci 9062306a36Sopenharmony_ci /* Chipselect 2,00000000 is physically at 0x18000000 */ 9162306a36Sopenharmony_ci vram: vram@18000000 { 9262306a36Sopenharmony_ci /* 8 MB of designated video RAM */ 9362306a36Sopenharmony_ci compatible = "shared-dma-pool"; 9462306a36Sopenharmony_ci reg = <0x00000000 0x18000000 0 0x00800000>; 9562306a36Sopenharmony_ci no-map; 9662306a36Sopenharmony_ci }; 9762306a36Sopenharmony_ci }; 9862306a36Sopenharmony_ci 9962306a36Sopenharmony_ci gic: interrupt-controller@2c001000 { 10062306a36Sopenharmony_ci compatible = "arm,gic-400", "arm,cortex-a15-gic"; 10162306a36Sopenharmony_ci #interrupt-cells = <3>; 10262306a36Sopenharmony_ci #address-cells = <0>; 10362306a36Sopenharmony_ci interrupt-controller; 10462306a36Sopenharmony_ci reg = <0x0 0x2c001000 0 0x1000>, 10562306a36Sopenharmony_ci <0x0 0x2c002000 0 0x2000>, 10662306a36Sopenharmony_ci <0x0 0x2c004000 0 0x2000>, 10762306a36Sopenharmony_ci <0x0 0x2c006000 0 0x2000>; 10862306a36Sopenharmony_ci interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 10962306a36Sopenharmony_ci }; 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci timer { 11262306a36Sopenharmony_ci compatible = "arm,armv8-timer"; 11362306a36Sopenharmony_ci interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 11462306a36Sopenharmony_ci <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 11562306a36Sopenharmony_ci <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 11662306a36Sopenharmony_ci <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 11762306a36Sopenharmony_ci clock-frequency = <100000000>; 11862306a36Sopenharmony_ci }; 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ci pmu { 12162306a36Sopenharmony_ci compatible = "arm,armv8-pmuv3"; 12262306a36Sopenharmony_ci interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 12362306a36Sopenharmony_ci <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 12462306a36Sopenharmony_ci <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 12562306a36Sopenharmony_ci <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 12662306a36Sopenharmony_ci }; 12762306a36Sopenharmony_ci 12862306a36Sopenharmony_ci panel { 12962306a36Sopenharmony_ci compatible = "arm,rtsm-display"; 13062306a36Sopenharmony_ci port { 13162306a36Sopenharmony_ci panel_in: endpoint { 13262306a36Sopenharmony_ci remote-endpoint = <&clcd_pads>; 13362306a36Sopenharmony_ci }; 13462306a36Sopenharmony_ci }; 13562306a36Sopenharmony_ci }; 13662306a36Sopenharmony_ci 13762306a36Sopenharmony_ci bus@8000000 { 13862306a36Sopenharmony_ci #interrupt-cells = <1>; 13962306a36Sopenharmony_ci interrupt-map-mask = <0 0 63>; 14062306a36Sopenharmony_ci interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 14162306a36Sopenharmony_ci <0 0 1 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 14262306a36Sopenharmony_ci <0 0 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 14362306a36Sopenharmony_ci <0 0 3 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 14462306a36Sopenharmony_ci <0 0 4 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 14562306a36Sopenharmony_ci <0 0 5 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 14662306a36Sopenharmony_ci <0 0 6 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 14762306a36Sopenharmony_ci <0 0 7 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 14862306a36Sopenharmony_ci <0 0 8 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 14962306a36Sopenharmony_ci <0 0 9 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 15062306a36Sopenharmony_ci <0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 15162306a36Sopenharmony_ci <0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 15262306a36Sopenharmony_ci <0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 15362306a36Sopenharmony_ci <0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 15462306a36Sopenharmony_ci <0 0 14 &gic GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 15562306a36Sopenharmony_ci <0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 15662306a36Sopenharmony_ci <0 0 16 &gic GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 15762306a36Sopenharmony_ci <0 0 17 &gic GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 15862306a36Sopenharmony_ci <0 0 18 &gic GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 15962306a36Sopenharmony_ci <0 0 19 &gic GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 16062306a36Sopenharmony_ci <0 0 20 &gic GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 16162306a36Sopenharmony_ci <0 0 21 &gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 16262306a36Sopenharmony_ci <0 0 22 &gic GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 16362306a36Sopenharmony_ci <0 0 23 &gic GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 16462306a36Sopenharmony_ci <0 0 24 &gic GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 16562306a36Sopenharmony_ci <0 0 25 &gic GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 16662306a36Sopenharmony_ci <0 0 26 &gic GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 16762306a36Sopenharmony_ci <0 0 27 &gic GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, 16862306a36Sopenharmony_ci <0 0 28 &gic GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, 16962306a36Sopenharmony_ci <0 0 29 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 17062306a36Sopenharmony_ci <0 0 30 &gic GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 17162306a36Sopenharmony_ci <0 0 31 &gic GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 17262306a36Sopenharmony_ci <0 0 32 &gic GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 17362306a36Sopenharmony_ci <0 0 33 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 17462306a36Sopenharmony_ci <0 0 34 &gic GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 17562306a36Sopenharmony_ci <0 0 35 &gic GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 17662306a36Sopenharmony_ci <0 0 36 &gic GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 17762306a36Sopenharmony_ci <0 0 37 &gic GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 17862306a36Sopenharmony_ci <0 0 38 &gic GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, 17962306a36Sopenharmony_ci <0 0 39 &gic GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 18062306a36Sopenharmony_ci <0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 18162306a36Sopenharmony_ci <0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 18262306a36Sopenharmony_ci <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 18362306a36Sopenharmony_ci }; 18462306a36Sopenharmony_ci}; 185