Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | // Copyright (C) 2016 ARM Ltd. |
| 3 | // based on the Allwinner H3 dtsi: |
| 4 | // Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com> |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 5 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 6 | #include <dt-bindings/clock/sun50i-a64-ccu.h> |
Andre Przywara | 7f53f50 | 2022-09-11 00:04:41 +0100 | [diff] [blame] | 7 | #include <dt-bindings/clock/sun6i-rtc.h> |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 8 | #include <dt-bindings/clock/sun8i-de2.h> |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 9 | #include <dt-bindings/clock/sun8i-r-ccu.h> |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 11 | #include <dt-bindings/reset/sun50i-a64-ccu.h> |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 12 | #include <dt-bindings/reset/sun8i-de2.h> |
| 13 | #include <dt-bindings/reset/sun8i-r-ccu.h> |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 14 | #include <dt-bindings/thermal/thermal.h> |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 15 | |
| 16 | / { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 17 | interrupt-parent = <&gic>; |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 21 | chosen { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
| 24 | ranges; |
| 25 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 26 | simplefb_lcd: framebuffer-lcd { |
| 27 | compatible = "allwinner,simple-framebuffer", |
| 28 | "simple-framebuffer"; |
| 29 | allwinner,pipeline = "mixer0-lcd0"; |
| 30 | clocks = <&ccu CLK_TCON0>, |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 31 | <&display_clocks CLK_MIXER0>; |
| 32 | status = "disabled"; |
| 33 | }; |
| 34 | |
| 35 | simplefb_hdmi: framebuffer-hdmi { |
| 36 | compatible = "allwinner,simple-framebuffer", |
| 37 | "simple-framebuffer"; |
| 38 | allwinner,pipeline = "mixer1-lcd1-hdmi"; |
| 39 | clocks = <&display_clocks CLK_MIXER1>, |
| 40 | <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 41 | status = "disabled"; |
| 42 | }; |
| 43 | }; |
| 44 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 45 | cpus { |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <0>; |
| 48 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 49 | cpu0: cpu@0 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 50 | compatible = "arm,cortex-a53"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 51 | device_type = "cpu"; |
| 52 | reg = <0>; |
| 53 | enable-method = "psci"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 54 | next-level-cache = <&L2>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 55 | clocks = <&ccu CLK_CPUX>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 56 | clock-names = "cpu"; |
| 57 | #cooling-cells = <2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 58 | }; |
| 59 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 60 | cpu1: cpu@1 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 61 | compatible = "arm,cortex-a53"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 62 | device_type = "cpu"; |
| 63 | reg = <1>; |
| 64 | enable-method = "psci"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 65 | next-level-cache = <&L2>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 66 | clocks = <&ccu CLK_CPUX>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 67 | clock-names = "cpu"; |
| 68 | #cooling-cells = <2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 69 | }; |
| 70 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 71 | cpu2: cpu@2 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 72 | compatible = "arm,cortex-a53"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 73 | device_type = "cpu"; |
| 74 | reg = <2>; |
| 75 | enable-method = "psci"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 76 | next-level-cache = <&L2>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 77 | clocks = <&ccu CLK_CPUX>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 78 | clock-names = "cpu"; |
| 79 | #cooling-cells = <2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 80 | }; |
| 81 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 82 | cpu3: cpu@3 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 83 | compatible = "arm,cortex-a53"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 84 | device_type = "cpu"; |
| 85 | reg = <3>; |
| 86 | enable-method = "psci"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 87 | next-level-cache = <&L2>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 88 | clocks = <&ccu CLK_CPUX>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 89 | clock-names = "cpu"; |
| 90 | #cooling-cells = <2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 91 | }; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 92 | |
| 93 | L2: l2-cache { |
| 94 | compatible = "cache"; |
| 95 | cache-level = <2>; |
Andre Przywara | 95c3b06 | 2023-10-19 15:51:39 +0100 | [diff] [blame] | 96 | cache-unified; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 97 | }; |
| 98 | }; |
| 99 | |
| 100 | de: display-engine { |
| 101 | compatible = "allwinner,sun50i-a64-display-engine"; |
| 102 | allwinner,pipelines = <&mixer0>, |
| 103 | <&mixer1>; |
| 104 | status = "disabled"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 105 | }; |
| 106 | |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 107 | gpu_opp_table: opp-table-gpu { |
| 108 | compatible = "operating-points-v2"; |
| 109 | |
| 110 | opp-120000000 { |
| 111 | opp-hz = /bits/ 64 <120000000>; |
| 112 | }; |
| 113 | |
| 114 | opp-312000000 { |
| 115 | opp-hz = /bits/ 64 <312000000>; |
| 116 | }; |
| 117 | |
| 118 | opp-432000000 { |
| 119 | opp-hz = /bits/ 64 <432000000>; |
| 120 | }; |
| 121 | }; |
| 122 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 123 | osc24M: osc24M_clk { |
| 124 | #clock-cells = <0>; |
| 125 | compatible = "fixed-clock"; |
| 126 | clock-frequency = <24000000>; |
| 127 | clock-output-names = "osc24M"; |
| 128 | }; |
| 129 | |
| 130 | osc32k: osc32k_clk { |
| 131 | #clock-cells = <0>; |
| 132 | compatible = "fixed-clock"; |
| 133 | clock-frequency = <32768>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 134 | clock-output-names = "ext-osc32k"; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 135 | }; |
| 136 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 137 | pmu { |
| 138 | compatible = "arm,cortex-a53-pmu"; |
| 139 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, |
| 140 | <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 141 | <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 142 | <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; |
| 143 | interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 144 | }; |
| 145 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 146 | psci { |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 147 | compatible = "arm,psci-0.2"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 148 | method = "smc"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 149 | }; |
| 150 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 151 | sound: sound { |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 154 | compatible = "simple-audio-card"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 155 | simple-audio-card,name = "sun50i-a64-audio"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 156 | simple-audio-card,aux-devs = <&codec_analog>; |
| 157 | simple-audio-card,routing = |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 158 | "Left DAC", "DACL", |
| 159 | "Right DAC", "DACR", |
| 160 | "ADCL", "Left ADC", |
| 161 | "ADCR", "Right ADC"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 162 | status = "disabled"; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 163 | |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 164 | simple-audio-card,dai-link@0 { |
| 165 | format = "i2s"; |
| 166 | frame-master = <&link0_cpu>; |
| 167 | bitclock-master = <&link0_cpu>; |
| 168 | mclk-fs = <128>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 169 | |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 170 | link0_cpu: cpu { |
| 171 | sound-dai = <&dai>; |
| 172 | }; |
| 173 | |
| 174 | link0_codec: codec { |
| 175 | sound-dai = <&codec 0>; |
| 176 | }; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 177 | }; |
| 178 | }; |
| 179 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 180 | timer { |
| 181 | compatible = "arm,armv8-timer"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 182 | allwinner,erratum-unknown1; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 183 | arm,no-tick-in-suspend; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 184 | interrupts = <GIC_PPI 13 |
| 185 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, |
| 186 | <GIC_PPI 14 |
| 187 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, |
| 188 | <GIC_PPI 11 |
| 189 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, |
| 190 | <GIC_PPI 10 |
| 191 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
| 192 | }; |
| 193 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 194 | thermal-zones { |
| 195 | cpu_thermal: cpu0-thermal { |
| 196 | /* milliseconds */ |
| 197 | polling-delay-passive = <0>; |
| 198 | polling-delay = <0>; |
| 199 | thermal-sensors = <&ths 0>; |
| 200 | |
| 201 | cooling-maps { |
| 202 | map0 { |
| 203 | trip = <&cpu_alert0>; |
| 204 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 205 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 206 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 207 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 208 | }; |
| 209 | map1 { |
| 210 | trip = <&cpu_alert1>; |
| 211 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 212 | <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 213 | <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 214 | <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 215 | }; |
| 216 | }; |
| 217 | |
| 218 | trips { |
| 219 | cpu_alert0: cpu_alert0 { |
| 220 | /* milliCelsius */ |
| 221 | temperature = <75000>; |
| 222 | hysteresis = <2000>; |
| 223 | type = "passive"; |
| 224 | }; |
| 225 | |
| 226 | cpu_alert1: cpu_alert1 { |
| 227 | /* milliCelsius */ |
| 228 | temperature = <90000>; |
| 229 | hysteresis = <2000>; |
| 230 | type = "hot"; |
| 231 | }; |
| 232 | |
| 233 | cpu_crit: cpu_crit { |
| 234 | /* milliCelsius */ |
| 235 | temperature = <110000>; |
| 236 | hysteresis = <2000>; |
| 237 | type = "critical"; |
| 238 | }; |
| 239 | }; |
| 240 | }; |
| 241 | |
| 242 | gpu0_thermal: gpu0-thermal { |
| 243 | /* milliseconds */ |
| 244 | polling-delay-passive = <0>; |
| 245 | polling-delay = <0>; |
| 246 | thermal-sensors = <&ths 1>; |
| 247 | }; |
| 248 | |
| 249 | gpu1_thermal: gpu1-thermal { |
| 250 | /* milliseconds */ |
| 251 | polling-delay-passive = <0>; |
| 252 | polling-delay = <0>; |
| 253 | thermal-sensors = <&ths 2>; |
| 254 | }; |
| 255 | }; |
| 256 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 257 | soc { |
| 258 | compatible = "simple-bus"; |
| 259 | #address-cells = <1>; |
| 260 | #size-cells = <1>; |
| 261 | ranges; |
| 262 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 263 | bus@1000000 { |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 264 | compatible = "allwinner,sun50i-a64-de2"; |
| 265 | reg = <0x1000000 0x400000>; |
| 266 | allwinner,sram = <&de2_sram 1>; |
| 267 | #address-cells = <1>; |
| 268 | #size-cells = <1>; |
| 269 | ranges = <0 0x1000000 0x400000>; |
| 270 | |
| 271 | display_clocks: clock@0 { |
| 272 | compatible = "allwinner,sun50i-a64-de2-clk"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 273 | reg = <0x0 0x10000>; |
| 274 | clocks = <&ccu CLK_BUS_DE>, |
| 275 | <&ccu CLK_DE>; |
| 276 | clock-names = "bus", |
| 277 | "mod"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 278 | resets = <&ccu RST_BUS_DE>; |
| 279 | #clock-cells = <1>; |
| 280 | #reset-cells = <1>; |
| 281 | }; |
| 282 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 283 | rotate: rotate@20000 { |
| 284 | compatible = "allwinner,sun50i-a64-de2-rotate", |
| 285 | "allwinner,sun8i-a83t-de2-rotate"; |
| 286 | reg = <0x20000 0x10000>; |
| 287 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 288 | clocks = <&display_clocks CLK_BUS_ROT>, |
| 289 | <&display_clocks CLK_ROT>; |
| 290 | clock-names = "bus", |
| 291 | "mod"; |
| 292 | resets = <&display_clocks RST_ROT>; |
| 293 | }; |
| 294 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 295 | mixer0: mixer@100000 { |
| 296 | compatible = "allwinner,sun50i-a64-de2-mixer-0"; |
| 297 | reg = <0x100000 0x100000>; |
| 298 | clocks = <&display_clocks CLK_BUS_MIXER0>, |
| 299 | <&display_clocks CLK_MIXER0>; |
| 300 | clock-names = "bus", |
| 301 | "mod"; |
| 302 | resets = <&display_clocks RST_MIXER0>; |
| 303 | |
| 304 | ports { |
| 305 | #address-cells = <1>; |
| 306 | #size-cells = <0>; |
| 307 | |
| 308 | mixer0_out: port@1 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 309 | #address-cells = <1>; |
| 310 | #size-cells = <0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 311 | reg = <1>; |
| 312 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 313 | mixer0_out_tcon0: endpoint@0 { |
| 314 | reg = <0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 315 | remote-endpoint = <&tcon0_in_mixer0>; |
| 316 | }; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 317 | |
| 318 | mixer0_out_tcon1: endpoint@1 { |
| 319 | reg = <1>; |
| 320 | remote-endpoint = <&tcon1_in_mixer0>; |
| 321 | }; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 322 | }; |
| 323 | }; |
| 324 | }; |
| 325 | |
| 326 | mixer1: mixer@200000 { |
| 327 | compatible = "allwinner,sun50i-a64-de2-mixer-1"; |
| 328 | reg = <0x200000 0x100000>; |
| 329 | clocks = <&display_clocks CLK_BUS_MIXER1>, |
| 330 | <&display_clocks CLK_MIXER1>; |
| 331 | clock-names = "bus", |
| 332 | "mod"; |
| 333 | resets = <&display_clocks RST_MIXER1>; |
| 334 | |
| 335 | ports { |
| 336 | #address-cells = <1>; |
| 337 | #size-cells = <0>; |
| 338 | |
| 339 | mixer1_out: port@1 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 340 | #address-cells = <1>; |
| 341 | #size-cells = <0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 342 | reg = <1>; |
| 343 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 344 | mixer1_out_tcon0: endpoint@0 { |
| 345 | reg = <0>; |
| 346 | remote-endpoint = <&tcon0_in_mixer1>; |
| 347 | }; |
| 348 | |
| 349 | mixer1_out_tcon1: endpoint@1 { |
| 350 | reg = <1>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 351 | remote-endpoint = <&tcon1_in_mixer1>; |
| 352 | }; |
| 353 | }; |
| 354 | }; |
| 355 | }; |
| 356 | }; |
| 357 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 358 | syscon: syscon@1c00000 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 359 | compatible = "allwinner,sun50i-a64-system-control"; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 360 | reg = <0x01c00000 0x1000>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 361 | #address-cells = <1>; |
| 362 | #size-cells = <1>; |
| 363 | ranges; |
| 364 | |
| 365 | sram_c: sram@18000 { |
| 366 | compatible = "mmio-sram"; |
| 367 | reg = <0x00018000 0x28000>; |
| 368 | #address-cells = <1>; |
| 369 | #size-cells = <1>; |
| 370 | ranges = <0 0x00018000 0x28000>; |
| 371 | |
| 372 | de2_sram: sram-section@0 { |
| 373 | compatible = "allwinner,sun50i-a64-sram-c"; |
| 374 | reg = <0x0000 0x28000>; |
| 375 | }; |
| 376 | }; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 377 | |
| 378 | sram_c1: sram@1d00000 { |
| 379 | compatible = "mmio-sram"; |
| 380 | reg = <0x01d00000 0x40000>; |
| 381 | #address-cells = <1>; |
| 382 | #size-cells = <1>; |
| 383 | ranges = <0 0x01d00000 0x40000>; |
| 384 | |
| 385 | ve_sram: sram-section@0 { |
| 386 | compatible = "allwinner,sun50i-a64-sram-c1", |
| 387 | "allwinner,sun4i-a10-sram-c1"; |
| 388 | reg = <0x000000 0x40000>; |
| 389 | }; |
| 390 | }; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 391 | }; |
| 392 | |
| 393 | dma: dma-controller@1c02000 { |
| 394 | compatible = "allwinner,sun50i-a64-dma"; |
| 395 | reg = <0x01c02000 0x1000>; |
| 396 | interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
| 397 | clocks = <&ccu CLK_BUS_DMA>; |
| 398 | dma-channels = <8>; |
| 399 | dma-requests = <27>; |
| 400 | resets = <&ccu RST_BUS_DMA>; |
| 401 | #dma-cells = <1>; |
| 402 | }; |
| 403 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 404 | tcon0: lcd-controller@1c0c000 { |
| 405 | compatible = "allwinner,sun50i-a64-tcon-lcd", |
| 406 | "allwinner,sun8i-a83t-tcon-lcd"; |
| 407 | reg = <0x01c0c000 0x1000>; |
| 408 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 409 | clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; |
| 410 | clock-names = "ahb", "tcon-ch0"; |
Andre Przywara | 95c3b06 | 2023-10-19 15:51:39 +0100 | [diff] [blame] | 411 | clock-output-names = "tcon-data-clock"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 412 | #clock-cells = <0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 413 | resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; |
| 414 | reset-names = "lcd", "lvds"; |
| 415 | |
| 416 | ports { |
| 417 | #address-cells = <1>; |
| 418 | #size-cells = <0>; |
| 419 | |
| 420 | tcon0_in: port@0 { |
| 421 | #address-cells = <1>; |
| 422 | #size-cells = <0>; |
| 423 | reg = <0>; |
| 424 | |
| 425 | tcon0_in_mixer0: endpoint@0 { |
| 426 | reg = <0>; |
| 427 | remote-endpoint = <&mixer0_out_tcon0>; |
| 428 | }; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 429 | |
| 430 | tcon0_in_mixer1: endpoint@1 { |
| 431 | reg = <1>; |
| 432 | remote-endpoint = <&mixer1_out_tcon0>; |
| 433 | }; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 434 | }; |
| 435 | |
| 436 | tcon0_out: port@1 { |
| 437 | #address-cells = <1>; |
| 438 | #size-cells = <0>; |
| 439 | reg = <1>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 440 | |
| 441 | tcon0_out_dsi: endpoint@1 { |
| 442 | reg = <1>; |
| 443 | remote-endpoint = <&dsi_in_tcon0>; |
| 444 | allwinner,tcon-channel = <1>; |
| 445 | }; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 446 | }; |
| 447 | }; |
| 448 | }; |
| 449 | |
| 450 | tcon1: lcd-controller@1c0d000 { |
| 451 | compatible = "allwinner,sun50i-a64-tcon-tv", |
| 452 | "allwinner,sun8i-a83t-tcon-tv"; |
| 453 | reg = <0x01c0d000 0x1000>; |
| 454 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
| 455 | clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; |
| 456 | clock-names = "ahb", "tcon-ch1"; |
| 457 | resets = <&ccu RST_BUS_TCON1>; |
| 458 | reset-names = "lcd"; |
| 459 | |
| 460 | ports { |
| 461 | #address-cells = <1>; |
| 462 | #size-cells = <0>; |
| 463 | |
| 464 | tcon1_in: port@0 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 465 | #address-cells = <1>; |
| 466 | #size-cells = <0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 467 | reg = <0>; |
| 468 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 469 | tcon1_in_mixer0: endpoint@0 { |
| 470 | reg = <0>; |
| 471 | remote-endpoint = <&mixer0_out_tcon1>; |
| 472 | }; |
| 473 | |
| 474 | tcon1_in_mixer1: endpoint@1 { |
| 475 | reg = <1>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 476 | remote-endpoint = <&mixer1_out_tcon1>; |
| 477 | }; |
| 478 | }; |
| 479 | |
| 480 | tcon1_out: port@1 { |
| 481 | #address-cells = <1>; |
| 482 | #size-cells = <0>; |
| 483 | reg = <1>; |
| 484 | |
| 485 | tcon1_out_hdmi: endpoint@1 { |
| 486 | reg = <1>; |
| 487 | remote-endpoint = <&hdmi_in_tcon1>; |
| 488 | }; |
| 489 | }; |
| 490 | }; |
| 491 | }; |
| 492 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 493 | video-codec@1c0e000 { |
| 494 | compatible = "allwinner,sun50i-a64-video-engine"; |
| 495 | reg = <0x01c0e000 0x1000>; |
| 496 | clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, |
| 497 | <&ccu CLK_DRAM_VE>; |
| 498 | clock-names = "ahb", "mod", "ram"; |
| 499 | resets = <&ccu RST_BUS_VE>; |
| 500 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; |
| 501 | allwinner,sram = <&ve_sram 1>; |
| 502 | }; |
| 503 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 504 | mmc0: mmc@1c0f000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 505 | compatible = "allwinner,sun50i-a64-mmc"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 506 | reg = <0x01c0f000 0x1000>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 507 | clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; |
| 508 | clock-names = "ahb", "mmc"; |
| 509 | resets = <&ccu RST_BUS_MMC0>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 510 | reset-names = "ahb"; |
| 511 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 512 | max-frequency = <150000000>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 513 | status = "disabled"; |
| 514 | #address-cells = <1>; |
| 515 | #size-cells = <0>; |
| 516 | }; |
| 517 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 518 | mmc1: mmc@1c10000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 519 | compatible = "allwinner,sun50i-a64-mmc"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 520 | reg = <0x01c10000 0x1000>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 521 | clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; |
| 522 | clock-names = "ahb", "mmc"; |
| 523 | resets = <&ccu RST_BUS_MMC1>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 524 | reset-names = "ahb"; |
| 525 | interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 526 | max-frequency = <150000000>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 527 | status = "disabled"; |
| 528 | #address-cells = <1>; |
| 529 | #size-cells = <0>; |
| 530 | }; |
| 531 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 532 | mmc2: mmc@1c11000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 533 | compatible = "allwinner,sun50i-a64-emmc"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 534 | reg = <0x01c11000 0x1000>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 535 | clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; |
| 536 | clock-names = "ahb", "mmc"; |
| 537 | resets = <&ccu RST_BUS_MMC2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 538 | reset-names = "ahb"; |
| 539 | interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 540 | max-frequency = <150000000>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 541 | status = "disabled"; |
| 542 | #address-cells = <1>; |
| 543 | #size-cells = <0>; |
| 544 | }; |
| 545 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 546 | sid: eeprom@1c14000 { |
| 547 | compatible = "allwinner,sun50i-a64-sid"; |
| 548 | reg = <0x1c14000 0x400>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 549 | #address-cells = <1>; |
| 550 | #size-cells = <1>; |
| 551 | |
| 552 | ths_calibration: thermal-sensor-calibration@34 { |
| 553 | reg = <0x34 0x8>; |
| 554 | }; |
| 555 | }; |
| 556 | |
| 557 | crypto: crypto@1c15000 { |
| 558 | compatible = "allwinner,sun50i-a64-crypto"; |
| 559 | reg = <0x01c15000 0x1000>; |
| 560 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 561 | clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; |
| 562 | clock-names = "bus", "mod"; |
| 563 | resets = <&ccu RST_BUS_CE>; |
| 564 | }; |
| 565 | |
| 566 | msgbox: mailbox@1c17000 { |
| 567 | compatible = "allwinner,sun50i-a64-msgbox", |
| 568 | "allwinner,sun6i-a31-msgbox"; |
| 569 | reg = <0x01c17000 0x1000>; |
| 570 | clocks = <&ccu CLK_BUS_MSGBOX>; |
| 571 | resets = <&ccu RST_BUS_MSGBOX>; |
| 572 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
| 573 | #mbox-cells = <1>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 574 | }; |
| 575 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 576 | usb_otg: usb@1c19000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 577 | compatible = "allwinner,sun8i-a33-musb"; |
| 578 | reg = <0x01c19000 0x0400>; |
| 579 | clocks = <&ccu CLK_BUS_OTG>; |
| 580 | resets = <&ccu RST_BUS_OTG>; |
| 581 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 582 | interrupt-names = "mc"; |
| 583 | phys = <&usbphy 0>; |
| 584 | phy-names = "usb"; |
| 585 | extcon = <&usbphy 0>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 586 | dr_mode = "otg"; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 587 | status = "disabled"; |
| 588 | }; |
| 589 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 590 | usbphy: phy@1c19400 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 591 | compatible = "allwinner,sun50i-a64-usb-phy"; |
| 592 | reg = <0x01c19400 0x14>, |
| 593 | <0x01c1a800 0x4>, |
| 594 | <0x01c1b800 0x4>; |
| 595 | reg-names = "phy_ctrl", |
| 596 | "pmu0", |
| 597 | "pmu1"; |
| 598 | clocks = <&ccu CLK_USB_PHY0>, |
| 599 | <&ccu CLK_USB_PHY1>; |
| 600 | clock-names = "usb0_phy", |
| 601 | "usb1_phy"; |
| 602 | resets = <&ccu RST_USB_PHY0>, |
| 603 | <&ccu RST_USB_PHY1>; |
| 604 | reset-names = "usb0_reset", |
| 605 | "usb1_reset"; |
| 606 | status = "disabled"; |
| 607 | #phy-cells = <1>; |
| 608 | }; |
| 609 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 610 | ehci0: usb@1c1a000 { |
Jagan Teki | 7e4bef7 | 2017-06-09 17:57:58 +0530 | [diff] [blame] | 611 | compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; |
| 612 | reg = <0x01c1a000 0x100>; |
| 613 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; |
| 614 | clocks = <&ccu CLK_BUS_OHCI0>, |
| 615 | <&ccu CLK_BUS_EHCI0>, |
| 616 | <&ccu CLK_USB_OHCI0>; |
| 617 | resets = <&ccu RST_BUS_OHCI0>, |
| 618 | <&ccu RST_BUS_EHCI0>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 619 | phys = <&usbphy 0>; |
| 620 | phy-names = "usb"; |
Jagan Teki | 7e4bef7 | 2017-06-09 17:57:58 +0530 | [diff] [blame] | 621 | status = "disabled"; |
| 622 | }; |
| 623 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 624 | ohci0: usb@1c1a400 { |
Jagan Teki | 7e4bef7 | 2017-06-09 17:57:58 +0530 | [diff] [blame] | 625 | compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; |
| 626 | reg = <0x01c1a400 0x100>; |
| 627 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 628 | clocks = <&ccu CLK_BUS_OHCI0>, |
| 629 | <&ccu CLK_USB_OHCI0>; |
| 630 | resets = <&ccu RST_BUS_OHCI0>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 631 | phys = <&usbphy 0>; |
| 632 | phy-names = "usb"; |
Jagan Teki | 7e4bef7 | 2017-06-09 17:57:58 +0530 | [diff] [blame] | 633 | status = "disabled"; |
| 634 | }; |
| 635 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 636 | ehci1: usb@1c1b000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 637 | compatible = "allwinner,sun50i-a64-ehci", "generic-ehci"; |
| 638 | reg = <0x01c1b000 0x100>; |
| 639 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
| 640 | clocks = <&ccu CLK_BUS_OHCI1>, |
| 641 | <&ccu CLK_BUS_EHCI1>, |
| 642 | <&ccu CLK_USB_OHCI1>; |
| 643 | resets = <&ccu RST_BUS_OHCI1>, |
| 644 | <&ccu RST_BUS_EHCI1>; |
| 645 | phys = <&usbphy 1>; |
| 646 | phy-names = "usb"; |
| 647 | status = "disabled"; |
| 648 | }; |
| 649 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 650 | ohci1: usb@1c1b400 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 651 | compatible = "allwinner,sun50i-a64-ohci", "generic-ohci"; |
| 652 | reg = <0x01c1b400 0x100>; |
| 653 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 654 | clocks = <&ccu CLK_BUS_OHCI1>, |
| 655 | <&ccu CLK_USB_OHCI1>; |
| 656 | resets = <&ccu RST_BUS_OHCI1>; |
| 657 | phys = <&usbphy 1>; |
| 658 | phy-names = "usb"; |
| 659 | status = "disabled"; |
| 660 | }; |
| 661 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 662 | ccu: clock@1c20000 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 663 | compatible = "allwinner,sun50i-a64-ccu"; |
| 664 | reg = <0x01c20000 0x400>; |
Andre Przywara | 7f53f50 | 2022-09-11 00:04:41 +0100 | [diff] [blame] | 665 | clocks = <&osc24M>, <&rtc CLK_OSC32K>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 666 | clock-names = "hosc", "losc"; |
| 667 | #clock-cells = <1>; |
| 668 | #reset-cells = <1>; |
| 669 | }; |
| 670 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 671 | pio: pinctrl@1c20800 { |
| 672 | compatible = "allwinner,sun50i-a64-pinctrl"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 673 | reg = <0x01c20800 0x400>; |
| 674 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 675 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, |
| 676 | <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 7f53f50 | 2022-09-11 00:04:41 +0100 | [diff] [blame] | 677 | clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, |
| 678 | <&rtc CLK_OSC32K>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 679 | clock-names = "apb", "hosc", "losc"; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 680 | gpio-controller; |
| 681 | #gpio-cells = <3>; |
| 682 | interrupt-controller; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 683 | #interrupt-cells = <3>; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 684 | |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 685 | /omit-if-no-ref/ |
| 686 | aif2_pins: aif2-pins { |
| 687 | pins = "PB4", "PB5", "PB6", "PB7"; |
| 688 | function = "aif2"; |
| 689 | }; |
| 690 | |
| 691 | /omit-if-no-ref/ |
| 692 | aif3_pins: aif3-pins { |
| 693 | pins = "PG10", "PG11", "PG12", "PG13"; |
| 694 | function = "aif3"; |
| 695 | }; |
| 696 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 697 | csi_pins: csi-pins { |
| 698 | pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", |
| 699 | "PE7", "PE8", "PE9", "PE10", "PE11"; |
| 700 | function = "csi"; |
| 701 | }; |
| 702 | |
| 703 | /omit-if-no-ref/ |
| 704 | csi_mclk_pin: csi-mclk-pin { |
| 705 | pins = "PE1"; |
| 706 | function = "csi"; |
| 707 | }; |
| 708 | |
| 709 | i2c0_pins: i2c0-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 710 | pins = "PH0", "PH1"; |
| 711 | function = "i2c0"; |
| 712 | }; |
| 713 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 714 | i2c1_pins: i2c1-pins { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 715 | pins = "PH2", "PH3"; |
| 716 | function = "i2c1"; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 717 | }; |
| 718 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 719 | i2c2_pins: i2c2-pins { |
| 720 | pins = "PE14", "PE15"; |
| 721 | function = "i2c2"; |
| 722 | }; |
| 723 | |
| 724 | /omit-if-no-ref/ |
| 725 | lcd_rgb666_pins: lcd-rgb666-pins { |
| 726 | pins = "PD0", "PD1", "PD2", "PD3", "PD4", |
| 727 | "PD5", "PD6", "PD7", "PD8", "PD9", |
| 728 | "PD10", "PD11", "PD12", "PD13", |
| 729 | "PD14", "PD15", "PD16", "PD17", |
| 730 | "PD18", "PD19", "PD20", "PD21"; |
| 731 | function = "lcd0"; |
| 732 | }; |
| 733 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 734 | mmc0_pins: mmc0-pins { |
| 735 | pins = "PF0", "PF1", "PF2", "PF3", |
| 736 | "PF4", "PF5"; |
| 737 | function = "mmc0"; |
| 738 | drive-strength = <30>; |
| 739 | bias-pull-up; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 740 | }; |
Amit Singh Tomar | a29710c | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 741 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 742 | mmc1_pins: mmc1-pins { |
| 743 | pins = "PG0", "PG1", "PG2", "PG3", |
| 744 | "PG4", "PG5"; |
| 745 | function = "mmc1"; |
| 746 | drive-strength = <30>; |
| 747 | bias-pull-up; |
Amit Singh Tomar | a29710c | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 748 | }; |
| 749 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 750 | mmc2_pins: mmc2-pins { |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 751 | pins = "PC5", "PC6", "PC8", "PC9", |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 752 | "PC10","PC11", "PC12", "PC13", |
| 753 | "PC14", "PC15", "PC16"; |
| 754 | function = "mmc2"; |
| 755 | drive-strength = <30>; |
| 756 | bias-pull-up; |
Amit Singh Tomar | a29710c | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 757 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 758 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 759 | mmc2_ds_pin: mmc2-ds-pin { |
| 760 | pins = "PC1"; |
| 761 | function = "mmc2"; |
| 762 | drive-strength = <30>; |
| 763 | bias-pull-up; |
| 764 | }; |
| 765 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 766 | pwm_pin: pwm-pin { |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 767 | pins = "PD22"; |
| 768 | function = "pwm"; |
| 769 | }; |
| 770 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 771 | rmii_pins: rmii-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 772 | pins = "PD10", "PD11", "PD13", "PD14", "PD17", |
| 773 | "PD18", "PD19", "PD20", "PD22", "PD23"; |
| 774 | function = "emac"; |
| 775 | drive-strength = <40>; |
| 776 | }; |
| 777 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 778 | rgmii_pins: rgmii-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 779 | pins = "PD8", "PD9", "PD10", "PD11", "PD12", |
| 780 | "PD13", "PD15", "PD16", "PD17", "PD18", |
| 781 | "PD19", "PD20", "PD21", "PD22", "PD23"; |
| 782 | function = "emac"; |
| 783 | drive-strength = <40>; |
| 784 | }; |
| 785 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 786 | spdif_tx_pin: spdif-tx-pin { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 787 | pins = "PH8"; |
| 788 | function = "spdif"; |
| 789 | }; |
| 790 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 791 | spi0_pins: spi0-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 792 | pins = "PC0", "PC1", "PC2", "PC3"; |
| 793 | function = "spi0"; |
| 794 | }; |
| 795 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 796 | spi1_pins: spi1-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 797 | pins = "PD0", "PD1", "PD2", "PD3"; |
| 798 | function = "spi1"; |
| 799 | }; |
| 800 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 801 | uart0_pb_pins: uart0-pb-pins { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 802 | pins = "PB8", "PB9"; |
| 803 | function = "uart0"; |
| 804 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 805 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 806 | uart1_pins: uart1-pins { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 807 | pins = "PG6", "PG7"; |
| 808 | function = "uart1"; |
| 809 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 810 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 811 | uart1_rts_cts_pins: uart1-rts-cts-pins { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 812 | pins = "PG8", "PG9"; |
| 813 | function = "uart1"; |
| 814 | }; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 815 | |
| 816 | uart2_pins: uart2-pins { |
| 817 | pins = "PB0", "PB1"; |
| 818 | function = "uart2"; |
| 819 | }; |
| 820 | |
| 821 | uart3_pins: uart3-pins { |
| 822 | pins = "PD0", "PD1"; |
| 823 | function = "uart3"; |
| 824 | }; |
| 825 | |
| 826 | uart4_pins: uart4-pins { |
| 827 | pins = "PD2", "PD3"; |
| 828 | function = "uart4"; |
| 829 | }; |
| 830 | |
| 831 | uart4_rts_cts_pins: uart4-rts-cts-pins { |
| 832 | pins = "PD4", "PD5"; |
| 833 | function = "uart4"; |
| 834 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 835 | }; |
| 836 | |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 837 | timer@1c20c00 { |
| 838 | compatible = "allwinner,sun50i-a64-timer", |
| 839 | "allwinner,sun8i-a23-timer"; |
| 840 | reg = <0x01c20c00 0xa0>; |
| 841 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, |
| 842 | <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 843 | clocks = <&osc24M>; |
| 844 | }; |
| 845 | |
| 846 | wdt0: watchdog@1c20ca0 { |
| 847 | compatible = "allwinner,sun50i-a64-wdt", |
| 848 | "allwinner,sun6i-a31-wdt"; |
| 849 | reg = <0x01c20ca0 0x20>; |
| 850 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 851 | clocks = <&osc24M>; |
| 852 | }; |
| 853 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 854 | spdif: spdif@1c21000 { |
| 855 | #sound-dai-cells = <0>; |
| 856 | compatible = "allwinner,sun50i-a64-spdif", |
| 857 | "allwinner,sun8i-h3-spdif"; |
| 858 | reg = <0x01c21000 0x400>; |
| 859 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 860 | clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; |
| 861 | resets = <&ccu RST_BUS_SPDIF>; |
| 862 | clock-names = "apb", "spdif"; |
| 863 | dmas = <&dma 2>; |
| 864 | dma-names = "tx"; |
| 865 | pinctrl-names = "default"; |
| 866 | pinctrl-0 = <&spdif_tx_pin>; |
| 867 | status = "disabled"; |
| 868 | }; |
| 869 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 870 | lradc: lradc@1c21800 { |
| 871 | compatible = "allwinner,sun50i-a64-lradc", |
| 872 | "allwinner,sun8i-a83t-r-lradc"; |
| 873 | reg = <0x01c21800 0x400>; |
| 874 | interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 875 | status = "disabled"; |
| 876 | }; |
| 877 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 878 | i2s0: i2s@1c22000 { |
| 879 | #sound-dai-cells = <0>; |
| 880 | compatible = "allwinner,sun50i-a64-i2s", |
| 881 | "allwinner,sun8i-h3-i2s"; |
| 882 | reg = <0x01c22000 0x400>; |
| 883 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 884 | clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; |
| 885 | clock-names = "apb", "mod"; |
| 886 | resets = <&ccu RST_BUS_I2S0>; |
| 887 | dma-names = "rx", "tx"; |
| 888 | dmas = <&dma 3>, <&dma 3>; |
| 889 | status = "disabled"; |
| 890 | }; |
| 891 | |
| 892 | i2s1: i2s@1c22400 { |
| 893 | #sound-dai-cells = <0>; |
| 894 | compatible = "allwinner,sun50i-a64-i2s", |
| 895 | "allwinner,sun8i-h3-i2s"; |
| 896 | reg = <0x01c22400 0x400>; |
| 897 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 898 | clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; |
| 899 | clock-names = "apb", "mod"; |
| 900 | resets = <&ccu RST_BUS_I2S1>; |
| 901 | dma-names = "rx", "tx"; |
| 902 | dmas = <&dma 4>, <&dma 4>; |
| 903 | status = "disabled"; |
| 904 | }; |
| 905 | |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 906 | i2s2: i2s@1c22800 { |
| 907 | #sound-dai-cells = <0>; |
| 908 | compatible = "allwinner,sun50i-a64-i2s", |
| 909 | "allwinner,sun8i-h3-i2s"; |
| 910 | reg = <0x01c22800 0x400>; |
| 911 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 912 | clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>; |
| 913 | clock-names = "apb", "mod"; |
| 914 | resets = <&ccu RST_BUS_I2S2>; |
| 915 | dma-names = "rx", "tx"; |
| 916 | dmas = <&dma 27>, <&dma 27>; |
| 917 | status = "disabled"; |
| 918 | }; |
| 919 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 920 | dai: dai@1c22c00 { |
| 921 | #sound-dai-cells = <0>; |
| 922 | compatible = "allwinner,sun50i-a64-codec-i2s"; |
| 923 | reg = <0x01c22c00 0x200>; |
| 924 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 925 | clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; |
| 926 | clock-names = "apb", "mod"; |
| 927 | resets = <&ccu RST_BUS_CODEC>; |
| 928 | dmas = <&dma 15>, <&dma 15>; |
| 929 | dma-names = "rx", "tx"; |
| 930 | status = "disabled"; |
| 931 | }; |
| 932 | |
| 933 | codec: codec@1c22e00 { |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 934 | #sound-dai-cells = <1>; |
Andre Przywara | 647b392 | 2021-04-17 22:55:19 +0100 | [diff] [blame] | 935 | compatible = "allwinner,sun50i-a64-codec", |
| 936 | "allwinner,sun8i-a33-codec"; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 937 | reg = <0x01c22e00 0x600>; |
| 938 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 939 | clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>; |
| 940 | clock-names = "bus", "mod"; |
| 941 | status = "disabled"; |
| 942 | }; |
| 943 | |
| 944 | ths: thermal-sensor@1c25000 { |
| 945 | compatible = "allwinner,sun50i-a64-ths"; |
| 946 | reg = <0x01c25000 0x100>; |
| 947 | clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; |
| 948 | clock-names = "bus", "mod"; |
| 949 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 950 | resets = <&ccu RST_BUS_THS>; |
| 951 | nvmem-cells = <&ths_calibration>; |
| 952 | nvmem-cell-names = "calibration"; |
| 953 | #thermal-sensor-cells = <1>; |
| 954 | }; |
| 955 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 956 | uart0: serial@1c28000 { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 957 | compatible = "snps,dw-apb-uart"; |
| 958 | reg = <0x01c28000 0x400>; |
| 959 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; |
| 960 | reg-shift = <2>; |
| 961 | reg-io-width = <4>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 962 | clocks = <&ccu CLK_BUS_UART0>; |
| 963 | resets = <&ccu RST_BUS_UART0>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 964 | status = "disabled"; |
| 965 | }; |
| 966 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 967 | uart1: serial@1c28400 { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 968 | compatible = "snps,dw-apb-uart"; |
| 969 | reg = <0x01c28400 0x400>; |
| 970 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 971 | reg-shift = <2>; |
| 972 | reg-io-width = <4>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 973 | clocks = <&ccu CLK_BUS_UART1>; |
| 974 | resets = <&ccu RST_BUS_UART1>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 975 | status = "disabled"; |
| 976 | }; |
| 977 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 978 | uart2: serial@1c28800 { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 979 | compatible = "snps,dw-apb-uart"; |
| 980 | reg = <0x01c28800 0x400>; |
| 981 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
| 982 | reg-shift = <2>; |
| 983 | reg-io-width = <4>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 984 | clocks = <&ccu CLK_BUS_UART2>; |
| 985 | resets = <&ccu RST_BUS_UART2>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 986 | status = "disabled"; |
| 987 | }; |
| 988 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 989 | uart3: serial@1c28c00 { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 990 | compatible = "snps,dw-apb-uart"; |
| 991 | reg = <0x01c28c00 0x400>; |
| 992 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 993 | reg-shift = <2>; |
| 994 | reg-io-width = <4>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 995 | clocks = <&ccu CLK_BUS_UART3>; |
| 996 | resets = <&ccu RST_BUS_UART3>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 997 | status = "disabled"; |
| 998 | }; |
| 999 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1000 | uart4: serial@1c29000 { |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 1001 | compatible = "snps,dw-apb-uart"; |
| 1002 | reg = <0x01c29000 0x400>; |
| 1003 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 1004 | reg-shift = <2>; |
| 1005 | reg-io-width = <4>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1006 | clocks = <&ccu CLK_BUS_UART4>; |
| 1007 | resets = <&ccu RST_BUS_UART4>; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 1008 | status = "disabled"; |
| 1009 | }; |
| 1010 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1011 | i2c0: i2c@1c2ac00 { |
| 1012 | compatible = "allwinner,sun6i-a31-i2c"; |
| 1013 | reg = <0x01c2ac00 0x400>; |
| 1014 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1015 | clocks = <&ccu CLK_BUS_I2C0>; |
| 1016 | resets = <&ccu RST_BUS_I2C0>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1017 | pinctrl-names = "default"; |
| 1018 | pinctrl-0 = <&i2c0_pins>; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1019 | status = "disabled"; |
| 1020 | #address-cells = <1>; |
| 1021 | #size-cells = <0>; |
| 1022 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 1023 | |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1024 | i2c1: i2c@1c2b000 { |
| 1025 | compatible = "allwinner,sun6i-a31-i2c"; |
| 1026 | reg = <0x01c2b000 0x400>; |
| 1027 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1028 | clocks = <&ccu CLK_BUS_I2C1>; |
| 1029 | resets = <&ccu RST_BUS_I2C1>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1030 | pinctrl-names = "default"; |
| 1031 | pinctrl-0 = <&i2c1_pins>; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1032 | status = "disabled"; |
| 1033 | #address-cells = <1>; |
| 1034 | #size-cells = <0>; |
| 1035 | }; |
| 1036 | |
| 1037 | i2c2: i2c@1c2b400 { |
| 1038 | compatible = "allwinner,sun6i-a31-i2c"; |
| 1039 | reg = <0x01c2b400 0x400>; |
| 1040 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1041 | clocks = <&ccu CLK_BUS_I2C2>; |
| 1042 | resets = <&ccu RST_BUS_I2C2>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1043 | pinctrl-names = "default"; |
| 1044 | pinctrl-0 = <&i2c2_pins>; |
Andre Przywara | c1fd244 | 2016-05-04 22:15:33 +0100 | [diff] [blame] | 1045 | status = "disabled"; |
| 1046 | #address-cells = <1>; |
| 1047 | #size-cells = <0>; |
| 1048 | }; |
Amit Singh Tomar | a29710c | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 1049 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1050 | spi0: spi@1c68000 { |
| 1051 | compatible = "allwinner,sun8i-h3-spi"; |
| 1052 | reg = <0x01c68000 0x1000>; |
| 1053 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
| 1054 | clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; |
| 1055 | clock-names = "ahb", "mod"; |
| 1056 | dmas = <&dma 23>, <&dma 23>; |
| 1057 | dma-names = "rx", "tx"; |
| 1058 | pinctrl-names = "default"; |
| 1059 | pinctrl-0 = <&spi0_pins>; |
| 1060 | resets = <&ccu RST_BUS_SPI0>; |
| 1061 | status = "disabled"; |
| 1062 | num-cs = <1>; |
| 1063 | #address-cells = <1>; |
| 1064 | #size-cells = <0>; |
| 1065 | }; |
| 1066 | |
| 1067 | spi1: spi@1c69000 { |
| 1068 | compatible = "allwinner,sun8i-h3-spi"; |
| 1069 | reg = <0x01c69000 0x1000>; |
| 1070 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
| 1071 | clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; |
| 1072 | clock-names = "ahb", "mod"; |
| 1073 | dmas = <&dma 24>, <&dma 24>; |
| 1074 | dma-names = "rx", "tx"; |
| 1075 | pinctrl-names = "default"; |
| 1076 | pinctrl-0 = <&spi1_pins>; |
| 1077 | resets = <&ccu RST_BUS_SPI1>; |
| 1078 | status = "disabled"; |
| 1079 | num-cs = <1>; |
| 1080 | #address-cells = <1>; |
| 1081 | #size-cells = <0>; |
| 1082 | }; |
| 1083 | |
| 1084 | emac: ethernet@1c30000 { |
| 1085 | compatible = "allwinner,sun50i-a64-emac"; |
| 1086 | syscon = <&syscon>; |
| 1087 | reg = <0x01c30000 0x10000>; |
| 1088 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 1089 | interrupt-names = "macirq"; |
| 1090 | resets = <&ccu RST_BUS_EMAC>; |
| 1091 | reset-names = "stmmaceth"; |
| 1092 | clocks = <&ccu CLK_BUS_EMAC>; |
| 1093 | clock-names = "stmmaceth"; |
| 1094 | status = "disabled"; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1095 | |
| 1096 | mdio: mdio { |
| 1097 | compatible = "snps,dwmac-mdio"; |
| 1098 | #address-cells = <1>; |
| 1099 | #size-cells = <0>; |
| 1100 | }; |
| 1101 | }; |
| 1102 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1103 | mali: gpu@1c40000 { |
| 1104 | compatible = "allwinner,sun50i-a64-mali", "arm,mali-400"; |
| 1105 | reg = <0x01c40000 0x10000>; |
| 1106 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, |
| 1107 | <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, |
| 1108 | <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, |
| 1109 | <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
| 1110 | <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, |
| 1111 | <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, |
| 1112 | <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 1113 | interrupt-names = "gp", |
| 1114 | "gpmmu", |
| 1115 | "pp0", |
| 1116 | "ppmmu0", |
| 1117 | "pp1", |
| 1118 | "ppmmu1", |
| 1119 | "pmu"; |
| 1120 | clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; |
| 1121 | clock-names = "bus", "core"; |
| 1122 | resets = <&ccu RST_BUS_GPU>; |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 1123 | operating-points-v2 = <&gpu_opp_table>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1124 | }; |
| 1125 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1126 | gic: interrupt-controller@1c81000 { |
| 1127 | compatible = "arm,gic-400"; |
| 1128 | reg = <0x01c81000 0x1000>, |
| 1129 | <0x01c82000 0x2000>, |
| 1130 | <0x01c84000 0x2000>, |
| 1131 | <0x01c86000 0x2000>; |
| 1132 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
| 1133 | interrupt-controller; |
| 1134 | #interrupt-cells = <3>; |
Amit Singh Tomar | a29710c | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 1135 | }; |
Amit Singh Tomar | 9d6c9d9 | 2016-10-21 02:24:30 +0100 | [diff] [blame] | 1136 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1137 | pwm: pwm@1c21400 { |
| 1138 | compatible = "allwinner,sun50i-a64-pwm", |
| 1139 | "allwinner,sun5i-a13-pwm"; |
| 1140 | reg = <0x01c21400 0x400>; |
| 1141 | clocks = <&osc24M>; |
| 1142 | pinctrl-names = "default"; |
| 1143 | pinctrl-0 = <&pwm_pin>; |
| 1144 | #pwm-cells = <3>; |
| 1145 | status = "disabled"; |
| 1146 | }; |
| 1147 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1148 | mbus: dram-controller@1c62000 { |
| 1149 | compatible = "allwinner,sun50i-a64-mbus"; |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 1150 | reg = <0x01c62000 0x1000>, |
| 1151 | <0x01c63000 0x1000>; |
| 1152 | reg-names = "mbus", "dram"; |
| 1153 | clocks = <&ccu CLK_MBUS>, |
| 1154 | <&ccu CLK_DRAM>, |
| 1155 | <&ccu CLK_BUS_DRAM>; |
| 1156 | clock-names = "mbus", "dram", "bus"; |
| 1157 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1158 | #address-cells = <1>; |
| 1159 | #size-cells = <1>; |
| 1160 | dma-ranges = <0x00000000 0x40000000 0xc0000000>; |
| 1161 | #interconnect-cells = <1>; |
| 1162 | }; |
| 1163 | |
| 1164 | csi: csi@1cb0000 { |
| 1165 | compatible = "allwinner,sun50i-a64-csi"; |
| 1166 | reg = <0x01cb0000 0x1000>; |
| 1167 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 1168 | clocks = <&ccu CLK_BUS_CSI>, |
| 1169 | <&ccu CLK_CSI_SCLK>, |
| 1170 | <&ccu CLK_DRAM_CSI>; |
| 1171 | clock-names = "bus", "mod", "ram"; |
| 1172 | resets = <&ccu RST_BUS_CSI>; |
| 1173 | pinctrl-names = "default"; |
| 1174 | pinctrl-0 = <&csi_pins>; |
| 1175 | status = "disabled"; |
| 1176 | }; |
| 1177 | |
| 1178 | dsi: dsi@1ca0000 { |
| 1179 | compatible = "allwinner,sun50i-a64-mipi-dsi"; |
| 1180 | reg = <0x01ca0000 0x1000>; |
| 1181 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 1182 | clocks = <&ccu CLK_BUS_MIPI_DSI>; |
| 1183 | resets = <&ccu RST_BUS_MIPI_DSI>; |
| 1184 | phys = <&dphy>; |
| 1185 | phy-names = "dphy"; |
| 1186 | status = "disabled"; |
| 1187 | #address-cells = <1>; |
| 1188 | #size-cells = <0>; |
| 1189 | |
| 1190 | port { |
| 1191 | dsi_in_tcon0: endpoint { |
| 1192 | remote-endpoint = <&tcon0_out_dsi>; |
| 1193 | }; |
| 1194 | }; |
| 1195 | }; |
| 1196 | |
| 1197 | dphy: d-phy@1ca1000 { |
| 1198 | compatible = "allwinner,sun50i-a64-mipi-dphy", |
| 1199 | "allwinner,sun6i-a31-mipi-dphy"; |
| 1200 | reg = <0x01ca1000 0x1000>; |
Andre Przywara | 5728573 | 2023-04-02 01:17:07 +0100 | [diff] [blame] | 1201 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1202 | clocks = <&ccu CLK_BUS_MIPI_DSI>, |
| 1203 | <&ccu CLK_DSI_DPHY>; |
| 1204 | clock-names = "bus", "mod"; |
| 1205 | resets = <&ccu RST_BUS_MIPI_DSI>; |
| 1206 | status = "disabled"; |
| 1207 | #phy-cells = <0>; |
| 1208 | }; |
| 1209 | |
| 1210 | deinterlace: deinterlace@1e00000 { |
| 1211 | compatible = "allwinner,sun50i-a64-deinterlace", |
| 1212 | "allwinner,sun8i-h3-deinterlace"; |
| 1213 | reg = <0x01e00000 0x20000>; |
| 1214 | clocks = <&ccu CLK_BUS_DEINTERLACE>, |
| 1215 | <&ccu CLK_DEINTERLACE>, |
| 1216 | <&ccu CLK_DRAM_DEINTERLACE>; |
| 1217 | clock-names = "bus", "mod", "ram"; |
| 1218 | resets = <&ccu RST_BUS_DEINTERLACE>; |
| 1219 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
| 1220 | interconnects = <&mbus 9>; |
| 1221 | interconnect-names = "dma-mem"; |
| 1222 | }; |
| 1223 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1224 | hdmi: hdmi@1ee0000 { |
| 1225 | compatible = "allwinner,sun50i-a64-dw-hdmi", |
| 1226 | "allwinner,sun8i-a83t-dw-hdmi"; |
| 1227 | reg = <0x01ee0000 0x10000>; |
| 1228 | reg-io-width = <1>; |
| 1229 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
| 1230 | clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, |
Andre Przywara | 7f53f50 | 2022-09-11 00:04:41 +0100 | [diff] [blame] | 1231 | <&ccu CLK_HDMI>, <&rtc CLK_OSC32K>; |
Samuel Holland | 7710282 | 2022-04-27 15:31:30 -0500 | [diff] [blame] | 1232 | clock-names = "iahb", "isfr", "tmds", "cec"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1233 | resets = <&ccu RST_BUS_HDMI1>; |
| 1234 | reset-names = "ctrl"; |
| 1235 | phys = <&hdmi_phy>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1236 | phy-names = "phy"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1237 | status = "disabled"; |
| 1238 | |
| 1239 | ports { |
| 1240 | #address-cells = <1>; |
| 1241 | #size-cells = <0>; |
| 1242 | |
| 1243 | hdmi_in: port@0 { |
| 1244 | reg = <0>; |
| 1245 | |
| 1246 | hdmi_in_tcon1: endpoint { |
| 1247 | remote-endpoint = <&tcon1_out_hdmi>; |
| 1248 | }; |
| 1249 | }; |
| 1250 | |
| 1251 | hdmi_out: port@1 { |
| 1252 | reg = <1>; |
| 1253 | }; |
| 1254 | }; |
| 1255 | }; |
| 1256 | |
| 1257 | hdmi_phy: hdmi-phy@1ef0000 { |
| 1258 | compatible = "allwinner,sun50i-a64-hdmi-phy"; |
| 1259 | reg = <0x01ef0000 0x10000>; |
| 1260 | clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1261 | <&ccu CLK_PLL_VIDEO0>; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1262 | clock-names = "bus", "mod", "pll-0"; |
| 1263 | resets = <&ccu RST_BUS_HDMI0>; |
| 1264 | reset-names = "phy"; |
| 1265 | #phy-cells = <0>; |
| 1266 | }; |
| 1267 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1268 | rtc: rtc@1f00000 { |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1269 | compatible = "allwinner,sun50i-a64-rtc", |
| 1270 | "allwinner,sun8i-h3-rtc"; |
| 1271 | reg = <0x01f00000 0x400>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1272 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 1273 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1274 | clock-output-names = "osc32k", "osc32k-out", "iosc"; |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1275 | clocks = <&osc32k>; |
| 1276 | #clock-cells = <1>; |
Amit Singh Tomar | 9d6c9d9 | 2016-10-21 02:24:30 +0100 | [diff] [blame] | 1277 | }; |
| 1278 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1279 | r_intc: interrupt-controller@1f00c00 { |
| 1280 | compatible = "allwinner,sun50i-a64-r-intc", |
| 1281 | "allwinner,sun6i-a31-r-intc"; |
| 1282 | interrupt-controller; |
| 1283 | #interrupt-cells = <2>; |
| 1284 | reg = <0x01f00c00 0x400>; |
| 1285 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 1286 | }; |
| 1287 | |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1288 | r_ccu: clock@1f01400 { |
| 1289 | compatible = "allwinner,sun50i-a64-r-ccu"; |
| 1290 | reg = <0x01f01400 0x100>; |
Andre Przywara | 7f53f50 | 2022-09-11 00:04:41 +0100 | [diff] [blame] | 1291 | clocks = <&osc24M>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>, |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1292 | <&ccu CLK_PLL_PERIPH0>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1293 | clock-names = "hosc", "losc", "iosc", "pll-periph"; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1294 | #clock-cells = <1>; |
| 1295 | #reset-cells = <1>; |
Amit Singh Tomar | 9d6c9d9 | 2016-10-21 02:24:30 +0100 | [diff] [blame] | 1296 | }; |
| 1297 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1298 | codec_analog: codec-analog@1f015c0 { |
| 1299 | compatible = "allwinner,sun50i-a64-codec-analog"; |
| 1300 | reg = <0x01f015c0 0x4>; |
| 1301 | status = "disabled"; |
| 1302 | }; |
| 1303 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1304 | r_i2c: i2c@1f02400 { |
| 1305 | compatible = "allwinner,sun50i-a64-i2c", |
| 1306 | "allwinner,sun6i-a31-i2c"; |
| 1307 | reg = <0x01f02400 0x400>; |
| 1308 | interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
| 1309 | clocks = <&r_ccu CLK_APB0_I2C>; |
| 1310 | resets = <&r_ccu RST_APB0_I2C>; |
| 1311 | status = "disabled"; |
| 1312 | #address-cells = <1>; |
| 1313 | #size-cells = <0>; |
| 1314 | }; |
| 1315 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1316 | r_ir: ir@1f02000 { |
| 1317 | compatible = "allwinner,sun50i-a64-ir", |
| 1318 | "allwinner,sun6i-a31-ir"; |
| 1319 | reg = <0x01f02000 0x400>; |
| 1320 | clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; |
| 1321 | clock-names = "apb", "ir"; |
| 1322 | resets = <&r_ccu RST_APB0_IR>; |
| 1323 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 1324 | pinctrl-names = "default"; |
| 1325 | pinctrl-0 = <&r_ir_rx_pin>; |
| 1326 | status = "disabled"; |
| 1327 | }; |
| 1328 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1329 | r_pwm: pwm@1f03800 { |
| 1330 | compatible = "allwinner,sun50i-a64-pwm", |
| 1331 | "allwinner,sun5i-a13-pwm"; |
| 1332 | reg = <0x01f03800 0x400>; |
| 1333 | clocks = <&osc24M>; |
| 1334 | pinctrl-names = "default"; |
| 1335 | pinctrl-0 = <&r_pwm_pin>; |
| 1336 | #pwm-cells = <3>; |
| 1337 | status = "disabled"; |
| 1338 | }; |
| 1339 | |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1340 | r_pio: pinctrl@1f02c00 { |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1341 | compatible = "allwinner,sun50i-a64-r-pinctrl"; |
| 1342 | reg = <0x01f02c00 0x400>; |
| 1343 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1344 | clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>; |
Andre Przywara | f98852b | 2017-05-24 10:34:56 +0100 | [diff] [blame] | 1345 | clock-names = "apb", "hosc", "losc"; |
| 1346 | gpio-controller; |
| 1347 | #gpio-cells = <3>; |
| 1348 | interrupt-controller; |
| 1349 | #interrupt-cells = <3>; |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1350 | |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1351 | r_i2c_pl89_pins: r-i2c-pl89-pins { |
| 1352 | pins = "PL8", "PL9"; |
| 1353 | function = "s_i2c"; |
| 1354 | }; |
| 1355 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1356 | r_ir_rx_pin: r-ir-rx-pin { |
| 1357 | pins = "PL11"; |
| 1358 | function = "s_cir_rx"; |
| 1359 | }; |
| 1360 | |
| 1361 | r_pwm_pin: r-pwm-pin { |
Andre Przywara | 1b39a18 | 2018-10-29 00:56:47 +0000 | [diff] [blame] | 1362 | pins = "PL10"; |
| 1363 | function = "s_pwm"; |
| 1364 | }; |
| 1365 | |
Samuel Holland | e210ec0 | 2020-10-24 10:21:55 -0500 | [diff] [blame] | 1366 | r_rsb_pins: r-rsb-pins { |
Andre Przywara | 62f3c12 | 2018-07-04 14:16:34 +0100 | [diff] [blame] | 1367 | pins = "PL0", "PL1"; |
| 1368 | function = "s_rsb"; |
| 1369 | }; |
| 1370 | }; |
| 1371 | |
| 1372 | r_rsb: rsb@1f03400 { |
| 1373 | compatible = "allwinner,sun8i-a23-rsb"; |
| 1374 | reg = <0x01f03400 0x400>; |
| 1375 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
| 1376 | clocks = <&r_ccu 6>; |
| 1377 | clock-frequency = <3000000>; |
| 1378 | resets = <&r_ccu 2>; |
| 1379 | pinctrl-names = "default"; |
| 1380 | pinctrl-0 = <&r_rsb_pins>; |
| 1381 | status = "disabled"; |
| 1382 | #address-cells = <1>; |
| 1383 | #size-cells = <0>; |
| 1384 | }; |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 1385 | }; |
| 1386 | }; |