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 LD4 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-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 | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 40 | arm_timer_clk: arm-timer { |
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>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 53 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 54 | l2: l2-cache@500c0000 { |
| 55 | compatible = "socionext,uniphier-system-cache"; |
| 56 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 57 | <0x506c0000 0x400>; |
| 58 | interrupts = <0 174 4>, <0 175 4>; |
| 59 | cache-unified; |
| 60 | cache-size = <(512 * 1024)>; |
| 61 | cache-sets = <256>; |
| 62 | cache-line-size = <128>; |
| 63 | cache-level = <2>; |
| 64 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 65 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 66 | serial0: serial@54006800 { |
| 67 | compatible = "socionext,uniphier-uart"; |
| 68 | status = "disabled"; |
| 69 | reg = <0x54006800 0x40>; |
| 70 | interrupts = <0 33 4>; |
| 71 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_uart0>; |
| 73 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 74 | resets = <&peri_rst 0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 75 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 76 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 77 | serial1: serial@54006900 { |
| 78 | compatible = "socionext,uniphier-uart"; |
| 79 | status = "disabled"; |
| 80 | reg = <0x54006900 0x40>; |
| 81 | interrupts = <0 35 4>; |
| 82 | pinctrl-names = "default"; |
| 83 | pinctrl-0 = <&pinctrl_uart1>; |
| 84 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 85 | resets = <&peri_rst 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 86 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 87 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 88 | serial2: serial@54006a00 { |
| 89 | compatible = "socionext,uniphier-uart"; |
| 90 | status = "disabled"; |
| 91 | reg = <0x54006a00 0x40>; |
| 92 | interrupts = <0 37 4>; |
| 93 | pinctrl-names = "default"; |
| 94 | pinctrl-0 = <&pinctrl_uart2>; |
| 95 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 96 | resets = <&peri_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 97 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 98 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 99 | serial3: serial@54006b00 { |
| 100 | compatible = "socionext,uniphier-uart"; |
| 101 | status = "disabled"; |
| 102 | reg = <0x54006b00 0x40>; |
| 103 | interrupts = <0 29 4>; |
| 104 | pinctrl-names = "default"; |
| 105 | pinctrl-0 = <&pinctrl_uart3>; |
| 106 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 107 | resets = <&peri_rst 3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 108 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 109 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 110 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 111 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 112 | reg = <0x55000000 0x200>; |
| 113 | interrupt-parent = <&aidet>; |
| 114 | interrupt-controller; |
| 115 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 116 | gpio-controller; |
| 117 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 118 | gpio-ranges = <&pinctrl 0 0 0>; |
| 119 | gpio-ranges-group-names = "gpio_range"; |
| 120 | ngpios = <136>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 121 | socionext,interrupt-ranges = <0 48 13>, <14 62 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 122 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 123 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 124 | i2c0: i2c@58400000 { |
| 125 | compatible = "socionext,uniphier-i2c"; |
| 126 | status = "disabled"; |
| 127 | reg = <0x58400000 0x40>; |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <0>; |
| 130 | interrupts = <0 41 1>; |
| 131 | pinctrl-names = "default"; |
| 132 | pinctrl-0 = <&pinctrl_i2c0>; |
| 133 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 134 | resets = <&peri_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 135 | clock-frequency = <100000>; |
| 136 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 137 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 138 | i2c1: i2c@58480000 { |
| 139 | compatible = "socionext,uniphier-i2c"; |
| 140 | status = "disabled"; |
| 141 | reg = <0x58480000 0x40>; |
| 142 | #address-cells = <1>; |
| 143 | #size-cells = <0>; |
| 144 | interrupts = <0 42 1>; |
| 145 | pinctrl-names = "default"; |
| 146 | pinctrl-0 = <&pinctrl_i2c1>; |
| 147 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 148 | resets = <&peri_rst 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 149 | clock-frequency = <100000>; |
| 150 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 151 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 152 | /* chip-internal connection for DMD */ |
| 153 | i2c2: i2c@58500000 { |
| 154 | compatible = "socionext,uniphier-i2c"; |
| 155 | reg = <0x58500000 0x40>; |
| 156 | #address-cells = <1>; |
| 157 | #size-cells = <0>; |
| 158 | interrupts = <0 43 1>; |
| 159 | pinctrl-names = "default"; |
| 160 | pinctrl-0 = <&pinctrl_i2c2>; |
| 161 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 162 | resets = <&peri_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 163 | clock-frequency = <400000>; |
| 164 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 165 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 166 | i2c3: i2c@58580000 { |
| 167 | compatible = "socionext,uniphier-i2c"; |
| 168 | status = "disabled"; |
| 169 | reg = <0x58580000 0x40>; |
| 170 | #address-cells = <1>; |
| 171 | #size-cells = <0>; |
| 172 | interrupts = <0 44 1>; |
| 173 | pinctrl-names = "default"; |
| 174 | pinctrl-0 = <&pinctrl_i2c3>; |
| 175 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 176 | resets = <&peri_rst 7>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 177 | clock-frequency = <100000>; |
| 178 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 179 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 180 | system_bus: system-bus@58c00000 { |
| 181 | compatible = "socionext,uniphier-system-bus"; |
| 182 | status = "disabled"; |
| 183 | reg = <0x58c00000 0x400>; |
| 184 | #address-cells = <2>; |
| 185 | #size-cells = <1>; |
| 186 | pinctrl-names = "default"; |
| 187 | pinctrl-0 = <&pinctrl_system_bus>; |
| 188 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 189 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 190 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 191 | compatible = "socionext,uniphier-smpctrl"; |
| 192 | reg = <0x59801000 0x400>; |
| 193 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 194 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 195 | mioctrl@59810000 { |
| 196 | compatible = "socionext,uniphier-ld4-mioctrl", |
| 197 | "simple-mfd", "syscon"; |
| 198 | reg = <0x59810000 0x800>; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 199 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 200 | mio_clk: clock { |
| 201 | compatible = "socionext,uniphier-ld4-mio-clock"; |
| 202 | #clock-cells = <1>; |
| 203 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 204 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 205 | mio_rst: reset { |
| 206 | compatible = "socionext,uniphier-ld4-mio-reset"; |
| 207 | #reset-cells = <1>; |
| 208 | }; |
| 209 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 210 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 211 | perictrl@59820000 { |
| 212 | compatible = "socionext,uniphier-ld4-perictrl", |
| 213 | "simple-mfd", "syscon"; |
| 214 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 215 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 216 | peri_clk: clock { |
| 217 | compatible = "socionext,uniphier-ld4-peri-clock"; |
| 218 | #clock-cells = <1>; |
| 219 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 220 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 221 | peri_rst: reset { |
| 222 | compatible = "socionext,uniphier-ld4-peri-reset"; |
| 223 | #reset-cells = <1>; |
| 224 | }; |
| 225 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 226 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 227 | sd: sdhc@5a400000 { |
| 228 | compatible = "socionext,uniphier-sdhc"; |
| 229 | status = "disabled"; |
| 230 | reg = <0x5a400000 0x200>; |
| 231 | interrupts = <0 76 4>; |
| 232 | pinctrl-names = "default", "1.8v"; |
| 233 | pinctrl-0 = <&pinctrl_sd>; |
| 234 | pinctrl-1 = <&pinctrl_sd_1v8>; |
| 235 | clocks = <&mio_clk 0>; |
| 236 | reset-names = "host", "bridge"; |
| 237 | resets = <&mio_rst 0>, <&mio_rst 3>; |
| 238 | bus-width = <4>; |
| 239 | cap-sd-highspeed; |
| 240 | sd-uhs-sdr12; |
| 241 | sd-uhs-sdr25; |
| 242 | sd-uhs-sdr50; |
| 243 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 244 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 245 | emmc: sdhc@5a500000 { |
| 246 | compatible = "socionext,uniphier-sdhc"; |
| 247 | status = "disabled"; |
| 248 | reg = <0x5a500000 0x200>; |
| 249 | interrupts = <0 78 4>; |
| 250 | pinctrl-names = "default", "1.8v"; |
| 251 | pinctrl-0 = <&pinctrl_emmc>; |
| 252 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
| 253 | clocks = <&mio_clk 1>; |
| 254 | reset-names = "host", "bridge"; |
| 255 | resets = <&mio_rst 1>, <&mio_rst 4>; |
| 256 | bus-width = <8>; |
| 257 | non-removable; |
| 258 | cap-mmc-highspeed; |
| 259 | cap-mmc-hw-reset; |
| 260 | }; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 261 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 262 | usb0: usb@5a800100 { |
| 263 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 264 | status = "disabled"; |
| 265 | reg = <0x5a800100 0x100>; |
| 266 | interrupts = <0 80 4>; |
| 267 | pinctrl-names = "default"; |
| 268 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 269 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 270 | <&mio_clk 12>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 271 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 272 | <&mio_rst 12>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 273 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 274 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 275 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 276 | usb1: usb@5a810100 { |
| 277 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 278 | status = "disabled"; |
| 279 | reg = <0x5a810100 0x100>; |
| 280 | interrupts = <0 81 4>; |
| 281 | pinctrl-names = "default"; |
| 282 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 283 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 284 | <&mio_clk 13>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 285 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 286 | <&mio_rst 13>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 287 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 288 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 289 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 290 | usb2: usb@5a820100 { |
| 291 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 292 | status = "disabled"; |
| 293 | reg = <0x5a820100 0x100>; |
| 294 | interrupts = <0 82 4>; |
| 295 | pinctrl-names = "default"; |
| 296 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 297 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>, |
| 298 | <&mio_clk 14>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 299 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 300 | <&mio_rst 14>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 301 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 302 | }; |
| 303 | |
| 304 | soc-glue@5f800000 { |
| 305 | compatible = "socionext,uniphier-ld4-soc-glue", |
| 306 | "simple-mfd", "syscon"; |
| 307 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 308 | |
| 309 | pinctrl: pinctrl { |
| 310 | compatible = "socionext,uniphier-ld4-pinctrl"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 311 | }; |
| 312 | }; |
| 313 | |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 314 | soc-glue@5f900000 { |
| 315 | compatible = "socionext,uniphier-ld4-soc-glue-debug", |
| 316 | "simple-mfd"; |
| 317 | #address-cells = <1>; |
| 318 | #size-cells = <1>; |
| 319 | ranges = <0 0x5f900000 0x2000>; |
| 320 | |
| 321 | efuse@100 { |
| 322 | compatible = "socionext,uniphier-efuse"; |
| 323 | reg = <0x100 0x28>; |
| 324 | }; |
| 325 | |
| 326 | efuse@130 { |
| 327 | compatible = "socionext,uniphier-efuse"; |
| 328 | reg = <0x130 0x8>; |
| 329 | }; |
| 330 | }; |
| 331 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 332 | timer@60000200 { |
| 333 | compatible = "arm,cortex-a9-global-timer"; |
| 334 | reg = <0x60000200 0x20>; |
| 335 | interrupts = <1 11 0x104>; |
| 336 | clocks = <&arm_timer_clk>; |
| 337 | }; |
| 338 | |
| 339 | timer@60000600 { |
| 340 | compatible = "arm,cortex-a9-twd-timer"; |
| 341 | reg = <0x60000600 0x20>; |
| 342 | interrupts = <1 13 0x104>; |
| 343 | clocks = <&arm_timer_clk>; |
| 344 | }; |
| 345 | |
| 346 | intc: interrupt-controller@60001000 { |
| 347 | compatible = "arm,cortex-a9-gic"; |
| 348 | reg = <0x60001000 0x1000>, |
| 349 | <0x60000100 0x100>; |
| 350 | #interrupt-cells = <3>; |
| 351 | interrupt-controller; |
| 352 | }; |
| 353 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 354 | aidet: aidet@61830000 { |
| 355 | compatible = "socionext,uniphier-ld4-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 356 | reg = <0x61830000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 357 | interrupt-controller; |
| 358 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 359 | }; |
| 360 | |
| 361 | sysctrl@61840000 { |
| 362 | compatible = "socionext,uniphier-ld4-sysctrl", |
| 363 | "simple-mfd", "syscon"; |
| 364 | reg = <0x61840000 0x10000>; |
| 365 | |
| 366 | sys_clk: clock { |
| 367 | compatible = "socionext,uniphier-ld4-clock"; |
| 368 | #clock-cells = <1>; |
| 369 | }; |
| 370 | |
| 371 | sys_rst: reset { |
| 372 | compatible = "socionext,uniphier-ld4-reset"; |
| 373 | #reset-cells = <1>; |
| 374 | }; |
| 375 | }; |
| 376 | |
| 377 | nand: nand@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 378 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 379 | status = "disabled"; |
| 380 | reg-names = "nand_data", "denali_reg"; |
| 381 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 382 | interrupts = <0 65 4>; |
| 383 | pinctrl-names = "default"; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 384 | pinctrl-0 = <&pinctrl_nand2cs>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 385 | clocks = <&sys_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 386 | resets = <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 387 | }; |
| 388 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 389 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 390 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 391 | #include "uniphier-pinctrl.dtsi" |