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