Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 1 | /* |
Vishnu Banavath | 5be00c0 | 2019-08-07 10:49:05 +0100 | [diff] [blame] | 2 | * Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved. |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | / { |
| 10 | model = "corstone700"; |
| 11 | compatible = "arm,Corstone-700"; |
| 12 | interrupt-parent = <&gic>; |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
| 16 | chosen { |
Rui Silva | 5125b41 | 2019-10-09 12:54:30 +0100 | [diff] [blame] | 17 | bootargs = "console=ttyAMA0 \ |
Rui Silva | 5125b41 | 2019-10-09 12:54:30 +0100 | [diff] [blame] | 18 | loglevel=9"; |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | cpus { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
| 25 | cpu@0 { |
| 26 | device_type = "cpu"; |
| 27 | compatible = "arm,armv8"; |
| 28 | reg = <0>; |
| 29 | next-level-cache = <&L2_0>; |
| 30 | }; |
| 31 | |
| 32 | }; |
| 33 | |
Rui Silva | 5125b41 | 2019-10-09 12:54:30 +0100 | [diff] [blame] | 34 | memory@80000000 { |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 35 | device_type = "memory"; |
Rui Silva | 5125b41 | 2019-10-09 12:54:30 +0100 | [diff] [blame] | 36 | reg = <0x80000000 0x80000000>; |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | gic: interrupt-controller@1c000000 { |
| 40 | compatible = "arm,gic-400"; |
| 41 | #interrupt-cells = <3>; |
| 42 | #address-cells = <0>; |
| 43 | interrupt-controller; |
| 44 | reg = <0x1c010000 0x1000>, |
| 45 | <0x1c02f000 0x2000>, |
| 46 | <0x1c04f000 0x1000>, |
| 47 | <0x1c06f000 0x2000>; |
| 48 | interrupts = <1 9 0xf08>; |
| 49 | }; |
| 50 | |
| 51 | L2_0: l2-cache0 { |
| 52 | compatible = "cache"; |
| 53 | }; |
| 54 | |
| 55 | refclk100mhz: refclk100mhz { |
| 56 | compatible = "fixed-clock"; |
| 57 | #clock-cells = <0>; |
| 58 | clock-frequency = <100000000>; |
| 59 | clock-output-names = "apb_pclk"; |
| 60 | }; |
| 61 | |
| 62 | smbclk: refclk24mhzx2 { |
| 63 | /* Reference 24MHz clock x 2 */ |
| 64 | compatible = "fixed-clock"; |
| 65 | #clock-cells = <0>; |
| 66 | clock-frequency = <48000000>; |
| 67 | clock-output-names = "smclk"; |
| 68 | }; |
| 69 | |
Vishnu Banavath | 5be00c0 | 2019-08-07 10:49:05 +0100 | [diff] [blame] | 70 | uartclk: uartclk { |
| 71 | /* UART clock - 32MHz */ |
| 72 | compatible = "fixed-clock"; |
| 73 | #clock-cells = <0>; |
| 74 | clock-frequency = <32000000>; |
| 75 | clock-output-names = "uartclk"; |
| 76 | }; |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 77 | |
| 78 | serial0: uart@1a510000 { |
| 79 | compatible = "arm,pl011", "arm,primecell"; |
| 80 | reg = <0x1a510000 0x1000>; |
| 81 | interrupt-parent = <&gic>; |
| 82 | interrupts = <0 19 4>; |
Vishnu Banavath | 5be00c0 | 2019-08-07 10:49:05 +0100 | [diff] [blame] | 83 | clocks = <&uartclk>, <&refclk100mhz>; |
| 84 | clock-names = "uartclk", "apb_pclk"; |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | serial1: uart@1a520000 { |
| 88 | compatible = "arm,pl011", "arm,primecell"; |
| 89 | reg = <0x1a520000 0x1000>; |
| 90 | interrupt-parent = <&gic>; |
| 91 | interrupts = <0 20 4>; |
Vishnu Banavath | 5be00c0 | 2019-08-07 10:49:05 +0100 | [diff] [blame] | 92 | clocks = <&uartclk>, <&refclk100mhz>; |
| 93 | clock-names = "uartclk", "apb_pclk"; |
Manish Pandey | 52990ae | 2018-11-28 11:20:37 +0000 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | timer { |
| 97 | compatible = "arm,armv8-timer"; |
| 98 | interrupts = <1 13 0xf08>, |
| 99 | <1 14 0xf08>, |
| 100 | <1 11 0xf08>, |
| 101 | <1 10 0xf08>; |
| 102 | }; |
| 103 | |
| 104 | mbox_es0mhu0: mhu@1b000000 { |
| 105 | compatible = "arm,mhuv2","arm,primecell"; |
| 106 | reg = <0x1b000000 0x1000>, |
| 107 | <0x1b010000 0x1000>; |
| 108 | clocks = <&refclk100mhz>; |
| 109 | clock-names = "apb_pclk"; |
| 110 | interrupts = <0 12 4>; |
| 111 | interrupt-names = "mhu_rx"; |
| 112 | #mbox-cells = <1>; |
| 113 | mbox-name = "arm-es0-mhu0"; |
| 114 | }; |
| 115 | |
| 116 | mbox_es0mhu1: mhu@1b020000 { |
| 117 | compatible = "arm,mhuv2","arm,primecell"; |
| 118 | reg = <0x1b020000 0x1000>, |
| 119 | <0x1b030000 0x1000>; |
| 120 | clocks = <&refclk100mhz>; |
| 121 | clock-names = "apb_pclk"; |
| 122 | interrupts = <0 47 4>; |
| 123 | interrupt-names = "mhu_rx"; |
| 124 | #mbox-cells = <1>; |
| 125 | mbox-name = "arm-es0-mhu1"; |
| 126 | }; |
| 127 | |
| 128 | mbox_semhu1: mhu@1b820000 { |
| 129 | compatible = "arm,mhuv2","arm,primecell"; |
| 130 | reg = <0x1b820000 0x1000>, |
| 131 | <0x1b830000 0x1000>; |
| 132 | clocks = <&refclk100mhz>; |
| 133 | clock-names = "apb_pclk"; |
| 134 | interrupts = <0 45 4>; |
| 135 | interrupt-names = "mhu_rx"; |
| 136 | #mbox-cells = <1>; |
| 137 | mbox-name = "arm-se-mhu1"; |
| 138 | }; |
| 139 | |
| 140 | client { |
| 141 | compatible = "arm,client"; |
| 142 | mboxes = <&mbox_es0mhu0 0>, <&mbox_es0mhu1 0>, <&mbox_semhu1 0>; |
| 143 | mbox-names = "es0mhu0", "es0mhu1", "semhu1"; |
| 144 | }; |
| 145 | |
| 146 | extsys0: extsys@1A010310 { |
| 147 | compatible = "arm,extsys_ctrl"; |
| 148 | reg = <0x1A010310 0x4>, |
| 149 | <0x1A010314 0x4>; |
| 150 | reg-names = "rstreg", "streg"; |
| 151 | }; |
| 152 | |
| 153 | }; |