blob: f119820a5ee72ef4d8e316ea690aba94cd59ad1e [file] [log] [blame]
Manoj Kumar779e4152020-07-31 12:32:36 +01001/*
Anurag Koul6f749e22021-08-25 19:34:20 +05302 * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
Manoj Kumar779e4152020-07-31 12:32:36 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <dt-bindings/interrupt-controller/arm-gic.h>
8
9/ {
10 compatible = "arm,morello";
11
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
15
16 aliases {
17 serial0 = &soc_uart0;
18 };
19
20 gic: interrupt-controller@2c010000 {
21 compatible = "arm,gic-600", "arm,gic-v3";
22 #address-cells = <2>;
23 #interrupt-cells = <3>;
24 #size-cells = <2>;
25 ranges;
26 interrupt-controller;
27 };
28
29 pmu {
30 compatible = "arm,armv8-pmuv3";
31 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
32 };
33
34 spe-pmu {
35 compatible = "arm,statistical-profiling-extension-v1";
36 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
37 };
38
39 psci {
40 compatible = "arm,psci-0.2";
41 method = "smc";
42 };
43
44 timer {
45 compatible = "arm,armv8-timer";
46 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
47 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
48 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
49 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
50 };
51
52 mailbox: mhu@45000000 {
53 compatible = "arm,mhu-doorbell", "arm,primecell";
54 reg = <0x0 0x45000000 0x0 0x1000>;
55 interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>;
57 interrupt-names = "mhu_lpri_rx",
58 "mhu_hpri_rx";
59 #mbox-cells = <2>;
60 mbox-name = "ARM-MHU";
Anurag Koul6f749e22021-08-25 19:34:20 +053061 clocks = <&soc_refclk50mhz>;
Manoj Kumar779e4152020-07-31 12:32:36 +010062 clock-names = "apb_pclk";
63 };
64
65 sram: sram@45200000 {
66 compatible = "mmio-sram";
Anurag Koulb7682b42021-12-03 10:16:47 +000067 reg = <0x0 0x06000000 0x0 0x8000>;
Manoj Kumar779e4152020-07-31 12:32:36 +010068
69 #address-cells = <1>;
70 #size-cells = <1>;
Anurag Koulb7682b42021-12-03 10:16:47 +000071 ranges = <0 0x0 0x06000000 0x8000>;
Manoj Kumar779e4152020-07-31 12:32:36 +010072
73 cpu_scp_hpri0: scp-shmem@0 {
74 compatible = "arm,scmi-shmem";
75 reg = <0x0 0x80>;
76 };
77
78 cpu_scp_hpri1: scp-shmem@80 {
79 compatible = "arm,scmi-shmem";
80 reg = <0x80 0x80>;
81 };
82 };
83
Anurag Koul6f749e22021-08-25 19:34:20 +053084 soc_refclk50mhz: refclk50mhz {
Manoj Kumar779e4152020-07-31 12:32:36 +010085 compatible = "fixed-clock";
86 #clock-cells = <0>;
Anurag Koul6f749e22021-08-25 19:34:20 +053087 clock-frequency = <50000000>;
Manoj Kumar779e4152020-07-31 12:32:36 +010088 clock-output-names = "apb_pclk";
89 };
90
91 soc_uartclk: uartclk {
92 compatible = "fixed-clock";
93 #clock-cells = <0>;
94 clock-frequency = <50000000>;
95 clock-output-names = "uartclk";
96 };
97
98 soc_uart0: uart@2a400000 {
99 compatible = "arm,pl011", "arm,primecell";
100 reg = <0x0 0x2a400000 0x0 0x1000>;
101 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Anurag Koul6f749e22021-08-25 19:34:20 +0530102 clocks = <&soc_uartclk>, <&soc_refclk50mhz>;
Manoj Kumar779e4152020-07-31 12:32:36 +0100103 clock-names = "uartclk", "apb_pclk";
104 status = "okay";
105 };
106};