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 LD11 SoC |
| 4 | // |
| 5 | // Copyright (C) 2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | #include <dt-bindings/gpio/uniphier-gpio.h> |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 11 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 12 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 13 | compatible = "socionext,uniphier-ld11"; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
| 16 | interrupt-parent = <&gic>; |
| 17 | |
| 18 | cpus { |
| 19 | #address-cells = <2>; |
| 20 | #size-cells = <0>; |
| 21 | |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 22 | cpu-map { |
| 23 | cluster0 { |
| 24 | core0 { |
| 25 | cpu = <&cpu0>; |
| 26 | }; |
| 27 | core1 { |
| 28 | cpu = <&cpu1>; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | cpu0: cpu@0 { |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 34 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 35 | compatible = "arm,cortex-a53"; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 36 | reg = <0 0x000>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 37 | clocks = <&sys_clk 33>; |
| 38 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 39 | next-level-cache = <&l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 40 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 41 | }; |
| 42 | |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 43 | cpu1: cpu@1 { |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 44 | device_type = "cpu"; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 45 | compatible = "arm,cortex-a53"; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 46 | reg = <0 0x001>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 47 | clocks = <&sys_clk 33>; |
| 48 | enable-method = "psci"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 49 | next-level-cache = <&l2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 50 | operating-points-v2 = <&cluster0_opp>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 51 | }; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 52 | |
| 53 | l2: l2-cache { |
| 54 | compatible = "cache"; |
| 55 | }; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 56 | }; |
| 57 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 58 | cluster0_opp: opp-table { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 59 | compatible = "operating-points-v2"; |
| 60 | opp-shared; |
| 61 | |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 62 | opp-245000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 63 | opp-hz = /bits/ 64 <245000000>; |
| 64 | clock-latency-ns = <300>; |
| 65 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 66 | opp-250000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 67 | opp-hz = /bits/ 64 <250000000>; |
| 68 | clock-latency-ns = <300>; |
| 69 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 70 | opp-490000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 71 | opp-hz = /bits/ 64 <490000000>; |
| 72 | clock-latency-ns = <300>; |
| 73 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 74 | opp-500000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 75 | opp-hz = /bits/ 64 <500000000>; |
| 76 | clock-latency-ns = <300>; |
| 77 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 78 | opp-653334000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 79 | opp-hz = /bits/ 64 <653334000>; |
| 80 | clock-latency-ns = <300>; |
| 81 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 82 | opp-666667000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 83 | opp-hz = /bits/ 64 <666667000>; |
| 84 | clock-latency-ns = <300>; |
| 85 | }; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 86 | opp-980000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 87 | opp-hz = /bits/ 64 <980000000>; |
| 88 | clock-latency-ns = <300>; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | psci { |
| 93 | compatible = "arm,psci-1.0"; |
| 94 | method = "smc"; |
| 95 | }; |
| 96 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 97 | clocks { |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 98 | refclk: ref { |
| 99 | compatible = "fixed-clock"; |
| 100 | #clock-cells = <0>; |
| 101 | clock-frequency = <25000000>; |
| 102 | }; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 103 | }; |
| 104 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 105 | emmc_pwrseq: emmc-pwrseq { |
| 106 | compatible = "mmc-pwrseq-emmc"; |
| 107 | reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>; |
| 108 | }; |
| 109 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 110 | timer { |
| 111 | compatible = "arm,armv8-timer"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 112 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 113 | <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 114 | <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 115 | <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 116 | }; |
| 117 | |
Masahiro Yamada | 83701f2 | 2019-07-10 20:07:29 +0900 | [diff] [blame] | 118 | reserved-memory { |
| 119 | #address-cells = <2>; |
| 120 | #size-cells = <2>; |
| 121 | ranges; |
| 122 | |
| 123 | secure-memory@81000000 { |
| 124 | reg = <0x0 0x81000000 0x0 0x01000000>; |
| 125 | no-map; |
| 126 | }; |
| 127 | }; |
| 128 | |
Masahiro Yamada | ce6ca3c | 2017-03-13 00:16:40 +0900 | [diff] [blame] | 129 | soc@0 { |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 130 | compatible = "simple-bus"; |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
| 133 | ranges = <0 0 0 0xffffffff>; |
| 134 | |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 135 | spi0: spi@54006000 { |
| 136 | compatible = "socionext,uniphier-scssi"; |
| 137 | status = "disabled"; |
| 138 | reg = <0x54006000 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 139 | #address-cells = <1>; |
| 140 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 141 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 142 | pinctrl-names = "default"; |
| 143 | pinctrl-0 = <&pinctrl_spi0>; |
| 144 | clocks = <&peri_clk 11>; |
| 145 | resets = <&peri_rst 11>; |
| 146 | }; |
| 147 | |
| 148 | spi1: spi@54006100 { |
| 149 | compatible = "socionext,uniphier-scssi"; |
| 150 | status = "disabled"; |
| 151 | reg = <0x54006100 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 154 | interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 155 | pinctrl-names = "default"; |
| 156 | pinctrl-0 = <&pinctrl_spi1>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 157 | clocks = <&peri_clk 12>; |
| 158 | resets = <&peri_rst 12>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 159 | }; |
| 160 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 161 | serial0: serial@54006800 { |
| 162 | compatible = "socionext,uniphier-uart"; |
| 163 | status = "disabled"; |
| 164 | reg = <0x54006800 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 165 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 166 | pinctrl-names = "default"; |
| 167 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 168 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 169 | resets = <&peri_rst 0>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 170 | }; |
| 171 | |
| 172 | serial1: serial@54006900 { |
| 173 | compatible = "socionext,uniphier-uart"; |
| 174 | status = "disabled"; |
| 175 | reg = <0x54006900 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 176 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 177 | pinctrl-names = "default"; |
| 178 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 179 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 180 | resets = <&peri_rst 1>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 181 | }; |
| 182 | |
| 183 | serial2: serial@54006a00 { |
| 184 | compatible = "socionext,uniphier-uart"; |
| 185 | status = "disabled"; |
| 186 | reg = <0x54006a00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 187 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 188 | pinctrl-names = "default"; |
| 189 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 190 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 191 | resets = <&peri_rst 2>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 192 | }; |
| 193 | |
| 194 | serial3: serial@54006b00 { |
| 195 | compatible = "socionext,uniphier-uart"; |
| 196 | status = "disabled"; |
| 197 | reg = <0x54006b00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 198 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 199 | pinctrl-names = "default"; |
| 200 | pinctrl-0 = <&pinctrl_uart3>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 201 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 202 | resets = <&peri_rst 3>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 203 | }; |
| 204 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 205 | gpio: gpio@55000000 { |
| 206 | compatible = "socionext,uniphier-gpio"; |
| 207 | reg = <0x55000000 0x200>; |
| 208 | interrupt-parent = <&aidet>; |
| 209 | interrupt-controller; |
| 210 | #interrupt-cells = <2>; |
| 211 | gpio-controller; |
| 212 | #gpio-cells = <2>; |
| 213 | gpio-ranges = <&pinctrl 0 0 0>, |
| 214 | <&pinctrl 43 0 0>, |
| 215 | <&pinctrl 51 0 0>, |
| 216 | <&pinctrl 96 0 0>, |
| 217 | <&pinctrl 160 0 0>, |
| 218 | <&pinctrl 184 0 0>; |
| 219 | gpio-ranges-group-names = "gpio_range0", |
| 220 | "gpio_range1", |
| 221 | "gpio_range2", |
| 222 | "gpio_range3", |
| 223 | "gpio_range4", |
| 224 | "gpio_range5"; |
| 225 | ngpios = <200>; |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 226 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>, |
| 227 | <21 217 3>; |
| 228 | }; |
| 229 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 230 | audio@56000000 { |
| 231 | compatible = "socionext,uniphier-ld11-aio"; |
| 232 | reg = <0x56000000 0x80000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 233 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 234 | pinctrl-names = "default"; |
| 235 | pinctrl-0 = <&pinctrl_aout1>, |
| 236 | <&pinctrl_aoutiec1>; |
| 237 | clock-names = "aio"; |
| 238 | clocks = <&sys_clk 40>; |
| 239 | reset-names = "aio"; |
| 240 | resets = <&sys_rst 40>; |
| 241 | #sound-dai-cells = <1>; |
| 242 | socionext,syscon = <&soc_glue>; |
| 243 | |
| 244 | i2s_port0: port@0 { |
| 245 | i2s_hdmi: endpoint { |
| 246 | }; |
| 247 | }; |
| 248 | |
| 249 | i2s_port1: port@1 { |
| 250 | i2s_pcmin2: endpoint { |
| 251 | }; |
| 252 | }; |
| 253 | |
| 254 | i2s_port2: port@2 { |
| 255 | i2s_line: endpoint { |
| 256 | dai-format = "i2s"; |
| 257 | remote-endpoint = <&evea_line>; |
| 258 | }; |
| 259 | }; |
| 260 | |
| 261 | i2s_port3: port@3 { |
| 262 | i2s_hpcmout1: endpoint { |
| 263 | }; |
| 264 | }; |
| 265 | |
| 266 | i2s_port4: port@4 { |
| 267 | i2s_hp: endpoint { |
| 268 | dai-format = "i2s"; |
| 269 | remote-endpoint = <&evea_hp>; |
| 270 | }; |
| 271 | }; |
| 272 | |
| 273 | spdif_port0: port@5 { |
| 274 | spdif_hiecout1: endpoint { |
| 275 | }; |
| 276 | }; |
| 277 | |
| 278 | src_port0: port@6 { |
| 279 | i2s_epcmout2: endpoint { |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | src_port1: port@7 { |
| 284 | i2s_epcmout3: endpoint { |
| 285 | }; |
| 286 | }; |
| 287 | |
| 288 | comp_spdif_port0: port@8 { |
| 289 | comp_spdif_hiecout1: endpoint { |
| 290 | }; |
| 291 | }; |
| 292 | }; |
| 293 | |
| 294 | codec@57900000 { |
| 295 | compatible = "socionext,uniphier-evea"; |
| 296 | reg = <0x57900000 0x1000>; |
| 297 | clock-names = "evea", "exiv"; |
| 298 | clocks = <&sys_clk 41>, <&sys_clk 42>; |
| 299 | reset-names = "evea", "exiv", "adamv"; |
| 300 | resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>; |
| 301 | #sound-dai-cells = <1>; |
| 302 | |
| 303 | port@0 { |
| 304 | evea_line: endpoint { |
| 305 | remote-endpoint = <&i2s_line>; |
| 306 | }; |
| 307 | }; |
| 308 | |
| 309 | port@1 { |
| 310 | evea_hp: endpoint { |
| 311 | remote-endpoint = <&i2s_hp>; |
| 312 | }; |
| 313 | }; |
| 314 | }; |
| 315 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 316 | syscon@57920000 { |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 317 | compatible = "socionext,uniphier-ld11-adamv", |
| 318 | "simple-mfd", "syscon"; |
| 319 | reg = <0x57920000 0x1000>; |
| 320 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 321 | adamv_rst: reset-controller { |
Masahiro Yamada | a0a95bb | 2017-10-17 21:19:43 +0900 | [diff] [blame] | 322 | compatible = "socionext,uniphier-ld11-adamv-reset"; |
| 323 | #reset-cells = <1>; |
| 324 | }; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 325 | }; |
| 326 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 327 | i2c0: i2c@58780000 { |
| 328 | compatible = "socionext,uniphier-fi2c"; |
| 329 | status = "disabled"; |
| 330 | reg = <0x58780000 0x80>; |
| 331 | #address-cells = <1>; |
| 332 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 333 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 334 | pinctrl-names = "default"; |
| 335 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 336 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 337 | resets = <&peri_rst 4>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 338 | clock-frequency = <100000>; |
| 339 | }; |
| 340 | |
| 341 | i2c1: i2c@58781000 { |
| 342 | compatible = "socionext,uniphier-fi2c"; |
| 343 | status = "disabled"; |
| 344 | reg = <0x58781000 0x80>; |
| 345 | #address-cells = <1>; |
| 346 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 347 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 348 | pinctrl-names = "default"; |
| 349 | pinctrl-0 = <&pinctrl_i2c1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 350 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 351 | resets = <&peri_rst 5>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 352 | clock-frequency = <100000>; |
| 353 | }; |
| 354 | |
| 355 | i2c2: i2c@58782000 { |
| 356 | compatible = "socionext,uniphier-fi2c"; |
| 357 | reg = <0x58782000 0x80>; |
| 358 | #address-cells = <1>; |
| 359 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 360 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 361 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 362 | resets = <&peri_rst 6>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 363 | clock-frequency = <400000>; |
| 364 | }; |
| 365 | |
| 366 | i2c3: i2c@58783000 { |
| 367 | compatible = "socionext,uniphier-fi2c"; |
| 368 | status = "disabled"; |
| 369 | reg = <0x58783000 0x80>; |
| 370 | #address-cells = <1>; |
| 371 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 372 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 373 | pinctrl-names = "default"; |
| 374 | pinctrl-0 = <&pinctrl_i2c3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 375 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 376 | resets = <&peri_rst 7>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 377 | clock-frequency = <100000>; |
| 378 | }; |
| 379 | |
| 380 | i2c4: i2c@58784000 { |
| 381 | compatible = "socionext,uniphier-fi2c"; |
| 382 | status = "disabled"; |
| 383 | reg = <0x58784000 0x80>; |
| 384 | #address-cells = <1>; |
| 385 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 386 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 387 | pinctrl-names = "default"; |
| 388 | pinctrl-0 = <&pinctrl_i2c4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 389 | clocks = <&peri_clk 8>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 390 | resets = <&peri_rst 8>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 391 | clock-frequency = <100000>; |
| 392 | }; |
| 393 | |
| 394 | i2c5: i2c@58785000 { |
| 395 | compatible = "socionext,uniphier-fi2c"; |
| 396 | reg = <0x58785000 0x80>; |
| 397 | #address-cells = <1>; |
| 398 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 399 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 400 | clocks = <&peri_clk 9>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 401 | resets = <&peri_rst 9>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 402 | clock-frequency = <400000>; |
| 403 | }; |
| 404 | |
| 405 | system_bus: system-bus@58c00000 { |
| 406 | compatible = "socionext,uniphier-system-bus"; |
| 407 | status = "disabled"; |
| 408 | reg = <0x58c00000 0x400>; |
| 409 | #address-cells = <2>; |
| 410 | #size-cells = <1>; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 411 | pinctrl-names = "default"; |
| 412 | pinctrl-0 = <&pinctrl_system_bus>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 413 | }; |
| 414 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 415 | smpctrl@59801000 { |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 416 | compatible = "socionext,uniphier-smpctrl"; |
| 417 | reg = <0x59801000 0x400>; |
| 418 | }; |
| 419 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 420 | syscon@59810000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 421 | compatible = "socionext,uniphier-ld11-sdctrl", |
| 422 | "simple-mfd", "syscon"; |
| 423 | reg = <0x59810000 0x400>; |
| 424 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 425 | sd_rst: reset-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 426 | compatible = "socionext,uniphier-ld11-sd-reset"; |
| 427 | #reset-cells = <1>; |
| 428 | }; |
| 429 | }; |
| 430 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 431 | syscon@59820000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 432 | compatible = "socionext,uniphier-ld11-perictrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 433 | "simple-mfd", "syscon"; |
| 434 | reg = <0x59820000 0x200>; |
| 435 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 436 | peri_clk: clock-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 437 | compatible = "socionext,uniphier-ld11-peri-clock"; |
| 438 | #clock-cells = <1>; |
| 439 | }; |
| 440 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 441 | peri_rst: reset-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 442 | compatible = "socionext,uniphier-ld11-peri-reset"; |
| 443 | #reset-cells = <1>; |
| 444 | }; |
| 445 | }; |
| 446 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 447 | emmc: mmc@5a000000 { |
Masahiro Yamada | 697dd9c | 2017-01-04 20:08:37 +0900 | [diff] [blame] | 448 | compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 449 | reg = <0x5a000000 0x400>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 450 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 451 | pinctrl-names = "default"; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 452 | pinctrl-0 = <&pinctrl_emmc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 453 | clocks = <&sys_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 454 | resets = <&sys_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 455 | bus-width = <8>; |
| 456 | mmc-ddr-1_8v; |
| 457 | mmc-hs200-1_8v; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 458 | mmc-pwrseq = <&emmc_pwrseq>; |
Masahiro Yamada | 76b37e7 | 2018-05-23 00:30:54 +0900 | [diff] [blame] | 459 | cdns,phy-input-delay-legacy = <9>; |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 460 | cdns,phy-input-delay-mmc-highspeed = <2>; |
| 461 | cdns,phy-input-delay-mmc-ddr = <3>; |
| 462 | cdns,phy-dll-delay-sdclk = <21>; |
| 463 | cdns,phy-dll-delay-sdclk-hsmmc = <21>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 464 | }; |
| 465 | |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 466 | usb0: usb@5a800100 { |
| 467 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 468 | status = "disabled"; |
| 469 | reg = <0x5a800100 0x100>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 470 | interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 471 | pinctrl-names = "default"; |
| 472 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 473 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 474 | <&mio_clk 12>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 475 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 476 | <&mio_rst 12>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 477 | phy-names = "usb"; |
| 478 | phys = <&usb_phy0>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 479 | has-transaction-translator; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 480 | }; |
| 481 | |
| 482 | usb1: usb@5a810100 { |
| 483 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 484 | status = "disabled"; |
| 485 | reg = <0x5a810100 0x100>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 486 | interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 487 | pinctrl-names = "default"; |
| 488 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 489 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 490 | <&mio_clk 13>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 491 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 492 | <&mio_rst 13>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 493 | phy-names = "usb"; |
| 494 | phys = <&usb_phy1>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 495 | has-transaction-translator; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 496 | }; |
| 497 | |
| 498 | usb2: usb@5a820100 { |
| 499 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 500 | status = "disabled"; |
| 501 | reg = <0x5a820100 0x100>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 502 | interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 503 | pinctrl-names = "default"; |
| 504 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 505 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>, |
| 506 | <&mio_clk 14>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 507 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 508 | <&mio_rst 14>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 509 | phy-names = "usb"; |
| 510 | phys = <&usb_phy2>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 511 | has-transaction-translator; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 512 | }; |
| 513 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 514 | syscon@5b3e0000 { |
Masahiro Yamada | bf3b721 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 515 | compatible = "socionext,uniphier-ld11-mioctrl", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 516 | "simple-mfd", "syscon"; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 517 | reg = <0x5b3e0000 0x800>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 518 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 519 | mio_clk: clock-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 520 | compatible = "socionext,uniphier-ld11-mio-clock"; |
| 521 | #clock-cells = <1>; |
| 522 | }; |
| 523 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 524 | mio_rst: reset-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 525 | compatible = "socionext,uniphier-ld11-mio-reset"; |
| 526 | #reset-cells = <1>; |
| 527 | resets = <&sys_rst 7>; |
| 528 | }; |
Masahiro Yamada | 09b0275 | 2016-05-24 21:14:03 +0900 | [diff] [blame] | 529 | }; |
| 530 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 531 | soc_glue: syscon@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 532 | compatible = "socionext,uniphier-ld11-soc-glue", |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 533 | "simple-mfd", "syscon"; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 534 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 535 | |
| 536 | pinctrl: pinctrl { |
| 537 | compatible = "socionext,uniphier-ld11-pinctrl"; |
Masahiro Yamada | 1174603f | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 538 | }; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 539 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 540 | usb-hub { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 541 | compatible = "socionext,uniphier-ld11-usb2-phy"; |
| 542 | #address-cells = <1>; |
| 543 | #size-cells = <0>; |
| 544 | |
| 545 | usb_phy0: phy@0 { |
| 546 | reg = <0>; |
| 547 | #phy-cells = <0>; |
| 548 | }; |
| 549 | |
| 550 | usb_phy1: phy@1 { |
| 551 | reg = <1>; |
| 552 | #phy-cells = <0>; |
| 553 | }; |
| 554 | |
| 555 | usb_phy2: phy@2 { |
| 556 | reg = <2>; |
| 557 | #phy-cells = <0>; |
| 558 | }; |
| 559 | }; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 560 | }; |
| 561 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 562 | syscon@5f900000 { |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 563 | compatible = "socionext,uniphier-ld11-soc-glue-debug", |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 564 | "simple-mfd", "syscon"; |
| 565 | reg = <0x5f900000 0x2000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 566 | #address-cells = <1>; |
| 567 | #size-cells = <1>; |
| 568 | ranges = <0 0x5f900000 0x2000>; |
| 569 | |
| 570 | efuse@100 { |
| 571 | compatible = "socionext,uniphier-efuse"; |
| 572 | reg = <0x100 0x28>; |
| 573 | }; |
| 574 | |
| 575 | efuse@200 { |
| 576 | compatible = "socionext,uniphier-efuse"; |
| 577 | reg = <0x200 0x68>; |
| 578 | }; |
| 579 | }; |
| 580 | |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 581 | xdmac: dma-controller@5fc10000 { |
| 582 | compatible = "socionext,uniphier-xdmac"; |
| 583 | reg = <0x5fc10000 0x5300>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 584 | interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 585 | dma-channels = <16>; |
| 586 | #dma-cells = <2>; |
| 587 | }; |
| 588 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 589 | aidet: interrupt-controller@5fc20000 { |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 590 | compatible = "socionext,uniphier-ld11-aidet"; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 591 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 592 | interrupt-controller; |
| 593 | #interrupt-cells = <2>; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 594 | }; |
| 595 | |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 596 | gic: interrupt-controller@5fe00000 { |
| 597 | compatible = "arm,gic-v3"; |
| 598 | reg = <0x5fe00000 0x10000>, /* GICD */ |
| 599 | <0x5fe40000 0x80000>; /* GICR */ |
| 600 | interrupt-controller; |
| 601 | #interrupt-cells = <3>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 602 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 603 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 604 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 605 | syscon@61840000 { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 606 | compatible = "socionext,uniphier-ld11-sysctrl", |
| 607 | "simple-mfd", "syscon"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 608 | reg = <0x61840000 0x10000>; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 609 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 610 | sys_clk: clock-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 611 | compatible = "socionext,uniphier-ld11-clock"; |
| 612 | #clock-cells = <1>; |
| 613 | }; |
| 614 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 615 | sys_rst: reset-controller { |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 616 | compatible = "socionext,uniphier-ld11-reset"; |
| 617 | #reset-cells = <1>; |
| 618 | }; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 619 | |
| 620 | watchdog { |
| 621 | compatible = "socionext,uniphier-wdt"; |
| 622 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 623 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 624 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 625 | eth: ethernet@65000000 { |
| 626 | compatible = "socionext,uniphier-ld11-ave4"; |
| 627 | status = "disabled"; |
| 628 | reg = <0x65000000 0x8500>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 629 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 630 | clock-names = "ether"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 631 | clocks = <&sys_clk 6>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 632 | reset-names = "ether"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 633 | resets = <&sys_rst 6>; |
Kunihiko Hayashi | f8b6c4e | 2018-05-11 18:49:17 +0900 | [diff] [blame] | 634 | phy-mode = "internal"; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 635 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 636 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 637 | |
| 638 | mdio: mdio { |
| 639 | #address-cells = <1>; |
| 640 | #size-cells = <0>; |
| 641 | }; |
| 642 | }; |
| 643 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 644 | nand: nand-controller@68000000 { |
Masahiro Yamada | 552acbf | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 645 | compatible = "socionext,uniphier-denali-nand-v5b"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 646 | status = "disabled"; |
| 647 | reg-names = "nand_data", "denali_reg"; |
| 648 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 649 | #address-cells = <1>; |
| 650 | #size-cells = <0>; |
| 651 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 652 | pinctrl-names = "default"; |
| 653 | pinctrl-0 = <&pinctrl_nand>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 654 | clock-names = "nand", "nand_x", "ecc"; |
| 655 | clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>; |
Masahiro Yamada | b226e52 | 2020-02-28 21:57:20 +0900 | [diff] [blame] | 656 | reset-names = "nand", "reg"; |
| 657 | resets = <&sys_rst 2>, <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 658 | }; |
Masahiro Yamada | f0c34fc | 2016-03-18 16:41:49 +0900 | [diff] [blame] | 659 | }; |
| 660 | }; |
| 661 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 662 | #include "uniphier-pinctrl.dtsi" |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 663 | |
| 664 | &pinctrl_aoutiec1 { |
| 665 | drive-strength = <4>; /* default: 4mA */ |
| 666 | |
| 667 | ao1arc { |
| 668 | pins = "AO1ARC"; |
| 669 | drive-strength = <8>; /* 8mA */ |
| 670 | }; |
| 671 | }; |