MTD/block device in RAM
Schema identifier ($id): "http://devicetree.org/schemas/reserved-memory/phram.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Specifies that the reserved memory region can be used as an MTD or block device.
The "phram" node is named after the "MTD in PHysical RAM" driver which provides an implementation of this functionality in Linux.
Maintainers (maintainers): "Vincent Whitchurch <vincent.whitchurch@axis.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):reserved-memory.yaml
Rule 2 #
Shared schema rule (
$ref):/schemas/mtd/mtd.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "phram"
reg — required here #
region of memory that can be used as an MTD/block device
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
phram: flash@12340000 {
compatible = "phram";
label = "rootfs";
reg = <0x12340000 0x00800000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause