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 Pro4 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-pro4"; |
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 | cpu@1 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "arm,cortex-a9"; |
| 66 | reg = <1>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 67 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 68 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 69 | }; |
| 70 | }; |
| 71 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 72 | psci { |
| 73 | compatible = "arm,psci-0.2"; |
| 74 | method = "smc"; |
| 75 | }; |
| 76 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 77 | clocks { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 78 | refclk: ref { |
| 79 | compatible = "fixed-clock"; |
| 80 | #clock-cells = <0>; |
| 81 | clock-frequency = <25000000>; |
| 82 | }; |
| 83 | |
Masahiro Yamada | bbbb0bd | 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 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 89 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 90 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 91 | soc { |
| 92 | compatible = "simple-bus"; |
| 93 | #address-cells = <1>; |
| 94 | #size-cells = <1>; |
| 95 | ranges; |
| 96 | interrupt-parent = <&intc>; |
| 97 | u-boot,dm-pre-reloc; |
| 98 | |
| 99 | l2: l2-cache@500c0000 { |
| 100 | compatible = "socionext,uniphier-system-cache"; |
| 101 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 102 | <0x506c0000 0x400>; |
| 103 | interrupts = <0 174 4>, <0 175 4>; |
| 104 | cache-unified; |
| 105 | cache-size = <(768 * 1024)>; |
| 106 | cache-sets = <256>; |
| 107 | cache-line-size = <128>; |
| 108 | cache-level = <2>; |
| 109 | }; |
| 110 | |
| 111 | serial0: serial@54006800 { |
| 112 | compatible = "socionext,uniphier-uart"; |
| 113 | status = "disabled"; |
| 114 | reg = <0x54006800 0x40>; |
| 115 | interrupts = <0 33 4>; |
| 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&pinctrl_uart0>; |
| 118 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 119 | clock-frequency = <73728000>; |
| 120 | }; |
| 121 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 122 | serial1: serial@54006900 { |
| 123 | compatible = "socionext,uniphier-uart"; |
| 124 | status = "disabled"; |
| 125 | reg = <0x54006900 0x40>; |
| 126 | interrupts = <0 35 4>; |
| 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&pinctrl_uart1>; |
| 129 | clocks = <&peri_clk 1>; |
| 130 | clock-frequency = <73728000>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 131 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 132 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 133 | serial2: serial@54006a00 { |
| 134 | compatible = "socionext,uniphier-uart"; |
| 135 | status = "disabled"; |
| 136 | reg = <0x54006a00 0x40>; |
| 137 | interrupts = <0 37 4>; |
| 138 | pinctrl-names = "default"; |
| 139 | pinctrl-0 = <&pinctrl_uart2>; |
| 140 | clocks = <&peri_clk 2>; |
| 141 | clock-frequency = <73728000>; |
| 142 | }; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 143 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 144 | serial3: serial@54006b00 { |
| 145 | compatible = "socionext,uniphier-uart"; |
| 146 | status = "disabled"; |
| 147 | reg = <0x54006b00 0x40>; |
| 148 | interrupts = <0 177 4>; |
| 149 | pinctrl-names = "default"; |
| 150 | pinctrl-0 = <&pinctrl_uart3>; |
| 151 | clocks = <&peri_clk 3>; |
| 152 | clock-frequency = <73728000>; |
| 153 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 154 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 155 | port0x: gpio@55000008 { |
| 156 | compatible = "socionext,uniphier-gpio"; |
| 157 | reg = <0x55000008 0x8>; |
| 158 | gpio-controller; |
| 159 | #gpio-cells = <2>; |
| 160 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 161 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 162 | port1x: gpio@55000010 { |
| 163 | compatible = "socionext,uniphier-gpio"; |
| 164 | reg = <0x55000010 0x8>; |
| 165 | gpio-controller; |
| 166 | #gpio-cells = <2>; |
| 167 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 168 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 169 | port2x: gpio@55000018 { |
| 170 | compatible = "socionext,uniphier-gpio"; |
| 171 | reg = <0x55000018 0x8>; |
| 172 | gpio-controller; |
| 173 | #gpio-cells = <2>; |
| 174 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 175 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 176 | port3x: gpio@55000020 { |
| 177 | compatible = "socionext,uniphier-gpio"; |
| 178 | reg = <0x55000020 0x8>; |
| 179 | gpio-controller; |
| 180 | #gpio-cells = <2>; |
| 181 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 182 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 183 | port4: gpio@55000028 { |
| 184 | compatible = "socionext,uniphier-gpio"; |
| 185 | reg = <0x55000028 0x8>; |
| 186 | gpio-controller; |
| 187 | #gpio-cells = <2>; |
| 188 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 189 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 190 | port5x: gpio@55000030 { |
| 191 | compatible = "socionext,uniphier-gpio"; |
| 192 | reg = <0x55000030 0x8>; |
| 193 | gpio-controller; |
| 194 | #gpio-cells = <2>; |
| 195 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 196 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 197 | port6x: gpio@55000038 { |
| 198 | compatible = "socionext,uniphier-gpio"; |
| 199 | reg = <0x55000038 0x8>; |
| 200 | gpio-controller; |
| 201 | #gpio-cells = <2>; |
| 202 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 203 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 204 | port7x: gpio@55000040 { |
| 205 | compatible = "socionext,uniphier-gpio"; |
| 206 | reg = <0x55000040 0x8>; |
| 207 | gpio-controller; |
| 208 | #gpio-cells = <2>; |
| 209 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 210 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 211 | port8x: gpio@55000048 { |
| 212 | compatible = "socionext,uniphier-gpio"; |
| 213 | reg = <0x55000048 0x8>; |
| 214 | gpio-controller; |
| 215 | #gpio-cells = <2>; |
| 216 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 217 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 218 | port9x: gpio@55000050 { |
| 219 | compatible = "socionext,uniphier-gpio"; |
| 220 | reg = <0x55000050 0x8>; |
| 221 | gpio-controller; |
| 222 | #gpio-cells = <2>; |
| 223 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 224 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 225 | port10x: gpio@55000058 { |
| 226 | compatible = "socionext,uniphier-gpio"; |
| 227 | reg = <0x55000058 0x8>; |
| 228 | gpio-controller; |
| 229 | #gpio-cells = <2>; |
| 230 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 231 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 232 | port11x: gpio@55000060 { |
| 233 | compatible = "socionext,uniphier-gpio"; |
| 234 | reg = <0x55000060 0x8>; |
| 235 | gpio-controller; |
| 236 | #gpio-cells = <2>; |
| 237 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 238 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 239 | port12x: gpio@55000068 { |
| 240 | compatible = "socionext,uniphier-gpio"; |
| 241 | reg = <0x55000068 0x8>; |
| 242 | gpio-controller; |
| 243 | #gpio-cells = <2>; |
| 244 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 245 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 246 | port13x: gpio@55000070 { |
| 247 | compatible = "socionext,uniphier-gpio"; |
| 248 | reg = <0x55000070 0x8>; |
| 249 | gpio-controller; |
| 250 | #gpio-cells = <2>; |
| 251 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 252 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 253 | port14x: gpio@55000078 { |
| 254 | compatible = "socionext,uniphier-gpio"; |
| 255 | reg = <0x55000078 0x8>; |
| 256 | gpio-controller; |
| 257 | #gpio-cells = <2>; |
| 258 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 259 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 260 | port17x: gpio@550000a0 { |
| 261 | compatible = "socionext,uniphier-gpio"; |
| 262 | reg = <0x550000a0 0x8>; |
| 263 | gpio-controller; |
| 264 | #gpio-cells = <2>; |
| 265 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 266 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 267 | port18x: gpio@550000a8 { |
| 268 | compatible = "socionext,uniphier-gpio"; |
| 269 | reg = <0x550000a8 0x8>; |
| 270 | gpio-controller; |
| 271 | #gpio-cells = <2>; |
| 272 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 273 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 274 | port19x: gpio@550000b0 { |
| 275 | compatible = "socionext,uniphier-gpio"; |
| 276 | reg = <0x550000b0 0x8>; |
| 277 | gpio-controller; |
| 278 | #gpio-cells = <2>; |
| 279 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 280 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 281 | port20x: gpio@550000b8 { |
| 282 | compatible = "socionext,uniphier-gpio"; |
| 283 | reg = <0x550000b8 0x8>; |
| 284 | gpio-controller; |
| 285 | #gpio-cells = <2>; |
| 286 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 287 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 288 | port21x: gpio@550000c0 { |
| 289 | compatible = "socionext,uniphier-gpio"; |
| 290 | reg = <0x550000c0 0x8>; |
| 291 | gpio-controller; |
| 292 | #gpio-cells = <2>; |
| 293 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 294 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 295 | port22x: gpio@550000c8 { |
| 296 | compatible = "socionext,uniphier-gpio"; |
| 297 | reg = <0x550000c8 0x8>; |
| 298 | gpio-controller; |
| 299 | #gpio-cells = <2>; |
| 300 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 301 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 302 | port23x: gpio@550000d0 { |
| 303 | compatible = "socionext,uniphier-gpio"; |
| 304 | reg = <0x550000d0 0x8>; |
| 305 | gpio-controller; |
| 306 | #gpio-cells = <2>; |
| 307 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 308 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 309 | port24x: gpio@550000d8 { |
| 310 | compatible = "socionext,uniphier-gpio"; |
| 311 | reg = <0x550000d8 0x8>; |
| 312 | gpio-controller; |
| 313 | #gpio-cells = <2>; |
| 314 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 315 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 316 | port25x: gpio@550000e0 { |
| 317 | compatible = "socionext,uniphier-gpio"; |
| 318 | reg = <0x550000e0 0x8>; |
| 319 | gpio-controller; |
| 320 | #gpio-cells = <2>; |
| 321 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 322 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 323 | port26x: gpio@550000e8 { |
| 324 | compatible = "socionext,uniphier-gpio"; |
| 325 | reg = <0x550000e8 0x8>; |
| 326 | gpio-controller; |
| 327 | #gpio-cells = <2>; |
| 328 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 329 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 330 | port27x: gpio@550000f0 { |
| 331 | compatible = "socionext,uniphier-gpio"; |
| 332 | reg = <0x550000f0 0x8>; |
| 333 | gpio-controller; |
| 334 | #gpio-cells = <2>; |
| 335 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 336 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 337 | port28x: gpio@550000f8 { |
| 338 | compatible = "socionext,uniphier-gpio"; |
| 339 | reg = <0x550000f8 0x8>; |
| 340 | gpio-controller; |
| 341 | #gpio-cells = <2>; |
| 342 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 343 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 344 | port29x: gpio@55000100 { |
| 345 | compatible = "socionext,uniphier-gpio"; |
| 346 | reg = <0x55000100 0x8>; |
| 347 | gpio-controller; |
| 348 | #gpio-cells = <2>; |
| 349 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 350 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 351 | port30x: gpio@55000108 { |
| 352 | compatible = "socionext,uniphier-gpio"; |
| 353 | reg = <0x55000108 0x8>; |
| 354 | gpio-controller; |
| 355 | #gpio-cells = <2>; |
| 356 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 357 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 358 | i2c0: i2c@58780000 { |
| 359 | compatible = "socionext,uniphier-fi2c"; |
| 360 | status = "disabled"; |
| 361 | reg = <0x58780000 0x80>; |
| 362 | #address-cells = <1>; |
| 363 | #size-cells = <0>; |
| 364 | interrupts = <0 41 4>; |
| 365 | pinctrl-names = "default"; |
| 366 | pinctrl-0 = <&pinctrl_i2c0>; |
| 367 | clocks = <&peri_clk 4>; |
| 368 | clock-frequency = <100000>; |
| 369 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 370 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 371 | i2c1: i2c@58781000 { |
| 372 | compatible = "socionext,uniphier-fi2c"; |
| 373 | status = "disabled"; |
| 374 | reg = <0x58781000 0x80>; |
| 375 | #address-cells = <1>; |
| 376 | #size-cells = <0>; |
| 377 | interrupts = <0 42 4>; |
| 378 | pinctrl-names = "default"; |
| 379 | pinctrl-0 = <&pinctrl_i2c1>; |
| 380 | clocks = <&peri_clk 5>; |
| 381 | clock-frequency = <100000>; |
| 382 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 383 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 384 | i2c2: i2c@58782000 { |
| 385 | compatible = "socionext,uniphier-fi2c"; |
| 386 | status = "disabled"; |
| 387 | reg = <0x58782000 0x80>; |
| 388 | #address-cells = <1>; |
| 389 | #size-cells = <0>; |
| 390 | interrupts = <0 43 4>; |
| 391 | pinctrl-names = "default"; |
| 392 | pinctrl-0 = <&pinctrl_i2c2>; |
| 393 | clocks = <&peri_clk 6>; |
| 394 | clock-frequency = <100000>; |
| 395 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 396 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 397 | i2c3: i2c@58783000 { |
| 398 | compatible = "socionext,uniphier-fi2c"; |
| 399 | status = "disabled"; |
| 400 | reg = <0x58783000 0x80>; |
| 401 | #address-cells = <1>; |
| 402 | #size-cells = <0>; |
| 403 | interrupts = <0 44 4>; |
| 404 | pinctrl-names = "default"; |
| 405 | pinctrl-0 = <&pinctrl_i2c3>; |
| 406 | clocks = <&peri_clk 7>; |
| 407 | clock-frequency = <100000>; |
| 408 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 409 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 410 | /* i2c4 does not exist */ |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 411 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 412 | /* chip-internal connection for DMD */ |
| 413 | i2c5: i2c@58785000 { |
| 414 | compatible = "socionext,uniphier-fi2c"; |
| 415 | reg = <0x58785000 0x80>; |
| 416 | #address-cells = <1>; |
| 417 | #size-cells = <0>; |
| 418 | interrupts = <0 25 4>; |
| 419 | clocks = <&peri_clk 9>; |
| 420 | clock-frequency = <400000>; |
| 421 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 422 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 423 | /* chip-internal connection for HDMI */ |
| 424 | i2c6: i2c@58786000 { |
| 425 | compatible = "socionext,uniphier-fi2c"; |
| 426 | reg = <0x58786000 0x80>; |
| 427 | #address-cells = <1>; |
| 428 | #size-cells = <0>; |
| 429 | interrupts = <0 26 4>; |
| 430 | clocks = <&peri_clk 10>; |
| 431 | clock-frequency = <400000>; |
| 432 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 433 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 434 | system_bus: system-bus@58c00000 { |
| 435 | compatible = "socionext,uniphier-system-bus"; |
| 436 | status = "disabled"; |
| 437 | reg = <0x58c00000 0x400>; |
| 438 | #address-cells = <2>; |
| 439 | #size-cells = <1>; |
| 440 | pinctrl-names = "default"; |
| 441 | pinctrl-0 = <&pinctrl_system_bus>; |
| 442 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 443 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 444 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 445 | compatible = "socionext,uniphier-smpctrl"; |
| 446 | reg = <0x59801000 0x400>; |
| 447 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 448 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 449 | mioctrl@59810000 { |
| 450 | compatible = "socionext,uniphier-pro4-mioctrl", |
| 451 | "simple-mfd", "syscon"; |
| 452 | reg = <0x59810000 0x800>; |
| 453 | u-boot,dm-pre-reloc; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 454 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 455 | mio_clk: clock { |
| 456 | compatible = "socionext,uniphier-pro4-mio-clock"; |
| 457 | #clock-cells = <1>; |
| 458 | }; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 459 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 460 | mio_rst: reset { |
| 461 | compatible = "socionext,uniphier-pro4-mio-reset"; |
| 462 | #reset-cells = <1>; |
| 463 | }; |
| 464 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 465 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 466 | perictrl@59820000 { |
| 467 | compatible = "socionext,uniphier-pro4-perictrl", |
| 468 | "simple-mfd", "syscon"; |
| 469 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 470 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 471 | peri_clk: clock { |
| 472 | compatible = "socionext,uniphier-pro4-peri-clock"; |
| 473 | #clock-cells = <1>; |
| 474 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 475 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 476 | peri_rst: reset { |
| 477 | compatible = "socionext,uniphier-pro4-peri-reset"; |
| 478 | #reset-cells = <1>; |
| 479 | }; |
| 480 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 481 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 482 | sd: sdhc@5a400000 { |
| 483 | compatible = "socionext,uniphier-sdhc"; |
| 484 | status = "disabled"; |
| 485 | reg = <0x5a400000 0x200>; |
| 486 | interrupts = <0 76 4>; |
| 487 | pinctrl-names = "default", "1.8v"; |
| 488 | pinctrl-0 = <&pinctrl_sd>; |
| 489 | pinctrl-1 = <&pinctrl_sd_1v8>; |
| 490 | clocks = <&mio_clk 0>; |
| 491 | reset-names = "host", "bridge"; |
| 492 | resets = <&mio_rst 0>, <&mio_rst 3>; |
| 493 | bus-width = <4>; |
| 494 | cap-sd-highspeed; |
| 495 | sd-uhs-sdr12; |
| 496 | sd-uhs-sdr25; |
| 497 | sd-uhs-sdr50; |
| 498 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 499 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 500 | emmc: sdhc@5a500000 { |
| 501 | compatible = "socionext,uniphier-sdhc"; |
| 502 | status = "disabled"; |
| 503 | reg = <0x5a500000 0x200>; |
| 504 | interrupts = <0 78 4>; |
| 505 | pinctrl-names = "default", "1.8v"; |
| 506 | pinctrl-0 = <&pinctrl_emmc>; |
| 507 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
| 508 | clocks = <&mio_clk 1>; |
| 509 | reset-names = "host", "bridge"; |
| 510 | resets = <&mio_rst 1>, <&mio_rst 4>; |
| 511 | bus-width = <8>; |
| 512 | non-removable; |
| 513 | cap-mmc-highspeed; |
| 514 | cap-mmc-hw-reset; |
| 515 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 516 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 517 | sd1: sdhc@5a600000 { |
| 518 | compatible = "socionext,uniphier-sdhc"; |
| 519 | status = "disabled"; |
| 520 | reg = <0x5a600000 0x200>; |
| 521 | interrupts = <0 85 4>; |
| 522 | pinctrl-names = "default", "1.8v"; |
| 523 | pinctrl-0 = <&pinctrl_sd1>; |
| 524 | pinctrl-1 = <&pinctrl_sd1_1v8>; |
| 525 | clocks = <&mio_clk 2>; |
| 526 | resets = <&mio_rst 2>, <&mio_rst 5>; |
| 527 | bus-width = <4>; |
| 528 | cap-sd-highspeed; |
| 529 | sd-uhs-sdr12; |
| 530 | sd-uhs-sdr25; |
| 531 | sd-uhs-sdr50; |
| 532 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 533 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 534 | usb2: usb@5a800100 { |
| 535 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 536 | status = "disabled"; |
| 537 | reg = <0x5a800100 0x100>; |
| 538 | interrupts = <0 80 4>; |
| 539 | pinctrl-names = "default"; |
| 540 | pinctrl-0 = <&pinctrl_usb2>; |
| 541 | clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>; |
| 542 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 543 | <&mio_rst 12>; |
| 544 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 545 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 546 | usb3: usb@5a810100 { |
| 547 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 548 | status = "disabled"; |
| 549 | reg = <0x5a810100 0x100>; |
| 550 | interrupts = <0 81 4>; |
| 551 | pinctrl-names = "default"; |
| 552 | pinctrl-0 = <&pinctrl_usb3>; |
| 553 | clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>; |
| 554 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 555 | <&mio_rst 13>; |
| 556 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 557 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 558 | soc-glue@5f800000 { |
| 559 | compatible = "socionext,uniphier-pro4-soc-glue", |
| 560 | "simple-mfd", "syscon"; |
| 561 | reg = <0x5f800000 0x2000>; |
| 562 | u-boot,dm-pre-reloc; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 563 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 564 | pinctrl: pinctrl { |
| 565 | compatible = "socionext,uniphier-pro4-pinctrl"; |
| 566 | u-boot,dm-pre-reloc; |
| 567 | }; |
| 568 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 569 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 570 | aidet@5fc20000 { |
| 571 | compatible = "simple-mfd", "syscon"; |
| 572 | reg = <0x5fc20000 0x200>; |
| 573 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 574 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 575 | timer@60000200 { |
| 576 | compatible = "arm,cortex-a9-global-timer"; |
| 577 | reg = <0x60000200 0x20>; |
| 578 | interrupts = <1 11 0x304>; |
| 579 | clocks = <&arm_timer_clk>; |
| 580 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 581 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 582 | timer@60000600 { |
| 583 | compatible = "arm,cortex-a9-twd-timer"; |
| 584 | reg = <0x60000600 0x20>; |
| 585 | interrupts = <1 13 0x304>; |
| 586 | clocks = <&arm_timer_clk>; |
| 587 | }; |
| 588 | |
| 589 | intc: interrupt-controller@60001000 { |
| 590 | compatible = "arm,cortex-a9-gic"; |
| 591 | reg = <0x60001000 0x1000>, |
| 592 | <0x60000100 0x100>; |
| 593 | #interrupt-cells = <3>; |
| 594 | interrupt-controller; |
| 595 | }; |
| 596 | |
| 597 | sysctrl@61840000 { |
| 598 | compatible = "socionext,uniphier-pro4-sysctrl", |
| 599 | "simple-mfd", "syscon"; |
| 600 | reg = <0x61840000 0x10000>; |
| 601 | |
| 602 | sys_clk: clock { |
| 603 | compatible = "socionext,uniphier-pro4-clock"; |
| 604 | #clock-cells = <1>; |
| 605 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 606 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 607 | sys_rst: reset { |
| 608 | compatible = "socionext,uniphier-pro4-reset"; |
| 609 | #reset-cells = <1>; |
| 610 | }; |
| 611 | }; |
| 612 | |
| 613 | usb0: usb@65b00000 { |
| 614 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 615 | status = "disabled"; |
| 616 | reg = <0x65b00000 0x1000>; |
| 617 | #address-cells = <1>; |
| 618 | #size-cells = <1>; |
| 619 | ranges; |
| 620 | pinctrl-names = "default"; |
| 621 | pinctrl-0 = <&pinctrl_usb0>; |
| 622 | dwc3@65a00000 { |
| 623 | compatible = "snps,dwc3"; |
| 624 | reg = <0x65a00000 0x10000>; |
| 625 | interrupts = <0 134 4>; |
| 626 | tx-fifo-resize; |
| 627 | }; |
| 628 | }; |
| 629 | |
| 630 | usb1: usb@65d00000 { |
| 631 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 632 | status = "disabled"; |
| 633 | reg = <0x65d00000 0x1000>; |
| 634 | #address-cells = <1>; |
| 635 | #size-cells = <1>; |
| 636 | ranges; |
| 637 | pinctrl-names = "default"; |
| 638 | pinctrl-0 = <&pinctrl_usb1>; |
| 639 | dwc3@65c00000 { |
| 640 | compatible = "snps,dwc3"; |
| 641 | reg = <0x65c00000 0x10000>; |
| 642 | interrupts = <0 137 4>; |
| 643 | tx-fifo-resize; |
| 644 | }; |
| 645 | }; |
| 646 | |
| 647 | nand: nand@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 648 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 649 | status = "disabled"; |
| 650 | reg-names = "nand_data", "denali_reg"; |
| 651 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 652 | interrupts = <0 65 4>; |
| 653 | pinctrl-names = "default"; |
| 654 | pinctrl-0 = <&pinctrl_nand>; |
| 655 | clocks = <&sys_clk 2>; |
| 656 | nand-ecc-strength = <8>; |
| 657 | }; |
| 658 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 659 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 660 | |
| 661 | /include/ "uniphier-pinctrl.dtsi" |