Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 1 | /* |
| 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 { |
| 13 | stdout-path = "soc_uart0:115200n8"; |
| 14 | }; |
| 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 | |
Jagadeesh Ujja | f273d6d | 2020-10-07 13:39:55 +0530 | [diff] [blame] | 83 | virtio_rng@1c190000 { |
| 84 | compatible = "virtio,mmio","virtio-rng"; |
| 85 | reg = <0x0 0x1c190000 0x0 0x200>; |
| 86 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 87 | }; |
| 88 | |
Manoj Kumar | 779e415 | 2020-07-31 12:32:36 +0100 | [diff] [blame] | 89 | ethernet@1d100000 { |
| 90 | compatible = "smsc,lan91c111"; |
| 91 | reg = <0x0 0x1d100000 0x0 0x10000>; |
| 92 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 93 | }; |
| 94 | |
| 95 | kmi@1c150000 { |
| 96 | compatible = "arm,pl050", "arm,primecell"; |
| 97 | reg = <0x0 0x1c150000 0x0 0x1000>; |
| 98 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; |
| 99 | clocks = <&bp_clock24mhz>, <&bp_clock24mhz>; |
| 100 | clock-names = "KMIREFCLK", "apb_pclk"; |
| 101 | }; |
| 102 | |
| 103 | kmi@1c160000 { |
| 104 | compatible = "arm,pl050", "arm,primecell"; |
| 105 | reg = <0x0 0x1c160000 0x0 0x1000>; |
| 106 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
| 107 | clocks = <&bp_clock24mhz>, <&bp_clock24mhz>; |
| 108 | clock-names = "KMIREFCLK", "apb_pclk"; |
| 109 | }; |
| 110 | |
| 111 | firmware { |
| 112 | scmi { |
| 113 | compatible = "arm,scmi"; |
| 114 | mbox-names = "tx", "rx"; |
| 115 | mboxes = <&mailbox 1 0 &mailbox 1 1>; |
| 116 | shmem = <&cpu_scp_hpri0 &cpu_scp_hpri1>; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | |
| 120 | scmi_dvfs: protocol@13 { |
| 121 | reg = <0x13>; |
| 122 | #clock-cells = <1>; |
| 123 | }; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | bp_clock24mhz: clock24mhz { |
| 128 | compatible = "fixed-clock"; |
| 129 | #clock-cells = <0>; |
| 130 | clock-frequency = <24000000>; |
| 131 | clock-output-names = "bp:clock24mhz"; |
| 132 | }; |
| 133 | }; |
| 134 | |
| 135 | &gic { |
| 136 | reg = <0x0 0x30000000 0 0x10000>, /* GICD */ |
| 137 | <0x0 0x300c0000 0 0x80000>; /* GICR */ |
| 138 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 139 | }; |