Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | // |
| 3 | // Device Tree Source for UniPhier LD20 SoC |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | #include <dt-bindings/gpio/uniphier-gpio.h> |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 11 | #include <dt-bindings/thermal/thermal.h> |
| 12 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 13 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 14 | compatible = "socionext,uniphier-ld20"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 15 | #address-cells = <2>; |
| 16 | #size-cells = <2>; |
| 17 | interrupt-parent = <&gic>; |
| 18 | |
| 19 | cpus { |
| 20 | #address-cells = <2>; |
| 21 | #size-cells = <0>; |
| 22 | |
| 23 | cpu-map { |
| 24 | cluster0 { |
| 25 | core0 { |
| 26 | cpu = <&cpu0>; |
| 27 | }; |
| 28 | core1 { |
| 29 | cpu = <&cpu1>; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | cluster1 { |
| 34 | core0 { |
| 35 | cpu = <&cpu2>; |
| 36 | }; |
| 37 | core1 { |
| 38 | cpu = <&cpu3>; |
| 39 | }; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | cpu0: cpu@0 { |
| 44 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 45 | compatible = "arm,cortex-a72"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 46 | reg = <0 0x000>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 47 | clocks = <&sys_clk 32>; |
| 48 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 49 | next-level-cache = <&a72_l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 50 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 51 | #cooling-cells = <2>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 52 | }; |
| 53 | |
| 54 | cpu1: cpu@1 { |
| 55 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 56 | compatible = "arm,cortex-a72"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 57 | reg = <0 0x001>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 58 | clocks = <&sys_clk 32>; |
| 59 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 60 | next-level-cache = <&a72_l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 61 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 62 | #cooling-cells = <2>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | cpu2: cpu@100 { |
| 66 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 67 | compatible = "arm,cortex-a53"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 68 | reg = <0 0x100>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 69 | clocks = <&sys_clk 33>; |
| 70 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 71 | next-level-cache = <&a53_l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 72 | operating-points-v2 = <&cluster1_opp>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 73 | #cooling-cells = <2>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | cpu3: cpu@101 { |
| 77 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 78 | compatible = "arm,cortex-a53"; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 79 | reg = <0 0x101>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 80 | clocks = <&sys_clk 33>; |
| 81 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 82 | next-level-cache = <&a53_l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 83 | operating-points-v2 = <&cluster1_opp>; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 84 | #cooling-cells = <2>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 85 | }; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 86 | |
| 87 | a72_l2: l2-cache0 { |
| 88 | compatible = "cache"; |
| 89 | }; |
| 90 | |
| 91 | a53_l2: l2-cache1 { |
| 92 | compatible = "cache"; |
| 93 | }; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 94 | }; |
| 95 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 96 | cluster0_opp: opp-table-0 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 97 | compatible = "operating-points-v2"; |
| 98 | opp-shared; |
| 99 | |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 100 | opp-250000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 101 | opp-hz = /bits/ 64 <250000000>; |
| 102 | clock-latency-ns = <300>; |
| 103 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 104 | opp-275000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 105 | opp-hz = /bits/ 64 <275000000>; |
| 106 | clock-latency-ns = <300>; |
| 107 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 108 | opp-500000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 109 | opp-hz = /bits/ 64 <500000000>; |
| 110 | clock-latency-ns = <300>; |
| 111 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 112 | opp-550000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 113 | opp-hz = /bits/ 64 <550000000>; |
| 114 | clock-latency-ns = <300>; |
| 115 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 116 | opp-666667000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 117 | opp-hz = /bits/ 64 <666667000>; |
| 118 | clock-latency-ns = <300>; |
| 119 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 120 | opp-733334000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 121 | opp-hz = /bits/ 64 <733334000>; |
| 122 | clock-latency-ns = <300>; |
| 123 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 124 | opp-1000000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 125 | opp-hz = /bits/ 64 <1000000000>; |
| 126 | clock-latency-ns = <300>; |
| 127 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 128 | opp-1100000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 129 | opp-hz = /bits/ 64 <1100000000>; |
| 130 | clock-latency-ns = <300>; |
| 131 | }; |
| 132 | }; |
| 133 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 134 | cluster1_opp: opp-table-1 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 135 | compatible = "operating-points-v2"; |
| 136 | opp-shared; |
| 137 | |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 138 | opp-250000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 139 | opp-hz = /bits/ 64 <250000000>; |
| 140 | clock-latency-ns = <300>; |
| 141 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 142 | opp-275000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 143 | opp-hz = /bits/ 64 <275000000>; |
| 144 | clock-latency-ns = <300>; |
| 145 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 146 | opp-500000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 147 | opp-hz = /bits/ 64 <500000000>; |
| 148 | clock-latency-ns = <300>; |
| 149 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 150 | opp-550000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 151 | opp-hz = /bits/ 64 <550000000>; |
| 152 | clock-latency-ns = <300>; |
| 153 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 154 | opp-666667000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 155 | opp-hz = /bits/ 64 <666667000>; |
| 156 | clock-latency-ns = <300>; |
| 157 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 158 | opp-733334000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 159 | opp-hz = /bits/ 64 <733334000>; |
| 160 | clock-latency-ns = <300>; |
| 161 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 162 | opp-1000000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 163 | opp-hz = /bits/ 64 <1000000000>; |
| 164 | clock-latency-ns = <300>; |
| 165 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 166 | opp-1100000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 167 | opp-hz = /bits/ 64 <1100000000>; |
| 168 | clock-latency-ns = <300>; |
| 169 | }; |
| 170 | }; |
| 171 | |
| 172 | psci { |
| 173 | compatible = "arm,psci-1.0"; |
| 174 | method = "smc"; |
| 175 | }; |
| 176 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 177 | clocks { |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 178 | refclk: ref { |
| 179 | compatible = "fixed-clock"; |
| 180 | #clock-cells = <0>; |
| 181 | clock-frequency = <25000000>; |
| 182 | }; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 183 | }; |
| 184 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 185 | emmc_pwrseq: emmc-pwrseq { |
| 186 | compatible = "mmc-pwrseq-emmc"; |
| 187 | reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>; |
| 188 | }; |
| 189 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 190 | timer { |
| 191 | compatible = "arm,armv8-timer"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 192 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 193 | <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 194 | <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 195 | <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 196 | }; |
| 197 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 198 | thermal-zones { |
| 199 | cpu-thermal { |
| 200 | polling-delay-passive = <250>; /* 250ms */ |
| 201 | polling-delay = <1000>; /* 1000ms */ |
| 202 | thermal-sensors = <&pvtctl>; |
| 203 | |
| 204 | trips { |
| 205 | cpu_crit: cpu-crit { |
| 206 | temperature = <110000>; /* 110C */ |
| 207 | hysteresis = <2000>; |
| 208 | type = "critical"; |
| 209 | }; |
| 210 | cpu_alert: cpu-alert { |
| 211 | temperature = <100000>; /* 100C */ |
| 212 | hysteresis = <2000>; |
| 213 | type = "passive"; |
| 214 | }; |
| 215 | }; |
| 216 | |
| 217 | cooling-maps { |
| 218 | map0 { |
| 219 | trip = <&cpu_alert>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 220 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 221 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 222 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 223 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 224 | }; |
| 225 | }; |
| 226 | }; |
| 227 | }; |
| 228 | |
Masahiro Yamada | 83701f2 | 2019-07-10 20:07:29 +0900 | [diff] [blame] | 229 | reserved-memory { |
| 230 | #address-cells = <2>; |
| 231 | #size-cells = <2>; |
| 232 | ranges; |
| 233 | |
| 234 | secure-memory@81000000 { |
| 235 | reg = <0x0 0x81000000 0x0 0x01000000>; |
| 236 | no-map; |
| 237 | }; |
| 238 | }; |
| 239 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 240 | soc@0 { |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 241 | compatible = "simple-bus"; |
| 242 | #address-cells = <1>; |
| 243 | #size-cells = <1>; |
| 244 | ranges = <0 0 0 0xffffffff>; |
| 245 | |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 246 | spi0: spi@54006000 { |
| 247 | compatible = "socionext,uniphier-scssi"; |
| 248 | status = "disabled"; |
| 249 | reg = <0x54006000 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 250 | #address-cells = <1>; |
| 251 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 252 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 253 | pinctrl-names = "default"; |
| 254 | pinctrl-0 = <&pinctrl_spi0>; |
| 255 | clocks = <&peri_clk 11>; |
| 256 | resets = <&peri_rst 11>; |
| 257 | }; |
| 258 | |
| 259 | spi1: spi@54006100 { |
| 260 | compatible = "socionext,uniphier-scssi"; |
| 261 | status = "disabled"; |
| 262 | reg = <0x54006100 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 263 | #address-cells = <1>; |
| 264 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 265 | interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 266 | pinctrl-names = "default"; |
| 267 | pinctrl-0 = <&pinctrl_spi1>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 268 | clocks = <&peri_clk 12>; |
| 269 | resets = <&peri_rst 12>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 270 | }; |
| 271 | |
| 272 | spi2: spi@54006200 { |
| 273 | compatible = "socionext,uniphier-scssi"; |
| 274 | status = "disabled"; |
| 275 | reg = <0x54006200 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 276 | #address-cells = <1>; |
| 277 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 278 | interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 279 | pinctrl-names = "default"; |
| 280 | pinctrl-0 = <&pinctrl_spi2>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 281 | clocks = <&peri_clk 13>; |
| 282 | resets = <&peri_rst 13>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | spi3: spi@54006300 { |
| 286 | compatible = "socionext,uniphier-scssi"; |
| 287 | status = "disabled"; |
| 288 | reg = <0x54006300 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 289 | #address-cells = <1>; |
| 290 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 291 | interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 292 | pinctrl-names = "default"; |
| 293 | pinctrl-0 = <&pinctrl_spi3>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 294 | clocks = <&peri_clk 14>; |
| 295 | resets = <&peri_rst 14>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 296 | }; |
| 297 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 298 | serial0: serial@54006800 { |
| 299 | compatible = "socionext,uniphier-uart"; |
| 300 | status = "disabled"; |
| 301 | reg = <0x54006800 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 302 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 303 | pinctrl-names = "default"; |
| 304 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 305 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 306 | resets = <&peri_rst 0>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 307 | }; |
| 308 | |
| 309 | serial1: serial@54006900 { |
| 310 | compatible = "socionext,uniphier-uart"; |
| 311 | status = "disabled"; |
| 312 | reg = <0x54006900 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 313 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 314 | pinctrl-names = "default"; |
| 315 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 316 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 317 | resets = <&peri_rst 1>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 318 | }; |
| 319 | |
| 320 | serial2: serial@54006a00 { |
| 321 | compatible = "socionext,uniphier-uart"; |
| 322 | status = "disabled"; |
| 323 | reg = <0x54006a00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 324 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 325 | pinctrl-names = "default"; |
| 326 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 327 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 328 | resets = <&peri_rst 2>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 329 | }; |
| 330 | |
| 331 | serial3: serial@54006b00 { |
| 332 | compatible = "socionext,uniphier-uart"; |
| 333 | status = "disabled"; |
| 334 | reg = <0x54006b00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 335 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 336 | pinctrl-names = "default"; |
| 337 | pinctrl-0 = <&pinctrl_uart3>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 338 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 339 | resets = <&peri_rst 3>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 340 | }; |
| 341 | |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 342 | gpio: gpio@55000000 { |
| 343 | compatible = "socionext,uniphier-gpio"; |
| 344 | reg = <0x55000000 0x200>; |
| 345 | interrupt-parent = <&aidet>; |
| 346 | interrupt-controller; |
| 347 | #interrupt-cells = <2>; |
| 348 | gpio-controller; |
| 349 | #gpio-cells = <2>; |
| 350 | gpio-ranges = <&pinctrl 0 0 0>, |
| 351 | <&pinctrl 96 0 0>, |
| 352 | <&pinctrl 160 0 0>; |
| 353 | gpio-ranges-group-names = "gpio_range0", |
| 354 | "gpio_range1", |
| 355 | "gpio_range2"; |
| 356 | ngpios = <205>; |
| 357 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>, |
| 358 | <21 217 3>; |
| 359 | }; |
| 360 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 361 | audio@56000000 { |
| 362 | compatible = "socionext,uniphier-ld20-aio"; |
| 363 | reg = <0x56000000 0x80000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 364 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 365 | pinctrl-names = "default"; |
| 366 | pinctrl-0 = <&pinctrl_aout1>, |
| 367 | <&pinctrl_aoutiec1>; |
| 368 | clock-names = "aio"; |
| 369 | clocks = <&sys_clk 40>; |
| 370 | reset-names = "aio"; |
| 371 | resets = <&sys_rst 40>; |
| 372 | #sound-dai-cells = <1>; |
| 373 | socionext,syscon = <&soc_glue>; |
| 374 | |
| 375 | i2s_port0: port@0 { |
| 376 | i2s_hdmi: endpoint { |
| 377 | }; |
| 378 | }; |
| 379 | |
| 380 | i2s_port1: port@1 { |
| 381 | i2s_pcmin2: endpoint { |
| 382 | }; |
| 383 | }; |
| 384 | |
| 385 | i2s_port2: port@2 { |
| 386 | i2s_line: endpoint { |
| 387 | dai-format = "i2s"; |
| 388 | remote-endpoint = <&evea_line>; |
| 389 | }; |
| 390 | }; |
| 391 | |
| 392 | i2s_port3: port@3 { |
| 393 | i2s_hpcmout1: endpoint { |
| 394 | }; |
| 395 | }; |
| 396 | |
| 397 | i2s_port4: port@4 { |
| 398 | i2s_hp: endpoint { |
| 399 | dai-format = "i2s"; |
| 400 | remote-endpoint = <&evea_hp>; |
| 401 | }; |
| 402 | }; |
| 403 | |
| 404 | spdif_port0: port@5 { |
| 405 | spdif_hiecout1: endpoint { |
| 406 | }; |
| 407 | }; |
| 408 | |
| 409 | src_port0: port@6 { |
| 410 | i2s_epcmout2: endpoint { |
| 411 | }; |
| 412 | }; |
| 413 | |
| 414 | src_port1: port@7 { |
| 415 | i2s_epcmout3: endpoint { |
| 416 | }; |
| 417 | }; |
| 418 | |
| 419 | comp_spdif_port0: port@8 { |
| 420 | comp_spdif_hiecout1: endpoint { |
| 421 | }; |
| 422 | }; |
| 423 | }; |
| 424 | |
| 425 | codec@57900000 { |
| 426 | compatible = "socionext,uniphier-evea"; |
| 427 | reg = <0x57900000 0x1000>; |
| 428 | clock-names = "evea", "exiv"; |
| 429 | clocks = <&sys_clk 41>, <&sys_clk 42>; |
| 430 | reset-names = "evea", "exiv", "adamv"; |
| 431 | resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>; |
| 432 | #sound-dai-cells = <1>; |
| 433 | |
| 434 | port@0 { |
| 435 | evea_line: endpoint { |
| 436 | remote-endpoint = <&i2s_line>; |
| 437 | }; |
| 438 | }; |
| 439 | |
| 440 | port@1 { |
| 441 | evea_hp: endpoint { |
| 442 | remote-endpoint = <&i2s_hp>; |
| 443 | }; |
| 444 | }; |
| 445 | }; |
| 446 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 447 | syscon@57920000 { |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 448 | compatible = "socionext,uniphier-ld20-adamv", |
| 449 | "simple-mfd", "syscon"; |
| 450 | reg = <0x57920000 0x1000>; |
| 451 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 452 | adamv_rst: reset-controller { |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 453 | compatible = "socionext,uniphier-ld20-adamv-reset"; |
| 454 | #reset-cells = <1>; |
| 455 | }; |
| 456 | }; |
| 457 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 458 | i2c0: i2c@58780000 { |
| 459 | compatible = "socionext,uniphier-fi2c"; |
| 460 | status = "disabled"; |
| 461 | reg = <0x58780000 0x80>; |
| 462 | #address-cells = <1>; |
| 463 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 464 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 465 | pinctrl-names = "default"; |
| 466 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 467 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 468 | resets = <&peri_rst 4>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 469 | clock-frequency = <100000>; |
| 470 | }; |
| 471 | |
| 472 | i2c1: i2c@58781000 { |
| 473 | compatible = "socionext,uniphier-fi2c"; |
| 474 | status = "disabled"; |
| 475 | reg = <0x58781000 0x80>; |
| 476 | #address-cells = <1>; |
| 477 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 478 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 479 | pinctrl-names = "default"; |
| 480 | pinctrl-0 = <&pinctrl_i2c1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 481 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 482 | resets = <&peri_rst 5>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 483 | clock-frequency = <100000>; |
| 484 | }; |
| 485 | |
| 486 | i2c2: i2c@58782000 { |
| 487 | compatible = "socionext,uniphier-fi2c"; |
| 488 | reg = <0x58782000 0x80>; |
| 489 | #address-cells = <1>; |
| 490 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 491 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 492 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 493 | resets = <&peri_rst 6>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 494 | clock-frequency = <400000>; |
| 495 | }; |
| 496 | |
| 497 | i2c3: i2c@58783000 { |
| 498 | compatible = "socionext,uniphier-fi2c"; |
| 499 | status = "disabled"; |
| 500 | reg = <0x58783000 0x80>; |
| 501 | #address-cells = <1>; |
| 502 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 503 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 504 | pinctrl-names = "default"; |
| 505 | pinctrl-0 = <&pinctrl_i2c3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 506 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 507 | resets = <&peri_rst 7>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 508 | clock-frequency = <100000>; |
| 509 | }; |
| 510 | |
| 511 | i2c4: i2c@58784000 { |
| 512 | compatible = "socionext,uniphier-fi2c"; |
| 513 | status = "disabled"; |
| 514 | reg = <0x58784000 0x80>; |
| 515 | #address-cells = <1>; |
| 516 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 517 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 518 | pinctrl-names = "default"; |
| 519 | pinctrl-0 = <&pinctrl_i2c4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 520 | clocks = <&peri_clk 8>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 521 | resets = <&peri_rst 8>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 522 | clock-frequency = <100000>; |
| 523 | }; |
| 524 | |
| 525 | i2c5: i2c@58785000 { |
| 526 | compatible = "socionext,uniphier-fi2c"; |
| 527 | reg = <0x58785000 0x80>; |
| 528 | #address-cells = <1>; |
| 529 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 530 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 531 | clocks = <&peri_clk 9>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 532 | resets = <&peri_rst 9>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 533 | clock-frequency = <400000>; |
| 534 | }; |
| 535 | |
| 536 | system_bus: system-bus@58c00000 { |
| 537 | compatible = "socionext,uniphier-system-bus"; |
| 538 | status = "disabled"; |
| 539 | reg = <0x58c00000 0x400>; |
| 540 | #address-cells = <2>; |
| 541 | #size-cells = <1>; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 542 | pinctrl-names = "default"; |
| 543 | pinctrl-0 = <&pinctrl_system_bus>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 544 | }; |
| 545 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 546 | smpctrl@59801000 { |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 547 | compatible = "socionext,uniphier-smpctrl"; |
| 548 | reg = <0x59801000 0x400>; |
| 549 | }; |
| 550 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 551 | sdctrl: syscon@59810000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 552 | compatible = "socionext,uniphier-ld20-sdctrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 553 | "simple-mfd", "syscon"; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 554 | reg = <0x59810000 0x400>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 555 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 556 | sd_clk: clock-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 557 | compatible = "socionext,uniphier-ld20-sd-clock"; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 558 | #clock-cells = <1>; |
| 559 | }; |
| 560 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 561 | sd_rst: reset-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 562 | compatible = "socionext,uniphier-ld20-sd-reset"; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 563 | #reset-cells = <1>; |
| 564 | }; |
| 565 | }; |
| 566 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 567 | syscon@59820000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 568 | compatible = "socionext,uniphier-ld20-perictrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 569 | "simple-mfd", "syscon"; |
| 570 | reg = <0x59820000 0x200>; |
| 571 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 572 | peri_clk: clock-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 573 | compatible = "socionext,uniphier-ld20-peri-clock"; |
| 574 | #clock-cells = <1>; |
| 575 | }; |
| 576 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 577 | peri_rst: reset-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 578 | compatible = "socionext,uniphier-ld20-peri-reset"; |
| 579 | #reset-cells = <1>; |
| 580 | }; |
Masahiro Yamada | b9f5c5a | 2016-04-21 14:43:20 +0900 | [diff] [blame] | 581 | }; |
| 582 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 583 | emmc: mmc@5a000000 { |
Masahiro Yamada | 697dd9c | 2017-01-04 20:08:37 +0900 | [diff] [blame] | 584 | compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 585 | reg = <0x5a000000 0x400>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 586 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 587 | pinctrl-names = "default"; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 588 | pinctrl-0 = <&pinctrl_emmc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 589 | clocks = <&sys_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 590 | resets = <&sys_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 591 | bus-width = <8>; |
| 592 | mmc-ddr-1_8v; |
| 593 | mmc-hs200-1_8v; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 594 | mmc-pwrseq = <&emmc_pwrseq>; |
Masahiro Yamada | 76b37e7 | 2018-05-23 00:30:54 +0900 | [diff] [blame] | 595 | cdns,phy-input-delay-legacy = <9>; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 596 | cdns,phy-input-delay-mmc-highspeed = <2>; |
| 597 | cdns,phy-input-delay-mmc-ddr = <3>; |
| 598 | cdns,phy-dll-delay-sdclk = <21>; |
| 599 | cdns,phy-dll-delay-sdclk-hsmmc = <21>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 600 | }; |
| 601 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 602 | sd: mmc@5a400000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 603 | compatible = "socionext,uniphier-sd-v3.1.1"; |
Masahiro Yamada | b9f5c5a | 2016-04-21 14:43:20 +0900 | [diff] [blame] | 604 | status = "disabled"; |
| 605 | reg = <0x5a400000 0x800>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 606 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | b9f5c5a | 2016-04-21 14:43:20 +0900 | [diff] [blame] | 607 | pinctrl-names = "default"; |
| 608 | pinctrl-0 = <&pinctrl_sd>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 609 | clocks = <&sd_clk 0>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 610 | reset-names = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 611 | resets = <&sd_rst 0>; |
Masahiro Yamada | b9f5c5a | 2016-04-21 14:43:20 +0900 | [diff] [blame] | 612 | bus-width = <4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 613 | cap-sd-highspeed; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 614 | socionext,syscon-uhs-mode = <&sdctrl 0>; |
Masahiro Yamada | b9f5c5a | 2016-04-21 14:43:20 +0900 | [diff] [blame] | 615 | }; |
| 616 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 617 | soc_glue: syscon@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 618 | compatible = "socionext,uniphier-ld20-soc-glue", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 619 | "simple-mfd", "syscon"; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 620 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 621 | |
| 622 | pinctrl: pinctrl { |
| 623 | compatible = "socionext,uniphier-ld20-pinctrl"; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 624 | }; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 625 | }; |
| 626 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 627 | syscon@5f900000 { |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 628 | compatible = "socionext,uniphier-ld20-soc-glue-debug", |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 629 | "simple-mfd", "syscon"; |
| 630 | reg = <0x5f900000 0x2000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 631 | #address-cells = <1>; |
| 632 | #size-cells = <1>; |
| 633 | ranges = <0 0x5f900000 0x2000>; |
| 634 | |
| 635 | efuse@100 { |
| 636 | compatible = "socionext,uniphier-efuse"; |
| 637 | reg = <0x100 0x28>; |
| 638 | }; |
| 639 | |
| 640 | efuse@200 { |
| 641 | compatible = "socionext,uniphier-efuse"; |
| 642 | reg = <0x200 0x68>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 643 | #address-cells = <1>; |
| 644 | #size-cells = <1>; |
| 645 | |
| 646 | /* USB cells */ |
| 647 | usb_rterm0: trim@54,4 { |
| 648 | reg = <0x54 1>; |
| 649 | bits = <4 2>; |
| 650 | }; |
| 651 | usb_rterm1: trim@55,4 { |
| 652 | reg = <0x55 1>; |
| 653 | bits = <4 2>; |
| 654 | }; |
| 655 | usb_rterm2: trim@58,4 { |
| 656 | reg = <0x58 1>; |
| 657 | bits = <4 2>; |
| 658 | }; |
| 659 | usb_rterm3: trim@59,4 { |
| 660 | reg = <0x59 1>; |
| 661 | bits = <4 2>; |
| 662 | }; |
| 663 | usb_sel_t0: trim@54,0 { |
| 664 | reg = <0x54 1>; |
| 665 | bits = <0 4>; |
| 666 | }; |
| 667 | usb_sel_t1: trim@55,0 { |
| 668 | reg = <0x55 1>; |
| 669 | bits = <0 4>; |
| 670 | }; |
| 671 | usb_sel_t2: trim@58,0 { |
| 672 | reg = <0x58 1>; |
| 673 | bits = <0 4>; |
| 674 | }; |
| 675 | usb_sel_t3: trim@59,0 { |
| 676 | reg = <0x59 1>; |
| 677 | bits = <0 4>; |
| 678 | }; |
| 679 | usb_hs_i0: trim@56,0 { |
| 680 | reg = <0x56 1>; |
| 681 | bits = <0 4>; |
| 682 | }; |
| 683 | usb_hs_i2: trim@5a,0 { |
| 684 | reg = <0x5a 1>; |
| 685 | bits = <0 4>; |
| 686 | }; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 687 | }; |
| 688 | }; |
| 689 | |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 690 | xdmac: dma-controller@5fc10000 { |
| 691 | compatible = "socionext,uniphier-xdmac"; |
| 692 | reg = <0x5fc10000 0x5300>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 693 | interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 694 | dma-channels = <16>; |
| 695 | #dma-cells = <2>; |
| 696 | }; |
| 697 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 698 | aidet: interrupt-controller@5fc20000 { |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 699 | compatible = "socionext,uniphier-ld20-aidet"; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 700 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 701 | interrupt-controller; |
| 702 | #interrupt-cells = <2>; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 703 | }; |
| 704 | |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 705 | gic: interrupt-controller@5fe00000 { |
| 706 | compatible = "arm,gic-v3"; |
| 707 | reg = <0x5fe00000 0x10000>, /* GICD */ |
| 708 | <0x5fe80000 0x80000>; /* GICR */ |
| 709 | interrupt-controller; |
| 710 | #interrupt-cells = <3>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 711 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 712 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 713 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 714 | syscon@61840000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 715 | compatible = "socionext,uniphier-ld20-sysctrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 716 | "simple-mfd", "syscon"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 717 | reg = <0x61840000 0x10000>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 718 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 719 | sys_clk: clock-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 720 | compatible = "socionext,uniphier-ld20-clock"; |
| 721 | #clock-cells = <1>; |
| 722 | }; |
| 723 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 724 | sys_rst: reset-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 725 | compatible = "socionext,uniphier-ld20-reset"; |
| 726 | #reset-cells = <1>; |
| 727 | }; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 728 | |
| 729 | watchdog { |
| 730 | compatible = "socionext,uniphier-wdt"; |
| 731 | }; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 732 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 733 | pvtctl: thermal-sensor { |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 734 | compatible = "socionext,uniphier-ld20-thermal"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 735 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 736 | #thermal-sensor-cells = <0>; |
| 737 | socionext,tmod-calibration = <0x0f22 0x68ee>; |
| 738 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 739 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 740 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 741 | eth: ethernet@65000000 { |
| 742 | compatible = "socionext,uniphier-ld20-ave4"; |
| 743 | status = "disabled"; |
| 744 | reg = <0x65000000 0x8500>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 745 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 746 | pinctrl-names = "default"; |
| 747 | pinctrl-0 = <&pinctrl_ether_rgmii>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 748 | clock-names = "ether"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 749 | clocks = <&sys_clk 6>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 750 | reset-names = "ether"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 751 | resets = <&sys_rst 6>; |
Kunihiko Hayashi | b805579 | 2022-07-13 10:59:45 +0900 | [diff] [blame] | 752 | phy-mode = "rgmii-id"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 753 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 754 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 755 | |
| 756 | mdio: mdio { |
| 757 | #address-cells = <1>; |
| 758 | #size-cells = <0>; |
| 759 | }; |
| 760 | }; |
| 761 | |
Kunihiko Hayashi | 99eda99 | 2023-02-28 11:37:08 +0900 | [diff] [blame] | 762 | usb: usb@65a00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 763 | compatible = "socionext,uniphier-dwc3", "snps,dwc3"; |
| 764 | status = "disabled"; |
| 765 | reg = <0x65a00000 0xcd00>; |
| 766 | interrupt-names = "host"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 767 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 768 | pinctrl-names = "default"; |
| 769 | pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb1>, |
| 770 | <&pinctrl_usb2>, <&pinctrl_usb3>; |
| 771 | clock-names = "ref", "bus_early", "suspend"; |
| 772 | clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>; |
| 773 | resets = <&usb_rst 15>; |
| 774 | phys = <&usb_hsphy0>, <&usb_hsphy1>, |
| 775 | <&usb_hsphy2>, <&usb_hsphy3>, |
| 776 | <&usb_ssphy0>, <&usb_ssphy1>; |
| 777 | dr_mode = "host"; |
| 778 | }; |
| 779 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 780 | usb-controller@65b00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 781 | compatible = "socionext,uniphier-ld20-dwc3-glue", |
| 782 | "simple-mfd"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 783 | reg = <0x65b00000 0x400>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 784 | #address-cells = <1>; |
| 785 | #size-cells = <1>; |
| 786 | ranges = <0 0x65b00000 0x400>; |
| 787 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 788 | usb_rst: reset-controller@0 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 789 | compatible = "socionext,uniphier-ld20-usb3-reset"; |
| 790 | reg = <0x0 0x4>; |
| 791 | #reset-cells = <1>; |
| 792 | clock-names = "link"; |
| 793 | clocks = <&sys_clk 14>; |
| 794 | reset-names = "link"; |
| 795 | resets = <&sys_rst 14>; |
| 796 | }; |
| 797 | |
| 798 | usb_vbus0: regulator@100 { |
| 799 | compatible = "socionext,uniphier-ld20-usb3-regulator"; |
| 800 | reg = <0x100 0x10>; |
| 801 | clock-names = "link"; |
| 802 | clocks = <&sys_clk 14>; |
| 803 | reset-names = "link"; |
| 804 | resets = <&sys_rst 14>; |
| 805 | }; |
| 806 | |
| 807 | usb_vbus1: regulator@110 { |
| 808 | compatible = "socionext,uniphier-ld20-usb3-regulator"; |
| 809 | reg = <0x110 0x10>; |
| 810 | clock-names = "link"; |
| 811 | clocks = <&sys_clk 14>; |
| 812 | reset-names = "link"; |
| 813 | resets = <&sys_rst 14>; |
| 814 | }; |
| 815 | |
| 816 | usb_vbus2: regulator@120 { |
| 817 | compatible = "socionext,uniphier-ld20-usb3-regulator"; |
| 818 | reg = <0x120 0x10>; |
| 819 | clock-names = "link"; |
| 820 | clocks = <&sys_clk 14>; |
| 821 | reset-names = "link"; |
| 822 | resets = <&sys_rst 14>; |
| 823 | }; |
| 824 | |
| 825 | usb_vbus3: regulator@130 { |
| 826 | compatible = "socionext,uniphier-ld20-usb3-regulator"; |
| 827 | reg = <0x130 0x10>; |
| 828 | clock-names = "link"; |
| 829 | clocks = <&sys_clk 14>; |
| 830 | reset-names = "link"; |
| 831 | resets = <&sys_rst 14>; |
| 832 | }; |
| 833 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 834 | usb_hsphy0: phy@200 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 835 | compatible = "socionext,uniphier-ld20-usb3-hsphy"; |
| 836 | reg = <0x200 0x10>; |
| 837 | #phy-cells = <0>; |
| 838 | clock-names = "link", "phy"; |
| 839 | clocks = <&sys_clk 14>, <&sys_clk 16>; |
| 840 | reset-names = "link", "phy"; |
| 841 | resets = <&sys_rst 14>, <&sys_rst 16>; |
| 842 | vbus-supply = <&usb_vbus0>; |
| 843 | nvmem-cell-names = "rterm", "sel_t", "hs_i"; |
| 844 | nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>, |
| 845 | <&usb_hs_i0>; |
| 846 | }; |
| 847 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 848 | usb_hsphy1: phy@210 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 849 | compatible = "socionext,uniphier-ld20-usb3-hsphy"; |
| 850 | reg = <0x210 0x10>; |
| 851 | #phy-cells = <0>; |
| 852 | clock-names = "link", "phy"; |
| 853 | clocks = <&sys_clk 14>, <&sys_clk 16>; |
| 854 | reset-names = "link", "phy"; |
| 855 | resets = <&sys_rst 14>, <&sys_rst 16>; |
| 856 | vbus-supply = <&usb_vbus1>; |
| 857 | nvmem-cell-names = "rterm", "sel_t", "hs_i"; |
| 858 | nvmem-cells = <&usb_rterm1>, <&usb_sel_t1>, |
| 859 | <&usb_hs_i0>; |
| 860 | }; |
| 861 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 862 | usb_hsphy2: phy@220 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 863 | compatible = "socionext,uniphier-ld20-usb3-hsphy"; |
| 864 | reg = <0x220 0x10>; |
| 865 | #phy-cells = <0>; |
| 866 | clock-names = "link", "phy"; |
| 867 | clocks = <&sys_clk 14>, <&sys_clk 17>; |
| 868 | reset-names = "link", "phy"; |
| 869 | resets = <&sys_rst 14>, <&sys_rst 17>; |
| 870 | vbus-supply = <&usb_vbus2>; |
| 871 | nvmem-cell-names = "rterm", "sel_t", "hs_i"; |
| 872 | nvmem-cells = <&usb_rterm2>, <&usb_sel_t2>, |
| 873 | <&usb_hs_i2>; |
| 874 | }; |
| 875 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 876 | usb_hsphy3: phy@230 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 877 | compatible = "socionext,uniphier-ld20-usb3-hsphy"; |
| 878 | reg = <0x230 0x10>; |
| 879 | #phy-cells = <0>; |
| 880 | clock-names = "link", "phy"; |
| 881 | clocks = <&sys_clk 14>, <&sys_clk 17>; |
| 882 | reset-names = "link", "phy"; |
| 883 | resets = <&sys_rst 14>, <&sys_rst 17>; |
| 884 | vbus-supply = <&usb_vbus3>; |
| 885 | nvmem-cell-names = "rterm", "sel_t", "hs_i"; |
| 886 | nvmem-cells = <&usb_rterm3>, <&usb_sel_t3>, |
| 887 | <&usb_hs_i2>; |
| 888 | }; |
| 889 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 890 | usb_ssphy0: phy@300 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 891 | compatible = "socionext,uniphier-ld20-usb3-ssphy"; |
| 892 | reg = <0x300 0x10>; |
| 893 | #phy-cells = <0>; |
| 894 | clock-names = "link", "phy"; |
| 895 | clocks = <&sys_clk 14>, <&sys_clk 18>; |
| 896 | reset-names = "link", "phy"; |
| 897 | resets = <&sys_rst 14>, <&sys_rst 18>; |
| 898 | vbus-supply = <&usb_vbus0>; |
| 899 | }; |
| 900 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 901 | usb_ssphy1: phy@310 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 902 | compatible = "socionext,uniphier-ld20-usb3-ssphy"; |
| 903 | reg = <0x310 0x10>; |
| 904 | #phy-cells = <0>; |
| 905 | clock-names = "link", "phy"; |
| 906 | clocks = <&sys_clk 14>, <&sys_clk 19>; |
| 907 | reset-names = "link", "phy"; |
| 908 | resets = <&sys_rst 14>, <&sys_rst 19>; |
| 909 | vbus-supply = <&usb_vbus1>; |
| 910 | }; |
| 911 | }; |
| 912 | |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 913 | pcie: pcie@66000000 { |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 914 | compatible = "socionext,uniphier-pcie"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 915 | status = "disabled"; |
| 916 | reg-names = "dbi", "link", "config"; |
| 917 | reg = <0x66000000 0x1000>, <0x66010000 0x10000>, |
| 918 | <0x2fff0000 0x10000>; |
| 919 | #address-cells = <3>; |
| 920 | #size-cells = <2>; |
| 921 | clocks = <&sys_clk 24>; |
| 922 | resets = <&sys_rst 24>; |
| 923 | num-lanes = <1>; |
| 924 | num-viewport = <1>; |
| 925 | bus-range = <0x0 0xff>; |
| 926 | device_type = "pci"; |
| 927 | ranges = |
| 928 | /* downstream I/O */ |
| 929 | <0x81000000 0 0x00000000 0x2ffe0000 0 0x00010000>, |
| 930 | /* non-prefetchable memory */ |
| 931 | <0x82000000 0 0x20000000 0x20000000 0 0x0ffe0000>; |
| 932 | #interrupt-cells = <1>; |
| 933 | interrupt-names = "dma", "msi"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 934 | interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, |
| 935 | <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 936 | interrupt-map-mask = <0 0 0 7>; |
| 937 | interrupt-map = <0 0 0 1 &pcie_intc 0>, /* INTA */ |
| 938 | <0 0 0 2 &pcie_intc 1>, /* INTB */ |
| 939 | <0 0 0 3 &pcie_intc 2>, /* INTC */ |
| 940 | <0 0 0 4 &pcie_intc 3>; /* INTD */ |
| 941 | phy-names = "pcie-phy"; |
| 942 | phys = <&pcie_phy>; |
| 943 | |
| 944 | pcie_intc: legacy-interrupt-controller { |
| 945 | interrupt-controller; |
| 946 | #interrupt-cells = <1>; |
| 947 | interrupt-parent = <&gic>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 948 | interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 949 | }; |
| 950 | }; |
| 951 | |
| 952 | pcie_phy: phy@66038000 { |
| 953 | compatible = "socionext,uniphier-ld20-pcie-phy"; |
| 954 | reg = <0x66038000 0x4000>; |
| 955 | #phy-cells = <0>; |
Masahiro Yamada | 5e8f4ad | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 956 | clock-names = "link"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 957 | clocks = <&sys_clk 24>; |
Masahiro Yamada | 5e8f4ad | 2020-08-04 14:41:09 +0900 | [diff] [blame] | 958 | reset-names = "link"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 959 | resets = <&sys_rst 24>; |
| 960 | socionext,syscon = <&soc_glue>; |
| 961 | }; |
| 962 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 963 | nand: nand-controller@68000000 { |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 964 | compatible = "socionext,uniphier-denali-nand-v5b"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 965 | status = "disabled"; |
| 966 | reg-names = "nand_data", "denali_reg"; |
| 967 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 968 | #address-cells = <1>; |
| 969 | #size-cells = <0>; |
| 970 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 971 | pinctrl-names = "default"; |
| 972 | pinctrl-0 = <&pinctrl_nand>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 973 | clock-names = "nand", "nand_x", "ecc"; |
| 974 | clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>; |
Masahiro Yamada | b226e52 | 2020-02-28 21:57:20 +0900 | [diff] [blame] | 975 | reset-names = "nand", "reg"; |
| 976 | resets = <&sys_rst 2>, <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 977 | }; |
Masahiro Yamada | d89bcf2 | 2016-03-18 16:41:48 +0900 | [diff] [blame] | 978 | }; |
| 979 | }; |
| 980 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 981 | #include "uniphier-pinctrl.dtsi" |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 982 | |
| 983 | &pinctrl_aout1 { |
| 984 | drive-strength = <4>; /* default: 3.5mA */ |
| 985 | |
| 986 | ao1dacck { |
| 987 | pins = "AO1DACCK"; |
| 988 | drive-strength = <5>; /* 5mA */ |
| 989 | }; |
| 990 | }; |
| 991 | |
| 992 | &pinctrl_aoutiec1 { |
| 993 | drive-strength = <4>; /* default: 3.5mA */ |
| 994 | |
| 995 | ao1arc { |
| 996 | pins = "AO1ARC"; |
| 997 | drive-strength = <11>; /* 11mA */ |
| 998 | }; |
| 999 | }; |