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