Masahiro Yamada | 3e98fc1 | 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 PXs2 SoC |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/uniphier-gpio.h> |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 10 | #include <dt-bindings/thermal/thermal.h> |
| 11 | |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 12 | / { |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 13 | compatible = "socionext,uniphier-pxs2"; |
Masahiro Yamada | f16eda9 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 14 | #address-cells = <1>; |
| 15 | #size-cells = <1>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 16 | |
| 17 | cpus { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 20 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 21 | cpu0: cpu@0 { |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a9"; |
| 24 | reg = <0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 25 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 26 | enable-method = "psci"; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 27 | next-level-cache = <&l2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 28 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 29 | #cooling-cells = <2>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 30 | }; |
| 31 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 32 | cpu1: cpu@1 { |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 33 | device_type = "cpu"; |
| 34 | compatible = "arm,cortex-a9"; |
| 35 | reg = <1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 36 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 37 | enable-method = "psci"; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 38 | next-level-cache = <&l2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 39 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | 33aae6b | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 40 | #cooling-cells = <2>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 41 | }; |
| 42 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 43 | cpu2: cpu@2 { |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 44 | device_type = "cpu"; |
| 45 | compatible = "arm,cortex-a9"; |
| 46 | reg = <2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 47 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 48 | enable-method = "psci"; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 49 | next-level-cache = <&l2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 50 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | 33aae6b | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 51 | #cooling-cells = <2>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 52 | }; |
| 53 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 54 | cpu3: cpu@3 { |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 55 | device_type = "cpu"; |
| 56 | compatible = "arm,cortex-a9"; |
| 57 | reg = <3>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 58 | clocks = <&sys_clk 32>; |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 59 | enable-method = "psci"; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 60 | next-level-cache = <&l2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 61 | operating-points-v2 = <&cpu_opp>; |
Masahiro Yamada | 33aae6b | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 62 | #cooling-cells = <2>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 63 | }; |
| 64 | }; |
| 65 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 66 | cpu_opp: opp-table { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 67 | compatible = "operating-points-v2"; |
| 68 | opp-shared; |
| 69 | |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 70 | opp-100000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 71 | opp-hz = /bits/ 64 <100000000>; |
| 72 | clock-latency-ns = <300>; |
| 73 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 74 | opp-150000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 75 | opp-hz = /bits/ 64 <150000000>; |
| 76 | clock-latency-ns = <300>; |
| 77 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 78 | opp-200000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 79 | opp-hz = /bits/ 64 <200000000>; |
| 80 | clock-latency-ns = <300>; |
| 81 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 82 | opp-300000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 83 | opp-hz = /bits/ 64 <300000000>; |
| 84 | clock-latency-ns = <300>; |
| 85 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 86 | opp-400000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 87 | opp-hz = /bits/ 64 <400000000>; |
| 88 | clock-latency-ns = <300>; |
| 89 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 90 | opp-600000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 91 | opp-hz = /bits/ 64 <600000000>; |
| 92 | clock-latency-ns = <300>; |
| 93 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 94 | opp-800000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 95 | opp-hz = /bits/ 64 <800000000>; |
| 96 | clock-latency-ns = <300>; |
| 97 | }; |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 98 | opp-1200000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 99 | opp-hz = /bits/ 64 <1200000000>; |
| 100 | clock-latency-ns = <300>; |
| 101 | }; |
| 102 | }; |
| 103 | |
| 104 | psci { |
| 105 | compatible = "arm,psci-0.2"; |
| 106 | method = "smc"; |
| 107 | }; |
| 108 | |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 109 | clocks { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 110 | refclk: ref { |
| 111 | compatible = "fixed-clock"; |
| 112 | #clock-cells = <0>; |
| 113 | clock-frequency = <25000000>; |
| 114 | }; |
| 115 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 116 | arm_timer_clk: arm-timer { |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 117 | #clock-cells = <0>; |
| 118 | compatible = "fixed-clock"; |
| 119 | clock-frequency = <50000000>; |
| 120 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 121 | }; |
| 122 | |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 123 | thermal-zones { |
| 124 | cpu-thermal { |
| 125 | polling-delay-passive = <250>; /* 250ms */ |
| 126 | polling-delay = <1000>; /* 1000ms */ |
| 127 | thermal-sensors = <&pvtctl>; |
| 128 | |
| 129 | trips { |
| 130 | cpu_crit: cpu-crit { |
| 131 | temperature = <95000>; /* 95C */ |
| 132 | hysteresis = <2000>; |
| 133 | type = "critical"; |
| 134 | }; |
| 135 | cpu_alert: cpu-alert { |
| 136 | temperature = <85000>; /* 85C */ |
| 137 | hysteresis = <2000>; |
| 138 | type = "passive"; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | cooling-maps { |
| 143 | map { |
| 144 | trip = <&cpu_alert>; |
Masahiro Yamada | cd33fed | 2019-04-12 18:55:50 +0900 | [diff] [blame] | 145 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 146 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 147 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 148 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 149 | }; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
| 153 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 154 | soc { |
| 155 | compatible = "simple-bus"; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 156 | #address-cells = <1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 157 | #size-cells = <1>; |
| 158 | ranges; |
| 159 | interrupt-parent = <&intc>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 160 | |
Masahiro Yamada | 44ebaa8 | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 161 | l2: cache-controller@500c0000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 162 | compatible = "socionext,uniphier-system-cache"; |
| 163 | reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, |
| 164 | <0x506c0000 0x400>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 165 | interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, |
| 166 | <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>, |
| 167 | <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
| 168 | <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 169 | cache-unified; |
| 170 | cache-size = <(1280 * 1024)>; |
| 171 | cache-sets = <512>; |
| 172 | cache-line-size = <128>; |
| 173 | cache-level = <2>; |
| 174 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 175 | |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 176 | spi0: spi@54006000 { |
| 177 | compatible = "socionext,uniphier-scssi"; |
| 178 | status = "disabled"; |
| 179 | reg = <0x54006000 0x100>; |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 182 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 183 | pinctrl-names = "default"; |
| 184 | pinctrl-0 = <&pinctrl_spi0>; |
| 185 | clocks = <&peri_clk 11>; |
| 186 | resets = <&peri_rst 11>; |
| 187 | }; |
| 188 | |
| 189 | spi1: spi@54006100 { |
| 190 | compatible = "socionext,uniphier-scssi"; |
| 191 | status = "disabled"; |
| 192 | reg = <0x54006100 0x100>; |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 193 | #address-cells = <1>; |
| 194 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 195 | interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 196 | pinctrl-names = "default"; |
| 197 | pinctrl-0 = <&pinctrl_spi1>; |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 198 | clocks = <&peri_clk 12>; |
| 199 | resets = <&peri_rst 12>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 200 | }; |
| 201 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 202 | serial0: serial@54006800 { |
| 203 | compatible = "socionext,uniphier-uart"; |
| 204 | status = "disabled"; |
| 205 | reg = <0x54006800 0x40>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 206 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 207 | pinctrl-names = "default"; |
| 208 | pinctrl-0 = <&pinctrl_uart0>; |
| 209 | clocks = <&peri_clk 0>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 210 | resets = <&peri_rst 0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 211 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 212 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 213 | serial1: serial@54006900 { |
| 214 | compatible = "socionext,uniphier-uart"; |
| 215 | status = "disabled"; |
| 216 | reg = <0x54006900 0x40>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 217 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 218 | pinctrl-names = "default"; |
| 219 | pinctrl-0 = <&pinctrl_uart1>; |
| 220 | clocks = <&peri_clk 1>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 221 | resets = <&peri_rst 1>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 222 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 223 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 224 | serial2: serial@54006a00 { |
| 225 | compatible = "socionext,uniphier-uart"; |
| 226 | status = "disabled"; |
| 227 | reg = <0x54006a00 0x40>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 228 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 229 | pinctrl-names = "default"; |
| 230 | pinctrl-0 = <&pinctrl_uart2>; |
| 231 | clocks = <&peri_clk 2>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 232 | resets = <&peri_rst 2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 233 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 234 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 235 | serial3: serial@54006b00 { |
| 236 | compatible = "socionext,uniphier-uart"; |
| 237 | status = "disabled"; |
| 238 | reg = <0x54006b00 0x40>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 239 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 240 | pinctrl-names = "default"; |
| 241 | pinctrl-0 = <&pinctrl_uart3>; |
| 242 | clocks = <&peri_clk 3>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 243 | resets = <&peri_rst 3>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 244 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 245 | |
Masahiro Yamada | 0f72b74 | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 246 | gpio: gpio@55000000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 247 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 0f72b74 | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 248 | reg = <0x55000000 0x200>; |
| 249 | interrupt-parent = <&aidet>; |
| 250 | interrupt-controller; |
| 251 | #interrupt-cells = <2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 252 | gpio-controller; |
| 253 | #gpio-cells = <2>; |
Masahiro Yamada | 0f72b74 | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 254 | gpio-ranges = <&pinctrl 0 0 0>, |
| 255 | <&pinctrl 96 0 0>; |
| 256 | gpio-ranges-group-names = "gpio_range0", |
| 257 | "gpio_range1"; |
| 258 | ngpios = <232>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 259 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>, |
| 260 | <21 217 3>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 261 | }; |
| 262 | |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 263 | audio@56000000 { |
| 264 | compatible = "socionext,uniphier-pxs2-aio"; |
| 265 | reg = <0x56000000 0x80000>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 266 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 267 | pinctrl-names = "default"; |
| 268 | pinctrl-0 = <&pinctrl_ain1>, |
| 269 | <&pinctrl_ain2>, |
| 270 | <&pinctrl_ainiec1>, |
| 271 | <&pinctrl_aout2>, |
| 272 | <&pinctrl_aout3>, |
| 273 | <&pinctrl_aoutiec1>, |
| 274 | <&pinctrl_aoutiec2>; |
| 275 | clock-names = "aio"; |
| 276 | clocks = <&sys_clk 40>; |
| 277 | reset-names = "aio"; |
| 278 | resets = <&sys_rst 40>; |
| 279 | #sound-dai-cells = <1>; |
| 280 | socionext,syscon = <&soc_glue>; |
| 281 | |
| 282 | i2s_port0: port@0 { |
| 283 | i2s_hdmi: endpoint { |
| 284 | }; |
| 285 | }; |
| 286 | |
| 287 | i2s_port1: port@1 { |
| 288 | i2s_line: endpoint { |
| 289 | }; |
| 290 | }; |
| 291 | |
| 292 | i2s_port2: port@2 { |
| 293 | i2s_aux: endpoint { |
| 294 | }; |
| 295 | }; |
| 296 | |
| 297 | spdif_port0: port@3 { |
| 298 | spdif_hiecout1: endpoint { |
| 299 | }; |
| 300 | }; |
| 301 | |
| 302 | spdif_port1: port@4 { |
| 303 | spdif_iecout1: endpoint { |
| 304 | }; |
| 305 | }; |
| 306 | |
| 307 | comp_spdif_port0: port@5 { |
| 308 | comp_spdif_hiecout1: endpoint { |
| 309 | }; |
| 310 | }; |
| 311 | |
| 312 | comp_spdif_port1: port@6 { |
| 313 | comp_spdif_iecout1: endpoint { |
| 314 | }; |
| 315 | }; |
| 316 | }; |
| 317 | |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 318 | i2c0: i2c@58780000 { |
| 319 | compatible = "socionext,uniphier-fi2c"; |
| 320 | status = "disabled"; |
| 321 | reg = <0x58780000 0x80>; |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 324 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 325 | pinctrl-names = "default"; |
| 326 | pinctrl-0 = <&pinctrl_i2c0>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 327 | clocks = <&peri_clk 4>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 328 | resets = <&peri_rst 4>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 329 | clock-frequency = <100000>; |
| 330 | }; |
| 331 | |
| 332 | i2c1: i2c@58781000 { |
| 333 | compatible = "socionext,uniphier-fi2c"; |
| 334 | status = "disabled"; |
| 335 | reg = <0x58781000 0x80>; |
| 336 | #address-cells = <1>; |
| 337 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 338 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 339 | pinctrl-names = "default"; |
| 340 | pinctrl-0 = <&pinctrl_i2c1>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 341 | clocks = <&peri_clk 5>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 342 | resets = <&peri_rst 5>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 343 | clock-frequency = <100000>; |
| 344 | }; |
| 345 | |
| 346 | i2c2: i2c@58782000 { |
| 347 | compatible = "socionext,uniphier-fi2c"; |
| 348 | status = "disabled"; |
| 349 | reg = <0x58782000 0x80>; |
| 350 | #address-cells = <1>; |
| 351 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 352 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 353 | pinctrl-names = "default"; |
| 354 | pinctrl-0 = <&pinctrl_i2c2>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 355 | clocks = <&peri_clk 6>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 356 | resets = <&peri_rst 6>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 357 | clock-frequency = <100000>; |
| 358 | }; |
| 359 | |
| 360 | i2c3: i2c@58783000 { |
| 361 | compatible = "socionext,uniphier-fi2c"; |
| 362 | status = "disabled"; |
| 363 | reg = <0x58783000 0x80>; |
| 364 | #address-cells = <1>; |
| 365 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 366 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 367 | pinctrl-names = "default"; |
| 368 | pinctrl-0 = <&pinctrl_i2c3>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 369 | clocks = <&peri_clk 7>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 370 | resets = <&peri_rst 7>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 371 | clock-frequency = <100000>; |
| 372 | }; |
| 373 | |
| 374 | /* chip-internal connection for DMD */ |
| 375 | i2c4: i2c@58784000 { |
| 376 | compatible = "socionext,uniphier-fi2c"; |
| 377 | reg = <0x58784000 0x80>; |
| 378 | #address-cells = <1>; |
| 379 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 380 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 381 | clocks = <&peri_clk 8>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 382 | resets = <&peri_rst 8>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 383 | clock-frequency = <400000>; |
| 384 | }; |
| 385 | |
| 386 | /* chip-internal connection for STM */ |
| 387 | i2c5: i2c@58785000 { |
| 388 | compatible = "socionext,uniphier-fi2c"; |
| 389 | reg = <0x58785000 0x80>; |
| 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 392 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 393 | clocks = <&peri_clk 9>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 394 | resets = <&peri_rst 9>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 395 | clock-frequency = <400000>; |
| 396 | }; |
| 397 | |
| 398 | /* chip-internal connection for HDMI */ |
| 399 | i2c6: i2c@58786000 { |
| 400 | compatible = "socionext,uniphier-fi2c"; |
| 401 | reg = <0x58786000 0x80>; |
| 402 | #address-cells = <1>; |
| 403 | #size-cells = <0>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 404 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 405 | clocks = <&peri_clk 10>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 406 | resets = <&peri_rst 10>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 407 | clock-frequency = <400000>; |
| 408 | }; |
| 409 | |
| 410 | system_bus: system-bus@58c00000 { |
| 411 | compatible = "socionext,uniphier-system-bus"; |
| 412 | status = "disabled"; |
| 413 | reg = <0x58c00000 0x400>; |
| 414 | #address-cells = <2>; |
| 415 | #size-cells = <1>; |
| 416 | pinctrl-names = "default"; |
| 417 | pinctrl-0 = <&pinctrl_system_bus>; |
| 418 | }; |
| 419 | |
Masahiro Yamada | abb6ac2 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 420 | smpctrl@59801000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 421 | compatible = "socionext,uniphier-smpctrl"; |
| 422 | reg = <0x59801000 0x400>; |
| 423 | }; |
| 424 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 425 | sdctrl: syscon@59810000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 426 | compatible = "socionext,uniphier-pxs2-sdctrl", |
| 427 | "simple-mfd", "syscon"; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 428 | reg = <0x59810000 0x400>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 429 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 430 | sd_clk: clock-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 431 | compatible = "socionext,uniphier-pxs2-sd-clock"; |
| 432 | #clock-cells = <1>; |
| 433 | }; |
| 434 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 435 | sd_rst: reset-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 436 | compatible = "socionext,uniphier-pxs2-sd-reset"; |
| 437 | #reset-cells = <1>; |
| 438 | }; |
| 439 | }; |
| 440 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 441 | syscon@59820000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 442 | compatible = "socionext,uniphier-pxs2-perictrl", |
| 443 | "simple-mfd", "syscon"; |
| 444 | reg = <0x59820000 0x200>; |
| 445 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 446 | peri_clk: clock-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 447 | compatible = "socionext,uniphier-pxs2-peri-clock"; |
| 448 | #clock-cells = <1>; |
| 449 | }; |
| 450 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 451 | peri_rst: reset-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 452 | compatible = "socionext,uniphier-pxs2-peri-reset"; |
| 453 | #reset-cells = <1>; |
| 454 | }; |
| 455 | }; |
| 456 | |
Masahiro Yamada | 44ebaa8 | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 457 | emmc: mmc@5a000000 { |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 458 | compatible = "socionext,uniphier-sd-v3.1.1"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 459 | status = "disabled"; |
| 460 | reg = <0x5a000000 0x800>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 461 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 462 | pinctrl-names = "default"; |
| 463 | pinctrl-0 = <&pinctrl_emmc>; |
| 464 | clocks = <&sd_clk 1>; |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 465 | reset-names = "host", "hw"; |
| 466 | resets = <&sd_rst 1>, <&sd_rst 6>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 467 | bus-width = <8>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 468 | cap-mmc-highspeed; |
| 469 | cap-mmc-hw-reset; |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 470 | non-removable; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 471 | }; |
| 472 | |
Masahiro Yamada | 44ebaa8 | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 473 | sd: mmc@5a400000 { |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 474 | compatible = "socionext,uniphier-sd-v3.1.1"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 475 | status = "disabled"; |
| 476 | reg = <0x5a400000 0x800>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 477 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 478 | pinctrl-names = "default", "uhs"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 479 | pinctrl-0 = <&pinctrl_sd>; |
Masahiro Yamada | c3ab1e1 | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 480 | pinctrl-1 = <&pinctrl_sd_uhs>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 481 | clocks = <&sd_clk 0>; |
| 482 | reset-names = "host"; |
| 483 | resets = <&sd_rst 0>; |
| 484 | bus-width = <4>; |
| 485 | cap-sd-highspeed; |
| 486 | sd-uhs-sdr12; |
| 487 | sd-uhs-sdr25; |
| 488 | sd-uhs-sdr50; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 489 | socionext,syscon-uhs-mode = <&sdctrl 0>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 490 | }; |
| 491 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 492 | soc_glue: syscon@5f800000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 493 | compatible = "socionext,uniphier-pxs2-soc-glue", |
| 494 | "simple-mfd", "syscon"; |
| 495 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 496 | |
| 497 | pinctrl: pinctrl { |
| 498 | compatible = "socionext,uniphier-pxs2-pinctrl"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 499 | }; |
| 500 | }; |
| 501 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 502 | syscon@5f900000 { |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 503 | compatible = "socionext,uniphier-pxs2-soc-glue-debug", |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 504 | "simple-mfd", "syscon"; |
| 505 | reg = <0x5f900000 0x2000>; |
Masahiro Yamada | 46820e3 | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 506 | #address-cells = <1>; |
| 507 | #size-cells = <1>; |
| 508 | ranges = <0 0x5f900000 0x2000>; |
| 509 | |
| 510 | efuse@100 { |
| 511 | compatible = "socionext,uniphier-efuse"; |
| 512 | reg = <0x100 0x28>; |
| 513 | }; |
| 514 | |
| 515 | efuse@200 { |
| 516 | compatible = "socionext,uniphier-efuse"; |
| 517 | reg = <0x200 0x58>; |
| 518 | }; |
| 519 | }; |
| 520 | |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 521 | xdmac: dma-controller@5fc10000 { |
| 522 | compatible = "socionext,uniphier-xdmac"; |
| 523 | reg = <0x5fc10000 0x5300>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 524 | interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 0852033 | 2020-07-09 15:08:14 +0900 | [diff] [blame] | 525 | dma-channels = <16>; |
| 526 | #dma-cells = <2>; |
| 527 | }; |
| 528 | |
Masahiro Yamada | 44ebaa8 | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 529 | aidet: interrupt-controller@5fc20000 { |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 530 | compatible = "socionext,uniphier-pxs2-aidet"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 531 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 532 | interrupt-controller; |
| 533 | #interrupt-cells = <2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 534 | }; |
| 535 | |
| 536 | timer@60000200 { |
| 537 | compatible = "arm,cortex-a9-global-timer"; |
| 538 | reg = <0x60000200 0x20>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 539 | interrupts = <GIC_PPI 11 |
| 540 | (GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 541 | clocks = <&arm_timer_clk>; |
| 542 | }; |
| 543 | |
| 544 | timer@60000600 { |
| 545 | compatible = "arm,cortex-a9-twd-timer"; |
| 546 | reg = <0x60000600 0x20>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 547 | interrupts = <GIC_PPI 13 |
| 548 | (GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 549 | clocks = <&arm_timer_clk>; |
| 550 | }; |
| 551 | |
| 552 | intc: interrupt-controller@60001000 { |
| 553 | compatible = "arm,cortex-a9-gic"; |
| 554 | reg = <0x60001000 0x1000>, |
| 555 | <0x60000100 0x100>; |
| 556 | #interrupt-cells = <3>; |
| 557 | interrupt-controller; |
| 558 | }; |
| 559 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 560 | syscon@61840000 { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 561 | compatible = "socionext,uniphier-pxs2-sysctrl", |
| 562 | "simple-mfd", "syscon"; |
Masahiro Yamada | 7317a94 | 2017-03-13 00:16:41 +0900 | [diff] [blame] | 563 | reg = <0x61840000 0x10000>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 564 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 565 | sys_clk: clock-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 566 | compatible = "socionext,uniphier-pxs2-clock"; |
| 567 | #clock-cells = <1>; |
| 568 | }; |
| 569 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 570 | sys_rst: reset-controller { |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 571 | compatible = "socionext,uniphier-pxs2-reset"; |
| 572 | #reset-cells = <1>; |
| 573 | }; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 574 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 575 | pvtctl: thermal-sensor { |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 576 | compatible = "socionext,uniphier-pxs2-thermal"; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 577 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | b443fb4 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 578 | #thermal-sensor-cells = <0>; |
| 579 | socionext,tmod-calibration = <0x0f86 0x6844>; |
| 580 | }; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 581 | }; |
| 582 | |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 583 | eth: ethernet@65000000 { |
| 584 | compatible = "socionext,uniphier-pxs2-ave4"; |
| 585 | status = "disabled"; |
| 586 | reg = <0x65000000 0x8500>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 587 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 588 | pinctrl-names = "default"; |
| 589 | pinctrl-0 = <&pinctrl_ether_rgmii>; |
Kunihiko Hayashi | 3c0fa6c | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 590 | clock-names = "ether"; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 591 | clocks = <&sys_clk 6>; |
Kunihiko Hayashi | 3c0fa6c | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 592 | reset-names = "ether"; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 593 | resets = <&sys_rst 6>; |
Kunihiko Hayashi | dd8c313 | 2022-07-13 10:59:45 +0900 | [diff] [blame] | 594 | phy-mode = "rgmii-id"; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 595 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | 69b3d4e | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 596 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 3e98fc1 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 597 | |
| 598 | mdio: mdio { |
| 599 | #address-cells = <1>; |
| 600 | #size-cells = <0>; |
| 601 | }; |
| 602 | }; |
| 603 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 604 | ahci: sata@65600000 { |
| 605 | compatible = "socionext,uniphier-pxs2-ahci", |
| 606 | "generic-ahci"; |
| 607 | status = "disabled"; |
| 608 | reg = <0x65600000 0x10000>; |
| 609 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 610 | clocks = <&sys_clk 28>; |
| 611 | resets = <&sys_rst 28>, <&ahci_rst 0>; |
| 612 | ports-implemented = <1>; |
| 613 | phys = <&ahci_phy>; |
| 614 | }; |
| 615 | |
| 616 | sata-controller@65700000 { |
| 617 | compatible = "socionext,uniphier-pxs2-ahci-glue", |
| 618 | "simple-mfd"; |
| 619 | reg = <0x65700000 0x100>; |
| 620 | #address-cells = <1>; |
| 621 | #size-cells = <1>; |
| 622 | ranges = <0 0x65700000 0x100>; |
| 623 | |
| 624 | ahci_rst: reset-controller@0 { |
| 625 | compatible = "socionext,uniphier-pxs2-ahci-reset"; |
| 626 | reg = <0x0 0x4>; |
| 627 | clock-names = "link"; |
| 628 | clocks = <&sys_clk 28>; |
| 629 | reset-names = "link"; |
| 630 | resets = <&sys_rst 28>; |
| 631 | #reset-cells = <1>; |
| 632 | }; |
| 633 | |
| 634 | ahci_phy: phy@10 { |
| 635 | compatible = "socionext,uniphier-pxs2-ahci-phy"; |
| 636 | reg = <0x10 0x10>; |
| 637 | clock-names = "link"; |
| 638 | clocks = <&sys_clk 28>; |
| 639 | reset-names = "link", "phy"; |
| 640 | resets = <&sys_rst 28>, <&sys_rst 30>; |
| 641 | #phy-cells = <0>; |
| 642 | }; |
| 643 | }; |
| 644 | |
Kunihiko Hayashi | e800263 | 2023-02-28 11:37:08 +0900 | [diff] [blame] | 645 | usb0: usb@65a00000 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 646 | compatible = "socionext,uniphier-dwc3", "snps,dwc3"; |
| 647 | status = "disabled"; |
| 648 | reg = <0x65a00000 0xcd00>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 649 | interrupt-names = "dwc_usb3"; |
| 650 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 651 | pinctrl-names = "default"; |
| 652 | pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>; |
| 653 | clock-names = "ref", "bus_early", "suspend"; |
| 654 | clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>; |
| 655 | resets = <&usb0_rst 15>; |
| 656 | phys = <&usb0_hsphy0>, <&usb0_hsphy1>, |
| 657 | <&usb0_ssphy0>, <&usb0_ssphy1>; |
| 658 | dr_mode = "host"; |
| 659 | }; |
| 660 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 661 | usb-controller@65b00000 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 662 | compatible = "socionext,uniphier-pxs2-dwc3-glue", |
| 663 | "simple-mfd"; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 664 | reg = <0x65b00000 0x400>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 665 | #address-cells = <1>; |
| 666 | #size-cells = <1>; |
| 667 | ranges = <0 0x65b00000 0x400>; |
| 668 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 669 | usb0_rst: reset-controller@0 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 670 | compatible = "socionext,uniphier-pxs2-usb3-reset"; |
| 671 | reg = <0x0 0x4>; |
| 672 | #reset-cells = <1>; |
| 673 | clock-names = "link"; |
| 674 | clocks = <&sys_clk 14>; |
| 675 | reset-names = "link"; |
| 676 | resets = <&sys_rst 14>; |
| 677 | }; |
| 678 | |
| 679 | usb0_vbus0: regulator@100 { |
| 680 | compatible = "socionext,uniphier-pxs2-usb3-regulator"; |
| 681 | reg = <0x100 0x10>; |
| 682 | clock-names = "link"; |
| 683 | clocks = <&sys_clk 14>; |
| 684 | reset-names = "link"; |
| 685 | resets = <&sys_rst 14>; |
| 686 | }; |
| 687 | |
| 688 | usb0_vbus1: regulator@110 { |
| 689 | compatible = "socionext,uniphier-pxs2-usb3-regulator"; |
| 690 | reg = <0x110 0x10>; |
| 691 | clock-names = "link"; |
| 692 | clocks = <&sys_clk 14>; |
| 693 | reset-names = "link"; |
| 694 | resets = <&sys_rst 14>; |
| 695 | }; |
| 696 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 697 | usb0_hsphy0: phy@200 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 698 | compatible = "socionext,uniphier-pxs2-usb3-hsphy"; |
| 699 | reg = <0x200 0x10>; |
| 700 | #phy-cells = <0>; |
| 701 | clock-names = "link", "phy"; |
| 702 | clocks = <&sys_clk 14>, <&sys_clk 16>; |
| 703 | reset-names = "link", "phy"; |
| 704 | resets = <&sys_rst 14>, <&sys_rst 16>; |
| 705 | vbus-supply = <&usb0_vbus0>; |
| 706 | }; |
| 707 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 708 | usb0_hsphy1: phy@210 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 709 | compatible = "socionext,uniphier-pxs2-usb3-hsphy"; |
| 710 | reg = <0x210 0x10>; |
| 711 | #phy-cells = <0>; |
| 712 | clock-names = "link", "phy"; |
| 713 | clocks = <&sys_clk 14>, <&sys_clk 16>; |
| 714 | reset-names = "link", "phy"; |
| 715 | resets = <&sys_rst 14>, <&sys_rst 16>; |
| 716 | vbus-supply = <&usb0_vbus1>; |
| 717 | }; |
| 718 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 719 | usb0_ssphy0: phy@300 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 720 | compatible = "socionext,uniphier-pxs2-usb3-ssphy"; |
| 721 | reg = <0x300 0x10>; |
| 722 | #phy-cells = <0>; |
| 723 | clock-names = "link", "phy"; |
| 724 | clocks = <&sys_clk 14>, <&sys_clk 17>; |
| 725 | reset-names = "link", "phy"; |
| 726 | resets = <&sys_rst 14>, <&sys_rst 17>; |
| 727 | vbus-supply = <&usb0_vbus0>; |
| 728 | }; |
| 729 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 730 | usb0_ssphy1: phy@310 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 731 | compatible = "socionext,uniphier-pxs2-usb3-ssphy"; |
| 732 | reg = <0x310 0x10>; |
| 733 | #phy-cells = <0>; |
| 734 | clock-names = "link", "phy"; |
| 735 | clocks = <&sys_clk 14>, <&sys_clk 18>; |
| 736 | reset-names = "link", "phy"; |
| 737 | resets = <&sys_rst 14>, <&sys_rst 18>; |
| 738 | vbus-supply = <&usb0_vbus1>; |
| 739 | }; |
| 740 | }; |
| 741 | |
Kunihiko Hayashi | e800263 | 2023-02-28 11:37:08 +0900 | [diff] [blame] | 742 | usb1: usb@65c00000 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 743 | compatible = "socionext,uniphier-dwc3", "snps,dwc3"; |
| 744 | status = "disabled"; |
| 745 | reg = <0x65c00000 0xcd00>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 746 | interrupt-names = "dwc_usb3"; |
| 747 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 748 | pinctrl-names = "default"; |
| 749 | pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>; |
| 750 | clock-names = "ref", "bus_early", "suspend"; |
| 751 | clocks = <&sys_clk 15>, <&sys_clk 15>, <&sys_clk 15>; |
| 752 | resets = <&usb1_rst 15>; |
| 753 | phys = <&usb1_hsphy0>, <&usb1_hsphy1>, <&usb1_ssphy0>; |
| 754 | dr_mode = "host"; |
| 755 | }; |
| 756 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 757 | usb-controller@65d00000 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 758 | compatible = "socionext,uniphier-pxs2-dwc3-glue", |
| 759 | "simple-mfd"; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 760 | reg = <0x65d00000 0x400>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 761 | #address-cells = <1>; |
| 762 | #size-cells = <1>; |
| 763 | ranges = <0 0x65d00000 0x400>; |
| 764 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 765 | usb1_rst: reset-controller@0 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 766 | compatible = "socionext,uniphier-pxs2-usb3-reset"; |
| 767 | reg = <0x0 0x4>; |
| 768 | #reset-cells = <1>; |
| 769 | clock-names = "link"; |
| 770 | clocks = <&sys_clk 15>; |
| 771 | reset-names = "link"; |
| 772 | resets = <&sys_rst 15>; |
| 773 | }; |
| 774 | |
| 775 | usb1_vbus0: regulator@100 { |
| 776 | compatible = "socionext,uniphier-pxs2-usb3-regulator"; |
| 777 | reg = <0x100 0x10>; |
| 778 | clock-names = "link"; |
| 779 | clocks = <&sys_clk 15>; |
| 780 | reset-names = "link"; |
| 781 | resets = <&sys_rst 15>; |
| 782 | }; |
| 783 | |
| 784 | usb1_vbus1: regulator@110 { |
| 785 | compatible = "socionext,uniphier-pxs2-usb3-regulator"; |
| 786 | reg = <0x110 0x10>; |
| 787 | clock-names = "link"; |
| 788 | clocks = <&sys_clk 15>; |
| 789 | reset-names = "link"; |
| 790 | resets = <&sys_rst 15>; |
| 791 | }; |
| 792 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 793 | usb1_hsphy0: phy@200 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 794 | compatible = "socionext,uniphier-pxs2-usb3-hsphy"; |
| 795 | reg = <0x200 0x10>; |
| 796 | #phy-cells = <0>; |
| 797 | clock-names = "link", "phy"; |
| 798 | clocks = <&sys_clk 15>, <&sys_clk 20>; |
| 799 | reset-names = "link", "phy"; |
| 800 | resets = <&sys_rst 15>, <&sys_rst 20>; |
| 801 | vbus-supply = <&usb1_vbus0>; |
| 802 | }; |
| 803 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 804 | usb1_hsphy1: phy@210 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 805 | compatible = "socionext,uniphier-pxs2-usb3-hsphy"; |
| 806 | reg = <0x210 0x10>; |
| 807 | #phy-cells = <0>; |
| 808 | clock-names = "link", "phy"; |
| 809 | clocks = <&sys_clk 15>, <&sys_clk 20>; |
| 810 | reset-names = "link", "phy"; |
| 811 | resets = <&sys_rst 15>, <&sys_rst 20>; |
| 812 | vbus-supply = <&usb1_vbus1>; |
| 813 | }; |
| 814 | |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 815 | usb1_ssphy0: phy@300 { |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 816 | compatible = "socionext,uniphier-pxs2-usb3-ssphy"; |
| 817 | reg = <0x300 0x10>; |
| 818 | #phy-cells = <0>; |
| 819 | clock-names = "link", "phy"; |
| 820 | clocks = <&sys_clk 15>, <&sys_clk 21>; |
| 821 | reset-names = "link", "phy"; |
| 822 | resets = <&sys_rst 15>, <&sys_rst 21>; |
| 823 | vbus-supply = <&usb1_vbus0>; |
| 824 | }; |
| 825 | }; |
| 826 | |
Masahiro Yamada | 44ebaa8 | 2020-02-28 21:57:19 +0900 | [diff] [blame] | 827 | nand: nand-controller@68000000 { |
Masahiro Yamada | 4e7f8de | 2017-04-20 16:54:44 +0900 | [diff] [blame] | 828 | compatible = "socionext,uniphier-denali-nand-v5b"; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 829 | status = "disabled"; |
| 830 | reg-names = "nand_data", "denali_reg"; |
| 831 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
Kunihiko Hayashi | 051451a | 2023-02-28 11:37:09 +0900 | [diff] [blame^] | 832 | #address-cells = <1>; |
| 833 | #size-cells = <0>; |
| 834 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 835 | pinctrl-names = "default"; |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 836 | pinctrl-0 = <&pinctrl_nand2cs>; |
Masahiro Yamada | 2001a81 | 2018-12-19 20:03:21 +0900 | [diff] [blame] | 837 | clock-names = "nand", "nand_x", "ecc"; |
| 838 | clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>; |
Masahiro Yamada | 5ad1596 | 2020-02-28 21:57:20 +0900 | [diff] [blame] | 839 | reset-names = "nand", "reg"; |
| 840 | resets = <&sys_rst 2>, <&sys_rst 2>; |
Masahiro Yamada | cd62214 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 841 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 842 | }; |
| 843 | }; |
| 844 | |
Masahiro Yamada | 6c9e46e | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 845 | #include "uniphier-pinctrl.dtsi" |