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