gd,gd32-backup-sram

Description

GD32 Backup SRAM retained memory

Retained memory driver for GD32 Backup SRAM. The device enables the Backup SRAM
clock gate. To retain contents while VBAT is supplied, BLDO (Backup SRAM LDO)
should be enabled using a regulator referenced by vin-supply.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

vin-supply

phandle

Regulator that powers/controls Backup SRAM retention (BLDO)

zephyr,memory-region

string

Signify that this node should result in a dedicated linker script
memory region in the final executable. The region address and size
is taken from the <reg> property, while the name is the value of
this property.

This property is required.

zephyr,memory-region-flags

string

Set attributes such as read-only or executable for the linker script
memory region. The string set here will be specified in parentheses
after the area name in the linker script.

zephyr,memory-attr

int

Attribute or set of attributes (bitmask) for the memory region. See
'include/zephyr/dt-bindings/memory-attr/memory-attr.h' for a
comprehensive list with description of possible values.