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