mbox series

[00/14] Add new Renesas RZ/V2M SoC and Renesas RZ/V2M EVK support

Message ID 20220321154232.56315-1-phil.edworthy@renesas.com
Headers show
Series Add new Renesas RZ/V2M SoC and Renesas RZ/V2M EVK support | expand

Message

Phil Edworthy March 21, 2022, 3:42 p.m. UTC
Hello,

RZ/V2M has a dual-core Cortex-A53 (1.0 GHz) CPU and built-in AI
accelerator "DRP-AI" for vision, which is Renesas' original technology.
It also has a 32-bit LPDDR4 interface and video codec (H.264).

The RZ/V2M is used with ISP firmware that runs on one of the Cortex-A53
cores. The firmware is an integral part of the SoC such that the HW
User's Manual documents which of the peripheral modules are used by the
firmware.

Initial patches enables minimal peripherals on Renesas RZ/V2M EVK board
and booted via nfs. Ethernet is broadly compatible with the
etheravb-rcar-gen3 driver, but interrupts need some work so it's not
been included in this patch set.

Below blocks are enabled on Renesas RZ/V2M EVK board:
- memory
- External input clock
- CPG
- UART

Links for SoC and EVK:
[*] https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-cortex-a-mpus/rzv2m-dual-cortex-a53-lpddr4x32bit-ai-accelerator-isp-4k-video-codec-4k-camera-input-fhd-display-output


Sorry for cross posting the patches to multiple subsystems, as these are
just the dt-binding patches included as part of initial bringup patches.

Test logs on Renesas RZ/V2M EVK:

/ # cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 48.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

/ # cat /proc/meminfo
MemTotal:        2617088 kB
MemFree:         2560788 kB
MemAvailable:    2495544 kB
Buffers:               0 kB
Cached:            24840 kB
SwapCached:            0 kB
Active:             7988 kB
Inactive:          23420 kB
Active(anon):        244 kB
Inactive(anon):    14816 kB
Active(file):       7744 kB
Inactive(file):     8604 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          6568 kB
Mapped:             9924 kB
Shmem:              8492 kB
KReclaimable:       4244 kB
Slab:              11768 kB
SReclaimable:       4244 kB
SUnreclaim:         7524 kB
KernelStack:         908 kB
PageTables:          620 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1308544 kB
Committed_AS:      24500 kB
VmallocTotal:   133143592960 kB
VmallocUsed:        1208 kB
VmallocChunk:          0 kB
Percpu:              124 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:          32768 kB
CmaFree:           31208 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
/ #
/ # cat /proc/interrupts
           CPU0
 11:       3394     GICv2  30 Level     arch_timer
 14:       4644     GICv2 283 Level     eth0:ch0:rx_be
 15:          0     GICv2 284 Level     eth0:ch1:rx_nc
 32:       6706     GICv2 301 Level     eth0:ch18:tx_be
 33:          0     GICv2 302 Level     eth0:ch19:tx_nc
 36:          0     GICv2 305 Level     eth0:ch22:multi
 38:          0     GICv2 309 Level     eth0:ch24:emac
 43:        402     GICv2 272 Level     ttyS0
IPI0:         0       Rescheduling interrupts
IPI1:         0       Function call interrupts
IPI2:         0       CPU stop interrupts
IPI3:         0       CPU stop (for crash dump) interrupts
IPI4:         0       Timer broadcast interrupts
IPI5:         0       IRQ work interrupts
IPI6:         0       CPU wake-up interrupts
Err:          0
/ #
/ # for i in machine family soc_id revision; do echo -n "$i: ";cat /sys/devices/soc0/$i; done
machine: RZ/V2M Evaluation Kit 2.0
family: RZ/V2M
soc_id: r9a09g011
revision: 1.0

Thanks
Phil