Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 1 | /* |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 2 | * Copyright (c) 2019-2020, Arm Limited. All rights reserved. |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | / { |
| 10 | model = "A5DS"; |
| 11 | compatible = "arm,A5DS"; |
| 12 | interrupt-parent = <&gic>; |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 15 | |
| 16 | psci { |
| 17 | compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; |
| 18 | method = "smc"; |
| 19 | cpu_on = <0x84000003>; |
| 20 | }; |
| 21 | |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 22 | cpus { |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <0>; |
Vishnu Banavath | ab3b00f | 2019-12-13 17:07:45 +0000 | [diff] [blame] | 25 | enable-method = "psci"; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 26 | cpu@0 { |
| 27 | device_type = "cpu"; |
| 28 | compatible = "arm,cortex-a5"; |
| 29 | reg = <0>; |
Vishnu Banavath | 79c6c34 | 2019-12-13 16:53:17 +0000 | [diff] [blame] | 30 | next-level-cache = <&L2>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 31 | }; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 32 | cpu@1 { |
| 33 | device_type = "cpu"; |
| 34 | compatible = "arm,cortex-a5"; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 35 | reg = <1>; |
Vishnu Banavath | 79c6c34 | 2019-12-13 16:53:17 +0000 | [diff] [blame] | 36 | next-level-cache = <&L2>; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 37 | }; |
| 38 | cpu@2 { |
| 39 | device_type = "cpu"; |
| 40 | compatible = "arm,cortex-a5"; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 41 | reg = <2>; |
Vishnu Banavath | 79c6c34 | 2019-12-13 16:53:17 +0000 | [diff] [blame] | 42 | next-level-cache = <&L2>; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 43 | }; |
| 44 | cpu@3 { |
| 45 | device_type = "cpu"; |
| 46 | compatible = "arm,cortex-a5"; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 47 | reg = <3>; |
Vishnu Banavath | 79c6c34 | 2019-12-13 16:53:17 +0000 | [diff] [blame] | 48 | next-level-cache = <&L2>; |
Usama Arif | ec885ba | 2019-09-19 11:07:24 +0100 | [diff] [blame] | 49 | }; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | memory@80000000 { |
| 53 | device_type = "memory"; |
| 54 | reg = <0x80000000 0x7F000000>; |
| 55 | }; |
| 56 | |
Vishnu Banavath | 79c6c34 | 2019-12-13 16:53:17 +0000 | [diff] [blame] | 57 | L2: cache-controller@1C010000 { |
| 58 | compatible = "arm,pl310-cache"; |
| 59 | reg = <0x1C010000 0x1000>; |
| 60 | interrupts = <0 84 4>; |
| 61 | cache-level = <2>; |
| 62 | cache-unified; |
| 63 | arm,data-latency = <1 1 1>; |
| 64 | arm,tag-latency = <1 1 1>; |
| 65 | }; |
| 66 | |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 67 | refclk7500khz: refclk7500khz { |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 68 | compatible = "fixed-clock"; |
| 69 | #clock-cells = <0>; |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 70 | clock-frequency = <7500000>; |
| 71 | clock-output-names = "apb_pclk"; |
| 72 | }; |
| 73 | |
| 74 | refclk24mhz: refclk24mhz { |
| 75 | compatible = "fixed-clock"; |
| 76 | #clock-cells = <0>; |
| 77 | clock-frequency = <24000000>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 78 | clock-output-names = "apb_pclk"; |
| 79 | }; |
| 80 | |
| 81 | smbclk: refclk24mhzx2 { |
| 82 | compatible = "fixed-clock"; |
| 83 | #clock-cells = <0>; |
| 84 | clock-frequency = <48000000>; |
| 85 | clock-output-names = "smclk"; |
| 86 | }; |
| 87 | |
| 88 | |
| 89 | rtc@1a220000 { |
| 90 | compatible = "arm,pl031", "arm,primecell"; |
| 91 | reg = <0x1a220000 0x1000>; |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 92 | clocks = <&refclk24mhz>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 93 | interrupts = <0 6 0xf04>; |
| 94 | clock-names = "apb_pclk"; |
| 95 | }; |
| 96 | |
| 97 | gic: interrupt-controller@1c001000 { |
| 98 | compatible = "arm,cortex-a9-gic"; |
| 99 | #interrupt-cells = <3>; |
| 100 | #address-cells = <0>; |
| 101 | interrupt-controller; |
| 102 | reg = <0x1c001000 0x1000>, |
| 103 | <0x1c000100 0x100>; |
| 104 | interrupts = <1 9 0xf04>; |
| 105 | }; |
| 106 | |
| 107 | serial0: uart@1a200000 { |
| 108 | compatible = "arm,pl011", "arm,primecell"; |
| 109 | reg = <0x1a200000 0x1000>; |
| 110 | interrupt-parent = <&gic>; |
| 111 | interrupts = <0 8 0xf04>; |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 112 | clocks = <&refclk7500khz>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 113 | clock-names = "apb_pclk"; |
| 114 | }; |
| 115 | |
| 116 | serial1: uart@1a210000 { |
| 117 | compatible = "arm,pl011", "arm,primecell"; |
| 118 | reg = <0x1a210000 0x1000>; |
| 119 | interrupt-parent = <&gic>; |
| 120 | interrupts = <0 9 0xf04>; |
Avinash Mehta | 786890c | 2019-12-18 10:13:40 +0000 | [diff] [blame] | 121 | clocks = <&refclk7500khz>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 122 | clock-names = "apb_pclk"; |
| 123 | }; |
| 124 | |
| 125 | timer0: timer@1a040000 { |
| 126 | compatible = "arm,armv7-timer-mem"; |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <1>; |
| 129 | ranges; |
| 130 | reg = <0x1a040000 0x1000>; |
lakshmi Kailasanathan | e3c152d | 2020-04-17 12:52:19 +0100 | [diff] [blame] | 131 | clock-frequency = <7500000>; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 132 | |
| 133 | frame@1a050000 { |
| 134 | frame-number = <0>; |
| 135 | interrupts = <0 2 0xf04>; |
| 136 | reg = <0x1a050000 0x1000>; |
| 137 | }; |
| 138 | }; |
Vishnu Banavath | c84cbf4 | 2020-03-04 12:13:08 +0000 | [diff] [blame] | 139 | v2m_fixed_3v3: fixed-regulator-0 { |
| 140 | compatible = "regulator-fixed"; |
| 141 | regulator-name = "3V3"; |
| 142 | regulator-min-microvolt = <3300000>; |
| 143 | regulator-max-microvolt = <3300000>; |
| 144 | regulator-always-on; |
| 145 | }; |
| 146 | |
| 147 | ethernet@4020000 { |
| 148 | compatible = "smsc,lan9220", "smsc,lan9115"; |
| 149 | reg = <0x40200000 0x10000>; |
| 150 | interrupt-parent = <&gic>; |
| 151 | interrupts = <0 43 0xf04>; |
| 152 | reg-io-width = <4>; |
| 153 | phy-mode = "mii"; |
| 154 | smsc,irq-active-high; |
| 155 | vdd33a-supply = <&v2m_fixed_3v3>; |
| 156 | vddvario-supply = <&v2m_fixed_3v3>; |
| 157 | }; |
Usama Arif | 00c7d5a | 2019-06-18 16:46:05 +0100 | [diff] [blame] | 158 | }; |