1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 2ca5b3410SRobert Richter/* 3ca5b3410SRobert Richter * ARM Ltd. Fast Models 4ca5b3410SRobert Richter * 5ca5b3410SRobert Richter * Architecture Envelope Model (AEM) ARMv8-A 6ca5b3410SRobert Richter * ARMAEMv8AMPCT 7ca5b3410SRobert Richter * 8ca5b3410SRobert Richter * RTSM_VE_AEMv8A.lisa 9ca5b3410SRobert Richter */ 10ca5b3410SRobert Richter 11ca5b3410SRobert Richter/dts-v1/; 12ca5b3410SRobert Richter 13ef972714SSudeep Holla#include <dt-bindings/interrupt-controller/arm-gic.h> 14ef972714SSudeep Holla 15ca5b3410SRobert Richter/memreserve/ 0x80000000 0x00010000; 16ca5b3410SRobert Richter 17349b0f95SSudeep Holla#include "rtsm_ve-motherboard.dtsi" 18349b0f95SSudeep Holla 19ca5b3410SRobert Richter/ { 20ca5b3410SRobert Richter model = "RTSM_VE_AEMv8A"; 21ca5b3410SRobert Richter compatible = "arm,rtsm_ve,aemv8a", "arm,vexpress"; 22ca5b3410SRobert Richter interrupt-parent = <&gic>; 23ca5b3410SRobert Richter #address-cells = <2>; 24ca5b3410SRobert Richter #size-cells = <2>; 25ca5b3410SRobert Richter 26ca5b3410SRobert Richter chosen { }; 27ca5b3410SRobert Richter 28ca5b3410SRobert Richter aliases { 29ca5b3410SRobert Richter serial0 = &v2m_serial0; 30ca5b3410SRobert Richter serial1 = &v2m_serial1; 31ca5b3410SRobert Richter serial2 = &v2m_serial2; 32ca5b3410SRobert Richter serial3 = &v2m_serial3; 33ca5b3410SRobert Richter }; 34ca5b3410SRobert Richter 35ca5b3410SRobert Richter cpus { 36ca5b3410SRobert Richter #address-cells = <2>; 37ca5b3410SRobert Richter #size-cells = <0>; 38ca5b3410SRobert Richter 39ca5b3410SRobert Richter cpu@0 { 40ca5b3410SRobert Richter device_type = "cpu"; 41ca5b3410SRobert Richter compatible = "arm,armv8"; 42ca5b3410SRobert Richter reg = <0x0 0x0>; 43ca5b3410SRobert Richter enable-method = "spin-table"; 44ca5b3410SRobert Richter cpu-release-addr = <0x0 0x8000fff8>; 457934d69aSSudeep Holla next-level-cache = <&L2_0>; 46ca5b3410SRobert Richter }; 47ca5b3410SRobert Richter cpu@1 { 48ca5b3410SRobert Richter device_type = "cpu"; 49ca5b3410SRobert Richter compatible = "arm,armv8"; 50ca5b3410SRobert Richter reg = <0x0 0x1>; 51ca5b3410SRobert Richter enable-method = "spin-table"; 52ca5b3410SRobert Richter cpu-release-addr = <0x0 0x8000fff8>; 537934d69aSSudeep Holla next-level-cache = <&L2_0>; 54ca5b3410SRobert Richter }; 55ca5b3410SRobert Richter cpu@2 { 56ca5b3410SRobert Richter device_type = "cpu"; 57ca5b3410SRobert Richter compatible = "arm,armv8"; 58ca5b3410SRobert Richter reg = <0x0 0x2>; 59ca5b3410SRobert Richter enable-method = "spin-table"; 60ca5b3410SRobert Richter cpu-release-addr = <0x0 0x8000fff8>; 617934d69aSSudeep Holla next-level-cache = <&L2_0>; 62ca5b3410SRobert Richter }; 63ca5b3410SRobert Richter cpu@3 { 64ca5b3410SRobert Richter device_type = "cpu"; 65ca5b3410SRobert Richter compatible = "arm,armv8"; 66ca5b3410SRobert Richter reg = <0x0 0x3>; 67ca5b3410SRobert Richter enable-method = "spin-table"; 68ca5b3410SRobert Richter cpu-release-addr = <0x0 0x8000fff8>; 697934d69aSSudeep Holla next-level-cache = <&L2_0>; 707934d69aSSudeep Holla }; 717934d69aSSudeep Holla 727934d69aSSudeep Holla L2_0: l2-cache0 { 737934d69aSSudeep Holla compatible = "cache"; 7459fb813fSPierre Gondois cache-level = <2>; 75*55b37d9cSKrzysztof Kozlowski cache-unified; 76ca5b3410SRobert Richter }; 77ca5b3410SRobert Richter }; 78ca5b3410SRobert Richter 79ca5b3410SRobert Richter memory@80000000 { 80ca5b3410SRobert Richter device_type = "memory"; 81ca5b3410SRobert Richter reg = <0x00000000 0x80000000 0 0x80000000>, 82ca5b3410SRobert Richter <0x00000008 0x80000000 0 0x80000000>; 83ca5b3410SRobert Richter }; 84ca5b3410SRobert Richter 85f1fe12c8SLinus Walleij reserved-memory { 86f1fe12c8SLinus Walleij #address-cells = <2>; 87f1fe12c8SLinus Walleij #size-cells = <2>; 88f1fe12c8SLinus Walleij ranges; 89f1fe12c8SLinus Walleij 90f1fe12c8SLinus Walleij /* Chipselect 2,00000000 is physically at 0x18000000 */ 91f1fe12c8SLinus Walleij vram: vram@18000000 { 92f1fe12c8SLinus Walleij /* 8 MB of designated video RAM */ 93f1fe12c8SLinus Walleij compatible = "shared-dma-pool"; 94f1fe12c8SLinus Walleij reg = <0x00000000 0x18000000 0 0x00800000>; 95f1fe12c8SLinus Walleij no-map; 96f1fe12c8SLinus Walleij }; 97f1fe12c8SLinus Walleij }; 98f1fe12c8SLinus Walleij 99ca5b3410SRobert Richter gic: interrupt-controller@2c001000 { 100336edacfSAndre Przywara compatible = "arm,gic-400", "arm,cortex-a15-gic"; 101ca5b3410SRobert Richter #interrupt-cells = <3>; 102ca5b3410SRobert Richter #address-cells = <0>; 103ca5b3410SRobert Richter interrupt-controller; 104ca5b3410SRobert Richter reg = <0x0 0x2c001000 0 0x1000>, 1051dff32d7SSudeep Holla <0x0 0x2c002000 0 0x2000>, 106ca5b3410SRobert Richter <0x0 0x2c004000 0 0x2000>, 107ca5b3410SRobert Richter <0x0 0x2c006000 0 0x2000>; 108ef972714SSudeep Holla interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 109ca5b3410SRobert Richter }; 110ca5b3410SRobert Richter 111ca5b3410SRobert Richter timer { 112ca5b3410SRobert Richter compatible = "arm,armv8-timer"; 113ef972714SSudeep Holla interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 114ef972714SSudeep Holla <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 115ef972714SSudeep Holla <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 116ef972714SSudeep Holla <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 117ca5b3410SRobert Richter clock-frequency = <100000000>; 118ca5b3410SRobert Richter }; 119ca5b3410SRobert Richter 120ca5b3410SRobert Richter pmu { 121ca5b3410SRobert Richter compatible = "arm,armv8-pmuv3"; 122ef972714SSudeep Holla interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 123ef972714SSudeep Holla <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 124ef972714SSudeep Holla <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 125ef972714SSudeep Holla <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 126ca5b3410SRobert Richter }; 127ca5b3410SRobert Richter 128f1fe12c8SLinus Walleij panel { 129f1fe12c8SLinus Walleij compatible = "arm,rtsm-display"; 130f1fe12c8SLinus Walleij port { 131f1fe12c8SLinus Walleij panel_in: endpoint { 132f1fe12c8SLinus Walleij remote-endpoint = <&clcd_pads>; 133f1fe12c8SLinus Walleij }; 134f1fe12c8SLinus Walleij }; 135f1fe12c8SLinus Walleij }; 136f1fe12c8SLinus Walleij 137bee7ff37SLinus Walleij bus@8000000 { 138ca5b3410SRobert Richter #interrupt-cells = <1>; 139ca5b3410SRobert Richter interrupt-map-mask = <0 0 63>; 140ef972714SSudeep Holla interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 141ef972714SSudeep Holla <0 0 1 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 142ef972714SSudeep Holla <0 0 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 143ef972714SSudeep Holla <0 0 3 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 144ef972714SSudeep Holla <0 0 4 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 145ef972714SSudeep Holla <0 0 5 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 146ef972714SSudeep Holla <0 0 6 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 147ef972714SSudeep Holla <0 0 7 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 148ef972714SSudeep Holla <0 0 8 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 149ef972714SSudeep Holla <0 0 9 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 150ef972714SSudeep Holla <0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 151ef972714SSudeep Holla <0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 152ef972714SSudeep Holla <0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 153ef972714SSudeep Holla <0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 154ef972714SSudeep Holla <0 0 14 &gic GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 155ef972714SSudeep Holla <0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 156ef972714SSudeep Holla <0 0 16 &gic GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 157ef972714SSudeep Holla <0 0 17 &gic GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 158ef972714SSudeep Holla <0 0 18 &gic GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 159ef972714SSudeep Holla <0 0 19 &gic GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 160ef972714SSudeep Holla <0 0 20 &gic GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 161ef972714SSudeep Holla <0 0 21 &gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 162ef972714SSudeep Holla <0 0 22 &gic GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 163ef972714SSudeep Holla <0 0 23 &gic GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 164ef972714SSudeep Holla <0 0 24 &gic GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 165ef972714SSudeep Holla <0 0 25 &gic GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 166ef972714SSudeep Holla <0 0 26 &gic GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 167ef972714SSudeep Holla <0 0 27 &gic GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, 168ef972714SSudeep Holla <0 0 28 &gic GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, 169ef972714SSudeep Holla <0 0 29 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 170ef972714SSudeep Holla <0 0 30 &gic GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 171ef972714SSudeep Holla <0 0 31 &gic GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 172ef972714SSudeep Holla <0 0 32 &gic GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 173ef972714SSudeep Holla <0 0 33 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 174ef972714SSudeep Holla <0 0 34 &gic GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 175ef972714SSudeep Holla <0 0 35 &gic GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 176ef972714SSudeep Holla <0 0 36 &gic GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 177ef972714SSudeep Holla <0 0 37 &gic GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 178ef972714SSudeep Holla <0 0 38 &gic GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, 179ef972714SSudeep Holla <0 0 39 &gic GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 180ef972714SSudeep Holla <0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 181ef972714SSudeep Holla <0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 182ef972714SSudeep Holla <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 183ca5b3410SRobert Richter }; 184ca5b3410SRobert Richter}; 185