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