Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | // |
| 3 | // Device Tree Source for UniPhier Pro4 SoC |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/uniphier-gpio.h> |
| 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 | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 48 | arm_timer_clk: arm-timer { |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 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>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 61 | |
| 62 | l2: l2-cache@500c0000 { |
| 63 | compatible = "socionext,uniphier-system-cache"; |
| 64 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 65 | <0x506c0000 0x400>; |
| 66 | interrupts = <0 174 4>, <0 175 4>; |
| 67 | cache-unified; |
| 68 | cache-size = <(768 * 1024)>; |
| 69 | cache-sets = <256>; |
| 70 | cache-line-size = <128>; |
| 71 | cache-level = <2>; |
| 72 | }; |
| 73 | |
| 74 | serial0: serial@54006800 { |
| 75 | compatible = "socionext,uniphier-uart"; |
| 76 | status = "disabled"; |
| 77 | reg = <0x54006800 0x40>; |
| 78 | interrupts = <0 33 4>; |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&pinctrl_uart0>; |
| 81 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 82 | clock-frequency = <73728000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 83 | resets = <&peri_rst 0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 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 | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 95 | resets = <&peri_rst 1>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 96 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 97 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 98 | serial2: serial@54006a00 { |
| 99 | compatible = "socionext,uniphier-uart"; |
| 100 | status = "disabled"; |
| 101 | reg = <0x54006a00 0x40>; |
| 102 | interrupts = <0 37 4>; |
| 103 | pinctrl-names = "default"; |
| 104 | pinctrl-0 = <&pinctrl_uart2>; |
| 105 | clocks = <&peri_clk 2>; |
| 106 | clock-frequency = <73728000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 107 | resets = <&peri_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 108 | }; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 109 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 110 | serial3: serial@54006b00 { |
| 111 | compatible = "socionext,uniphier-uart"; |
| 112 | status = "disabled"; |
| 113 | reg = <0x54006b00 0x40>; |
| 114 | interrupts = <0 177 4>; |
| 115 | pinctrl-names = "default"; |
| 116 | pinctrl-0 = <&pinctrl_uart3>; |
| 117 | clocks = <&peri_clk 3>; |
| 118 | clock-frequency = <73728000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 119 | resets = <&peri_rst 3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 120 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 121 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 122 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 123 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 124 | reg = <0x55000000 0x200>; |
| 125 | interrupt-parent = <&aidet>; |
| 126 | interrupt-controller; |
| 127 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 128 | gpio-controller; |
| 129 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 130 | gpio-ranges = <&pinctrl 0 0 0>; |
| 131 | gpio-ranges-group-names = "gpio_range"; |
| 132 | ngpios = <248>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 133 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 134 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 135 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 136 | i2c0: i2c@58780000 { |
| 137 | compatible = "socionext,uniphier-fi2c"; |
| 138 | status = "disabled"; |
| 139 | reg = <0x58780000 0x80>; |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
| 142 | interrupts = <0 41 4>; |
| 143 | pinctrl-names = "default"; |
| 144 | pinctrl-0 = <&pinctrl_i2c0>; |
| 145 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 146 | resets = <&peri_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 147 | clock-frequency = <100000>; |
| 148 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 149 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 150 | i2c1: i2c@58781000 { |
| 151 | compatible = "socionext,uniphier-fi2c"; |
| 152 | status = "disabled"; |
| 153 | reg = <0x58781000 0x80>; |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | interrupts = <0 42 4>; |
| 157 | pinctrl-names = "default"; |
| 158 | pinctrl-0 = <&pinctrl_i2c1>; |
| 159 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 160 | resets = <&peri_rst 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 161 | clock-frequency = <100000>; |
| 162 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 163 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 164 | i2c2: i2c@58782000 { |
| 165 | compatible = "socionext,uniphier-fi2c"; |
| 166 | status = "disabled"; |
| 167 | reg = <0x58782000 0x80>; |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <0>; |
| 170 | interrupts = <0 43 4>; |
| 171 | pinctrl-names = "default"; |
| 172 | pinctrl-0 = <&pinctrl_i2c2>; |
| 173 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 174 | resets = <&peri_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 175 | clock-frequency = <100000>; |
| 176 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 177 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 178 | i2c3: i2c@58783000 { |
| 179 | compatible = "socionext,uniphier-fi2c"; |
| 180 | status = "disabled"; |
| 181 | reg = <0x58783000 0x80>; |
| 182 | #address-cells = <1>; |
| 183 | #size-cells = <0>; |
| 184 | interrupts = <0 44 4>; |
| 185 | pinctrl-names = "default"; |
| 186 | pinctrl-0 = <&pinctrl_i2c3>; |
| 187 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 188 | resets = <&peri_rst 7>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 189 | clock-frequency = <100000>; |
| 190 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 191 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 192 | /* i2c4 does not exist */ |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 193 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 194 | /* chip-internal connection for DMD */ |
| 195 | i2c5: i2c@58785000 { |
| 196 | compatible = "socionext,uniphier-fi2c"; |
| 197 | reg = <0x58785000 0x80>; |
| 198 | #address-cells = <1>; |
| 199 | #size-cells = <0>; |
| 200 | interrupts = <0 25 4>; |
| 201 | clocks = <&peri_clk 9>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 202 | resets = <&peri_rst 9>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 203 | clock-frequency = <400000>; |
| 204 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 205 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 206 | /* chip-internal connection for HDMI */ |
| 207 | i2c6: i2c@58786000 { |
| 208 | compatible = "socionext,uniphier-fi2c"; |
| 209 | reg = <0x58786000 0x80>; |
| 210 | #address-cells = <1>; |
| 211 | #size-cells = <0>; |
| 212 | interrupts = <0 26 4>; |
| 213 | clocks = <&peri_clk 10>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 214 | resets = <&peri_rst 10>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 215 | clock-frequency = <400000>; |
| 216 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 217 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 218 | system_bus: system-bus@58c00000 { |
| 219 | compatible = "socionext,uniphier-system-bus"; |
| 220 | status = "disabled"; |
| 221 | reg = <0x58c00000 0x400>; |
| 222 | #address-cells = <2>; |
| 223 | #size-cells = <1>; |
| 224 | pinctrl-names = "default"; |
| 225 | pinctrl-0 = <&pinctrl_system_bus>; |
| 226 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 227 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 228 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 229 | compatible = "socionext,uniphier-smpctrl"; |
| 230 | reg = <0x59801000 0x400>; |
| 231 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 232 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 233 | mioctrl@59810000 { |
| 234 | compatible = "socionext,uniphier-pro4-mioctrl", |
| 235 | "simple-mfd", "syscon"; |
| 236 | reg = <0x59810000 0x800>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 237 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 238 | mio_clk: clock { |
| 239 | compatible = "socionext,uniphier-pro4-mio-clock"; |
| 240 | #clock-cells = <1>; |
| 241 | }; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 242 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 243 | mio_rst: reset { |
| 244 | compatible = "socionext,uniphier-pro4-mio-reset"; |
| 245 | #reset-cells = <1>; |
| 246 | }; |
| 247 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 248 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 249 | perictrl@59820000 { |
| 250 | compatible = "socionext,uniphier-pro4-perictrl", |
| 251 | "simple-mfd", "syscon"; |
| 252 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 253 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 254 | peri_clk: clock { |
| 255 | compatible = "socionext,uniphier-pro4-peri-clock"; |
| 256 | #clock-cells = <1>; |
| 257 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 258 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 259 | peri_rst: reset { |
| 260 | compatible = "socionext,uniphier-pro4-peri-reset"; |
| 261 | #reset-cells = <1>; |
| 262 | }; |
| 263 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 264 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 265 | sd: sdhc@5a400000 { |
| 266 | compatible = "socionext,uniphier-sdhc"; |
| 267 | status = "disabled"; |
| 268 | reg = <0x5a400000 0x200>; |
| 269 | interrupts = <0 76 4>; |
| 270 | pinctrl-names = "default", "1.8v"; |
| 271 | pinctrl-0 = <&pinctrl_sd>; |
| 272 | pinctrl-1 = <&pinctrl_sd_1v8>; |
| 273 | clocks = <&mio_clk 0>; |
| 274 | reset-names = "host", "bridge"; |
| 275 | resets = <&mio_rst 0>, <&mio_rst 3>; |
| 276 | bus-width = <4>; |
| 277 | cap-sd-highspeed; |
| 278 | sd-uhs-sdr12; |
| 279 | sd-uhs-sdr25; |
| 280 | sd-uhs-sdr50; |
| 281 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 282 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 283 | emmc: sdhc@5a500000 { |
| 284 | compatible = "socionext,uniphier-sdhc"; |
| 285 | status = "disabled"; |
| 286 | reg = <0x5a500000 0x200>; |
| 287 | interrupts = <0 78 4>; |
| 288 | pinctrl-names = "default", "1.8v"; |
| 289 | pinctrl-0 = <&pinctrl_emmc>; |
| 290 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
| 291 | clocks = <&mio_clk 1>; |
| 292 | reset-names = "host", "bridge"; |
| 293 | resets = <&mio_rst 1>, <&mio_rst 4>; |
| 294 | bus-width = <8>; |
| 295 | non-removable; |
| 296 | cap-mmc-highspeed; |
| 297 | cap-mmc-hw-reset; |
| 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 | sd1: sdhc@5a600000 { |
| 301 | compatible = "socionext,uniphier-sdhc"; |
| 302 | status = "disabled"; |
| 303 | reg = <0x5a600000 0x200>; |
| 304 | interrupts = <0 85 4>; |
| 305 | pinctrl-names = "default", "1.8v"; |
| 306 | pinctrl-0 = <&pinctrl_sd1>; |
| 307 | pinctrl-1 = <&pinctrl_sd1_1v8>; |
| 308 | clocks = <&mio_clk 2>; |
| 309 | resets = <&mio_rst 2>, <&mio_rst 5>; |
| 310 | bus-width = <4>; |
| 311 | cap-sd-highspeed; |
| 312 | sd-uhs-sdr12; |
| 313 | sd-uhs-sdr25; |
| 314 | sd-uhs-sdr50; |
| 315 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 316 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 317 | usb2: usb@5a800100 { |
| 318 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 319 | status = "disabled"; |
| 320 | reg = <0x5a800100 0x100>; |
| 321 | interrupts = <0 80 4>; |
| 322 | pinctrl-names = "default"; |
| 323 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 324 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 325 | <&mio_clk 12>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 326 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 327 | <&mio_rst 12>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 328 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 329 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 330 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 331 | usb3: usb@5a810100 { |
| 332 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 333 | status = "disabled"; |
| 334 | reg = <0x5a810100 0x100>; |
| 335 | interrupts = <0 81 4>; |
| 336 | pinctrl-names = "default"; |
| 337 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 338 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 339 | <&mio_clk 13>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 340 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 341 | <&mio_rst 13>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 342 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 343 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 344 | |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 345 | soc_glue: soc-glue@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 346 | compatible = "socionext,uniphier-pro4-soc-glue", |
| 347 | "simple-mfd", "syscon"; |
| 348 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 349 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 350 | pinctrl: pinctrl { |
| 351 | compatible = "socionext,uniphier-pro4-pinctrl"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 352 | }; |
| 353 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 354 | |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 355 | soc-glue@5f900000 { |
| 356 | compatible = "socionext,uniphier-pro4-soc-glue-debug", |
| 357 | "simple-mfd"; |
| 358 | #address-cells = <1>; |
| 359 | #size-cells = <1>; |
| 360 | ranges = <0 0x5f900000 0x2000>; |
| 361 | |
| 362 | efuse@100 { |
| 363 | compatible = "socionext,uniphier-efuse"; |
| 364 | reg = <0x100 0x28>; |
| 365 | }; |
| 366 | |
| 367 | efuse@130 { |
| 368 | compatible = "socionext,uniphier-efuse"; |
| 369 | reg = <0x130 0x8>; |
| 370 | }; |
| 371 | |
| 372 | efuse@200 { |
| 373 | compatible = "socionext,uniphier-efuse"; |
| 374 | reg = <0x200 0x14>; |
| 375 | }; |
| 376 | }; |
| 377 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 378 | aidet: aidet@5fc20000 { |
| 379 | compatible = "socionext,uniphier-pro4-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 380 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 381 | interrupt-controller; |
| 382 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 383 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 384 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 385 | timer@60000200 { |
| 386 | compatible = "arm,cortex-a9-global-timer"; |
| 387 | reg = <0x60000200 0x20>; |
| 388 | interrupts = <1 11 0x304>; |
| 389 | clocks = <&arm_timer_clk>; |
| 390 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 391 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 392 | timer@60000600 { |
| 393 | compatible = "arm,cortex-a9-twd-timer"; |
| 394 | reg = <0x60000600 0x20>; |
| 395 | interrupts = <1 13 0x304>; |
| 396 | clocks = <&arm_timer_clk>; |
| 397 | }; |
| 398 | |
| 399 | intc: interrupt-controller@60001000 { |
| 400 | compatible = "arm,cortex-a9-gic"; |
| 401 | reg = <0x60001000 0x1000>, |
| 402 | <0x60000100 0x100>; |
| 403 | #interrupt-cells = <3>; |
| 404 | interrupt-controller; |
| 405 | }; |
| 406 | |
| 407 | sysctrl@61840000 { |
| 408 | compatible = "socionext,uniphier-pro4-sysctrl", |
| 409 | "simple-mfd", "syscon"; |
| 410 | reg = <0x61840000 0x10000>; |
| 411 | |
| 412 | sys_clk: clock { |
| 413 | compatible = "socionext,uniphier-pro4-clock"; |
| 414 | #clock-cells = <1>; |
| 415 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 416 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 417 | sys_rst: reset { |
| 418 | compatible = "socionext,uniphier-pro4-reset"; |
| 419 | #reset-cells = <1>; |
| 420 | }; |
| 421 | }; |
| 422 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 423 | eth: ethernet@65000000 { |
| 424 | compatible = "socionext,uniphier-pro4-ave4"; |
| 425 | status = "disabled"; |
| 426 | reg = <0x65000000 0x8500>; |
| 427 | interrupts = <0 66 4>; |
| 428 | pinctrl-names = "default"; |
| 429 | pinctrl-0 = <&pinctrl_ether_rgmii>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 430 | clock-names = "gio", "ether", "ether-gb", "ether-phy"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 431 | clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>, |
| 432 | <&sys_clk 10>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 433 | reset-names = "gio", "ether"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 434 | resets = <&sys_rst 12>, <&sys_rst 6>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 435 | phy-mode = "rgmii"; |
| 436 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 437 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 438 | |
| 439 | mdio: mdio { |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | }; |
| 443 | }; |
| 444 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 445 | usb0: usb@65b00000 { |
| 446 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 447 | status = "disabled"; |
| 448 | reg = <0x65b00000 0x1000>; |
| 449 | #address-cells = <1>; |
| 450 | #size-cells = <1>; |
| 451 | ranges; |
| 452 | pinctrl-names = "default"; |
| 453 | pinctrl-0 = <&pinctrl_usb0>; |
| 454 | dwc3@65a00000 { |
| 455 | compatible = "snps,dwc3"; |
| 456 | reg = <0x65a00000 0x10000>; |
| 457 | interrupts = <0 134 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 458 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 459 | tx-fifo-resize; |
| 460 | }; |
| 461 | }; |
| 462 | |
| 463 | usb1: usb@65d00000 { |
| 464 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 465 | status = "disabled"; |
| 466 | reg = <0x65d00000 0x1000>; |
| 467 | #address-cells = <1>; |
| 468 | #size-cells = <1>; |
| 469 | ranges; |
| 470 | pinctrl-names = "default"; |
| 471 | pinctrl-0 = <&pinctrl_usb1>; |
| 472 | dwc3@65c00000 { |
| 473 | compatible = "snps,dwc3"; |
| 474 | reg = <0x65c00000 0x10000>; |
| 475 | interrupts = <0 137 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 476 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 477 | tx-fifo-resize; |
| 478 | }; |
| 479 | }; |
| 480 | |
| 481 | nand: nand@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 482 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 483 | status = "disabled"; |
| 484 | reg-names = "nand_data", "denali_reg"; |
| 485 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 486 | interrupts = <0 65 4>; |
| 487 | pinctrl-names = "default"; |
| 488 | pinctrl-0 = <&pinctrl_nand>; |
| 489 | clocks = <&sys_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 490 | resets = <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 491 | }; |
| 492 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 493 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 494 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 495 | #include "uniphier-pinctrl.dtsi" |