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