Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier sLD3 SoC |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +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 | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | abb6ac2 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 7 | * This file is dual-licensed: you can use it either under the terms |
| 8 | * of the GPL or the X11 license, at your option. Note that this dual |
| 9 | * licensing only applies to this file, and not this project as a |
| 10 | * whole. |
| 11 | * |
| 12 | * a) This file is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License as |
| 14 | * published by the Free Software Foundation; either version 2 of the |
| 15 | * License, or (at your option) any later version. |
| 16 | * |
| 17 | * This file is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * Or, alternatively, |
| 23 | * |
| 24 | * b) Permission is hereby granted, free of charge, to any person |
| 25 | * obtaining a copy of this software and associated documentation |
| 26 | * files (the "Software"), to deal in the Software without |
| 27 | * restriction, including without limitation the rights to use, |
| 28 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 29 | * sell copies of the Software, and to permit persons to whom the |
| 30 | * Software is furnished to do so, subject to the following |
| 31 | * conditions: |
| 32 | * |
| 33 | * The above copyright notice and this permission notice shall be |
| 34 | * included in all copies or substantial portions of the Software. |
| 35 | * |
| 36 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 37 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 38 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 39 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 40 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 41 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 42 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 43 | * OTHER DEALINGS IN THE SOFTWARE. |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 44 | */ |
| 45 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 46 | / { |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 47 | compatible = "socionext,uniphier-sld3"; |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 50 | |
| 51 | cpus { |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | |
| 55 | cpu@0 { |
| 56 | device_type = "cpu"; |
| 57 | compatible = "arm,cortex-a9"; |
| 58 | reg = <0>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 59 | enable-method = "psci"; |
| 60 | next-level-cache = <&l2>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | cpu@1 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "arm,cortex-a9"; |
| 66 | reg = <1>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 67 | enable-method = "psci"; |
| 68 | next-level-cache = <&l2>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 69 | }; |
| 70 | }; |
| 71 | |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 72 | psci { |
| 73 | compatible = "arm,psci-0.2"; |
| 74 | method = "smc"; |
| 75 | }; |
| 76 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 77 | clocks { |
Masahiro Yamada | cc33609 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 78 | refclk: ref { |
| 79 | #clock-cells = <0>; |
| 80 | compatible = "fixed-clock"; |
| 81 | clock-frequency = <24576000>; |
| 82 | }; |
| 83 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 84 | arm_timer_clk: arm_timer_clk { |
| 85 | #clock-cells = <0>; |
| 86 | compatible = "fixed-clock"; |
| 87 | clock-frequency = <50000000>; |
| 88 | }; |
| 89 | }; |
| 90 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 91 | soc { |
| 92 | compatible = "simple-bus"; |
| 93 | #address-cells = <1>; |
| 94 | #size-cells = <1>; |
| 95 | ranges; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 96 | interrupt-parent = <&intc>; |
Masahiro Yamada | f063353 | 2016-08-25 17:02:33 +0900 | [diff] [blame] | 97 | u-boot,dm-pre-reloc; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 98 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 99 | timer@20000200 { |
| 100 | compatible = "arm,cortex-a9-global-timer"; |
| 101 | reg = <0x20000200 0x20>; |
| 102 | interrupts = <1 11 0x304>; |
| 103 | clocks = <&arm_timer_clk>; |
| 104 | }; |
| 105 | |
| 106 | timer@20000600 { |
| 107 | compatible = "arm,cortex-a9-twd-timer"; |
| 108 | reg = <0x20000600 0x20>; |
| 109 | interrupts = <1 13 0x304>; |
| 110 | clocks = <&arm_timer_clk>; |
| 111 | }; |
| 112 | |
| 113 | intc: interrupt-controller@20001000 { |
| 114 | compatible = "arm,cortex-a9-gic"; |
| 115 | #interrupt-cells = <3>; |
| 116 | interrupt-controller; |
| 117 | reg = <0x20001000 0x1000>, |
| 118 | <0x20000100 0x100>; |
| 119 | }; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 120 | |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 121 | l2: l2-cache@500c0000 { |
| 122 | compatible = "socionext,uniphier-system-cache"; |
| 123 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 124 | <0x506c0000 0x400>; |
| 125 | interrupts = <0 174 4>, <0 175 4>; |
| 126 | cache-unified; |
| 127 | cache-size = <(512 * 1024)>; |
| 128 | cache-sets = <256>; |
| 129 | cache-line-size = <128>; |
| 130 | cache-level = <2>; |
| 131 | }; |
| 132 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 133 | serial0: serial@54006800 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 134 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 135 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 136 | reg = <0x54006800 0x40>; |
| 137 | interrupts = <0 33 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 138 | pinctrl-names = "default"; |
| 139 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 140 | clocks = <&sys_clk 0>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 141 | clock-frequency = <36864000>; |
| 142 | }; |
| 143 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 144 | serial1: serial@54006900 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 145 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 146 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 147 | reg = <0x54006900 0x40>; |
| 148 | interrupts = <0 35 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 149 | pinctrl-names = "default"; |
| 150 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 151 | clocks = <&sys_clk 0>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 152 | clock-frequency = <36864000>; |
| 153 | }; |
| 154 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 155 | serial2: serial@54006a00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 156 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 157 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 158 | reg = <0x54006a00 0x40>; |
| 159 | interrupts = <0 37 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 160 | pinctrl-names = "default"; |
| 161 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 162 | clocks = <&sys_clk 0>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 163 | clock-frequency = <36864000>; |
| 164 | }; |
| 165 | |
Masahiro Yamada | 595dc1e | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 166 | port0x: gpio@55000008 { |
| 167 | compatible = "socionext,uniphier-gpio"; |
| 168 | reg = <0x55000008 0x8>; |
| 169 | gpio-controller; |
| 170 | #gpio-cells = <2>; |
| 171 | }; |
| 172 | |
| 173 | port1x: gpio@55000010 { |
| 174 | compatible = "socionext,uniphier-gpio"; |
| 175 | reg = <0x55000010 0x8>; |
| 176 | gpio-controller; |
| 177 | #gpio-cells = <2>; |
| 178 | }; |
| 179 | |
| 180 | port2x: gpio@55000018 { |
| 181 | compatible = "socionext,uniphier-gpio"; |
| 182 | reg = <0x55000018 0x8>; |
| 183 | gpio-controller; |
| 184 | #gpio-cells = <2>; |
| 185 | }; |
| 186 | |
| 187 | port3x: gpio@55000020 { |
| 188 | compatible = "socionext,uniphier-gpio"; |
| 189 | reg = <0x55000020 0x8>; |
| 190 | gpio-controller; |
| 191 | #gpio-cells = <2>; |
| 192 | }; |
| 193 | |
| 194 | port4: gpio@55000028 { |
| 195 | compatible = "socionext,uniphier-gpio"; |
| 196 | reg = <0x55000028 0x8>; |
| 197 | gpio-controller; |
| 198 | #gpio-cells = <2>; |
| 199 | }; |
| 200 | |
| 201 | port5x: gpio@55000030 { |
| 202 | compatible = "socionext,uniphier-gpio"; |
| 203 | reg = <0x55000030 0x8>; |
| 204 | gpio-controller; |
| 205 | #gpio-cells = <2>; |
| 206 | }; |
| 207 | |
| 208 | port6x: gpio@55000038 { |
| 209 | compatible = "socionext,uniphier-gpio"; |
| 210 | reg = <0x55000038 0x8>; |
| 211 | gpio-controller; |
| 212 | #gpio-cells = <2>; |
| 213 | }; |
| 214 | |
| 215 | port7x: gpio@55000040 { |
| 216 | compatible = "socionext,uniphier-gpio"; |
| 217 | reg = <0x55000040 0x8>; |
| 218 | gpio-controller; |
| 219 | #gpio-cells = <2>; |
| 220 | }; |
| 221 | |
| 222 | port8x: gpio@55000048 { |
| 223 | compatible = "socionext,uniphier-gpio"; |
| 224 | reg = <0x55000048 0x8>; |
| 225 | gpio-controller; |
| 226 | #gpio-cells = <2>; |
| 227 | }; |
| 228 | |
| 229 | port9x: gpio@55000050 { |
| 230 | compatible = "socionext,uniphier-gpio"; |
| 231 | reg = <0x55000050 0x8>; |
| 232 | gpio-controller; |
| 233 | #gpio-cells = <2>; |
| 234 | }; |
| 235 | |
| 236 | port10x: gpio@55000058 { |
| 237 | compatible = "socionext,uniphier-gpio"; |
| 238 | reg = <0x55000058 0x8>; |
| 239 | gpio-controller; |
| 240 | #gpio-cells = <2>; |
| 241 | }; |
| 242 | |
| 243 | port11x: gpio@55000060 { |
| 244 | compatible = "socionext,uniphier-gpio"; |
| 245 | reg = <0x55000060 0x8>; |
| 246 | gpio-controller; |
| 247 | #gpio-cells = <2>; |
| 248 | }; |
| 249 | |
| 250 | port12x: gpio@55000068 { |
| 251 | compatible = "socionext,uniphier-gpio"; |
| 252 | reg = <0x55000068 0x8>; |
| 253 | gpio-controller; |
| 254 | #gpio-cells = <2>; |
| 255 | }; |
| 256 | |
| 257 | port13x: gpio@55000070 { |
| 258 | compatible = "socionext,uniphier-gpio"; |
| 259 | reg = <0x55000070 0x8>; |
| 260 | gpio-controller; |
| 261 | #gpio-cells = <2>; |
| 262 | }; |
| 263 | |
| 264 | port14x: gpio@55000078 { |
| 265 | compatible = "socionext,uniphier-gpio"; |
| 266 | reg = <0x55000078 0x8>; |
| 267 | gpio-controller; |
| 268 | #gpio-cells = <2>; |
| 269 | }; |
| 270 | |
| 271 | port16x: gpio@55000088 { |
| 272 | compatible = "socionext,uniphier-gpio"; |
| 273 | reg = <0x55000088 0x8>; |
| 274 | gpio-controller; |
| 275 | #gpio-cells = <2>; |
| 276 | }; |
| 277 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 278 | i2c0: i2c@58400000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 279 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 280 | status = "disabled"; |
| 281 | reg = <0x58400000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 282 | #address-cells = <1>; |
| 283 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 284 | interrupts = <0 41 1>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 285 | pinctrl-names = "default"; |
| 286 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 287 | clocks = <&sys_clk 1>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 288 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 289 | }; |
| 290 | |
| 291 | i2c1: i2c@58480000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 292 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 293 | status = "disabled"; |
| 294 | reg = <0x58480000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 295 | #address-cells = <1>; |
| 296 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 297 | interrupts = <0 42 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 298 | clocks = <&sys_clk 1>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 299 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 300 | }; |
| 301 | |
| 302 | i2c2: i2c@58500000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 303 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 304 | status = "disabled"; |
| 305 | reg = <0x58500000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 306 | #address-cells = <1>; |
| 307 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 308 | interrupts = <0 43 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 309 | clocks = <&sys_clk 1>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 310 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 311 | }; |
| 312 | |
| 313 | i2c3: i2c@58580000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 314 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 315 | status = "disabled"; |
| 316 | reg = <0x58580000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 317 | #address-cells = <1>; |
| 318 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 319 | interrupts = <0 44 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 320 | clocks = <&sys_clk 1>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 321 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 322 | }; |
| 323 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 324 | /* chip-internal connection for DMD */ |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 325 | i2c4: i2c@58600000 { |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 326 | compatible = "socionext,uniphier-i2c"; |
| 327 | reg = <0x58600000 0x40>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 328 | #address-cells = <1>; |
| 329 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 330 | interrupts = <0 45 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 331 | clocks = <&sys_clk 1>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 332 | clock-frequency = <400000>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 333 | }; |
| 334 | |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 335 | system_bus: system-bus@58c00000 { |
| 336 | compatible = "socionext,uniphier-system-bus"; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 337 | status = "disabled"; |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 338 | reg = <0x58c00000 0x400>; |
| 339 | #address-cells = <2>; |
| 340 | #size-cells = <1>; |
| 341 | }; |
| 342 | |
Masahiro Yamada | abb6ac2 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 343 | smpctrl@59801000 { |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 344 | compatible = "socionext,uniphier-smpctrl"; |
| 345 | reg = <0x59801000 0x400>; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 346 | }; |
| 347 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 348 | mioctrl@59810000 { |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 349 | compatible = "socionext,uniphier-sld3-mioctrl", |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 350 | "simple-mfd", "syscon"; |
Masahiro Yamada | aa37aba | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 351 | reg = <0x59810000 0x800>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 352 | u-boot,dm-pre-reloc; |
| 353 | |
| 354 | mio_clk: clock { |
| 355 | compatible = "socionext,uniphier-sld3-mio-clock"; |
| 356 | #clock-cells = <1>; |
| 357 | u-boot,dm-pre-reloc; |
| 358 | }; |
| 359 | |
| 360 | mio_rst: reset { |
| 361 | compatible = "socionext,uniphier-sld3-mio-reset"; |
| 362 | #reset-cells = <1>; |
| 363 | }; |
Masahiro Yamada | aa37aba | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 364 | }; |
| 365 | |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 366 | emmc: sdhc@5a400000 { |
| 367 | compatible = "socionext,uniphier-sdhc"; |
| 368 | status = "disabled"; |
| 369 | reg = <0x5a400000 0x200>; |
| 370 | interrupts = <0 78 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 371 | pinctrl-names = "default", "1.8v"; |
| 372 | pinctrl-0 = <&pinctrl_emmc>; |
| 373 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 374 | clocks = <&mio_clk 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 375 | reset-names = "host", "bridge"; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 376 | resets = <&mio_rst 1>, <&mio_rst 4>; |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 377 | bus-width = <8>; |
| 378 | non-removable; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 379 | cap-mmc-highspeed; |
| 380 | cap-mmc-hw-reset; |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | sd: sdhc@5a500000 { |
| 384 | compatible = "socionext,uniphier-sdhc"; |
| 385 | status = "disabled"; |
| 386 | reg = <0x5a500000 0x200>; |
| 387 | interrupts = <0 76 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 388 | pinctrl-names = "default", "1.8v"; |
| 389 | pinctrl-0 = <&pinctrl_sd>; |
| 390 | pinctrl-1 = <&pinctrl_sd_1v8>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 391 | clocks = <&mio_clk 0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 392 | reset-names = "host", "bridge"; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 393 | resets = <&mio_rst 0>, <&mio_rst 3>; |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 394 | bus-width = <4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 395 | cap-sd-highspeed; |
| 396 | sd-uhs-sdr12; |
| 397 | sd-uhs-sdr25; |
| 398 | sd-uhs-sdr50; |
Masahiro Yamada | c7f94ee | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 399 | }; |
| 400 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 401 | usb0: usb@5a800100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 402 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 403 | status = "disabled"; |
| 404 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 405 | interrupts = <0 80 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 406 | pinctrl-names = "default"; |
| 407 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 408 | clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>; |
| 409 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 410 | <&mio_rst 12>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 411 | }; |
| 412 | |
| 413 | usb1: usb@5a810100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 414 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 415 | status = "disabled"; |
| 416 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 417 | interrupts = <0 81 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 418 | pinctrl-names = "default"; |
| 419 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 420 | clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>; |
| 421 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 422 | <&mio_rst 13>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 423 | }; |
| 424 | |
| 425 | usb2: usb@5a820100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 426 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 427 | status = "disabled"; |
| 428 | reg = <0x5a820100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 429 | interrupts = <0 82 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 430 | pinctrl-names = "default"; |
| 431 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 432 | clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>; |
| 433 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 434 | <&mio_rst 14>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 435 | }; |
| 436 | |
| 437 | usb3: usb@5a830100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 438 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 439 | status = "disabled"; |
| 440 | reg = <0x5a830100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 441 | interrupts = <0 83 4>; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 442 | pinctrl-names = "default"; |
| 443 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 444 | clocks = <&mio_clk 7>, <&mio_clk 11>, <&mio_clk 15>; |
| 445 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 11>, |
| 446 | <&mio_rst 15>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 447 | }; |
| 448 | |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 449 | soc-glue@5f800000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 450 | compatible = "socionext,uniphier-sld3-soc-glue", |
| 451 | "simple-mfd", "syscon"; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 452 | reg = <0x5f800000 0x2000>; |
| 453 | u-boot,dm-pre-reloc; |
| 454 | |
| 455 | pinctrl: pinctrl { |
| 456 | compatible = "socionext,uniphier-sld3-pinctrl"; |
| 457 | u-boot,dm-pre-reloc; |
| 458 | }; |
| 459 | }; |
| 460 | |
Masahiro Yamada | 1013aef | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 461 | aidet@f1830000 { |
| 462 | compatible = "simple-mfd", "syscon"; |
| 463 | reg = <0xf1830000 0x200>; |
| 464 | }; |
| 465 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 466 | sysctrl@f1840000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 467 | compatible = "socionext,uniphier-sld3-sysctrl", |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 468 | "simple-mfd", "syscon"; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 469 | reg = <0xf1840000 0x10000>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 470 | |
| 471 | sys_clk: clock { |
| 472 | compatible = "socionext,uniphier-sld3-clock"; |
| 473 | #clock-cells = <1>; |
| 474 | }; |
| 475 | |
| 476 | sys_rst: reset { |
| 477 | compatible = "socionext,uniphier-sld3-reset"; |
| 478 | #reset-cells = <1>; |
| 479 | }; |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 480 | }; |
| 481 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 482 | nand: nand@f8000000 { |
Masahiro Yamada | abb6ac2 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 483 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 484 | status = "disabled"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 485 | reg-names = "nand_data", "denali_reg"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 486 | reg = <0xf8000000 0x20>, <0xf8100000 0x1000>; |
| 487 | interrupts = <0 65 4>; |
| 488 | clocks = <&sys_clk 2>; |
| 489 | nand-ecc-strength = <8>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 490 | }; |
| 491 | }; |
| 492 | }; |
Masahiro Yamada | 4475c0c | 2016-09-17 03:33:00 +0900 | [diff] [blame] | 493 | |
| 494 | /include/ "uniphier-pinctrl.dtsi" |