| 1 |
// SPDX-License-Identifier: (GPL-2.0-only OR MIT) |
| 2 |
// Copyright (C) 2023-2024 Arm Ltd. |
| 3 |
|
| 4 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 5 |
#include <dt-bindings/clock/sun6i-rtc.h> |
| 6 |
#include <dt-bindings/clock/sun55i-a523-ccu.h> |
| 7 |
#include <dt-bindings/clock/sun55i-a523-mcu-ccu.h> |
| 8 |
#include <dt-bindings/clock/sun55i-a523-r-ccu.h> |
| 9 |
#include <dt-bindings/reset/sun55i-a523-ccu.h> |
| 10 |
#include <dt-bindings/reset/sun55i-a523-mcu-ccu.h> |
| 11 |
#include <dt-bindings/reset/sun55i-a523-r-ccu.h> |
| 12 |
#include <dt-bindings/power/allwinner,sun55i-a523-ppu.h> |
| 13 |
#include <dt-bindings/power/allwinner,sun55i-a523-pck-600.h> |
| 14 |
|
| 15 |
/ { |
| 16 |
interrupt-parent = <&gic>; |
| 17 |
#address-cells = <2>; |
| 18 |
#size-cells = <2>; |
| 19 |
|
| 20 |
cpus { |
| 21 |
#address-cells = <1>; |
| 22 |
#size-cells = <0>; |
| 23 |
|
| 24 |
cpu0: cpu@0 { |
| 25 |
compatible = "arm,cortex-a55"; |
| 26 |
device_type = "cpu"; |
| 27 |
reg = <0x000>; |
| 28 |
enable-method = "psci"; |
| 29 |
}; |
| 30 |
|
| 31 |
cpu1: cpu@100 { |
| 32 |
compatible = "arm,cortex-a55"; |
| 33 |
device_type = "cpu"; |
| 34 |
reg = <0x100>; |
| 35 |
enable-method = "psci"; |
| 36 |
}; |
| 37 |
|
| 38 |
cpu2: cpu@200 { |
| 39 |
compatible = "arm,cortex-a55"; |
| 40 |
device_type = "cpu"; |
| 41 |
reg = <0x200>; |
| 42 |
enable-method = "psci"; |
| 43 |
}; |
| 44 |
|
| 45 |
cpu3: cpu@300 { |
| 46 |
compatible = "arm,cortex-a55"; |
| 47 |
device_type = "cpu"; |
| 48 |
reg = <0x300>; |
| 49 |
enable-method = "psci"; |
| 50 |
}; |
| 51 |
|
| 52 |
cpu4: cpu@400 { |
| 53 |
compatible = "arm,cortex-a55"; |
| 54 |
device_type = "cpu"; |
| 55 |
reg = <0x400>; |
| 56 |
enable-method = "psci"; |
| 57 |
}; |
| 58 |
|
| 59 |
cpu5: cpu@500 { |
| 60 |
compatible = "arm,cortex-a55"; |
| 61 |
device_type = "cpu"; |
| 62 |
reg = <0x500>; |
| 63 |
enable-method = "psci"; |
| 64 |
}; |
| 65 |
|
| 66 |
cpu6: cpu@600 { |
| 67 |
compatible = "arm,cortex-a55"; |
| 68 |
device_type = "cpu"; |
| 69 |
reg = <0x600>; |
| 70 |
enable-method = "psci"; |
| 71 |
}; |
| 72 |
|
| 73 |
cpu7: cpu@700 { |
| 74 |
compatible = "arm,cortex-a55"; |
| 75 |
device_type = "cpu"; |
| 76 |
reg = <0x700>; |
| 77 |
enable-method = "psci"; |
| 78 |
}; |
| 79 |
}; |
| 80 |
|
| 81 |
osc24M: osc24M-clk { |
| 82 |
#clock-cells = <0>; |
| 83 |
compatible = "fixed-clock"; |
| 84 |
clock-frequency = <24000000>; |
| 85 |
clock-output-names = "osc24M"; |
| 86 |
}; |
| 87 |
|
| 88 |
pmu { |
| 89 |
compatible = "arm,cortex-a55-pmu"; |
| 90 |
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 91 |
}; |
| 92 |
|
| 93 |
psci { |
| 94 |
compatible = "arm,psci-0.2"; |
| 95 |
method = "smc"; |
| 96 |
}; |
| 97 |
|
| 98 |
timer { |
| 99 |
compatible = "arm,armv8-timer"; |
| 100 |
arm,no-tick-in-suspend; |
| 101 |
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 102 |
<GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 103 |
<GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 104 |
<GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 105 |
}; |
| 106 |
|
| 107 |
soc { |
| 108 |
compatible = "simple-bus"; |
| 109 |
#address-cells = <1>; |
| 110 |
#size-cells = <1>; |
| 111 |
ranges = <0x0 0x0 0x0 0x40000000>; |
| 112 |
|
| 113 |
gpu: gpu@1800000 { |
| 114 |
compatible = "allwinner,sun55i-a523-mali", |
| 115 |
"arm,mali-valhall-jm"; |
| 116 |
reg = <0x1800000 0x10000>; |
| 117 |
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 118 |
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 119 |
<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; |
| 120 |
interrupt-names = "job", "mmu", "gpu"; |
| 121 |
clocks = <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>; |
| 122 |
clock-names = "core", "bus"; |
| 123 |
power-domains = <&pck600 PD_GPU>; |
| 124 |
resets = <&ccu RST_BUS_GPU>; |
| 125 |
status = "disabled"; |
| 126 |
}; |
| 127 |
|
| 128 |
pio: pinctrl@2000000 { |
| 129 |
compatible = "allwinner,sun55i-a523-pinctrl"; |
| 130 |
reg = <0x2000000 0x800>; |
| 131 |
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 132 |
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, |
| 133 |
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, |
| 134 |
<GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, |
| 135 |
<GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, |
| 136 |
<GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, |
| 137 |
<GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, |
| 138 |
<GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>, |
| 139 |
<GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, |
| 140 |
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 141 |
clocks = <&ccu CLK_APB1>, <&osc24M>, <&rtc CLK_OSC32K>; |
| 142 |
clock-names = "apb", "hosc", "losc"; |
| 143 |
gpio-controller; |
| 144 |
#gpio-cells = <3>; |
| 145 |
interrupt-controller; |
| 146 |
#interrupt-cells = <3>; |
| 147 |
|
| 148 |
/omit-if-no-ref/ |
| 149 |
i2s2_pi_pins: i2s2-pi-pins { |
| 150 |
pins = "PI2", "PI3", "PI4", "PI5"; |
| 151 |
allwinner,pinmux = <5>; |
| 152 |
function = "i2s2"; |
| 153 |
bias-disable; |
| 154 |
}; |
| 155 |
|
| 156 |
mmc0_pins: mmc0-pins { |
| 157 |
pins = "PF0" ,"PF1", "PF2", "PF3", "PF4", "PF5"; |
| 158 |
allwinner,pinmux = <2>; |
| 159 |
function = "mmc0"; |
| 160 |
drive-strength = <30>; |
| 161 |
bias-pull-up; |
| 162 |
}; |
| 163 |
|
| 164 |
/omit-if-no-ref/ |
| 165 |
mmc1_pins: mmc1-pins { |
| 166 |
pins = "PG0" ,"PG1", "PG2", "PG3", "PG4", "PG5"; |
| 167 |
allwinner,pinmux = <2>; |
| 168 |
function = "mmc1"; |
| 169 |
drive-strength = <30>; |
| 170 |
bias-pull-up; |
| 171 |
}; |
| 172 |
|
| 173 |
mmc2_pins: mmc2-pins { |
| 174 |
pins = "PC0", "PC1" ,"PC5", "PC6", "PC8", |
| 175 |
"PC9", "PC10", "PC11", "PC13", "PC14", |
| 176 |
"PC15", "PC16"; |
| 177 |
allwinner,pinmux = <3>; |
| 178 |
function = "mmc2"; |
| 179 |
drive-strength = <30>; |
| 180 |
bias-pull-up; |
| 181 |
}; |
| 182 |
|
| 183 |
rgmii0_pins: rgmii0-pins { |
| 184 |
pins = "PH0", "PH1", "PH2", "PH3", "PH4", |
| 185 |
"PH5", "PH6", "PH7", "PH9", "PH10", |
| 186 |
"PH14", "PH15", "PH16", "PH17", "PH18"; |
| 187 |
allwinner,pinmux = <5>; |
| 188 |
function = "gmac0"; |
| 189 |
drive-strength = <40>; |
| 190 |
bias-disable; |
| 191 |
}; |
| 192 |
|
| 193 |
rgmii1_pins: rgmii1-pins { |
| 194 |
pins = "PJ0", "PJ1", "PJ2", "PJ3", "PJ4", |
| 195 |
"PJ5", "PJ6", "PJ7", "PJ8", "PJ9", |
| 196 |
"PJ11", "PJ12", "PJ13", "PJ14", "PJ15"; |
| 197 |
allwinner,pinmux = <5>; |
| 198 |
function = "gmac1"; |
| 199 |
drive-strength = <40>; |
| 200 |
bias-disable; |
| 201 |
}; |
| 202 |
|
| 203 |
/omit-if-no-ref/ |
| 204 |
spdif_out_pb_pin: spdif-pb-pin { |
| 205 |
pins = "PB8"; |
| 206 |
function = "spdif"; |
| 207 |
allwinner,pinmux = <2>; |
| 208 |
}; |
| 209 |
|
| 210 |
/omit-if-no-ref/ |
| 211 |
spdif_out_pi_pin: spdif-pi-pin { |
| 212 |
pins = "PI10"; |
| 213 |
function = "spdif"; |
| 214 |
allwinner,pinmux = <2>; |
| 215 |
}; |
| 216 |
|
| 217 |
/omit-if-no-ref/ |
| 218 |
spi0_pc_pins: spi0-pc-pins { |
| 219 |
pins = "PC2", "PC4", "PC12"; |
| 220 |
function = "spi0"; |
| 221 |
allwinner,pinmux = <4>; |
| 222 |
}; |
| 223 |
|
| 224 |
/omit-if-no-ref/ |
| 225 |
spi0_cs0_pc_pin: spi0-cs0-pc-pin { |
| 226 |
pins = "PC3"; |
| 227 |
function = "spi0"; |
| 228 |
allwinner,pinmux = <4>; |
| 229 |
}; |
| 230 |
|
| 231 |
/omit-if-no-ref/ |
| 232 |
spi0_cs1_pc_pin: spi0-cs1-pc-pin { |
| 233 |
pins = "PC7"; |
| 234 |
function = "spi0"; |
| 235 |
allwinner,pinmux = <4>; |
| 236 |
}; |
| 237 |
|
| 238 |
/omit-if-no-ref/ |
| 239 |
spi0_hold_pc_pin: spi0-hold-pc-pin { |
| 240 |
/* conflicts with eMMC D7 */ |
| 241 |
pins = "PC16"; |
| 242 |
function = "spi0"; |
| 243 |
allwinner,pinmux = <4>; |
| 244 |
}; |
| 245 |
|
| 246 |
/omit-if-no-ref/ |
| 247 |
spi0_wp_pc_pin: spi0-wp-pc-pin { |
| 248 |
/* conflicts with eMMC D2 */ |
| 249 |
pins = "PC15"; |
| 250 |
function = "spi0"; |
| 251 |
allwinner,pinmux = <4>; |
| 252 |
}; |
| 253 |
|
| 254 |
uart0_pb_pins: uart0-pb-pins { |
| 255 |
pins = "PB9", "PB10"; |
| 256 |
allwinner,pinmux = <2>; |
| 257 |
function = "uart0"; |
| 258 |
}; |
| 259 |
|
| 260 |
/omit-if-no-ref/ |
| 261 |
uart1_pins: uart1-pins { |
| 262 |
pins = "PG6", "PG7"; |
| 263 |
function = "uart1"; |
| 264 |
allwinner,pinmux = <2>; |
| 265 |
}; |
| 266 |
|
| 267 |
/omit-if-no-ref/ |
| 268 |
uart1_rts_cts_pins: uart1-rts-cts-pins { |
| 269 |
pins = "PG8", "PG9"; |
| 270 |
function = "uart1"; |
| 271 |
allwinner,pinmux = <2>; |
| 272 |
}; |
| 273 |
}; |
| 274 |
|
| 275 |
ccu: clock-controller@2001000 { |
| 276 |
compatible = "allwinner,sun55i-a523-ccu"; |
| 277 |
reg = <0x02001000 0x1000>; |
| 278 |
clocks = <&osc24M>, <&rtc CLK_OSC32K>, |
| 279 |
<&rtc CLK_IOSC>, <&rtc CLK_OSC32K_FANOUT>; |
| 280 |
clock-names = "hosc", "losc", |
| 281 |
"iosc", "losc-fanout"; |
| 282 |
#clock-cells = <1>; |
| 283 |
#reset-cells = <1>; |
| 284 |
}; |
| 285 |
|
| 286 |
wdt: watchdog@2050000 { |
| 287 |
compatible = "allwinner,sun55i-a523-wdt"; |
| 288 |
reg = <0x2050000 0x20>; |
| 289 |
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 290 |
clocks = <&osc24M>, <&rtc CLK_OSC32K>; |
| 291 |
clock-names = "hosc", "losc"; |
| 292 |
status = "okay"; |
| 293 |
}; |
| 294 |
|
| 295 |
uart0: serial@2500000 { |
| 296 |
compatible = "snps,dw-apb-uart"; |
| 297 |
reg = <0x02500000 0x400>; |
| 298 |
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
| 299 |
reg-shift = <2>; |
| 300 |
reg-io-width = <4>; |
| 301 |
clocks = <&ccu CLK_BUS_UART0>; |
| 302 |
resets = <&ccu RST_BUS_UART0>; |
| 303 |
dmas = <&dma 14>, <&dma 14>; |
| 304 |
dma-names = "tx", "rx"; |
| 305 |
status = "disabled"; |
| 306 |
}; |
| 307 |
|
| 308 |
uart1: serial@2500400 { |
| 309 |
compatible = "snps,dw-apb-uart"; |
| 310 |
reg = <0x02500400 0x400>; |
| 311 |
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 312 |
reg-shift = <2>; |
| 313 |
reg-io-width = <4>; |
| 314 |
clocks = <&ccu CLK_BUS_UART1>; |
| 315 |
resets = <&ccu RST_BUS_UART1>; |
| 316 |
dmas = <&dma 15>, <&dma 15>; |
| 317 |
dma-names = "tx", "rx"; |
| 318 |
status = "disabled"; |
| 319 |
}; |
| 320 |
|
| 321 |
uart2: serial@2500800 { |
| 322 |
compatible = "snps,dw-apb-uart"; |
| 323 |
reg = <0x02500800 0x400>; |
| 324 |
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 325 |
reg-shift = <2>; |
| 326 |
reg-io-width = <4>; |
| 327 |
clocks = <&ccu CLK_BUS_UART2>; |
| 328 |
resets = <&ccu RST_BUS_UART2>; |
| 329 |
dmas = <&dma 16>, <&dma 16>; |
| 330 |
dma-names = "tx", "rx"; |
| 331 |
status = "disabled"; |
| 332 |
}; |
| 333 |
|
| 334 |
uart3: serial@2500c00 { |
| 335 |
compatible = "snps,dw-apb-uart"; |
| 336 |
reg = <0x02500c00 0x400>; |
| 337 |
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 338 |
reg-shift = <2>; |
| 339 |
reg-io-width = <4>; |
| 340 |
clocks = <&ccu CLK_BUS_UART3>; |
| 341 |
resets = <&ccu RST_BUS_UART3>; |
| 342 |
dmas = <&dma 17>, <&dma 17>; |
| 343 |
dma-names = "tx", "rx"; |
| 344 |
status = "disabled"; |
| 345 |
}; |
| 346 |
|
| 347 |
uart4: serial@2501000 { |
| 348 |
compatible = "snps,dw-apb-uart"; |
| 349 |
reg = <0x02501000 0x400>; |
| 350 |
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 351 |
reg-shift = <2>; |
| 352 |
reg-io-width = <4>; |
| 353 |
clocks = <&ccu CLK_BUS_UART4>; |
| 354 |
resets = <&ccu RST_BUS_UART4>; |
| 355 |
dmas = <&dma 18>, <&dma 18>; |
| 356 |
dma-names = "tx", "rx"; |
| 357 |
status = "disabled"; |
| 358 |
}; |
| 359 |
|
| 360 |
uart5: serial@2501400 { |
| 361 |
compatible = "snps,dw-apb-uart"; |
| 362 |
reg = <0x02501400 0x400>; |
| 363 |
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 364 |
reg-shift = <2>; |
| 365 |
reg-io-width = <4>; |
| 366 |
clocks = <&ccu CLK_BUS_UART5>; |
| 367 |
resets = <&ccu RST_BUS_UART5>; |
| 368 |
dmas = <&dma 19>, <&dma 19>; |
| 369 |
dma-names = "tx", "rx"; |
| 370 |
status = "disabled"; |
| 371 |
}; |
| 372 |
|
| 373 |
uart6: serial@2501800 { |
| 374 |
compatible = "snps,dw-apb-uart"; |
| 375 |
reg = <0x02501800 0x400>; |
| 376 |
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 377 |
reg-shift = <2>; |
| 378 |
reg-io-width = <4>; |
| 379 |
clocks = <&ccu CLK_BUS_UART6>; |
| 380 |
resets = <&ccu RST_BUS_UART6>; |
| 381 |
dmas = <&dma 20>, <&dma 20>; |
| 382 |
dma-names = "tx", "rx"; |
| 383 |
status = "disabled"; |
| 384 |
}; |
| 385 |
|
| 386 |
uart7: serial@2501c00 { |
| 387 |
compatible = "snps,dw-apb-uart"; |
| 388 |
reg = <0x02501c00 0x400>; |
| 389 |
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 390 |
reg-shift = <2>; |
| 391 |
reg-io-width = <4>; |
| 392 |
clocks = <&ccu CLK_BUS_UART7>; |
| 393 |
resets = <&ccu RST_BUS_UART7>; |
| 394 |
dmas = <&dma 21>, <&dma 21>; |
| 395 |
dma-names = "tx", "rx"; |
| 396 |
status = "disabled"; |
| 397 |
}; |
| 398 |
|
| 399 |
i2c0: i2c@2502000 { |
| 400 |
compatible = "allwinner,sun55i-a523-i2c", |
| 401 |
"allwinner,sun8i-v536-i2c", |
| 402 |
"allwinner,sun6i-a31-i2c"; |
| 403 |
reg = <0x2502000 0x400>; |
| 404 |
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 405 |
clocks = <&ccu CLK_BUS_I2C0>; |
| 406 |
resets = <&ccu RST_BUS_I2C0>; |
| 407 |
dmas = <&dma 43>, <&dma 43>; |
| 408 |
dma-names = "rx", "tx"; |
| 409 |
status = "disabled"; |
| 410 |
#address-cells = <1>; |
| 411 |
#size-cells = <0>; |
| 412 |
}; |
| 413 |
|
| 414 |
i2c1: i2c@2502400 { |
| 415 |
compatible = "allwinner,sun55i-a523-i2c", |
| 416 |
"allwinner,sun8i-v536-i2c", |
| 417 |
"allwinner,sun6i-a31-i2c"; |
| 418 |
reg = <0x2502400 0x400>; |
| 419 |
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 420 |
clocks = <&ccu CLK_BUS_I2C1>; |
| 421 |
resets = <&ccu RST_BUS_I2C1>; |
| 422 |
dmas = <&dma 44>, <&dma 44>; |
| 423 |
dma-names = "rx", "tx"; |
| 424 |
status = "disabled"; |
| 425 |
#address-cells = <1>; |
| 426 |
#size-cells = <0>; |
| 427 |
}; |
| 428 |
|
| 429 |
i2c2: i2c@2502800 { |
| 430 |
compatible = "allwinner,sun55i-a523-i2c", |
| 431 |
"allwinner,sun8i-v536-i2c", |
| 432 |
"allwinner,sun6i-a31-i2c"; |
| 433 |
reg = <0x2502800 0x400>; |
| 434 |
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 435 |
clocks = <&ccu CLK_BUS_I2C2>; |
| 436 |
resets = <&ccu RST_BUS_I2C2>; |
| 437 |
dmas = <&dma 45>, <&dma 45>; |
| 438 |
dma-names = "rx", "tx"; |
| 439 |
status = "disabled"; |
| 440 |
#address-cells = <1>; |
| 441 |
#size-cells = <0>; |
| 442 |
}; |
| 443 |
|
| 444 |
i2c3: i2c@2502c00 { |
| 445 |
compatible = "allwinner,sun55i-a523-i2c", |
| 446 |
"allwinner,sun8i-v536-i2c", |
| 447 |
"allwinner,sun6i-a31-i2c"; |
| 448 |
reg = <0x2502c00 0x400>; |
| 449 |
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 450 |
clocks = <&ccu CLK_BUS_I2C3>; |
| 451 |
resets = <&ccu RST_BUS_I2C3>; |
| 452 |
dmas = <&dma 46>, <&dma 46>; |
| 453 |
dma-names = "rx", "tx"; |
| 454 |
status = "disabled"; |
| 455 |
#address-cells = <1>; |
| 456 |
#size-cells = <0>; |
| 457 |
}; |
| 458 |
|
| 459 |
i2c4: i2c@2503000 { |
| 460 |
compatible = "allwinner,sun55i-a523-i2c", |
| 461 |
"allwinner,sun8i-v536-i2c", |
| 462 |
"allwinner,sun6i-a31-i2c"; |
| 463 |
reg = <0x2503000 0x400>; |
| 464 |
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 465 |
clocks = <&ccu CLK_BUS_I2C4>; |
| 466 |
resets = <&ccu RST_BUS_I2C4>; |
| 467 |
dmas = <&dma 47>, <&dma 47>; |
| 468 |
dma-names = "rx", "tx"; |
| 469 |
status = "disabled"; |
| 470 |
#address-cells = <1>; |
| 471 |
#size-cells = <0>; |
| 472 |
}; |
| 473 |
|
| 474 |
i2c5: i2c@2503400 { |
| 475 |
compatible = "allwinner,sun55i-a523-i2c", |
| 476 |
"allwinner,sun8i-v536-i2c", |
| 477 |
"allwinner,sun6i-a31-i2c"; |
| 478 |
reg = <0x2503400 0x400>; |
| 479 |
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 480 |
clocks = <&ccu CLK_BUS_I2C5>; |
| 481 |
resets = <&ccu RST_BUS_I2C5>; |
| 482 |
dmas = <&dma 48>, <&dma 48>; |
| 483 |
dma-names = "rx", "tx"; |
| 484 |
status = "disabled"; |
| 485 |
#address-cells = <1>; |
| 486 |
#size-cells = <0>; |
| 487 |
}; |
| 488 |
|
| 489 |
syscon: syscon@3000000 { |
| 490 |
compatible = "allwinner,sun55i-a523-system-control", |
| 491 |
"allwinner,sun50i-a64-system-control"; |
| 492 |
reg = <0x03000000 0x1000>; |
| 493 |
#address-cells = <1>; |
| 494 |
#size-cells = <1>; |
| 495 |
ranges; |
| 496 |
}; |
| 497 |
|
| 498 |
dma: dma-controller@3002000 { |
| 499 |
compatible = "allwinner,sun55i-a523-dma", |
| 500 |
"allwinner,sun50i-a100-dma"; |
| 501 |
reg = <0x03002000 0x1000>; |
| 502 |
interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
| 503 |
clocks = <&ccu CLK_BUS_DMA>, <&ccu CLK_MBUS_DMA>; |
| 504 |
clock-names = "bus", "mbus"; |
| 505 |
dma-channels = <16>; |
| 506 |
dma-requests = <54>; |
| 507 |
resets = <&ccu RST_BUS_DMA>; |
| 508 |
#dma-cells = <1>; |
| 509 |
}; |
| 510 |
|
| 511 |
sid: efuse@3006000 { |
| 512 |
compatible = "allwinner,sun55i-a523-sid", |
| 513 |
"allwinner,sun50i-a64-sid"; |
| 514 |
reg = <0x03006000 0x1000>; |
| 515 |
#address-cells = <1>; |
| 516 |
#size-cells = <1>; |
| 517 |
}; |
| 518 |
|
| 519 |
gic: interrupt-controller@3400000 { |
| 520 |
compatible = "arm,gic-v3"; |
| 521 |
#address-cells = <1>; |
| 522 |
#interrupt-cells = <3>; |
| 523 |
#size-cells = <1>; |
| 524 |
ranges; |
| 525 |
interrupt-controller; |
| 526 |
reg = <0x3400000 0x10000>, |
| 527 |
<0x3460000 0x100000>; |
| 528 |
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 529 |
dma-noncoherent; |
| 530 |
|
| 531 |
its: msi-controller@3440000 { |
| 532 |
compatible = "arm,gic-v3-its"; |
| 533 |
reg = <0x3440000 0x20000>; |
| 534 |
msi-controller; |
| 535 |
#msi-cells = <1>; |
| 536 |
dma-noncoherent; |
| 537 |
}; |
| 538 |
}; |
| 539 |
|
| 540 |
mmc0: mmc@4020000 { |
| 541 |
compatible = "allwinner,sun55i-a523-mmc", |
| 542 |
"allwinner,sun20i-d1-mmc"; |
| 543 |
reg = <0x04020000 0x1000>; |
| 544 |
clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; |
| 545 |
clock-names = "ahb", "mmc"; |
| 546 |
resets = <&ccu RST_BUS_MMC0>; |
| 547 |
reset-names = "ahb"; |
| 548 |
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 549 |
pinctrl-names = "default"; |
| 550 |
pinctrl-0 = <&mmc0_pins>; |
| 551 |
status = "disabled"; |
| 552 |
|
| 553 |
max-frequency = <150000000>; |
| 554 |
cap-sd-highspeed; |
| 555 |
cap-mmc-highspeed; |
| 556 |
cap-sdio-irq; |
| 557 |
#address-cells = <1>; |
| 558 |
#size-cells = <0>; |
| 559 |
}; |
| 560 |
|
| 561 |
mmc1: mmc@4021000 { |
| 562 |
compatible = "allwinner,sun55i-a523-mmc", |
| 563 |
"allwinner,sun20i-d1-mmc"; |
| 564 |
reg = <0x04021000 0x1000>; |
| 565 |
clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; |
| 566 |
clock-names = "ahb", "mmc"; |
| 567 |
resets = <&ccu RST_BUS_MMC1>; |
| 568 |
reset-names = "ahb"; |
| 569 |
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 570 |
pinctrl-names = "default"; |
| 571 |
pinctrl-0 = <&mmc1_pins>; |
| 572 |
status = "disabled"; |
| 573 |
|
| 574 |
max-frequency = <150000000>; |
| 575 |
cap-sd-highspeed; |
| 576 |
cap-mmc-highspeed; |
| 577 |
cap-sdio-irq; |
| 578 |
#address-cells = <1>; |
| 579 |
#size-cells = <0>; |
| 580 |
}; |
| 581 |
|
| 582 |
mmc2: mmc@4022000 { |
| 583 |
compatible = "allwinner,sun55i-a523-mmc", |
| 584 |
"allwinner,sun20i-d1-mmc"; |
| 585 |
reg = <0x04022000 0x1000>; |
| 586 |
clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; |
| 587 |
clock-names = "ahb", "mmc"; |
| 588 |
resets = <&ccu RST_BUS_MMC2>; |
| 589 |
reset-names = "ahb"; |
| 590 |
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 591 |
pinctrl-names = "default"; |
| 592 |
pinctrl-0 = <&mmc2_pins>; |
| 593 |
status = "disabled"; |
| 594 |
|
| 595 |
max-frequency = <150000000>; |
| 596 |
cap-sd-highspeed; |
| 597 |
cap-mmc-highspeed; |
| 598 |
cap-sdio-irq; |
| 599 |
#address-cells = <1>; |
| 600 |
#size-cells = <0>; |
| 601 |
}; |
| 602 |
|
| 603 |
spi0: spi@4025000 { |
| 604 |
compatible = "allwinner,sun55i-a523-spi"; |
| 605 |
reg = <0x04025000 0x1000>; |
| 606 |
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
| 607 |
clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; |
| 608 |
clock-names = "ahb", "mod"; |
| 609 |
dmas = <&dma 22>, <&dma 22>; |
| 610 |
dma-names = "rx", "tx"; |
| 611 |
resets = <&ccu RST_BUS_SPI0>; |
| 612 |
status = "disabled"; |
| 613 |
#address-cells = <1>; |
| 614 |
#size-cells = <0>; |
| 615 |
}; |
| 616 |
|
| 617 |
spi1: spi@4026000 { |
| 618 |
compatible = "allwinner,sun55i-a523-spi-dbi", |
| 619 |
"allwinner,sun55i-a523-spi"; |
| 620 |
reg = <0x04026000 0x1000>; |
| 621 |
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 622 |
clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; |
| 623 |
clock-names = "ahb", "mod"; |
| 624 |
dmas = <&dma 23>, <&dma 23>; |
| 625 |
dma-names = "rx", "tx"; |
| 626 |
resets = <&ccu RST_BUS_SPI1>; |
| 627 |
status = "disabled"; |
| 628 |
#address-cells = <1>; |
| 629 |
#size-cells = <0>; |
| 630 |
}; |
| 631 |
|
| 632 |
spi2: spi@4027000 { |
| 633 |
compatible = "allwinner,sun55i-a523-spi"; |
| 634 |
reg = <0x04027000 0x1000>; |
| 635 |
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; |
| 636 |
clocks = <&ccu CLK_BUS_SPI2>, <&ccu CLK_SPI2>; |
| 637 |
clock-names = "ahb", "mod"; |
| 638 |
dmas = <&dma 24>, <&dma 24>; |
| 639 |
dma-names = "rx", "tx"; |
| 640 |
resets = <&ccu RST_BUS_SPI2>; |
| 641 |
status = "disabled"; |
| 642 |
#address-cells = <1>; |
| 643 |
#size-cells = <0>; |
| 644 |
}; |
| 645 |
|
| 646 |
usb_otg: usb@4100000 { |
| 647 |
compatible = "allwinner,sun55i-a523-musb", |
| 648 |
"allwinner,sun8i-a33-musb"; |
| 649 |
reg = <0x4100000 0x400>; |
| 650 |
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 651 |
interrupt-names = "mc"; |
| 652 |
clocks = <&ccu CLK_BUS_OTG>; |
| 653 |
resets = <&ccu RST_BUS_OTG>; |
| 654 |
extcon = <&usbphy 0>; |
| 655 |
phys = <&usbphy 0>; |
| 656 |
phy-names = "usb"; |
| 657 |
status = "disabled"; |
| 658 |
}; |
| 659 |
|
| 660 |
usbphy: phy@4100400 { |
| 661 |
compatible = "allwinner,sun55i-a523-usb-phy", |
| 662 |
"allwinner,sun20i-d1-usb-phy"; |
| 663 |
reg = <0x4100400 0x100>, |
| 664 |
<0x4101800 0x100>, |
| 665 |
<0x4200800 0x100>; |
| 666 |
reg-names = "phy_ctrl", |
| 667 |
"pmu0", |
| 668 |
"pmu1"; |
| 669 |
clocks = <&osc24M>, |
| 670 |
<&osc24M>; |
| 671 |
clock-names = "usb0_phy", |
| 672 |
"usb1_phy"; |
| 673 |
resets = <&ccu RST_USB_PHY0>, |
| 674 |
<&ccu RST_USB_PHY1>; |
| 675 |
reset-names = "usb0_reset", |
| 676 |
"usb1_reset"; |
| 677 |
status = "disabled"; |
| 678 |
#phy-cells = <1>; |
| 679 |
}; |
| 680 |
|
| 681 |
ehci0: usb@4101000 { |
| 682 |
compatible = "allwinner,sun55i-a523-ehci", |
| 683 |
"generic-ehci"; |
| 684 |
reg = <0x4101000 0x100>; |
| 685 |
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 686 |
clocks = <&ccu CLK_BUS_OHCI0>, |
| 687 |
<&ccu CLK_BUS_EHCI0>, |
| 688 |
<&ccu CLK_USB_OHCI0>; |
| 689 |
resets = <&ccu RST_BUS_OHCI0>, |
| 690 |
<&ccu RST_BUS_EHCI0>; |
| 691 |
phys = <&usbphy 0>; |
| 692 |
phy-names = "usb"; |
| 693 |
status = "disabled"; |
| 694 |
}; |
| 695 |
|
| 696 |
ohci0: usb@4101400 { |
| 697 |
compatible = "allwinner,sun55i-a523-ohci", |
| 698 |
"generic-ohci"; |
| 699 |
reg = <0x4101400 0x100>; |
| 700 |
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 701 |
clocks = <&ccu CLK_BUS_OHCI0>, |
| 702 |
<&ccu CLK_USB_OHCI0>; |
| 703 |
resets = <&ccu RST_BUS_OHCI0>; |
| 704 |
phys = <&usbphy 0>; |
| 705 |
phy-names = "usb"; |
| 706 |
status = "disabled"; |
| 707 |
}; |
| 708 |
|
| 709 |
ehci1: usb@4200000 { |
| 710 |
compatible = "allwinner,sun55i-a523-ehci", |
| 711 |
"generic-ehci"; |
| 712 |
reg = <0x4200000 0x100>; |
| 713 |
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 714 |
clocks = <&ccu CLK_BUS_OHCI1>, |
| 715 |
<&ccu CLK_BUS_EHCI1>, |
| 716 |
<&ccu CLK_USB_OHCI1>; |
| 717 |
resets = <&ccu RST_BUS_OHCI1>, |
| 718 |
<&ccu RST_BUS_EHCI1>; |
| 719 |
phys = <&usbphy 1>; |
| 720 |
phy-names = "usb"; |
| 721 |
status = "disabled"; |
| 722 |
}; |
| 723 |
|
| 724 |
ohci1: usb@4200400 { |
| 725 |
compatible = "allwinner,sun55i-a523-ohci", |
| 726 |
"generic-ohci"; |
| 727 |
reg = <0x4200400 0x100>; |
| 728 |
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 729 |
clocks = <&ccu CLK_BUS_OHCI1>, |
| 730 |
<&ccu CLK_USB_OHCI1>; |
| 731 |
resets = <&ccu RST_BUS_OHCI1>; |
| 732 |
phys = <&usbphy 1>; |
| 733 |
phy-names = "usb"; |
| 734 |
status = "disabled"; |
| 735 |
}; |
| 736 |
|
| 737 |
gmac0: ethernet@4500000 { |
| 738 |
compatible = "allwinner,sun55i-a523-gmac0", |
| 739 |
"allwinner,sun50i-a64-emac"; |
| 740 |
reg = <0x04500000 0x10000>; |
| 741 |
clocks = <&ccu CLK_BUS_EMAC0>; |
| 742 |
clock-names = "stmmaceth"; |
| 743 |
resets = <&ccu RST_BUS_EMAC0>; |
| 744 |
reset-names = "stmmaceth"; |
| 745 |
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 746 |
interrupt-names = "macirq"; |
| 747 |
pinctrl-names = "default"; |
| 748 |
pinctrl-0 = <&rgmii0_pins>; |
| 749 |
syscon = <&syscon>; |
| 750 |
status = "disabled"; |
| 751 |
|
| 752 |
mdio0: mdio { |
| 753 |
compatible = "snps,dwmac-mdio"; |
| 754 |
#address-cells = <1>; |
| 755 |
#size-cells = <0>; |
| 756 |
}; |
| 757 |
}; |
| 758 |
|
| 759 |
gmac1: ethernet@4510000 { |
| 760 |
compatible = "allwinner,sun55i-a523-gmac200", |
| 761 |
"snps,dwmac-4.20a"; |
| 762 |
reg = <0x04510000 0x10000>; |
| 763 |
clocks = <&ccu CLK_BUS_EMAC1>, <&ccu CLK_MBUS_EMAC1>; |
| 764 |
clock-names = "stmmaceth", "mbus"; |
| 765 |
resets = <&ccu RST_BUS_EMAC1>; |
| 766 |
reset-names = "stmmaceth"; |
| 767 |
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 768 |
interrupt-names = "macirq"; |
| 769 |
pinctrl-names = "default"; |
| 770 |
pinctrl-0 = <&rgmii1_pins>; |
| 771 |
power-domains = <&pck600 PD_VO1>; |
| 772 |
syscon = <&syscon>; |
| 773 |
snps,fixed-burst; |
| 774 |
snps,axi-config = <&gmac1_stmmac_axi_setup>; |
| 775 |
snps,mtl-rx-config = <&gmac1_mtl_rx_setup>; |
| 776 |
snps,mtl-tx-config = <&gmac1_mtl_tx_setup>; |
| 777 |
status = "disabled"; |
| 778 |
|
| 779 |
mdio1: mdio { |
| 780 |
compatible = "snps,dwmac-mdio"; |
| 781 |
#address-cells = <1>; |
| 782 |
#size-cells = <0>; |
| 783 |
}; |
| 784 |
|
| 785 |
gmac1_mtl_rx_setup: rx-queues-config { |
| 786 |
snps,rx-queues-to-use = <1>; |
| 787 |
|
| 788 |
queue0 {}; |
| 789 |
}; |
| 790 |
|
| 791 |
gmac1_stmmac_axi_setup: stmmac-axi-config { |
| 792 |
snps,wr_osr_lmt = <0xf>; |
| 793 |
snps,rd_osr_lmt = <0xf>; |
| 794 |
snps,blen = <256 128 64 32 16 8 4>; |
| 795 |
}; |
| 796 |
|
| 797 |
gmac1_mtl_tx_setup: tx-queues-config { |
| 798 |
snps,tx-queues-to-use = <1>; |
| 799 |
|
| 800 |
queue0 {}; |
| 801 |
}; |
| 802 |
}; |
| 803 |
|
| 804 |
ppu: power-controller@7001400 { |
| 805 |
compatible = "allwinner,sun55i-a523-ppu"; |
| 806 |
reg = <0x07001400 0x400>; |
| 807 |
clocks = <&r_ccu CLK_BUS_R_PPU1>; |
| 808 |
resets = <&r_ccu RST_BUS_R_PPU1>; |
| 809 |
#power-domain-cells = <1>; |
| 810 |
}; |
| 811 |
|
| 812 |
r_ccu: clock-controller@7010000 { |
| 813 |
compatible = "allwinner,sun55i-a523-r-ccu"; |
| 814 |
reg = <0x7010000 0x250>; |
| 815 |
clocks = <&osc24M>, |
| 816 |
<&rtc CLK_OSC32K>, |
| 817 |
<&rtc CLK_IOSC>, |
| 818 |
<&ccu CLK_PLL_PERIPH0_200M>, |
| 819 |
<&ccu CLK_PLL_AUDIO0_4X>; |
| 820 |
clock-names = "hosc", |
| 821 |
"losc", |
| 822 |
"iosc", |
| 823 |
"pll-periph", |
| 824 |
"pll-audio"; |
| 825 |
#clock-cells = <1>; |
| 826 |
#reset-cells = <1>; |
| 827 |
assigned-clocks = <&r_ccu CLK_R_AHB>, <&r_ccu CLK_R_APB0>; |
| 828 |
assigned-clock-rates = <200000000>, <100000000>; |
| 829 |
}; |
| 830 |
|
| 831 |
nmi_intc: interrupt-controller@7010320 { |
| 832 |
compatible = "allwinner,sun55i-a523-nmi"; |
| 833 |
reg = <0x07010320 0xc>; |
| 834 |
interrupt-controller; |
| 835 |
#interrupt-cells = <2>; |
| 836 |
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
| 837 |
}; |
| 838 |
|
| 839 |
r_pio: pinctrl@7022000 { |
| 840 |
compatible = "allwinner,sun55i-a523-r-pinctrl"; |
| 841 |
reg = <0x7022000 0x800>; |
| 842 |
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>, |
| 843 |
<GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; |
| 844 |
clocks = <&r_ccu CLK_R_APB0>, |
| 845 |
<&osc24M>, |
| 846 |
<&rtc CLK_OSC32K>; |
| 847 |
clock-names = "apb", "hosc", "losc"; |
| 848 |
gpio-controller; |
| 849 |
#gpio-cells = <3>; |
| 850 |
interrupt-controller; |
| 851 |
#interrupt-cells = <3>; |
| 852 |
|
| 853 |
r_i2c_pins: r-i2c-pins { |
| 854 |
pins = "PL0" ,"PL1"; |
| 855 |
allwinner,pinmux = <2>; |
| 856 |
function = "r_i2c0"; |
| 857 |
}; |
| 858 |
}; |
| 859 |
|
| 860 |
pck600: power-controller@7060000 { |
| 861 |
compatible = "allwinner,sun55i-a523-pck-600"; |
| 862 |
reg = <0x07060000 0x8000>; |
| 863 |
clocks = <&r_ccu CLK_BUS_R_PPU0>; |
| 864 |
resets = <&r_ccu RST_BUS_R_PPU0>; |
| 865 |
#power-domain-cells = <1>; |
| 866 |
}; |
| 867 |
|
| 868 |
r_i2c0: i2c@7081400 { |
| 869 |
compatible = "allwinner,sun55i-a523-i2c", |
| 870 |
"allwinner,sun8i-v536-i2c", |
| 871 |
"allwinner,sun6i-a31-i2c"; |
| 872 |
reg = <0x07081400 0x400>; |
| 873 |
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; |
| 874 |
clocks = <&r_ccu CLK_BUS_R_I2C0>; |
| 875 |
dmas = <&dma 49>, <&dma 49>; |
| 876 |
dma-names = "rx", "tx"; |
| 877 |
resets = <&r_ccu RST_BUS_R_I2C0>; |
| 878 |
pinctrl-names = "default"; |
| 879 |
pinctrl-0 = <&r_i2c_pins>; |
| 880 |
status = "disabled"; |
| 881 |
|
| 882 |
#address-cells = <1>; |
| 883 |
#size-cells = <0>; |
| 884 |
}; |
| 885 |
|
| 886 |
rtc: rtc@7090000 { |
| 887 |
compatible = "allwinner,sun55i-a523-rtc", |
| 888 |
"allwinner,sun50i-r329-rtc"; |
| 889 |
reg = <0x7090000 0x400>; |
| 890 |
interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; |
| 891 |
clocks = <&r_ccu CLK_BUS_R_RTC>, |
| 892 |
<&osc24M>, |
| 893 |
<&r_ccu CLK_R_AHB>; |
| 894 |
clock-names = "bus", "hosc", "ahb"; |
| 895 |
#clock-cells = <1>; |
| 896 |
}; |
| 897 |
|
| 898 |
r_spi0: spi@7092000 { |
| 899 |
compatible = "allwinner,sun55i-a523-spi"; |
| 900 |
reg = <0x07092000 0x1000>; |
| 901 |
interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>; |
| 902 |
clocks = <&r_ccu CLK_BUS_R_SPI>, <&r_ccu CLK_R_SPI>; |
| 903 |
clock-names = "ahb", "mod"; |
| 904 |
dmas = <&mcu_dma 13>, <&mcu_dma 13>; |
| 905 |
dma-names = "rx", "tx"; |
| 906 |
resets = <&r_ccu RST_BUS_R_SPI>; |
| 907 |
status = "disabled"; |
| 908 |
#address-cells = <1>; |
| 909 |
#size-cells = <0>; |
| 910 |
}; |
| 911 |
|
| 912 |
mcu_ccu: clock-controller@7102000 { |
| 913 |
compatible = "allwinner,sun55i-a523-mcu-ccu"; |
| 914 |
reg = <0x7102000 0x200>; |
| 915 |
clocks = <&osc24M>, |
| 916 |
<&rtc CLK_OSC32K>, |
| 917 |
<&rtc CLK_IOSC>, |
| 918 |
<&ccu CLK_PLL_AUDIO0_4X>, |
| 919 |
<&ccu CLK_PLL_PERIPH0_300M>, |
| 920 |
<&ccu CLK_DSP>, |
| 921 |
<&ccu CLK_MBUS>, |
| 922 |
<&r_ccu CLK_R_AHB>, |
| 923 |
<&r_ccu CLK_R_APB0>; |
| 924 |
clock-names = "hosc", |
| 925 |
"losc", |
| 926 |
"iosc", |
| 927 |
"pll-audio0-4x", |
| 928 |
"pll-periph0-300m", |
| 929 |
"dsp", |
| 930 |
"mbus", |
| 931 |
"r-ahb", |
| 932 |
"r-apb0"; |
| 933 |
#clock-cells = <1>; |
| 934 |
#reset-cells = <1>; |
| 935 |
}; |
| 936 |
|
| 937 |
i2s0: i2s@7112000 { |
| 938 |
compatible = "allwinner,sun55i-a523-i2s", |
| 939 |
"allwinner,sun50i-r329-i2s"; |
| 940 |
reg = <0x07112000 0x1000>; |
| 941 |
interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; |
| 942 |
clocks = <&mcu_ccu CLK_BUS_MCU_I2S0>, <&mcu_ccu CLK_MCU_I2S0>; |
| 943 |
clock-names = "apb", "mod"; |
| 944 |
resets = <&mcu_ccu RST_BUS_MCU_I2S0>; |
| 945 |
dmas = <&mcu_dma 3>, <&mcu_dma 3>; |
| 946 |
dma-names = "rx", "tx"; |
| 947 |
#sound-dai-cells = <0>; |
| 948 |
status = "disabled"; |
| 949 |
}; |
| 950 |
|
| 951 |
i2s1: i2s@7113000 { |
| 952 |
compatible = "allwinner,sun55i-a523-i2s", |
| 953 |
"allwinner,sun50i-r329-i2s"; |
| 954 |
reg = <0x07113000 0x1000>; |
| 955 |
interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; |
| 956 |
clocks = <&mcu_ccu CLK_BUS_MCU_I2S1>, <&mcu_ccu CLK_MCU_I2S1>; |
| 957 |
clock-names = "apb", "mod"; |
| 958 |
resets = <&mcu_ccu RST_BUS_MCU_I2S1>; |
| 959 |
dmas = <&mcu_dma 4>, <&mcu_dma 4>; |
| 960 |
dma-names = "rx", "tx"; |
| 961 |
#sound-dai-cells = <0>; |
| 962 |
status = "disabled"; |
| 963 |
}; |
| 964 |
|
| 965 |
i2s2: i2s@7114000 { |
| 966 |
compatible = "allwinner,sun55i-a523-i2s", |
| 967 |
"allwinner,sun50i-r329-i2s"; |
| 968 |
reg = <0x07114000 0x1000>; |
| 969 |
interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; |
| 970 |
clocks = <&mcu_ccu CLK_BUS_MCU_I2S2>, <&mcu_ccu CLK_MCU_I2S2>; |
| 971 |
clock-names = "apb", "mod"; |
| 972 |
resets = <&mcu_ccu RST_BUS_MCU_I2S2>; |
| 973 |
dmas = <&mcu_dma 5>, <&mcu_dma 5>; |
| 974 |
dma-names = "rx", "tx"; |
| 975 |
#sound-dai-cells = <0>; |
| 976 |
status = "disabled"; |
| 977 |
}; |
| 978 |
|
| 979 |
i2s3: i2s@7115000 { |
| 980 |
compatible = "allwinner,sun55i-a523-i2s", |
| 981 |
"allwinner,sun50i-r329-i2s"; |
| 982 |
reg = <0x07115000 0x1000>; |
| 983 |
interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; |
| 984 |
clocks = <&mcu_ccu CLK_BUS_MCU_I2S3>, <&mcu_ccu CLK_MCU_I2S3>; |
| 985 |
clock-names = "apb", "mod"; |
| 986 |
resets = <&mcu_ccu RST_BUS_MCU_I2S3>; |
| 987 |
dmas = <&mcu_dma 6>, <&mcu_dma 6>; |
| 988 |
dma-names = "rx", "tx"; |
| 989 |
#sound-dai-cells = <0>; |
| 990 |
status = "disabled"; |
| 991 |
}; |
| 992 |
|
| 993 |
spdif: spdif@7116000 { |
| 994 |
compatible = "allwinner,sun55i-a523-spdif"; |
| 995 |
reg = <0x07116000 0x400>; |
| 996 |
interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; |
| 997 |
clocks = <&mcu_ccu CLK_BUS_MCU_SPDIF>, |
| 998 |
<&mcu_ccu CLK_MCU_SPDIF_TX>, |
| 999 |
<&mcu_ccu CLK_MCU_SPDIF_RX>; |
| 1000 |
clock-names = "apb", "tx", "rx"; |
| 1001 |
resets = <&mcu_ccu RST_BUS_MCU_SPDIF>; |
| 1002 |
dmas = <&mcu_dma 2>, <&mcu_dma 2>; |
| 1003 |
dma-names = "rx", "tx"; |
| 1004 |
#sound-dai-cells = <0>; |
| 1005 |
status = "disabled"; |
| 1006 |
}; |
| 1007 |
|
| 1008 |
mcu_dma: dma-controller@7121000 { |
| 1009 |
compatible = "allwinner,sun55i-a523-mcu-dma", |
| 1010 |
"allwinner,sun50i-a100-dma"; |
| 1011 |
reg = <0x07121000 0x1000>; |
| 1012 |
interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; |
| 1013 |
clocks = <&mcu_ccu CLK_BUS_MCU_DMA>, <&mcu_ccu CLK_MCU_MBUS_DMA>; |
| 1014 |
clock-names = "bus", "mbus"; |
| 1015 |
dma-channels = <16>; |
| 1016 |
dma-requests = <15>; |
| 1017 |
resets = <&mcu_ccu RST_BUS_MCU_DMA>; |
| 1018 |
#dma-cells = <1>; |
| 1019 |
}; |
| 1020 |
|
| 1021 |
npu: npu@7122000 { |
| 1022 |
compatible = "vivante,gc"; |
| 1023 |
reg = <0x07122000 0x1000>; |
| 1024 |
interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; |
| 1025 |
clocks = <&mcu_ccu CLK_BUS_MCU_NPU_ACLK>, |
| 1026 |
<&ccu CLK_NPU>, |
| 1027 |
<&mcu_ccu CLK_BUS_MCU_NPU_HCLK>; |
| 1028 |
clock-names = "bus", "core", "reg"; |
| 1029 |
resets = <&mcu_ccu RST_BUS_MCU_NPU>; |
| 1030 |
power-domains = <&ppu PD_NPU>; |
| 1031 |
}; |
| 1032 |
}; |
| 1033 |
}; |