Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier LD11 SoC |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 4 | * Copyright (C) 2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | d940300 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 10 | #include <dt-bindings/gpio/gpio.h> |
| 11 | #include <dt-bindings/gpio/uniphier-gpio.h> |
| 12 | |
Masahiro Yamada | d940300 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 13 | /memreserve/ 0x80000000 0x02000000; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 14 | |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 15 | / { |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 16 | compatible = "socionext,uniphier-ld11"; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 17 | #address-cells = <2>; |
| 18 | #size-cells = <2>; |
| 19 | interrupt-parent = <&gic>; |
| 20 | |
| 21 | cpus { |
| 22 | #address-cells = <2>; |
| 23 | #size-cells = <0>; |
| 24 | |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 25 | cpu-map { |
| 26 | cluster0 { |
| 27 | core0 { |
| 28 | cpu = <&cpu0>; |
| 29 | }; |
| 30 | core1 { |
| 31 | cpu = <&cpu1>; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | cpu0: cpu@0 { |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 37 | device_type = "cpu"; |
| 38 | compatible = "arm,cortex-a53", "arm,armv8"; |
| 39 | reg = <0 0x000>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 40 | clocks = <&sys_clk 33>; |
| 41 | enable-method = "psci"; |
| 42 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 43 | }; |
| 44 | |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 45 | cpu1: cpu@1 { |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 46 | device_type = "cpu"; |
| 47 | compatible = "arm,cortex-a53", "arm,armv8"; |
| 48 | reg = <0 0x001>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 49 | clocks = <&sys_clk 33>; |
| 50 | enable-method = "psci"; |
| 51 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 52 | }; |
| 53 | }; |
| 54 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 55 | cluster0_opp: opp-table { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 56 | compatible = "operating-points-v2"; |
| 57 | opp-shared; |
| 58 | |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 59 | opp-245000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 60 | opp-hz = /bits/ 64 <245000000>; |
| 61 | clock-latency-ns = <300>; |
| 62 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 63 | opp-250000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 64 | opp-hz = /bits/ 64 <250000000>; |
| 65 | clock-latency-ns = <300>; |
| 66 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 67 | opp-490000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 68 | opp-hz = /bits/ 64 <490000000>; |
| 69 | clock-latency-ns = <300>; |
| 70 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 71 | opp-500000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 72 | opp-hz = /bits/ 64 <500000000>; |
| 73 | clock-latency-ns = <300>; |
| 74 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 75 | opp-653334000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 76 | opp-hz = /bits/ 64 <653334000>; |
| 77 | clock-latency-ns = <300>; |
| 78 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 79 | opp-666667000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 80 | opp-hz = /bits/ 64 <666667000>; |
| 81 | clock-latency-ns = <300>; |
| 82 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 83 | opp-980000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 84 | opp-hz = /bits/ 64 <980000000>; |
| 85 | clock-latency-ns = <300>; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | psci { |
| 90 | compatible = "arm,psci-1.0"; |
| 91 | method = "smc"; |
| 92 | }; |
| 93 | |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 94 | clocks { |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 95 | refclk: ref { |
| 96 | compatible = "fixed-clock"; |
| 97 | #clock-cells = <0>; |
| 98 | clock-frequency = <25000000>; |
| 99 | }; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 100 | }; |
| 101 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 102 | emmc_pwrseq: emmc-pwrseq { |
| 103 | compatible = "mmc-pwrseq-emmc"; |
| 104 | reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>; |
| 105 | }; |
| 106 | |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 107 | timer { |
| 108 | compatible = "arm,armv8-timer"; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 109 | interrupts = <1 13 4>, |
| 110 | <1 14 4>, |
| 111 | <1 11 4>, |
| 112 | <1 10 4>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 113 | }; |
| 114 | |
Masahiro Yamada | 7ad79c1 | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 115 | soc@0 { |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 116 | compatible = "simple-bus"; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
| 119 | ranges = <0 0 0 0xffffffff>; |
| 120 | |
| 121 | serial0: serial@54006800 { |
| 122 | compatible = "socionext,uniphier-uart"; |
| 123 | status = "disabled"; |
| 124 | reg = <0x54006800 0x40>; |
| 125 | interrupts = <0 33 4>; |
| 126 | pinctrl-names = "default"; |
| 127 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 128 | clocks = <&peri_clk 0>; |
Masahiro Yamada | f149498 | 2016-03-28 21:39:17 +0900 | [diff] [blame] | 129 | clock-frequency = <58820000>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 130 | resets = <&peri_rst 0>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | serial1: serial@54006900 { |
| 134 | compatible = "socionext,uniphier-uart"; |
| 135 | status = "disabled"; |
| 136 | reg = <0x54006900 0x40>; |
| 137 | interrupts = <0 35 4>; |
| 138 | pinctrl-names = "default"; |
| 139 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 140 | clocks = <&peri_clk 1>; |
Masahiro Yamada | f149498 | 2016-03-28 21:39:17 +0900 | [diff] [blame] | 141 | clock-frequency = <58820000>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 142 | resets = <&peri_rst 1>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 143 | }; |
| 144 | |
| 145 | serial2: serial@54006a00 { |
| 146 | compatible = "socionext,uniphier-uart"; |
| 147 | status = "disabled"; |
| 148 | reg = <0x54006a00 0x40>; |
| 149 | interrupts = <0 37 4>; |
| 150 | pinctrl-names = "default"; |
| 151 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 152 | clocks = <&peri_clk 2>; |
Masahiro Yamada | f149498 | 2016-03-28 21:39:17 +0900 | [diff] [blame] | 153 | clock-frequency = <58820000>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 154 | resets = <&peri_rst 2>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 155 | }; |
| 156 | |
| 157 | serial3: serial@54006b00 { |
| 158 | compatible = "socionext,uniphier-uart"; |
| 159 | status = "disabled"; |
| 160 | reg = <0x54006b00 0x40>; |
| 161 | interrupts = <0 177 4>; |
| 162 | pinctrl-names = "default"; |
| 163 | pinctrl-0 = <&pinctrl_uart3>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 164 | clocks = <&peri_clk 3>; |
Masahiro Yamada | f149498 | 2016-03-28 21:39:17 +0900 | [diff] [blame] | 165 | clock-frequency = <58820000>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 166 | resets = <&peri_rst 3>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 167 | }; |
| 168 | |
Masahiro Yamada | 0f72b74 | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 169 | gpio: gpio@55000000 { |
| 170 | compatible = "socionext,uniphier-gpio"; |
| 171 | reg = <0x55000000 0x200>; |
| 172 | interrupt-parent = <&aidet>; |
| 173 | interrupt-controller; |
| 174 | #interrupt-cells = <2>; |
| 175 | gpio-controller; |
| 176 | #gpio-cells = <2>; |
| 177 | gpio-ranges = <&pinctrl 0 0 0>, |
| 178 | <&pinctrl 43 0 0>, |
| 179 | <&pinctrl 51 0 0>, |
| 180 | <&pinctrl 96 0 0>, |
| 181 | <&pinctrl 160 0 0>, |
| 182 | <&pinctrl 184 0 0>; |
| 183 | gpio-ranges-group-names = "gpio_range0", |
| 184 | "gpio_range1", |
| 185 | "gpio_range2", |
| 186 | "gpio_range3", |
| 187 | "gpio_range4", |
| 188 | "gpio_range5"; |
| 189 | ngpios = <200>; |
Masahiro Yamada | 2728748 | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 190 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>, |
| 191 | <21 217 3>; |
| 192 | }; |
| 193 | |
| 194 | adamv@57920000 { |
| 195 | compatible = "socionext,uniphier-ld11-adamv", |
| 196 | "simple-mfd", "syscon"; |
| 197 | reg = <0x57920000 0x1000>; |
| 198 | |
| 199 | adamv_rst: reset { |
| 200 | compatible = "socionext,uniphier-ld11-adamv-reset"; |
| 201 | #reset-cells = <1>; |
| 202 | }; |
Masahiro Yamada | 0f72b74 | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 203 | }; |
| 204 | |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 205 | i2c0: i2c@58780000 { |
| 206 | compatible = "socionext,uniphier-fi2c"; |
| 207 | status = "disabled"; |
| 208 | reg = <0x58780000 0x80>; |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
| 211 | interrupts = <0 41 4>; |
| 212 | pinctrl-names = "default"; |
| 213 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 214 | clocks = <&peri_clk 4>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 215 | resets = <&peri_rst 4>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 216 | clock-frequency = <100000>; |
| 217 | }; |
| 218 | |
| 219 | i2c1: i2c@58781000 { |
| 220 | compatible = "socionext,uniphier-fi2c"; |
| 221 | status = "disabled"; |
| 222 | reg = <0x58781000 0x80>; |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | interrupts = <0 42 4>; |
| 226 | pinctrl-names = "default"; |
| 227 | pinctrl-0 = <&pinctrl_i2c1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 228 | clocks = <&peri_clk 5>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 229 | resets = <&peri_rst 5>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 230 | clock-frequency = <100000>; |
| 231 | }; |
| 232 | |
| 233 | i2c2: i2c@58782000 { |
| 234 | compatible = "socionext,uniphier-fi2c"; |
| 235 | reg = <0x58782000 0x80>; |
| 236 | #address-cells = <1>; |
| 237 | #size-cells = <0>; |
| 238 | interrupts = <0 43 4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 239 | clocks = <&peri_clk 6>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 240 | resets = <&peri_rst 6>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 241 | clock-frequency = <400000>; |
| 242 | }; |
| 243 | |
| 244 | i2c3: i2c@58783000 { |
| 245 | compatible = "socionext,uniphier-fi2c"; |
| 246 | status = "disabled"; |
| 247 | reg = <0x58783000 0x80>; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <0>; |
| 250 | interrupts = <0 44 4>; |
| 251 | pinctrl-names = "default"; |
| 252 | pinctrl-0 = <&pinctrl_i2c3>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 253 | clocks = <&peri_clk 7>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 254 | resets = <&peri_rst 7>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 255 | clock-frequency = <100000>; |
| 256 | }; |
| 257 | |
| 258 | i2c4: i2c@58784000 { |
| 259 | compatible = "socionext,uniphier-fi2c"; |
| 260 | status = "disabled"; |
| 261 | reg = <0x58784000 0x80>; |
| 262 | #address-cells = <1>; |
| 263 | #size-cells = <0>; |
| 264 | interrupts = <0 45 4>; |
| 265 | pinctrl-names = "default"; |
| 266 | pinctrl-0 = <&pinctrl_i2c4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 267 | clocks = <&peri_clk 8>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 268 | resets = <&peri_rst 8>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 269 | clock-frequency = <100000>; |
| 270 | }; |
| 271 | |
| 272 | i2c5: i2c@58785000 { |
| 273 | compatible = "socionext,uniphier-fi2c"; |
| 274 | reg = <0x58785000 0x80>; |
| 275 | #address-cells = <1>; |
| 276 | #size-cells = <0>; |
| 277 | interrupts = <0 25 4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 278 | clocks = <&peri_clk 9>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 279 | resets = <&peri_rst 9>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 280 | clock-frequency = <400000>; |
| 281 | }; |
| 282 | |
| 283 | system_bus: system-bus@58c00000 { |
| 284 | compatible = "socionext,uniphier-system-bus"; |
| 285 | status = "disabled"; |
| 286 | reg = <0x58c00000 0x400>; |
| 287 | #address-cells = <2>; |
| 288 | #size-cells = <1>; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 289 | pinctrl-names = "default"; |
| 290 | pinctrl-0 = <&pinctrl_system_bus>; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 291 | }; |
| 292 | |
Masahiro Yamada | abb6ac2 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 293 | smpctrl@59801000 { |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 294 | compatible = "socionext,uniphier-smpctrl"; |
| 295 | reg = <0x59801000 0x400>; |
| 296 | }; |
| 297 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 298 | sdctrl@59810000 { |
| 299 | compatible = "socionext,uniphier-ld11-sdctrl", |
| 300 | "simple-mfd", "syscon"; |
| 301 | reg = <0x59810000 0x400>; |
| 302 | |
| 303 | sd_rst: reset { |
| 304 | compatible = "socionext,uniphier-ld11-sd-reset"; |
| 305 | #reset-cells = <1>; |
| 306 | }; |
| 307 | }; |
| 308 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 309 | perictrl@59820000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 310 | compatible = "socionext,uniphier-ld11-perictrl", |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 311 | "simple-mfd", "syscon"; |
| 312 | reg = <0x59820000 0x200>; |
| 313 | |
| 314 | peri_clk: clock { |
| 315 | compatible = "socionext,uniphier-ld11-peri-clock"; |
| 316 | #clock-cells = <1>; |
| 317 | }; |
| 318 | |
| 319 | peri_rst: reset { |
| 320 | compatible = "socionext,uniphier-ld11-peri-reset"; |
| 321 | #reset-cells = <1>; |
| 322 | }; |
| 323 | }; |
| 324 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 325 | emmc: sdhc@5a000000 { |
Masahiro Yamada | 7a6139c | 2017-01-04 20:08:37 +0900 | [diff] [blame] | 326 | compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 327 | reg = <0x5a000000 0x400>; |
| 328 | interrupts = <0 78 4>; |
| 329 | pinctrl-names = "default"; |
| 330 | pinctrl-0 = <&pinctrl_emmc_1v8>; |
| 331 | clocks = <&sys_clk 4>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 332 | resets = <&sys_rst 4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 333 | bus-width = <8>; |
| 334 | mmc-ddr-1_8v; |
| 335 | mmc-hs200-1_8v; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 336 | mmc-pwrseq = <&emmc_pwrseq>; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 337 | cdns,phy-input-delay-legacy = <4>; |
| 338 | cdns,phy-input-delay-mmc-highspeed = <2>; |
| 339 | cdns,phy-input-delay-mmc-ddr = <3>; |
| 340 | cdns,phy-dll-delay-sdclk = <21>; |
| 341 | cdns,phy-dll-delay-sdclk-hsmmc = <21>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 342 | }; |
| 343 | |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 344 | usb0: usb@5a800100 { |
| 345 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 346 | status = "disabled"; |
| 347 | reg = <0x5a800100 0x100>; |
| 348 | interrupts = <0 243 4>; |
| 349 | pinctrl-names = "default"; |
| 350 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 351 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 352 | <&mio_clk 12>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 353 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 354 | <&mio_rst 12>; |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 355 | has-transaction-translator; |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 356 | }; |
| 357 | |
| 358 | usb1: usb@5a810100 { |
| 359 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 360 | status = "disabled"; |
| 361 | reg = <0x5a810100 0x100>; |
| 362 | interrupts = <0 244 4>; |
| 363 | pinctrl-names = "default"; |
| 364 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 365 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 366 | <&mio_clk 13>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 367 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 368 | <&mio_rst 13>; |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 369 | has-transaction-translator; |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 370 | }; |
| 371 | |
| 372 | usb2: usb@5a820100 { |
| 373 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 374 | status = "disabled"; |
| 375 | reg = <0x5a820100 0x100>; |
| 376 | interrupts = <0 245 4>; |
| 377 | pinctrl-names = "default"; |
| 378 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 379 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>, |
| 380 | <&mio_clk 14>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 381 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 382 | <&mio_rst 14>; |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 383 | has-transaction-translator; |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 384 | }; |
| 385 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 386 | mioctrl@5b3e0000 { |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 387 | compatible = "socionext,uniphier-ld11-mioctrl", |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 388 | "simple-mfd", "syscon"; |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 389 | reg = <0x5b3e0000 0x800>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 390 | |
| 391 | mio_clk: clock { |
| 392 | compatible = "socionext,uniphier-ld11-mio-clock"; |
| 393 | #clock-cells = <1>; |
| 394 | }; |
| 395 | |
| 396 | mio_rst: reset { |
| 397 | compatible = "socionext,uniphier-ld11-mio-reset"; |
| 398 | #reset-cells = <1>; |
| 399 | resets = <&sys_rst 7>; |
| 400 | }; |
Masahiro Yamada | d7e103c | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 401 | }; |
| 402 | |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 403 | soc-glue@5f800000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 404 | compatible = "socionext,uniphier-ld11-soc-glue", |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 405 | "simple-mfd", "syscon"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 406 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 407 | |
| 408 | pinctrl: pinctrl { |
| 409 | compatible = "socionext,uniphier-ld11-pinctrl"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 410 | }; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 411 | }; |
| 412 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 413 | soc-glue@5f900000 { |
| 414 | compatible = "socionext,uniphier-ld11-soc-glue-debug", |
| 415 | "simple-mfd"; |
| 416 | #address-cells = <1>; |
| 417 | #size-cells = <1>; |
| 418 | ranges = <0 0x5f900000 0x2000>; |
| 419 | |
| 420 | efuse@100 { |
| 421 | compatible = "socionext,uniphier-efuse"; |
| 422 | reg = <0x100 0x28>; |
| 423 | }; |
| 424 | |
| 425 | efuse@200 { |
| 426 | compatible = "socionext,uniphier-efuse"; |
| 427 | reg = <0x200 0x68>; |
| 428 | }; |
| 429 | }; |
| 430 | |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 431 | aidet: aidet@5fc20000 { |
| 432 | compatible = "socionext,uniphier-ld11-aidet"; |
Masahiro Yamada | 1013aef | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 433 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 434 | interrupt-controller; |
| 435 | #interrupt-cells = <2>; |
Masahiro Yamada | 1013aef | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 436 | }; |
| 437 | |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 438 | gic: interrupt-controller@5fe00000 { |
| 439 | compatible = "arm,gic-v3"; |
| 440 | reg = <0x5fe00000 0x10000>, /* GICD */ |
| 441 | <0x5fe40000 0x80000>; /* GICR */ |
| 442 | interrupt-controller; |
| 443 | #interrupt-cells = <3>; |
| 444 | interrupts = <1 9 4>; |
| 445 | }; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 446 | |
| 447 | sysctrl@61840000 { |
| 448 | compatible = "socionext,uniphier-ld11-sysctrl", |
| 449 | "simple-mfd", "syscon"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 450 | reg = <0x61840000 0x10000>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 451 | |
| 452 | sys_clk: clock { |
| 453 | compatible = "socionext,uniphier-ld11-clock"; |
| 454 | #clock-cells = <1>; |
| 455 | }; |
| 456 | |
| 457 | sys_rst: reset { |
| 458 | compatible = "socionext,uniphier-ld11-reset"; |
| 459 | #reset-cells = <1>; |
| 460 | }; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 461 | |
| 462 | watchdog { |
| 463 | compatible = "socionext,uniphier-wdt"; |
| 464 | }; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 465 | }; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 466 | |
| 467 | nand: nand@68000000 { |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 468 | compatible = "socionext,uniphier-denali-nand-v5b"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 469 | status = "disabled"; |
| 470 | reg-names = "nand_data", "denali_reg"; |
| 471 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 472 | interrupts = <0 65 4>; |
| 473 | pinctrl-names = "default"; |
| 474 | pinctrl-0 = <&pinctrl_nand>; |
| 475 | clocks = <&sys_clk 2>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 476 | resets = <&sys_rst 2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 477 | }; |
Masahiro Yamada | fc26b7b | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 478 | }; |
| 479 | }; |
| 480 | |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 481 | #include "uniphier-pinctrl.dtsi" |