xref: /rk3399_ARM-atf/fdts/fvp-ve-Cortex-A7x1.dts (revision 53e4c160aef41f9015d889796e7e98c79ef6a8e3)
16393c787SUsama Arif/*
2a25349b7SAndre Przywara * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
36393c787SUsama Arif *
46393c787SUsama Arif * SPDX-License-Identifier: BSD-3-Clause
56393c787SUsama Arif */
66393c787SUsama Arif
7a25349b7SAndre Przywara#include <dt-bindings/interrupt-controller/arm-gic.h>
8a25349b7SAndre Przywara
96393c787SUsama Arif/dts-v1/;
106393c787SUsama Arif
11*2716bd33SAndre Przywara#include "rtsm_ve-motherboard.dtsi"
12*2716bd33SAndre Przywara
136393c787SUsama Arif/ {
146393c787SUsama Arif	model = "V2F-1XV7 Cortex-A7x1 SMM";
156393c787SUsama Arif	compatible = "arm,vexpress,v2f-1xv7", "arm,vexpress";
166393c787SUsama Arif	interrupt-parent = <&gic>;
176393c787SUsama Arif	#address-cells = <2>;
18a25349b7SAndre Przywara	#size-cells = <1>;
196393c787SUsama Arif
206393c787SUsama Arif	cpus {
21a25349b7SAndre Przywara		#address-cells = <1>;
226393c787SUsama Arif		#size-cells = <0>;
236393c787SUsama Arif
246393c787SUsama Arif		cpu@0 {
256393c787SUsama Arif			device_type = "cpu";
266393c787SUsama Arif			compatible = "arm,cortex-a7";
27a25349b7SAndre Przywara			reg = <0>;
286393c787SUsama Arif		};
296393c787SUsama Arif	};
306393c787SUsama Arif
316393c787SUsama Arif	memory@0,80000000 {
326393c787SUsama Arif		device_type = "memory";
33a25349b7SAndre Przywara		reg = <0 0x80000000 0x80000000>; /* 2GB @ 2GB */
346393c787SUsama Arif	};
356393c787SUsama Arif
36*2716bd33SAndre Przywara	reserved-memory {
37*2716bd33SAndre Przywara		#address-cells = <2>;
38*2716bd33SAndre Przywara		#size-cells = <1>;
39*2716bd33SAndre Przywara		ranges;
40*2716bd33SAndre Przywara
41*2716bd33SAndre Przywara		/* Chipselect 2,00000000 is physically at 0x18000000 */
42*2716bd33SAndre Przywara		vram: vram@18000000 {
43*2716bd33SAndre Przywara			/* 8 MB of designated video RAM */
44*2716bd33SAndre Przywara			compatible = "shared-dma-pool";
45*2716bd33SAndre Przywara			reg = <0 0x18000000 0x00800000>;
46*2716bd33SAndre Przywara			no-map;
47*2716bd33SAndre Przywara		};
48*2716bd33SAndre Przywara	};
49*2716bd33SAndre Przywara
506393c787SUsama Arif	gic: interrupt-controller@2c001000 {
516393c787SUsama Arif		compatible = "arm,cortex-a15-gic";
526393c787SUsama Arif		#interrupt-cells = <3>;
536393c787SUsama Arif		#address-cells = <0>;
546393c787SUsama Arif		interrupt-controller;
55a25349b7SAndre Przywara		reg = <0 0x2c001000 0x1000>,
56a25349b7SAndre Przywara		      <0 0x2c002000 0x1000>,
57a25349b7SAndre Przywara		      <0 0x2c004000 0x2000>,
58a25349b7SAndre Przywara		      <0 0x2c006000 0x2000>;
596393c787SUsama Arif		interrupts = <1 9 0xf04>;
606393c787SUsama Arif	};
616393c787SUsama Arif
626393c787SUsama Arif	smbclk: refclk24mhzx2 {
636393c787SUsama Arif		/* Reference 24MHz clock x 2 */
646393c787SUsama Arif		compatible = "fixed-clock";
656393c787SUsama Arif		#clock-cells = <0>;
666393c787SUsama Arif		clock-frequency = <48000000>;
676393c787SUsama Arif		clock-output-names = "smclk";
686393c787SUsama Arif	};
696393c787SUsama Arif
70*2716bd33SAndre Przywara	panel {
71*2716bd33SAndre Przywara		compatible = "arm,rtsm-display";
72*2716bd33SAndre Przywara		port {
73*2716bd33SAndre Przywara			panel_in: endpoint {
74*2716bd33SAndre Przywara				remote-endpoint = <&clcd_pads>;
75*2716bd33SAndre Przywara			};
76*2716bd33SAndre Przywara		};
77*2716bd33SAndre Przywara	};
786393c787SUsama Arif
79*2716bd33SAndre Przywara	bus@8000000 {
806393c787SUsama Arif		#interrupt-cells = <1>;
816393c787SUsama Arif		interrupt-map-mask = <0 0 63>;
82a25349b7SAndre Przywara		interrupt-map = <0 0  0 &gic GIC_SPI  0 IRQ_TYPE_LEVEL_HIGH>,
83a25349b7SAndre Przywara				<0 0  1 &gic GIC_SPI  1 IRQ_TYPE_LEVEL_HIGH>,
84a25349b7SAndre Przywara				<0 0  2 &gic GIC_SPI  2 IRQ_TYPE_LEVEL_HIGH>,
85a25349b7SAndre Przywara				<0 0  3 &gic GIC_SPI  3 IRQ_TYPE_LEVEL_HIGH>,
86a25349b7SAndre Przywara				<0 0  4 &gic GIC_SPI  4 IRQ_TYPE_LEVEL_HIGH>,
87a25349b7SAndre Przywara				<0 0  5 &gic GIC_SPI  5 IRQ_TYPE_LEVEL_HIGH>,
88a25349b7SAndre Przywara				<0 0  6 &gic GIC_SPI  6 IRQ_TYPE_LEVEL_HIGH>,
89a25349b7SAndre Przywara				<0 0  7 &gic GIC_SPI  7 IRQ_TYPE_LEVEL_HIGH>,
90a25349b7SAndre Przywara				<0 0  8 &gic GIC_SPI  8 IRQ_TYPE_LEVEL_HIGH>,
91a25349b7SAndre Przywara				<0 0  9 &gic GIC_SPI  9 IRQ_TYPE_LEVEL_HIGH>,
92a25349b7SAndre Przywara				<0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
93a25349b7SAndre Przywara				<0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
94a25349b7SAndre Przywara				<0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
95a25349b7SAndre Przywara				<0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
96a25349b7SAndre Przywara				<0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
97a25349b7SAndre Przywara				<0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
98a25349b7SAndre Przywara				<0 0 43 &gic GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
99a25349b7SAndre Przywara				<0 0 44 &gic GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
100a25349b7SAndre Przywara				<0 0 46 &gic GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1016393c787SUsama Arif	};
1026393c787SUsama Arif};
103