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