blob: 612b3b2d1284376f63696cd5a3d2dd929e731be8 [file] [log] [blame]
Usama Arif078e66f2018-12-12 17:14:29 +00001/*
Andre Przywara14f5dab2022-08-25 12:59:10 +01002 * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
Usama Arif078e66f2018-12-12 17:14:29 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Andre Przywara14f5dab2022-08-25 12:59:10 +01007#include <dt-bindings/interrupt-controller/arm-gic.h>
8
Usama Arif078e66f2018-12-12 17:14:29 +00009/dts-v1/;
10
Andre Przywara974fc952022-08-19 16:21:29 +010011#include "rtsm_ve-motherboard.dtsi"
12
Usama Arif078e66f2018-12-12 17:14:29 +000013/ {
14 model = "V2P-CA5s";
15 compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress";
16 interrupt-parent = <&gic>;
Andre Przywara14f5dab2022-08-25 12:59:10 +010017 #address-cells = <2>;
Usama Arif078e66f2018-12-12 17:14:29 +000018 #size-cells = <1>;
19
20 cpus {
21 #address-cells = <1>;
22 #size-cells = <0>;
23
24 cpu@0 {
25 device_type = "cpu";
26 compatible = "arm,cortex-a5";
27 reg = <0>;
28 };
29
30 };
31
32 memory@80000000 {
33 device_type = "memory";
Andre Przywara14f5dab2022-08-25 12:59:10 +010034 reg = <0 0x80000000 0x1000000>;
Usama Arif078e66f2018-12-12 17:14:29 +000035 };
36
Andre Przywara974fc952022-08-19 16:21:29 +010037 reserved-memory {
38 #address-cells = <2>;
39 #size-cells = <1>;
40 ranges;
41
42 /* Chipselect 2,00000000 is physically at 0x18000000 */
43 vram: vram@18000000 {
44 /* 8 MB of designated video RAM */
45 compatible = "shared-dma-pool";
46 reg = <0 0x18000000 0x00800000>;
47 no-map;
48 };
49 };
50
Usama Arif078e66f2018-12-12 17:14:29 +000051 hdlcd@2a110000 {
52 compatible = "arm,hdlcd";
Andre Przywara14f5dab2022-08-25 12:59:10 +010053 reg = <0 0x2a110000 0x1000>;
Usama Arif078e66f2018-12-12 17:14:29 +000054 interrupts = <0 85 4>;
55 clocks = <&oscclk3>;
56 clock-names = "pxlclk";
57 };
58
59 scu@2c000000 {
60 compatible = "arm,cortex-a5-scu";
Andre Przywara14f5dab2022-08-25 12:59:10 +010061 reg = <0 0x2c000000 0x58>;
Usama Arif078e66f2018-12-12 17:14:29 +000062 };
63
64 watchdog@2c000620 {
65 compatible = "arm,cortex-a5-twd-wdt";
Andre Przywara14f5dab2022-08-25 12:59:10 +010066 reg = <0 0x2c000620 0x20>;
Usama Arif078e66f2018-12-12 17:14:29 +000067 interrupts = <1 14 0x304>;
68 };
69
70 gic: interrupt-controller@2c001000 {
71 compatible = "arm,cortex-a9-gic";
72 #interrupt-cells = <3>;
73 #address-cells = <0>;
74 interrupt-controller;
Andre Przywara14f5dab2022-08-25 12:59:10 +010075 reg = <0 0x2c001000 0x1000>,
76 <0 0x2c000100 0x100>;
Usama Arif078e66f2018-12-12 17:14:29 +000077 };
78
Andre Przywara974fc952022-08-19 16:21:29 +010079 mcc {
Andre Przywaradf7041b2022-08-23 10:45:54 +010080 oscclk0: oscclk0 {
Usama Arif078e66f2018-12-12 17:14:29 +000081 /* CPU and internal AXI reference clock */
82 compatible = "arm,vexpress-osc";
83 arm,vexpress-sysreg,func = <1 0>;
84 freq-range = <50000000 100000000>;
85 #clock-cells = <0>;
86 clock-output-names = "oscclk0";
87 };
88
Andre Przywaradf7041b2022-08-23 10:45:54 +010089 oscclk1: oscclk1 {
Usama Arif078e66f2018-12-12 17:14:29 +000090 /* Multiplexed AXI master clock */
91 compatible = "arm,vexpress-osc";
92 arm,vexpress-sysreg,func = <1 1>;
93 freq-range = <5000000 50000000>;
94 #clock-cells = <0>;
95 clock-output-names = "oscclk1";
96 };
97
Andre Przywaradf7041b2022-08-23 10:45:54 +010098 oscclk2 {
Usama Arif078e66f2018-12-12 17:14:29 +000099 /* DDR2 */
100 compatible = "arm,vexpress-osc";
101 arm,vexpress-sysreg,func = <1 2>;
102 freq-range = <80000000 120000000>;
103 #clock-cells = <0>;
104 clock-output-names = "oscclk2";
105 };
106
Andre Przywaradf7041b2022-08-23 10:45:54 +0100107 oscclk3: oscclk3 {
Usama Arif078e66f2018-12-12 17:14:29 +0000108 /* HDLCD */
109 compatible = "arm,vexpress-osc";
110 arm,vexpress-sysreg,func = <1 3>;
111 freq-range = <23750000 165000000>;
112 #clock-cells = <0>;
113 clock-output-names = "oscclk3";
114 };
115
Andre Przywaradf7041b2022-08-23 10:45:54 +0100116 oscclk4 {
Usama Arif078e66f2018-12-12 17:14:29 +0000117 /* Test chip gate configuration */
118 compatible = "arm,vexpress-osc";
119 arm,vexpress-sysreg,func = <1 4>;
120 freq-range = <80000000 80000000>;
121 #clock-cells = <0>;
122 clock-output-names = "oscclk4";
123 };
124
Andre Przywaradf7041b2022-08-23 10:45:54 +0100125 smbclk: oscclk5 {
Usama Arif078e66f2018-12-12 17:14:29 +0000126 /* SMB clock */
127 compatible = "arm,vexpress-osc";
128 arm,vexpress-sysreg,func = <1 5>;
129 freq-range = <25000000 60000000>;
130 #clock-cells = <0>;
131 clock-output-names = "oscclk5";
132 };
133 };
134
Andre Przywara974fc952022-08-19 16:21:29 +0100135 panel {
136 compatible = "arm,rtsm-display";
137 port {
138 panel_in: endpoint {
139 remote-endpoint = <&clcd_pads>;
140 };
141 };
142 };
Usama Arif078e66f2018-12-12 17:14:29 +0000143
Andre Przywara974fc952022-08-19 16:21:29 +0100144 bus@8000000 {
Usama Arif078e66f2018-12-12 17:14:29 +0000145 #interrupt-cells = <1>;
146 interrupt-map-mask = <0 0 63>;
Andre Przywara14f5dab2022-08-25 12:59:10 +0100147 interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
148 <0 0 1 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
149 <0 0 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
150 <0 0 3 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
151 <0 0 4 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
152 <0 0 5 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
153 <0 0 6 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
154 <0 0 7 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
155 <0 0 8 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
156 <0 0 9 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
157 <0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
158 <0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
159 <0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
160 <0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
161 <0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
162 <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
163 <0 0 43 &gic GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
164 <0 0 44 &gic GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
165 <0 0 46 &gic GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Usama Arif078e66f2018-12-12 17:14:29 +0000166 };
167};