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