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"; 74ca5b3410SRobert Richter }; 75ca5b3410SRobert Richter }; 76ca5b3410SRobert Richter 77ca5b3410SRobert Richter memory@80000000 { 78ca5b3410SRobert Richter device_type = "memory"; 79ca5b3410SRobert Richter reg = <0x00000000 0x80000000 0 0x80000000>, 80ca5b3410SRobert Richter <0x00000008 0x80000000 0 0x80000000>; 81ca5b3410SRobert Richter }; 82ca5b3410SRobert Richter 83f1fe12c8SLinus Walleij reserved-memory { 84f1fe12c8SLinus Walleij #address-cells = <2>; 85f1fe12c8SLinus Walleij #size-cells = <2>; 86f1fe12c8SLinus Walleij ranges; 87f1fe12c8SLinus Walleij 88f1fe12c8SLinus Walleij /* Chipselect 2,00000000 is physically at 0x18000000 */ 89f1fe12c8SLinus Walleij vram: vram@18000000 { 90f1fe12c8SLinus Walleij /* 8 MB of designated video RAM */ 91f1fe12c8SLinus Walleij compatible = "shared-dma-pool"; 92f1fe12c8SLinus Walleij reg = <0x00000000 0x18000000 0 0x00800000>; 93f1fe12c8SLinus Walleij no-map; 94f1fe12c8SLinus Walleij }; 95f1fe12c8SLinus Walleij }; 96f1fe12c8SLinus Walleij 97ca5b3410SRobert Richter gic: interrupt-controller@2c001000 { 98*336edacfSAndre Przywara compatible = "arm,gic-400", "arm,cortex-a15-gic"; 99ca5b3410SRobert Richter #interrupt-cells = <3>; 100ca5b3410SRobert Richter #address-cells = <0>; 101ca5b3410SRobert Richter interrupt-controller; 102ca5b3410SRobert Richter reg = <0x0 0x2c001000 0 0x1000>, 1031dff32d7SSudeep Holla <0x0 0x2c002000 0 0x2000>, 104ca5b3410SRobert Richter <0x0 0x2c004000 0 0x2000>, 105ca5b3410SRobert Richter <0x0 0x2c006000 0 0x2000>; 106ef972714SSudeep Holla interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 107ca5b3410SRobert Richter }; 108ca5b3410SRobert Richter 109ca5b3410SRobert Richter timer { 110ca5b3410SRobert Richter compatible = "arm,armv8-timer"; 111ef972714SSudeep Holla interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 112ef972714SSudeep Holla <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 113ef972714SSudeep Holla <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 114ef972714SSudeep Holla <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 115ca5b3410SRobert Richter clock-frequency = <100000000>; 116ca5b3410SRobert Richter }; 117ca5b3410SRobert Richter 118ca5b3410SRobert Richter pmu { 119ca5b3410SRobert Richter compatible = "arm,armv8-pmuv3"; 120ef972714SSudeep Holla interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 121ef972714SSudeep Holla <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 122ef972714SSudeep Holla <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 123ef972714SSudeep Holla <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 124ca5b3410SRobert Richter }; 125ca5b3410SRobert Richter 126f1fe12c8SLinus Walleij panel { 127f1fe12c8SLinus Walleij compatible = "arm,rtsm-display"; 128f1fe12c8SLinus Walleij port { 129f1fe12c8SLinus Walleij panel_in: endpoint { 130f1fe12c8SLinus Walleij remote-endpoint = <&clcd_pads>; 131f1fe12c8SLinus Walleij }; 132f1fe12c8SLinus Walleij }; 133f1fe12c8SLinus Walleij }; 134f1fe12c8SLinus Walleij 135bee7ff37SLinus Walleij bus@8000000 { 136ca5b3410SRobert Richter compatible = "simple-bus"; 137ca5b3410SRobert Richter 138ca5b3410SRobert Richter #address-cells = <2>; 139ca5b3410SRobert Richter #size-cells = <1>; 140ca5b3410SRobert Richter ranges = <0 0 0 0x08000000 0x04000000>, 141ca5b3410SRobert Richter <1 0 0 0x14000000 0x04000000>, 142ca5b3410SRobert Richter <2 0 0 0x18000000 0x04000000>, 143ca5b3410SRobert Richter <3 0 0 0x1c000000 0x04000000>, 144ca5b3410SRobert Richter <4 0 0 0x0c000000 0x04000000>, 145ca5b3410SRobert Richter <5 0 0 0x10000000 0x04000000>; 146ca5b3410SRobert Richter 147ca5b3410SRobert Richter #interrupt-cells = <1>; 148ca5b3410SRobert Richter interrupt-map-mask = <0 0 63>; 149ef972714SSudeep Holla interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 150ef972714SSudeep Holla <0 0 1 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 151ef972714SSudeep Holla <0 0 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 152ef972714SSudeep Holla <0 0 3 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 153ef972714SSudeep Holla <0 0 4 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 154ef972714SSudeep Holla <0 0 5 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 155ef972714SSudeep Holla <0 0 6 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 156ef972714SSudeep Holla <0 0 7 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 157ef972714SSudeep Holla <0 0 8 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 158ef972714SSudeep Holla <0 0 9 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 159ef972714SSudeep Holla <0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 160ef972714SSudeep Holla <0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 161ef972714SSudeep Holla <0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 162ef972714SSudeep Holla <0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 163ef972714SSudeep Holla <0 0 14 &gic GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 164ef972714SSudeep Holla <0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 165ef972714SSudeep Holla <0 0 16 &gic GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 166ef972714SSudeep Holla <0 0 17 &gic GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 167ef972714SSudeep Holla <0 0 18 &gic GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 168ef972714SSudeep Holla <0 0 19 &gic GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 169ef972714SSudeep Holla <0 0 20 &gic GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 170ef972714SSudeep Holla <0 0 21 &gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 171ef972714SSudeep Holla <0 0 22 &gic GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 172ef972714SSudeep Holla <0 0 23 &gic GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 173ef972714SSudeep Holla <0 0 24 &gic GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 174ef972714SSudeep Holla <0 0 25 &gic GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 175ef972714SSudeep Holla <0 0 26 &gic GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 176ef972714SSudeep Holla <0 0 27 &gic GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, 177ef972714SSudeep Holla <0 0 28 &gic GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, 178ef972714SSudeep Holla <0 0 29 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 179ef972714SSudeep Holla <0 0 30 &gic GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 180ef972714SSudeep Holla <0 0 31 &gic GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 181ef972714SSudeep Holla <0 0 32 &gic GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 182ef972714SSudeep Holla <0 0 33 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 183ef972714SSudeep Holla <0 0 34 &gic GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 184ef972714SSudeep Holla <0 0 35 &gic GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 185ef972714SSudeep Holla <0 0 36 &gic GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 186ef972714SSudeep Holla <0 0 37 &gic GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 187ef972714SSudeep Holla <0 0 38 &gic GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, 188ef972714SSudeep Holla <0 0 39 &gic GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 189ef972714SSudeep Holla <0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 190ef972714SSudeep Holla <0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 191ef972714SSudeep Holla <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 192ca5b3410SRobert Richter }; 193ca5b3410SRobert Richter}; 194