Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier Pro5 SoC |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +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 | c857ded | 2015-08-28 22:33:14 +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 | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 10 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 11 | compatible = "socionext,uniphier-pro5"; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 14 | |
| 15 | cpus { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 18 | |
| 19 | cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a9"; |
| 22 | reg = <0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 23 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 24 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 25 | next-level-cache = <&l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 26 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | cpu@1 { |
| 30 | device_type = "cpu"; |
| 31 | compatible = "arm,cortex-a9"; |
| 32 | reg = <1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 33 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 34 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 35 | next-level-cache = <&l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 36 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 37 | }; |
| 38 | }; |
| 39 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 40 | cpu_opp: opp_table { |
| 41 | compatible = "operating-points-v2"; |
| 42 | opp-shared; |
| 43 | |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 44 | opp-100000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 45 | opp-hz = /bits/ 64 <100000000>; |
| 46 | clock-latency-ns = <300>; |
| 47 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 48 | opp-116667000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 49 | opp-hz = /bits/ 64 <116667000>; |
| 50 | clock-latency-ns = <300>; |
| 51 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 52 | opp-150000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 53 | opp-hz = /bits/ 64 <150000000>; |
| 54 | clock-latency-ns = <300>; |
| 55 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 56 | opp-175000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 57 | opp-hz = /bits/ 64 <175000000>; |
| 58 | clock-latency-ns = <300>; |
| 59 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 60 | opp-200000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 61 | opp-hz = /bits/ 64 <200000000>; |
| 62 | clock-latency-ns = <300>; |
| 63 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 64 | opp-233334000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 65 | opp-hz = /bits/ 64 <233334000>; |
| 66 | clock-latency-ns = <300>; |
| 67 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 68 | opp-300000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 69 | opp-hz = /bits/ 64 <300000000>; |
| 70 | clock-latency-ns = <300>; |
| 71 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 72 | opp-350000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 73 | opp-hz = /bits/ 64 <350000000>; |
| 74 | clock-latency-ns = <300>; |
| 75 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 76 | opp-400000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 77 | opp-hz = /bits/ 64 <400000000>; |
| 78 | clock-latency-ns = <300>; |
| 79 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 80 | opp-466667000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 81 | opp-hz = /bits/ 64 <466667000>; |
| 82 | clock-latency-ns = <300>; |
| 83 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 84 | opp-600000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 85 | opp-hz = /bits/ 64 <600000000>; |
| 86 | clock-latency-ns = <300>; |
| 87 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 88 | opp-700000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 89 | opp-hz = /bits/ 64 <700000000>; |
| 90 | clock-latency-ns = <300>; |
| 91 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 92 | opp-800000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 93 | opp-hz = /bits/ 64 <800000000>; |
| 94 | clock-latency-ns = <300>; |
| 95 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 96 | opp-933334000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 97 | opp-hz = /bits/ 64 <933334000>; |
| 98 | clock-latency-ns = <300>; |
| 99 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 100 | opp-1200000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 101 | opp-hz = /bits/ 64 <1200000000>; |
| 102 | clock-latency-ns = <300>; |
| 103 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 104 | opp-1400000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 105 | opp-hz = /bits/ 64 <1400000000>; |
| 106 | clock-latency-ns = <300>; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | psci { |
| 111 | compatible = "arm,psci-0.2"; |
| 112 | method = "smc"; |
| 113 | }; |
| 114 | |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 115 | clocks { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 116 | refclk: ref { |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 117 | compatible = "fixed-clock"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 118 | #clock-cells = <0>; |
| 119 | clock-frequency = <20000000>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 120 | }; |
| 121 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 122 | arm_timer_clk: arm_timer_clk { |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 123 | #clock-cells = <0>; |
| 124 | compatible = "fixed-clock"; |
| 125 | clock-frequency = <50000000>; |
| 126 | }; |
| 127 | }; |
| 128 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 129 | soc { |
| 130 | compatible = "simple-bus"; |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
| 133 | ranges; |
| 134 | interrupt-parent = <&intc>; |
| 135 | u-boot,dm-pre-reloc; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 136 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 137 | l2: l2-cache@500c0000 { |
| 138 | compatible = "socionext,uniphier-system-cache"; |
| 139 | reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, |
| 140 | <0x506c0000 0x400>; |
| 141 | interrupts = <0 190 4>, <0 191 4>; |
| 142 | cache-unified; |
| 143 | cache-size = <(2 * 1024 * 1024)>; |
| 144 | cache-sets = <512>; |
| 145 | cache-line-size = <128>; |
| 146 | cache-level = <2>; |
| 147 | next-level-cache = <&l3>; |
| 148 | }; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 149 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 150 | l3: l3-cache@500c8000 { |
| 151 | compatible = "socionext,uniphier-system-cache"; |
| 152 | reg = <0x500c8000 0x2000>, <0x503c8100 0x8>, |
| 153 | <0x506c8000 0x400>; |
| 154 | interrupts = <0 174 4>, <0 175 4>; |
| 155 | cache-unified; |
| 156 | cache-size = <(2 * 1024 * 1024)>; |
| 157 | cache-sets = <512>; |
| 158 | cache-line-size = <256>; |
| 159 | cache-level = <3>; |
| 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 | serial0: serial@54006800 { |
| 163 | compatible = "socionext,uniphier-uart"; |
| 164 | status = "disabled"; |
| 165 | reg = <0x54006800 0x40>; |
| 166 | interrupts = <0 33 4>; |
| 167 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&pinctrl_uart0>; |
| 169 | clocks = <&peri_clk 0>; |
| 170 | clock-frequency = <73728000>; |
| 171 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 172 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 173 | serial1: serial@54006900 { |
| 174 | compatible = "socionext,uniphier-uart"; |
| 175 | status = "disabled"; |
| 176 | reg = <0x54006900 0x40>; |
| 177 | interrupts = <0 35 4>; |
| 178 | pinctrl-names = "default"; |
| 179 | pinctrl-0 = <&pinctrl_uart1>; |
| 180 | clocks = <&peri_clk 1>; |
| 181 | clock-frequency = <73728000>; |
| 182 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 183 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 184 | serial2: serial@54006a00 { |
| 185 | compatible = "socionext,uniphier-uart"; |
| 186 | status = "disabled"; |
| 187 | reg = <0x54006a00 0x40>; |
| 188 | interrupts = <0 37 4>; |
| 189 | pinctrl-names = "default"; |
| 190 | pinctrl-0 = <&pinctrl_uart2>; |
| 191 | clocks = <&peri_clk 2>; |
| 192 | clock-frequency = <73728000>; |
| 193 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 194 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 195 | serial3: serial@54006b00 { |
| 196 | compatible = "socionext,uniphier-uart"; |
| 197 | status = "disabled"; |
| 198 | reg = <0x54006b00 0x40>; |
| 199 | interrupts = <0 177 4>; |
| 200 | pinctrl-names = "default"; |
| 201 | pinctrl-0 = <&pinctrl_uart3>; |
| 202 | clocks = <&peri_clk 3>; |
| 203 | clock-frequency = <73728000>; |
| 204 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 205 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame^] | 206 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 207 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame^] | 208 | reg = <0x55000000 0x200>; |
| 209 | interrupt-parent = <&aidet>; |
| 210 | interrupt-controller; |
| 211 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 212 | gpio-controller; |
| 213 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame^] | 214 | gpio-ranges = <&pinctrl 0 0 0>; |
| 215 | gpio-ranges-group-names = "gpio_range"; |
| 216 | ngpios = <248>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 217 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 218 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 219 | i2c0: i2c@58780000 { |
| 220 | compatible = "socionext,uniphier-fi2c"; |
| 221 | status = "disabled"; |
| 222 | reg = <0x58780000 0x80>; |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | interrupts = <0 41 4>; |
| 226 | pinctrl-names = "default"; |
| 227 | pinctrl-0 = <&pinctrl_i2c0>; |
| 228 | clocks = <&peri_clk 4>; |
| 229 | clock-frequency = <100000>; |
| 230 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 231 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 232 | i2c1: i2c@58781000 { |
| 233 | compatible = "socionext,uniphier-fi2c"; |
| 234 | status = "disabled"; |
| 235 | reg = <0x58781000 0x80>; |
| 236 | #address-cells = <1>; |
| 237 | #size-cells = <0>; |
| 238 | interrupts = <0 42 4>; |
| 239 | pinctrl-names = "default"; |
| 240 | pinctrl-0 = <&pinctrl_i2c1>; |
| 241 | clocks = <&peri_clk 5>; |
| 242 | clock-frequency = <100000>; |
| 243 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 244 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 245 | i2c2: i2c@58782000 { |
| 246 | compatible = "socionext,uniphier-fi2c"; |
| 247 | status = "disabled"; |
| 248 | reg = <0x58782000 0x80>; |
| 249 | #address-cells = <1>; |
| 250 | #size-cells = <0>; |
| 251 | interrupts = <0 43 4>; |
| 252 | pinctrl-names = "default"; |
| 253 | pinctrl-0 = <&pinctrl_i2c2>; |
| 254 | clocks = <&peri_clk 6>; |
| 255 | clock-frequency = <100000>; |
| 256 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 257 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 258 | i2c3: i2c@58783000 { |
| 259 | compatible = "socionext,uniphier-fi2c"; |
| 260 | status = "disabled"; |
| 261 | reg = <0x58783000 0x80>; |
| 262 | #address-cells = <1>; |
| 263 | #size-cells = <0>; |
| 264 | interrupts = <0 44 4>; |
| 265 | pinctrl-names = "default"; |
| 266 | pinctrl-0 = <&pinctrl_i2c3>; |
| 267 | clocks = <&peri_clk 7>; |
| 268 | clock-frequency = <100000>; |
| 269 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 270 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 271 | /* i2c4 does not exist */ |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 272 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 273 | /* chip-internal connection for DMD */ |
| 274 | i2c5: i2c@58785000 { |
| 275 | compatible = "socionext,uniphier-fi2c"; |
| 276 | reg = <0x58785000 0x80>; |
| 277 | #address-cells = <1>; |
| 278 | #size-cells = <0>; |
| 279 | interrupts = <0 25 4>; |
| 280 | clocks = <&peri_clk 9>; |
| 281 | clock-frequency = <400000>; |
| 282 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 283 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 284 | /* chip-internal connection for HDMI */ |
| 285 | i2c6: i2c@58786000 { |
| 286 | compatible = "socionext,uniphier-fi2c"; |
| 287 | reg = <0x58786000 0x80>; |
| 288 | #address-cells = <1>; |
| 289 | #size-cells = <0>; |
| 290 | interrupts = <0 26 4>; |
| 291 | clocks = <&peri_clk 10>; |
| 292 | clock-frequency = <400000>; |
| 293 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 294 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 295 | system_bus: system-bus@58c00000 { |
| 296 | compatible = "socionext,uniphier-system-bus"; |
| 297 | status = "disabled"; |
| 298 | reg = <0x58c00000 0x400>; |
| 299 | #address-cells = <2>; |
| 300 | #size-cells = <1>; |
| 301 | pinctrl-names = "default"; |
| 302 | pinctrl-0 = <&pinctrl_system_bus>; |
| 303 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 304 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 305 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 306 | compatible = "socionext,uniphier-smpctrl"; |
| 307 | reg = <0x59801000 0x400>; |
| 308 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 309 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 310 | sdctrl@59810000 { |
| 311 | compatible = "socionext,uniphier-pro5-sdctrl", |
| 312 | "simple-mfd", "syscon"; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 313 | reg = <0x59810000 0x400>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 314 | u-boot,dm-pre-reloc; |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 315 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 316 | sd_clk: clock { |
| 317 | compatible = "socionext,uniphier-pro5-sd-clock"; |
| 318 | #clock-cells = <1>; |
| 319 | }; |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 320 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 321 | sd_rst: reset { |
| 322 | compatible = "socionext,uniphier-pro5-sd-reset"; |
| 323 | #reset-cells = <1>; |
| 324 | }; |
| 325 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 326 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 327 | perictrl@59820000 { |
| 328 | compatible = "socionext,uniphier-pro5-perictrl", |
| 329 | "simple-mfd", "syscon"; |
| 330 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 331 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 332 | peri_clk: clock { |
| 333 | compatible = "socionext,uniphier-pro5-peri-clock"; |
| 334 | #clock-cells = <1>; |
| 335 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 336 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 337 | peri_rst: reset { |
| 338 | compatible = "socionext,uniphier-pro5-peri-reset"; |
| 339 | #reset-cells = <1>; |
| 340 | }; |
| 341 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 342 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 343 | soc-glue@5f800000 { |
| 344 | compatible = "socionext,uniphier-pro5-soc-glue", |
| 345 | "simple-mfd", "syscon"; |
| 346 | reg = <0x5f800000 0x2000>; |
| 347 | u-boot,dm-pre-reloc; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 348 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 349 | pinctrl: pinctrl { |
| 350 | compatible = "socionext,uniphier-pro5-pinctrl"; |
| 351 | u-boot,dm-pre-reloc; |
| 352 | }; |
| 353 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 354 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 355 | aidet: aidet@5fc20000 { |
| 356 | compatible = "socionext,uniphier-pro5-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 357 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 358 | interrupt-controller; |
| 359 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 360 | }; |
| 361 | |
| 362 | timer@60000200 { |
| 363 | compatible = "arm,cortex-a9-global-timer"; |
| 364 | reg = <0x60000200 0x20>; |
| 365 | interrupts = <1 11 0x304>; |
| 366 | clocks = <&arm_timer_clk>; |
| 367 | }; |
| 368 | |
| 369 | timer@60000600 { |
| 370 | compatible = "arm,cortex-a9-twd-timer"; |
| 371 | reg = <0x60000600 0x20>; |
| 372 | interrupts = <1 13 0x304>; |
| 373 | clocks = <&arm_timer_clk>; |
| 374 | }; |
| 375 | |
| 376 | intc: interrupt-controller@60001000 { |
| 377 | compatible = "arm,cortex-a9-gic"; |
| 378 | reg = <0x60001000 0x1000>, |
| 379 | <0x60000100 0x100>; |
| 380 | #interrupt-cells = <3>; |
| 381 | interrupt-controller; |
| 382 | }; |
| 383 | |
| 384 | sysctrl@61840000 { |
| 385 | compatible = "socionext,uniphier-pro5-sysctrl", |
| 386 | "simple-mfd", "syscon"; |
| 387 | reg = <0x61840000 0x10000>; |
| 388 | |
| 389 | sys_clk: clock { |
| 390 | compatible = "socionext,uniphier-pro5-clock"; |
| 391 | #clock-cells = <1>; |
| 392 | }; |
| 393 | |
| 394 | sys_rst: reset { |
| 395 | compatible = "socionext,uniphier-pro5-reset"; |
| 396 | #reset-cells = <1>; |
| 397 | }; |
| 398 | }; |
| 399 | |
| 400 | usb0: usb@65b00000 { |
| 401 | compatible = "socionext,uniphier-pro5-dwc3"; |
| 402 | status = "disabled"; |
| 403 | reg = <0x65b00000 0x1000>; |
| 404 | #address-cells = <1>; |
| 405 | #size-cells = <1>; |
| 406 | ranges; |
| 407 | pinctrl-names = "default"; |
| 408 | pinctrl-0 = <&pinctrl_usb0>; |
| 409 | dwc3@65a00000 { |
| 410 | compatible = "snps,dwc3"; |
| 411 | reg = <0x65a00000 0x10000>; |
| 412 | interrupts = <0 134 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 413 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 414 | tx-fifo-resize; |
| 415 | }; |
| 416 | }; |
| 417 | |
| 418 | usb1: usb@65d00000 { |
| 419 | compatible = "socionext,uniphier-pro5-dwc3"; |
| 420 | status = "disabled"; |
| 421 | reg = <0x65d00000 0x1000>; |
| 422 | #address-cells = <1>; |
| 423 | #size-cells = <1>; |
| 424 | ranges; |
| 425 | pinctrl-names = "default"; |
| 426 | pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>; |
| 427 | dwc3@65c00000 { |
| 428 | compatible = "snps,dwc3"; |
| 429 | reg = <0x65c00000 0x10000>; |
| 430 | interrupts = <0 137 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 431 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 432 | tx-fifo-resize; |
| 433 | }; |
| 434 | }; |
| 435 | |
| 436 | nand: nand@68000000 { |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 437 | compatible = "socionext,uniphier-denali-nand-v5b"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 438 | status = "disabled"; |
| 439 | reg-names = "nand_data", "denali_reg"; |
| 440 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 441 | interrupts = <0 65 4>; |
| 442 | pinctrl-names = "default"; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 443 | pinctrl-0 = <&pinctrl_nand2cs>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 444 | clocks = <&sys_clk 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 445 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 446 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 447 | emmc: sdhc@68400000 { |
| 448 | compatible = "socionext,uniphier-sdhc"; |
| 449 | status = "disabled"; |
| 450 | reg = <0x68400000 0x800>; |
| 451 | interrupts = <0 78 4>; |
| 452 | pinctrl-names = "default"; |
| 453 | pinctrl-0 = <&pinctrl_emmc>; |
| 454 | clocks = <&sd_clk 1>; |
| 455 | reset-names = "host"; |
| 456 | resets = <&sd_rst 1>; |
| 457 | bus-width = <8>; |
| 458 | non-removable; |
| 459 | cap-mmc-highspeed; |
| 460 | cap-mmc-hw-reset; |
| 461 | no-3-3-v; |
| 462 | }; |
| 463 | |
| 464 | sd: sdhc@68800000 { |
| 465 | compatible = "socionext,uniphier-sdhc"; |
| 466 | status = "disabled"; |
| 467 | reg = <0x68800000 0x800>; |
| 468 | interrupts = <0 76 4>; |
| 469 | pinctrl-names = "default", "1.8v"; |
| 470 | pinctrl-0 = <&pinctrl_sd>; |
| 471 | pinctrl-1 = <&pinctrl_sd_1v8>; |
| 472 | clocks = <&sd_clk 0>; |
| 473 | reset-names = "host"; |
| 474 | resets = <&sd_rst 0>; |
| 475 | bus-width = <4>; |
| 476 | cap-sd-highspeed; |
| 477 | sd-uhs-sdr12; |
| 478 | sd-uhs-sdr25; |
| 479 | sd-uhs-sdr50; |
| 480 | }; |
| 481 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 482 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 483 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 484 | #include "uniphier-pinctrl.dtsi" |