Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | // |
| 3 | // Device Tree Source for UniPhier Pro4 SoC |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/uniphier-gpio.h> |
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-pro4"; |
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 | cpu@1 { |
| 29 | device_type = "cpu"; |
| 30 | compatible = "arm,cortex-a9"; |
| 31 | reg = <1>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 32 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 33 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 34 | }; |
| 35 | }; |
| 36 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 37 | psci { |
| 38 | compatible = "arm,psci-0.2"; |
| 39 | method = "smc"; |
| 40 | }; |
| 41 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 42 | clocks { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 43 | refclk: ref { |
| 44 | compatible = "fixed-clock"; |
| 45 | #clock-cells = <0>; |
| 46 | clock-frequency = <25000000>; |
| 47 | }; |
| 48 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 49 | arm_timer_clk: arm-timer { |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 50 | #clock-cells = <0>; |
| 51 | compatible = "fixed-clock"; |
| 52 | clock-frequency = <50000000>; |
| 53 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 54 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 55 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 56 | soc { |
| 57 | compatible = "simple-bus"; |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <1>; |
| 60 | ranges; |
| 61 | interrupt-parent = <&intc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 62 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 63 | l2: cache-controller@500c0000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 64 | compatible = "socionext,uniphier-system-cache"; |
| 65 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 66 | <0x506c0000 0x400>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 67 | interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, |
| 68 | <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 69 | cache-unified; |
| 70 | cache-size = <(768 * 1024)>; |
| 71 | cache-sets = <256>; |
| 72 | cache-line-size = <128>; |
| 73 | cache-level = <2>; |
| 74 | }; |
| 75 | |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 76 | spi0: spi@54006000 { |
| 77 | compatible = "socionext,uniphier-scssi"; |
| 78 | status = "disabled"; |
| 79 | reg = <0x54006000 0x100>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 80 | #address-cells = <1>; |
| 81 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 82 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&pinctrl_spi0>; |
| 85 | clocks = <&peri_clk 11>; |
| 86 | resets = <&peri_rst 11>; |
| 87 | }; |
| 88 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 89 | serial0: serial@54006800 { |
| 90 | compatible = "socionext,uniphier-uart"; |
| 91 | status = "disabled"; |
| 92 | reg = <0x54006800 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 93 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 94 | pinctrl-names = "default"; |
| 95 | pinctrl-0 = <&pinctrl_uart0>; |
| 96 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 97 | resets = <&peri_rst 0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 98 | }; |
| 99 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 100 | serial1: serial@54006900 { |
| 101 | compatible = "socionext,uniphier-uart"; |
| 102 | status = "disabled"; |
| 103 | reg = <0x54006900 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 104 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&pinctrl_uart1>; |
| 107 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 108 | resets = <&peri_rst 1>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 109 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 110 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 111 | serial2: serial@54006a00 { |
| 112 | compatible = "socionext,uniphier-uart"; |
| 113 | status = "disabled"; |
| 114 | reg = <0x54006a00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 115 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&pinctrl_uart2>; |
| 118 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 119 | resets = <&peri_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 120 | }; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 121 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 122 | serial3: serial@54006b00 { |
| 123 | compatible = "socionext,uniphier-uart"; |
| 124 | status = "disabled"; |
| 125 | reg = <0x54006b00 0x40>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 126 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&pinctrl_uart3>; |
| 129 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 130 | resets = <&peri_rst 3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 131 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 132 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 133 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 134 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 135 | reg = <0x55000000 0x200>; |
| 136 | interrupt-parent = <&aidet>; |
| 137 | interrupt-controller; |
| 138 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 139 | gpio-controller; |
| 140 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 141 | gpio-ranges = <&pinctrl 0 0 0>; |
| 142 | gpio-ranges-group-names = "gpio_range"; |
| 143 | ngpios = <248>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 144 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 145 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 146 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 147 | i2c0: i2c@58780000 { |
| 148 | compatible = "socionext,uniphier-fi2c"; |
| 149 | status = "disabled"; |
| 150 | reg = <0x58780000 0x80>; |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 153 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 154 | pinctrl-names = "default"; |
| 155 | pinctrl-0 = <&pinctrl_i2c0>; |
| 156 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 157 | resets = <&peri_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 158 | clock-frequency = <100000>; |
| 159 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 160 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 161 | i2c1: i2c@58781000 { |
| 162 | compatible = "socionext,uniphier-fi2c"; |
| 163 | status = "disabled"; |
| 164 | reg = <0x58781000 0x80>; |
| 165 | #address-cells = <1>; |
| 166 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 167 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 168 | pinctrl-names = "default"; |
| 169 | pinctrl-0 = <&pinctrl_i2c1>; |
| 170 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 171 | resets = <&peri_rst 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 172 | clock-frequency = <100000>; |
| 173 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 174 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 175 | i2c2: i2c@58782000 { |
| 176 | compatible = "socionext,uniphier-fi2c"; |
| 177 | status = "disabled"; |
| 178 | reg = <0x58782000 0x80>; |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 181 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 182 | pinctrl-names = "default"; |
| 183 | pinctrl-0 = <&pinctrl_i2c2>; |
| 184 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 185 | resets = <&peri_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 186 | clock-frequency = <100000>; |
| 187 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 188 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 189 | i2c3: i2c@58783000 { |
| 190 | compatible = "socionext,uniphier-fi2c"; |
| 191 | status = "disabled"; |
| 192 | reg = <0x58783000 0x80>; |
| 193 | #address-cells = <1>; |
| 194 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 195 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 196 | pinctrl-names = "default"; |
| 197 | pinctrl-0 = <&pinctrl_i2c3>; |
| 198 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 199 | resets = <&peri_rst 7>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 200 | clock-frequency = <100000>; |
| 201 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 202 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 203 | /* i2c4 does not exist */ |
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 | /* chip-internal connection for DMD */ |
| 206 | i2c5: i2c@58785000 { |
| 207 | compatible = "socionext,uniphier-fi2c"; |
| 208 | reg = <0x58785000 0x80>; |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 211 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 212 | clocks = <&peri_clk 9>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 213 | resets = <&peri_rst 9>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 214 | clock-frequency = <400000>; |
| 215 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 216 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 217 | /* chip-internal connection for HDMI */ |
| 218 | i2c6: i2c@58786000 { |
| 219 | compatible = "socionext,uniphier-fi2c"; |
| 220 | reg = <0x58786000 0x80>; |
| 221 | #address-cells = <1>; |
| 222 | #size-cells = <0>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 223 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 224 | clocks = <&peri_clk 10>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 225 | resets = <&peri_rst 10>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 226 | clock-frequency = <400000>; |
| 227 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 228 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 229 | system_bus: system-bus@58c00000 { |
| 230 | compatible = "socionext,uniphier-system-bus"; |
| 231 | status = "disabled"; |
| 232 | reg = <0x58c00000 0x400>; |
| 233 | #address-cells = <2>; |
| 234 | #size-cells = <1>; |
| 235 | pinctrl-names = "default"; |
| 236 | pinctrl-0 = <&pinctrl_system_bus>; |
| 237 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 238 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 239 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 240 | compatible = "socionext,uniphier-smpctrl"; |
| 241 | reg = <0x59801000 0x400>; |
| 242 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 243 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 244 | mioctrl: syscon@59810000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 245 | compatible = "socionext,uniphier-pro4-mioctrl", |
| 246 | "simple-mfd", "syscon"; |
| 247 | reg = <0x59810000 0x800>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 248 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 249 | mio_clk: clock-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 250 | compatible = "socionext,uniphier-pro4-mio-clock"; |
| 251 | #clock-cells = <1>; |
| 252 | }; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 253 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 254 | mio_rst: reset-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 255 | compatible = "socionext,uniphier-pro4-mio-reset"; |
| 256 | #reset-cells = <1>; |
| 257 | }; |
| 258 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 259 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 260 | syscon@59820000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 261 | compatible = "socionext,uniphier-pro4-perictrl", |
| 262 | "simple-mfd", "syscon"; |
| 263 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 264 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 265 | peri_clk: clock-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 266 | compatible = "socionext,uniphier-pro4-peri-clock"; |
| 267 | #clock-cells = <1>; |
| 268 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 269 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 270 | peri_rst: reset-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 271 | compatible = "socionext,uniphier-pro4-peri-reset"; |
| 272 | #reset-cells = <1>; |
| 273 | }; |
| 274 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 275 | |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 276 | dmac: dma-controller@5a000000 { |
| 277 | compatible = "socionext,uniphier-mio-dmac"; |
| 278 | reg = <0x5a000000 0x1000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 279 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 280 | <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 281 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 282 | <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 283 | <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, |
| 284 | <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 285 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, |
| 286 | <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 287 | clocks = <&mio_clk 7>; |
| 288 | resets = <&mio_rst 7>; |
| 289 | #dma-cells = <1>; |
| 290 | }; |
| 291 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 292 | sd: mmc@5a400000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 293 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 294 | status = "disabled"; |
| 295 | reg = <0x5a400000 0x200>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 296 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 297 | pinctrl-names = "default", "uhs"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 298 | pinctrl-0 = <&pinctrl_sd>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 299 | pinctrl-1 = <&pinctrl_sd_uhs>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 300 | clocks = <&mio_clk 0>; |
| 301 | reset-names = "host", "bridge"; |
| 302 | resets = <&mio_rst 0>, <&mio_rst 3>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 303 | dma-names = "rx-tx"; |
| 304 | dmas = <&dmac 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 305 | bus-width = <4>; |
| 306 | cap-sd-highspeed; |
| 307 | sd-uhs-sdr12; |
| 308 | sd-uhs-sdr25; |
| 309 | sd-uhs-sdr50; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 310 | socionext,syscon-uhs-mode = <&mioctrl 0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 311 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 312 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 313 | emmc: mmc@5a500000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 314 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 315 | status = "disabled"; |
| 316 | reg = <0x5a500000 0x200>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 317 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 318 | pinctrl-names = "default"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 319 | pinctrl-0 = <&pinctrl_emmc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 320 | clocks = <&mio_clk 1>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 321 | reset-names = "host", "bridge", "hw"; |
| 322 | resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 323 | dma-names = "rx-tx"; |
| 324 | dmas = <&dmac 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 325 | bus-width = <8>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 326 | cap-mmc-highspeed; |
| 327 | cap-mmc-hw-reset; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 328 | non-removable; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 329 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 330 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 331 | sd1: mmc@5a600000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 332 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 333 | status = "disabled"; |
| 334 | reg = <0x5a600000 0x200>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 335 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 336 | pinctrl-names = "default"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 337 | pinctrl-0 = <&pinctrl_sd1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 338 | clocks = <&mio_clk 2>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 339 | reset-names = "host", "bridge"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 340 | resets = <&mio_rst 2>, <&mio_rst 5>; |
Masahiro Yamada | c902688 | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 341 | dma-names = "rx-tx"; |
| 342 | dmas = <&dmac 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 343 | bus-width = <4>; |
| 344 | cap-sd-highspeed; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 345 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 346 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 347 | usb2: usb@5a800100 { |
| 348 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 349 | status = "disabled"; |
| 350 | reg = <0x5a800100 0x100>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 351 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 352 | pinctrl-names = "default"; |
| 353 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 354 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 355 | <&mio_clk 12>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 356 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 357 | <&mio_rst 12>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 358 | phy-names = "usb"; |
| 359 | phys = <&usb_phy0>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 360 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 361 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 362 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 363 | usb3: usb@5a810100 { |
| 364 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 365 | status = "disabled"; |
| 366 | reg = <0x5a810100 0x100>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 367 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 368 | pinctrl-names = "default"; |
| 369 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 370 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 371 | <&mio_clk 13>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 372 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 373 | <&mio_rst 13>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 374 | phy-names = "usb"; |
| 375 | phys = <&usb_phy1>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 376 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 377 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 378 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 379 | soc_glue: syscon@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 380 | compatible = "socionext,uniphier-pro4-soc-glue", |
| 381 | "simple-mfd", "syscon"; |
| 382 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 383 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 384 | pinctrl: pinctrl { |
| 385 | compatible = "socionext,uniphier-pro4-pinctrl"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 386 | }; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 387 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 388 | usb-hub { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 389 | compatible = "socionext,uniphier-pro4-usb2-phy"; |
| 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
| 392 | |
| 393 | usb_phy0: phy@0 { |
| 394 | reg = <0>; |
| 395 | #phy-cells = <0>; |
| 396 | }; |
| 397 | |
| 398 | usb_phy1: phy@1 { |
| 399 | reg = <1>; |
| 400 | #phy-cells = <0>; |
| 401 | }; |
| 402 | |
| 403 | usb_phy2: phy@2 { |
| 404 | reg = <2>; |
| 405 | #phy-cells = <0>; |
| 406 | vbus-supply = <&usb0_vbus>; |
| 407 | }; |
| 408 | |
| 409 | usb_phy3: phy@3 { |
| 410 | reg = <3>; |
| 411 | #phy-cells = <0>; |
| 412 | vbus-supply = <&usb1_vbus>; |
| 413 | }; |
| 414 | }; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 415 | |
| 416 | sg_clk: clock-controller { |
| 417 | compatible = "socionext,uniphier-pro4-sg-clock"; |
| 418 | #clock-cells = <1>; |
| 419 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 420 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 421 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 422 | syscon@5f900000 { |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 423 | compatible = "socionext,uniphier-pro4-soc-glue-debug", |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 424 | "simple-mfd", "syscon"; |
| 425 | reg = <0x5f900000 0x2000>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 426 | #address-cells = <1>; |
| 427 | #size-cells = <1>; |
| 428 | ranges = <0 0x5f900000 0x2000>; |
| 429 | |
| 430 | efuse@100 { |
| 431 | compatible = "socionext,uniphier-efuse"; |
| 432 | reg = <0x100 0x28>; |
| 433 | }; |
| 434 | |
| 435 | efuse@130 { |
| 436 | compatible = "socionext,uniphier-efuse"; |
| 437 | reg = <0x130 0x8>; |
| 438 | }; |
| 439 | |
| 440 | efuse@200 { |
| 441 | compatible = "socionext,uniphier-efuse"; |
| 442 | reg = <0x200 0x14>; |
| 443 | }; |
| 444 | }; |
| 445 | |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 446 | xdmac: dma-controller@5fc10000 { |
| 447 | compatible = "socionext,uniphier-xdmac"; |
| 448 | reg = <0x5fc10000 0x5300>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 449 | interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 423471f | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 450 | dma-channels = <16>; |
| 451 | #dma-cells = <2>; |
| 452 | }; |
| 453 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 454 | aidet: interrupt-controller@5fc20000 { |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 455 | compatible = "socionext,uniphier-pro4-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 456 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 457 | interrupt-controller; |
| 458 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 459 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 460 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 461 | timer@60000200 { |
| 462 | compatible = "arm,cortex-a9-global-timer"; |
| 463 | reg = <0x60000200 0x20>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 464 | interrupts = <GIC_PPI 11 |
| 465 | (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 466 | clocks = <&arm_timer_clk>; |
| 467 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 468 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 469 | timer@60000600 { |
| 470 | compatible = "arm,cortex-a9-twd-timer"; |
| 471 | reg = <0x60000600 0x20>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 472 | interrupts = <GIC_PPI 13 |
| 473 | (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 474 | clocks = <&arm_timer_clk>; |
| 475 | }; |
| 476 | |
| 477 | intc: interrupt-controller@60001000 { |
| 478 | compatible = "arm,cortex-a9-gic"; |
| 479 | reg = <0x60001000 0x1000>, |
| 480 | <0x60000100 0x100>; |
| 481 | #interrupt-cells = <3>; |
| 482 | interrupt-controller; |
| 483 | }; |
| 484 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 485 | syscon@61840000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 486 | compatible = "socionext,uniphier-pro4-sysctrl", |
| 487 | "simple-mfd", "syscon"; |
| 488 | reg = <0x61840000 0x10000>; |
| 489 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 490 | sys_clk: clock-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 491 | compatible = "socionext,uniphier-pro4-clock"; |
| 492 | #clock-cells = <1>; |
| 493 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 494 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 495 | sys_rst: reset-controller { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 496 | compatible = "socionext,uniphier-pro4-reset"; |
| 497 | #reset-cells = <1>; |
| 498 | }; |
| 499 | }; |
| 500 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 501 | eth: ethernet@65000000 { |
| 502 | compatible = "socionext,uniphier-pro4-ave4"; |
| 503 | status = "disabled"; |
| 504 | reg = <0x65000000 0x8500>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 505 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 506 | pinctrl-names = "default"; |
| 507 | pinctrl-0 = <&pinctrl_ether_rgmii>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 508 | clock-names = "gio", "ether", "ether-gb", "ether-phy"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 509 | clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>, |
Masahiro Yamada | db1d0d4 | 2018-06-19 16:11:46 +0900 | [diff] [blame] | 510 | <&sys_clk 10>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 511 | reset-names = "gio", "ether"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 512 | resets = <&sys_rst 12>, <&sys_rst 6>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 513 | phy-mode = "rgmii"; |
| 514 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 515 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 516 | |
| 517 | mdio: mdio { |
| 518 | #address-cells = <1>; |
| 519 | #size-cells = <0>; |
| 520 | }; |
| 521 | }; |
| 522 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 523 | ahci0: sata@65600000 { |
| 524 | compatible = "socionext,uniphier-pro4-ahci", |
| 525 | "generic-ahci"; |
| 526 | status = "disabled"; |
| 527 | reg = <0x65600000 0x10000>; |
| 528 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 529 | clocks = <&sys_clk 12>, <&sys_clk 28>; |
| 530 | resets = <&sys_rst 12>, <&sys_rst 28>, <&ahci0_rst 3>; |
| 531 | ports-implemented = <1>; |
| 532 | phys = <&ahci0_phy>; |
| 533 | assigned-clocks = <&sg_clk 0>; |
| 534 | assigned-clock-rates = <25000000>; |
| 535 | }; |
| 536 | |
| 537 | sata-controller@65700000 { |
| 538 | compatible = "socionext,uniphier-pxs2-ahci-glue", |
| 539 | "simple-mfd"; |
| 540 | reg = <0x65700000 0x100>; |
| 541 | #address-cells = <1>; |
| 542 | #size-cells = <1>; |
| 543 | ranges = <0 0x65700000 0x100>; |
| 544 | |
| 545 | ahci0_rst: reset-controller@0 { |
| 546 | compatible = "socionext,uniphier-pro4-ahci-reset"; |
| 547 | reg = <0x0 0x4>; |
| 548 | clock-names = "gio", "link"; |
| 549 | clocks = <&sys_clk 12>, <&sys_clk 28>; |
| 550 | reset-names = "gio", "link"; |
| 551 | resets = <&sys_rst 12>, <&sys_rst 28>; |
| 552 | #reset-cells = <1>; |
| 553 | }; |
| 554 | |
| 555 | ahci0_phy: phy@10 { |
| 556 | compatible = "socionext,uniphier-pro4-ahci-phy"; |
| 557 | reg = <0x10 0x40>; |
| 558 | clock-names = "link", "gio"; |
| 559 | clocks = <&sys_clk 28>, <&sys_clk 12>; |
| 560 | reset-names = "link", "gio", "phy", |
| 561 | "pm", "tx", "rx"; |
| 562 | resets = <&sys_rst 28>, <&sys_rst 12>, |
| 563 | <&sys_rst 30>, |
| 564 | <&ahci0_rst 0>, <&ahci0_rst 1>, |
| 565 | <&ahci0_rst 2>; |
| 566 | #phy-cells = <0>; |
| 567 | }; |
| 568 | }; |
| 569 | |
| 570 | ahci1: sata@65800000 { |
| 571 | compatible = "socionext,uniphier-pro4-ahci", |
| 572 | "generic-ahci"; |
| 573 | status = "disabled"; |
| 574 | reg = <0x65800000 0x10000>; |
| 575 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 576 | clocks = <&sys_clk 12>, <&sys_clk 29>; |
| 577 | resets = <&sys_rst 12>, <&sys_rst 29>, <&ahci1_rst 3>; |
| 578 | ports-implemented = <1>; |
| 579 | phys = <&ahci1_phy>; |
| 580 | assigned-clocks = <&sg_clk 0>; |
| 581 | assigned-clock-rates = <25000000>; |
| 582 | }; |
| 583 | |
| 584 | sata-controller@65900000 { |
| 585 | compatible = "socionext,uniphier-pro4-ahci-glue", |
| 586 | "simple-mfd"; |
| 587 | reg = <0x65900000 0x100>; |
| 588 | #address-cells = <1>; |
| 589 | #size-cells = <1>; |
| 590 | ranges = <0 0x65900000 0x100>; |
| 591 | |
| 592 | ahci1_rst: reset-controller@0 { |
| 593 | compatible = "socionext,uniphier-pro4-ahci-reset"; |
| 594 | reg = <0x0 0x4>; |
| 595 | clock-names = "gio", "link"; |
| 596 | clocks = <&sys_clk 12>, <&sys_clk 29>; |
| 597 | reset-names = "gio", "link"; |
| 598 | resets = <&sys_rst 12>, <&sys_rst 29>; |
| 599 | #reset-cells = <1>; |
| 600 | }; |
| 601 | |
| 602 | ahci1_phy: phy@10 { |
| 603 | compatible = "socionext,uniphier-pro4-ahci-phy"; |
| 604 | reg = <0x10 0x40>; |
| 605 | clock-names = "link", "gio"; |
| 606 | clocks = <&sys_clk 29>, <&sys_clk 12>; |
| 607 | reset-names = "link", "gio", "phy", |
| 608 | "pm", "tx", "rx"; |
| 609 | resets = <&sys_rst 29>, <&sys_rst 12>, |
| 610 | <&sys_rst 30>, |
| 611 | <&ahci1_rst 0>, <&ahci1_rst 1>, |
| 612 | <&ahci1_rst 2>; |
| 613 | #phy-cells = <0>; |
| 614 | }; |
| 615 | }; |
| 616 | |
Kunihiko Hayashi | 99eda99 | 2023-02-28 11:37:08 +0900 | [diff] [blame] | 617 | usb0: usb@65a00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 618 | compatible = "socionext,uniphier-dwc3", "snps,dwc3"; |
| 619 | status = "disabled"; |
| 620 | reg = <0x65a00000 0xcd00>; |
| 621 | interrupt-names = "host", "peripheral"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 622 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, |
| 623 | <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 624 | pinctrl-names = "default"; |
| 625 | pinctrl-0 = <&pinctrl_usb0>; |
| 626 | clock-names = "ref", "bus_early", "suspend"; |
| 627 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; |
| 628 | resets = <&usb0_rst 4>; |
| 629 | phys = <&usb_phy2>, <&usb0_ssphy>; |
| 630 | dr_mode = "host"; |
| 631 | }; |
| 632 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 633 | usb-controller@65b00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 634 | compatible = "socionext,uniphier-pro4-dwc3-glue", |
| 635 | "simple-mfd"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 636 | reg = <0x65b00000 0x100>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 637 | #address-cells = <1>; |
| 638 | #size-cells = <1>; |
| 639 | ranges = <0 0x65b00000 0x100>; |
| 640 | |
| 641 | usb0_vbus: regulator@0 { |
| 642 | compatible = "socionext,uniphier-pro4-usb3-regulator"; |
| 643 | reg = <0 0x10>; |
| 644 | clock-names = "gio", "link"; |
| 645 | clocks = <&sys_clk 12>, <&sys_clk 14>; |
| 646 | reset-names = "gio", "link"; |
| 647 | resets = <&sys_rst 12>, <&sys_rst 14>; |
| 648 | }; |
| 649 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 650 | usb0_ssphy: phy@10 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 651 | compatible = "socionext,uniphier-pro4-usb3-ssphy"; |
| 652 | reg = <0x10 0x10>; |
| 653 | #phy-cells = <0>; |
| 654 | clock-names = "gio", "link"; |
| 655 | clocks = <&sys_clk 12>, <&sys_clk 14>; |
| 656 | reset-names = "gio", "link"; |
| 657 | resets = <&sys_rst 12>, <&sys_rst 14>; |
| 658 | vbus-supply = <&usb0_vbus>; |
| 659 | }; |
| 660 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 661 | usb0_rst: reset-controller@40 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 662 | compatible = "socionext,uniphier-pro4-usb3-reset"; |
| 663 | reg = <0x40 0x4>; |
| 664 | #reset-cells = <1>; |
| 665 | clock-names = "gio", "link"; |
| 666 | clocks = <&sys_clk 12>, <&sys_clk 14>; |
| 667 | reset-names = "gio", "link"; |
| 668 | resets = <&sys_rst 12>, <&sys_rst 14>; |
| 669 | }; |
| 670 | }; |
| 671 | |
Kunihiko Hayashi | 99eda99 | 2023-02-28 11:37:08 +0900 | [diff] [blame] | 672 | usb1: usb@65c00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 673 | compatible = "socionext,uniphier-dwc3", "snps,dwc3"; |
| 674 | status = "disabled"; |
| 675 | reg = <0x65c00000 0xcd00>; |
| 676 | interrupt-names = "host", "peripheral"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 677 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 678 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 679 | pinctrl-names = "default"; |
| 680 | pinctrl-0 = <&pinctrl_usb1>; |
| 681 | clock-names = "ref", "bus_early", "suspend"; |
| 682 | clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>; |
| 683 | resets = <&usb1_rst 4>; |
| 684 | phys = <&usb_phy3>; |
| 685 | dr_mode = "host"; |
| 686 | }; |
| 687 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 688 | usb-controller@65d00000 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 689 | compatible = "socionext,uniphier-pro4-dwc3-glue", |
| 690 | "simple-mfd"; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 691 | reg = <0x65d00000 0x100>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 692 | #address-cells = <1>; |
| 693 | #size-cells = <1>; |
| 694 | ranges = <0 0x65d00000 0x100>; |
| 695 | |
| 696 | usb1_vbus: regulator@0 { |
| 697 | compatible = "socionext,uniphier-pro4-usb3-regulator"; |
| 698 | reg = <0 0x10>; |
| 699 | clock-names = "gio", "link"; |
| 700 | clocks = <&sys_clk 12>, <&sys_clk 15>; |
| 701 | reset-names = "gio", "link"; |
| 702 | resets = <&sys_rst 12>, <&sys_rst 15>; |
| 703 | }; |
| 704 | |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 705 | usb1_rst: reset-controller@40 { |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 706 | compatible = "socionext,uniphier-pro4-usb3-reset"; |
| 707 | reg = <0x40 0x4>; |
| 708 | #reset-cells = <1>; |
| 709 | clock-names = "gio", "link"; |
| 710 | clocks = <&sys_clk 12>, <&sys_clk 15>; |
| 711 | reset-names = "gio", "link"; |
| 712 | resets = <&sys_rst 12>, <&sys_rst 15>; |
| 713 | }; |
| 714 | }; |
| 715 | |
Masahiro Yamada | 277516a | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 716 | nand: nand-controller@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 717 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 718 | status = "disabled"; |
| 719 | reg-names = "nand_data", "denali_reg"; |
| 720 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
Kunihiko Hayashi | c13863f | 2023-02-28 11:37:09 +0900 | [diff] [blame] | 721 | #address-cells = <1>; |
| 722 | #size-cells = <0>; |
| 723 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 724 | pinctrl-names = "default"; |
| 725 | pinctrl-0 = <&pinctrl_nand>; |
Masahiro Yamada | 6bd84d7 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 726 | clock-names = "nand", "nand_x", "ecc"; |
| 727 | clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>; |
Masahiro Yamada | b226e52 | 2020-02-28 21:57:20 +0900 | [diff] [blame] | 728 | reset-names = "nand", "reg"; |
| 729 | resets = <&sys_rst 2>, <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 730 | }; |
| 731 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 732 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 733 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 734 | #include "uniphier-pinctrl.dtsi" |