blob: 7f39d75e9b3728d7f61e36997376c7ef6bafe148 [file] [log] [blame]
Manoj Kumar779e4152020-07-31 12:32:36 +01001/*
Faiz Abbas57b7b0c2022-02-10 17:01:39 +00002 * Copyright (c) 2020-2023, 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 {
Andre Przywara4e40e7d2022-03-24 16:32:07 +000021 compatible = "arm,gic-v3";
Manoj Kumar779e4152020-07-31 12:32:36 +010022 #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
Andre Przywaraac167722022-03-24 11:58:46 +000073 cpu_scp_hpri0: scp-sram@0 {
Manoj Kumar779e4152020-07-31 12:32:36 +010074 compatible = "arm,scmi-shmem";
75 reg = <0x0 0x80>;
76 };
77
Andre Przywaraac167722022-03-24 11:58:46 +000078 cpu_scp_hpri1: scp-sram@80 {
Manoj Kumar779e4152020-07-31 12:32:36 +010079 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
Faiz Abbas57b7b0c2022-02-10 17:01:39 +000091 soc_refclk85mhz: refclk85mhz {
92 compatible = "fixed-clock";
93 #clock-cells = <0>;
94 clock-frequency = <85000000>;
95 clock-output-names = "iofpga:aclk";
96 };
97
Manoj Kumar779e4152020-07-31 12:32:36 +010098 soc_uartclk: uartclk {
99 compatible = "fixed-clock";
100 #clock-cells = <0>;
101 clock-frequency = <50000000>;
102 clock-output-names = "uartclk";
103 };
104
Andre Przywaraac167722022-03-24 11:58:46 +0000105 soc_uart0: serial@2a400000 {
Manoj Kumar779e4152020-07-31 12:32:36 +0100106 compatible = "arm,pl011", "arm,primecell";
107 reg = <0x0 0x2a400000 0x0 0x1000>;
108 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Anurag Koul6f749e22021-08-25 19:34:20 +0530109 clocks = <&soc_uartclk>, <&soc_refclk50mhz>;
Manoj Kumar779e4152020-07-31 12:32:36 +0100110 clock-names = "uartclk", "apb_pclk";
111 status = "okay";
112 };
113};