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