Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier sLD3 SoC |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 39a67ff | 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 | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | 7bfb0a2 | 2015-06-30 18:27:01 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ X11 |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 10 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 11 | compatible = "socionext,uniphier-sld3"; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 14 | |
| 15 | cpus { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | |
| 19 | cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a9"; |
| 22 | reg = <0>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 23 | enable-method = "psci"; |
| 24 | next-level-cache = <&l2>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | cpu@1 { |
| 28 | device_type = "cpu"; |
| 29 | compatible = "arm,cortex-a9"; |
| 30 | reg = <1>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 31 | enable-method = "psci"; |
| 32 | next-level-cache = <&l2>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 36 | psci { |
| 37 | compatible = "arm,psci-0.2"; |
| 38 | method = "smc"; |
| 39 | }; |
| 40 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 41 | clocks { |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 42 | refclk: ref { |
| 43 | #clock-cells = <0>; |
| 44 | compatible = "fixed-clock"; |
| 45 | clock-frequency = <24576000>; |
| 46 | }; |
| 47 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 48 | arm_timer_clk: arm_timer_clk { |
| 49 | #clock-cells = <0>; |
| 50 | compatible = "fixed-clock"; |
| 51 | clock-frequency = <50000000>; |
| 52 | }; |
| 53 | }; |
| 54 | |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 55 | soc { |
| 56 | compatible = "simple-bus"; |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <1>; |
| 59 | ranges; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 60 | interrupt-parent = <&intc>; |
Masahiro Yamada | 21621ad | 2016-08-25 17:02:33 +0900 | [diff] [blame] | 61 | u-boot,dm-pre-reloc; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 62 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 63 | timer@20000200 { |
| 64 | compatible = "arm,cortex-a9-global-timer"; |
| 65 | reg = <0x20000200 0x20>; |
| 66 | interrupts = <1 11 0x304>; |
| 67 | clocks = <&arm_timer_clk>; |
| 68 | }; |
| 69 | |
| 70 | timer@20000600 { |
| 71 | compatible = "arm,cortex-a9-twd-timer"; |
| 72 | reg = <0x20000600 0x20>; |
| 73 | interrupts = <1 13 0x304>; |
| 74 | clocks = <&arm_timer_clk>; |
| 75 | }; |
| 76 | |
| 77 | intc: interrupt-controller@20001000 { |
| 78 | compatible = "arm,cortex-a9-gic"; |
| 79 | #interrupt-cells = <3>; |
| 80 | interrupt-controller; |
| 81 | reg = <0x20001000 0x1000>, |
| 82 | <0x20000100 0x100>; |
| 83 | }; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 84 | |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 85 | l2: l2-cache@500c0000 { |
| 86 | compatible = "socionext,uniphier-system-cache"; |
| 87 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 88 | <0x506c0000 0x400>; |
| 89 | interrupts = <0 174 4>, <0 175 4>; |
| 90 | cache-unified; |
| 91 | cache-size = <(512 * 1024)>; |
| 92 | cache-sets = <256>; |
| 93 | cache-line-size = <128>; |
| 94 | cache-level = <2>; |
| 95 | }; |
| 96 | |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 97 | serial0: serial@54006800 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 98 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 99 | status = "disabled"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 100 | reg = <0x54006800 0x40>; |
| 101 | interrupts = <0 33 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 102 | pinctrl-names = "default"; |
| 103 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 104 | clocks = <&sys_clk 0>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 105 | clock-frequency = <36864000>; |
| 106 | }; |
| 107 | |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 108 | serial1: serial@54006900 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 109 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 110 | status = "disabled"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 111 | reg = <0x54006900 0x40>; |
| 112 | interrupts = <0 35 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 113 | pinctrl-names = "default"; |
| 114 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 115 | clocks = <&sys_clk 0>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 116 | clock-frequency = <36864000>; |
| 117 | }; |
| 118 | |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 119 | serial2: serial@54006a00 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 120 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 121 | status = "disabled"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 122 | reg = <0x54006a00 0x40>; |
| 123 | interrupts = <0 37 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 126 | clocks = <&sys_clk 0>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 127 | clock-frequency = <36864000>; |
| 128 | }; |
| 129 | |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 130 | port0x: gpio@55000008 { |
| 131 | compatible = "socionext,uniphier-gpio"; |
| 132 | reg = <0x55000008 0x8>; |
| 133 | gpio-controller; |
| 134 | #gpio-cells = <2>; |
| 135 | }; |
| 136 | |
| 137 | port1x: gpio@55000010 { |
| 138 | compatible = "socionext,uniphier-gpio"; |
| 139 | reg = <0x55000010 0x8>; |
| 140 | gpio-controller; |
| 141 | #gpio-cells = <2>; |
| 142 | }; |
| 143 | |
| 144 | port2x: gpio@55000018 { |
| 145 | compatible = "socionext,uniphier-gpio"; |
| 146 | reg = <0x55000018 0x8>; |
| 147 | gpio-controller; |
| 148 | #gpio-cells = <2>; |
| 149 | }; |
| 150 | |
| 151 | port3x: gpio@55000020 { |
| 152 | compatible = "socionext,uniphier-gpio"; |
| 153 | reg = <0x55000020 0x8>; |
| 154 | gpio-controller; |
| 155 | #gpio-cells = <2>; |
| 156 | }; |
| 157 | |
| 158 | port4: gpio@55000028 { |
| 159 | compatible = "socionext,uniphier-gpio"; |
| 160 | reg = <0x55000028 0x8>; |
| 161 | gpio-controller; |
| 162 | #gpio-cells = <2>; |
| 163 | }; |
| 164 | |
| 165 | port5x: gpio@55000030 { |
| 166 | compatible = "socionext,uniphier-gpio"; |
| 167 | reg = <0x55000030 0x8>; |
| 168 | gpio-controller; |
| 169 | #gpio-cells = <2>; |
| 170 | }; |
| 171 | |
| 172 | port6x: gpio@55000038 { |
| 173 | compatible = "socionext,uniphier-gpio"; |
| 174 | reg = <0x55000038 0x8>; |
| 175 | gpio-controller; |
| 176 | #gpio-cells = <2>; |
| 177 | }; |
| 178 | |
| 179 | port7x: gpio@55000040 { |
| 180 | compatible = "socionext,uniphier-gpio"; |
| 181 | reg = <0x55000040 0x8>; |
| 182 | gpio-controller; |
| 183 | #gpio-cells = <2>; |
| 184 | }; |
| 185 | |
| 186 | port8x: gpio@55000048 { |
| 187 | compatible = "socionext,uniphier-gpio"; |
| 188 | reg = <0x55000048 0x8>; |
| 189 | gpio-controller; |
| 190 | #gpio-cells = <2>; |
| 191 | }; |
| 192 | |
| 193 | port9x: gpio@55000050 { |
| 194 | compatible = "socionext,uniphier-gpio"; |
| 195 | reg = <0x55000050 0x8>; |
| 196 | gpio-controller; |
| 197 | #gpio-cells = <2>; |
| 198 | }; |
| 199 | |
| 200 | port10x: gpio@55000058 { |
| 201 | compatible = "socionext,uniphier-gpio"; |
| 202 | reg = <0x55000058 0x8>; |
| 203 | gpio-controller; |
| 204 | #gpio-cells = <2>; |
| 205 | }; |
| 206 | |
| 207 | port11x: gpio@55000060 { |
| 208 | compatible = "socionext,uniphier-gpio"; |
| 209 | reg = <0x55000060 0x8>; |
| 210 | gpio-controller; |
| 211 | #gpio-cells = <2>; |
| 212 | }; |
| 213 | |
| 214 | port12x: gpio@55000068 { |
| 215 | compatible = "socionext,uniphier-gpio"; |
| 216 | reg = <0x55000068 0x8>; |
| 217 | gpio-controller; |
| 218 | #gpio-cells = <2>; |
| 219 | }; |
| 220 | |
| 221 | port13x: gpio@55000070 { |
| 222 | compatible = "socionext,uniphier-gpio"; |
| 223 | reg = <0x55000070 0x8>; |
| 224 | gpio-controller; |
| 225 | #gpio-cells = <2>; |
| 226 | }; |
| 227 | |
| 228 | port14x: gpio@55000078 { |
| 229 | compatible = "socionext,uniphier-gpio"; |
| 230 | reg = <0x55000078 0x8>; |
| 231 | gpio-controller; |
| 232 | #gpio-cells = <2>; |
| 233 | }; |
| 234 | |
| 235 | port16x: gpio@55000088 { |
| 236 | compatible = "socionext,uniphier-gpio"; |
| 237 | reg = <0x55000088 0x8>; |
| 238 | gpio-controller; |
| 239 | #gpio-cells = <2>; |
| 240 | }; |
| 241 | |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 242 | i2c0: i2c@58400000 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 243 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 244 | status = "disabled"; |
| 245 | reg = <0x58400000 0x40>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 246 | #address-cells = <1>; |
| 247 | #size-cells = <0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 248 | interrupts = <0 41 1>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 249 | pinctrl-names = "default"; |
| 250 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 251 | clocks = <&sys_clk 1>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 252 | clock-frequency = <100000>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 253 | }; |
| 254 | |
| 255 | i2c1: i2c@58480000 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 256 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 257 | status = "disabled"; |
| 258 | reg = <0x58480000 0x40>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 259 | #address-cells = <1>; |
| 260 | #size-cells = <0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 261 | interrupts = <0 42 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 262 | clocks = <&sys_clk 1>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 263 | clock-frequency = <100000>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 264 | }; |
| 265 | |
| 266 | i2c2: i2c@58500000 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 267 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 268 | status = "disabled"; |
| 269 | reg = <0x58500000 0x40>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 270 | #address-cells = <1>; |
| 271 | #size-cells = <0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 272 | interrupts = <0 43 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 273 | clocks = <&sys_clk 1>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 274 | clock-frequency = <100000>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 275 | }; |
| 276 | |
| 277 | i2c3: i2c@58580000 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 278 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 279 | status = "disabled"; |
| 280 | reg = <0x58580000 0x40>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 281 | #address-cells = <1>; |
| 282 | #size-cells = <0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 283 | interrupts = <0 44 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 284 | clocks = <&sys_clk 1>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 285 | clock-frequency = <100000>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 286 | }; |
| 287 | |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 288 | /* chip-internal connection for DMD */ |
Masahiro Yamada | 3e27895 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 289 | i2c4: i2c@58600000 { |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 290 | compatible = "socionext,uniphier-i2c"; |
| 291 | reg = <0x58600000 0x40>; |
Masahiro Yamada | 3e27895 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 292 | #address-cells = <1>; |
| 293 | #size-cells = <0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 294 | interrupts = <0 45 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 295 | clocks = <&sys_clk 1>; |
Masahiro Yamada | 3e27895 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 296 | clock-frequency = <400000>; |
Masahiro Yamada | 3e27895 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 297 | }; |
| 298 | |
Masahiro Yamada | 94c12bf | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 299 | system_bus: system-bus@58c00000 { |
| 300 | compatible = "socionext,uniphier-system-bus"; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 301 | status = "disabled"; |
Masahiro Yamada | 94c12bf | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 302 | reg = <0x58c00000 0x400>; |
| 303 | #address-cells = <2>; |
| 304 | #size-cells = <1>; |
| 305 | }; |
| 306 | |
| 307 | smpctrl@59800000 { |
| 308 | compatible = "socionext,uniphier-smpctrl"; |
| 309 | reg = <0x59801000 0x400>; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 310 | }; |
| 311 | |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 312 | mioctrl@59810000 { |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 313 | compatible = "socionext,uniphier-sld3-mioctrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 314 | "simple-mfd", "syscon"; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 315 | reg = <0x59810000 0x800>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 316 | u-boot,dm-pre-reloc; |
| 317 | |
| 318 | mio_clk: clock { |
| 319 | compatible = "socionext,uniphier-sld3-mio-clock"; |
| 320 | #clock-cells = <1>; |
| 321 | u-boot,dm-pre-reloc; |
| 322 | }; |
| 323 | |
| 324 | mio_rst: reset { |
| 325 | compatible = "socionext,uniphier-sld3-mio-reset"; |
| 326 | #reset-cells = <1>; |
| 327 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 328 | }; |
| 329 | |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 330 | emmc: sdhc@5a400000 { |
| 331 | compatible = "socionext,uniphier-sdhc"; |
| 332 | status = "disabled"; |
| 333 | reg = <0x5a400000 0x200>; |
| 334 | interrupts = <0 78 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 335 | pinctrl-names = "default", "1.8v"; |
| 336 | pinctrl-0 = <&pinctrl_emmc>; |
| 337 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 338 | clocks = <&mio_clk 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 339 | reset-names = "host", "bridge"; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 340 | resets = <&mio_rst 1>, <&mio_rst 4>; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 341 | bus-width = <8>; |
| 342 | non-removable; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 343 | cap-mmc-highspeed; |
| 344 | cap-mmc-hw-reset; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 345 | }; |
| 346 | |
| 347 | sd: sdhc@5a500000 { |
| 348 | compatible = "socionext,uniphier-sdhc"; |
| 349 | status = "disabled"; |
| 350 | reg = <0x5a500000 0x200>; |
| 351 | interrupts = <0 76 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 352 | pinctrl-names = "default", "1.8v"; |
| 353 | pinctrl-0 = <&pinctrl_sd>; |
| 354 | pinctrl-1 = <&pinctrl_sd_1v8>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 355 | clocks = <&mio_clk 0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 356 | reset-names = "host", "bridge"; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 357 | resets = <&mio_rst 0>, <&mio_rst 3>; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 358 | bus-width = <4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 359 | cap-sd-highspeed; |
| 360 | sd-uhs-sdr12; |
| 361 | sd-uhs-sdr25; |
| 362 | sd-uhs-sdr50; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 363 | }; |
| 364 | |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 365 | usb0: usb@5a800100 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 366 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 367 | status = "disabled"; |
| 368 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 369 | interrupts = <0 80 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 370 | pinctrl-names = "default"; |
| 371 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 372 | clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>; |
| 373 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 374 | <&mio_rst 12>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 375 | }; |
| 376 | |
| 377 | usb1: usb@5a810100 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 378 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 379 | status = "disabled"; |
| 380 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 381 | interrupts = <0 81 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 382 | pinctrl-names = "default"; |
| 383 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 384 | clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>; |
| 385 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 386 | <&mio_rst 13>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 387 | }; |
| 388 | |
| 389 | usb2: usb@5a820100 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 390 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 391 | status = "disabled"; |
| 392 | reg = <0x5a820100 0x100>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 393 | interrupts = <0 82 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 394 | pinctrl-names = "default"; |
| 395 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 396 | clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>; |
| 397 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 398 | <&mio_rst 14>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 399 | }; |
| 400 | |
| 401 | usb3: usb@5a830100 { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 402 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 403 | status = "disabled"; |
| 404 | reg = <0x5a830100 0x100>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 405 | interrupts = <0 83 4>; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 406 | pinctrl-names = "default"; |
| 407 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 408 | clocks = <&mio_clk 7>, <&mio_clk 11>, <&mio_clk 15>; |
| 409 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 11>, |
| 410 | <&mio_rst 15>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 411 | }; |
| 412 | |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 413 | soc-glue@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 414 | compatible = "socionext,uniphier-sld3-soc-glue", |
| 415 | "simple-mfd", "syscon"; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 416 | reg = <0x5f800000 0x2000>; |
| 417 | u-boot,dm-pre-reloc; |
| 418 | |
| 419 | pinctrl: pinctrl { |
| 420 | compatible = "socionext,uniphier-sld3-pinctrl"; |
| 421 | u-boot,dm-pre-reloc; |
| 422 | }; |
| 423 | }; |
| 424 | |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 425 | aidet@f1830000 { |
| 426 | compatible = "simple-mfd", "syscon"; |
| 427 | reg = <0xf1830000 0x200>; |
| 428 | }; |
| 429 | |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 430 | sysctrl@f1840000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 431 | compatible = "socionext,uniphier-sld3-sysctrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 432 | "simple-mfd", "syscon"; |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 433 | reg = <0xf1840000 0x10000>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 434 | |
| 435 | sys_clk: clock { |
| 436 | compatible = "socionext,uniphier-sld3-clock"; |
| 437 | #clock-cells = <1>; |
| 438 | }; |
| 439 | |
| 440 | sys_rst: reset { |
| 441 | compatible = "socionext,uniphier-sld3-reset"; |
| 442 | #reset-cells = <1>; |
| 443 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 444 | }; |
| 445 | |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 446 | nand: nand@f8000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 447 | compatible = "socionext,denali-nand-v5a"; |
| 448 | status = "disabled"; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 449 | reg-names = "nand_data", "denali_reg"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 450 | reg = <0xf8000000 0x20>, <0xf8100000 0x1000>; |
| 451 | interrupts = <0 65 4>; |
| 452 | clocks = <&sys_clk 2>; |
| 453 | nand-ecc-strength = <8>; |
Masahiro Yamada | a90ca9a | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 454 | }; |
| 455 | }; |
| 456 | }; |
Masahiro Yamada | b275e76 | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 457 | |
| 458 | /include/ "uniphier-pinctrl.dtsi" |