blob: 4f6c8a743863bb348ff8a5628b1aee16c53908bd [file] [log] [blame]
Manoj Kumar779e4152020-07-31 12:32:36 +01001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/dts-v1/;
8#include "morello.dtsi"
9
10/ {
11
12 chosen {
Nikos Nikoleris35800bd2021-01-21 13:50:25 +000013 stdout-path = "serial0:115200n8";
Manoj Kumar779e4152020-07-31 12:32:36 +010014 };
15
16 reserved-memory {
17 #address-cells = <2>;
18 #size-cells = <2>;
19 ranges;
20
21 secure-firmware@ff000000 {
22 reg = <0 0xff000000 0 0x01000000>;
23 no-map;
24 };
25 };
26
27 cpus {
28 #address-cells = <2>;
29 #size-cells = <0>;
30 cpu0@0 {
31 compatible = "arm,armv8";
32 reg = <0x0 0x0>;
33 device_type = "cpu";
34 enable-method = "psci";
35 clocks = <&scmi_dvfs 0>;
36 };
37 cpu1@100 {
38 compatible = "arm,armv8";
39 reg = <0x0 0x100>;
40 device_type = "cpu";
41 enable-method = "psci";
42 clocks = <&scmi_dvfs 0>;
43 };
44 cpu2@10000 {
45 compatible = "arm,armv8";
46 reg = <0x0 0x10000>;
47 device_type = "cpu";
48 enable-method = "psci";
49 clocks = <&scmi_dvfs 0>;
50 };
51 cpu3@10100 {
52 compatible = "arm,armv8";
53 reg = <0x0 0x10100>;
54 device_type = "cpu";
55 enable-method = "psci";
56 clocks = <&scmi_dvfs 0>;
57 };
58 };
59
60 /* The first bank of memory, memory map is actually provided by UEFI. */
61 memory@80000000 {
62 #address-cells = <2>;
63 #size-cells = <2>;
64 device_type = "memory";
65 /* [0x80000000-0xffffffff] */
66 reg = <0x00000000 0x80000000 0x0 0x80000000>;
67 };
68
69 memory@8080000000 {
70 #address-cells = <2>;
71 #size-cells = <2>;
72 device_type = "memory";
73 /* [0x8080000000-0x83ffffffff] */
74 reg = <0x00000080 0x80000000 0x1 0x80000000>;
75 };
76
77 virtio_block@1c170000 {
78 compatible = "virtio,mmio";
79 reg = <0x0 0x1c170000 0x0 0x200>;
80 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
81 };
82
Jessica Clarke848a1a32020-10-25 18:18:47 +000083 virtio_net@1c180000 {
84 compatible = "virtio,mmio";
85 reg = <0x0 0x1c180000 0x0 0x200>;
86 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
87 };
88
Jagadeesh Ujjaf273d6d2020-10-07 13:39:55 +053089 virtio_rng@1c190000 {
Jessica Clarke60253ae2020-10-25 18:10:24 +000090 compatible = "virtio,mmio";
Jagadeesh Ujjaf273d6d2020-10-07 13:39:55 +053091 reg = <0x0 0x1c190000 0x0 0x200>;
92 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
93 };
94
sah01514208a2021-02-12 13:53:05 +053095 virtio_p9@1c1a0000 {
96 compatible = "virtio,mmio";
97 reg = <0x0 0x1c1a0000 0x0 0x200>;
98 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
99 };
100
Manoj Kumar779e4152020-07-31 12:32:36 +0100101 ethernet@1d100000 {
102 compatible = "smsc,lan91c111";
103 reg = <0x0 0x1d100000 0x0 0x10000>;
104 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
105 };
106
107 kmi@1c150000 {
108 compatible = "arm,pl050", "arm,primecell";
109 reg = <0x0 0x1c150000 0x0 0x1000>;
110 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
111 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
112 clock-names = "KMIREFCLK", "apb_pclk";
113 };
114
115 kmi@1c160000 {
116 compatible = "arm,pl050", "arm,primecell";
117 reg = <0x0 0x1c160000 0x0 0x1000>;
118 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
119 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
120 clock-names = "KMIREFCLK", "apb_pclk";
121 };
122
123 firmware {
124 scmi {
125 compatible = "arm,scmi";
126 mbox-names = "tx", "rx";
127 mboxes = <&mailbox 1 0 &mailbox 1 1>;
128 shmem = <&cpu_scp_hpri0 &cpu_scp_hpri1>;
129 #address-cells = <1>;
130 #size-cells = <0>;
131
132 scmi_dvfs: protocol@13 {
133 reg = <0x13>;
134 #clock-cells = <1>;
135 };
136 };
137 };
138
139 bp_clock24mhz: clock24mhz {
140 compatible = "fixed-clock";
141 #clock-cells = <0>;
142 clock-frequency = <24000000>;
143 clock-output-names = "bp:clock24mhz";
144 };
145};
146
147&gic {
148 reg = <0x0 0x30000000 0 0x10000>, /* GICD */
149 <0x0 0x300c0000 0 0x80000>; /* GICR */
150 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
151};