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