Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 1 | /* |
Faiz Abbas | 57b7b0c | 2022-02-10 17:01:39 +0000 | [diff] [blame] | 2 | * Copyright (c) 2020-2023, Arm Limited. All rights reserved. |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 3 | * |
| 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 Przywara | 4e40e7d | 2022-03-24 16:32:07 +0000 | [diff] [blame] | 21 | compatible = "arm,gic-v3"; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 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 Koul | 6f749e2 | 2021-08-25 19:34:20 +0530 | [diff] [blame] | 61 | clocks = <&soc_refclk50mhz>; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 62 | clock-names = "apb_pclk"; |
| 63 | }; |
| 64 | |
| 65 | sram: sram@45200000 { |
| 66 | compatible = "mmio-sram"; |
Anurag Koul | b7682b4 | 2021-12-03 10:16:47 +0000 | [diff] [blame] | 67 | reg = <0x0 0x06000000 0x0 0x8000>; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 68 | |
| 69 | #address-cells = <1>; |
| 70 | #size-cells = <1>; |
Anurag Koul | b7682b4 | 2021-12-03 10:16:47 +0000 | [diff] [blame] | 71 | ranges = <0 0x0 0x06000000 0x8000>; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 72 | |
Andre Przywara | ac16772 | 2022-03-24 11:58:46 +0000 | [diff] [blame] | 73 | cpu_scp_hpri0: scp-sram@0 { |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 74 | compatible = "arm,scmi-shmem"; |
| 75 | reg = <0x0 0x80>; |
| 76 | }; |
| 77 | |
Andre Przywara | ac16772 | 2022-03-24 11:58:46 +0000 | [diff] [blame] | 78 | cpu_scp_hpri1: scp-sram@80 { |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 79 | compatible = "arm,scmi-shmem"; |
| 80 | reg = <0x80 0x80>; |
| 81 | }; |
| 82 | }; |
| 83 | |
Anurag Koul | 6f749e2 | 2021-08-25 19:34:20 +0530 | [diff] [blame] | 84 | soc_refclk50mhz: refclk50mhz { |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 85 | compatible = "fixed-clock"; |
| 86 | #clock-cells = <0>; |
Anurag Koul | 6f749e2 | 2021-08-25 19:34:20 +0530 | [diff] [blame] | 87 | clock-frequency = <50000000>; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 88 | clock-output-names = "apb_pclk"; |
| 89 | }; |
| 90 | |
Faiz Abbas | 57b7b0c | 2022-02-10 17:01:39 +0000 | [diff] [blame] | 91 | soc_refclk85mhz: refclk85mhz { |
| 92 | compatible = "fixed-clock"; |
| 93 | #clock-cells = <0>; |
| 94 | clock-frequency = <85000000>; |
| 95 | clock-output-names = "iofpga:aclk"; |
| 96 | }; |
| 97 | |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 98 | soc_uartclk: uartclk { |
| 99 | compatible = "fixed-clock"; |
| 100 | #clock-cells = <0>; |
| 101 | clock-frequency = <50000000>; |
| 102 | clock-output-names = "uartclk"; |
| 103 | }; |
| 104 | |
Andre Przywara | ac16772 | 2022-03-24 11:58:46 +0000 | [diff] [blame] | 105 | soc_uart0: serial@2a400000 { |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 106 | compatible = "arm,pl011", "arm,primecell"; |
| 107 | reg = <0x0 0x2a400000 0x0 0x1000>; |
| 108 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
Anurag Koul | 6f749e2 | 2021-08-25 19:34:20 +0530 | [diff] [blame] | 109 | clocks = <&soc_uartclk>, <&soc_refclk50mhz>; |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 110 | clock-names = "uartclk", "apb_pclk"; |
| 111 | status = "okay"; |
| 112 | }; |
| 113 | }; |