48 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/reserved-memory/phram.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MTD/block device in RAM8 9description: |10 Specifies that the reserved memory region can be used as an MTD or block11 device.12 13 The "phram" node is named after the "MTD in PHysical RAM" driver which14 provides an implementation of this functionality in Linux.15 16maintainers:17 - Vincent Whitchurch <vincent.whitchurch@axis.com>18 19allOf:20 - $ref: reserved-memory.yaml21 - $ref: /schemas/mtd/mtd.yaml22 23properties:24 compatible:25 const: phram26 27 reg:28 description: region of memory that can be used as an MTD/block device29 30required:31 - compatible32 - reg33 34unevaluatedProperties: false35 36examples:37 - |38 reserved-memory {39 #address-cells = <1>;40 #size-cells = <1>;41 42 phram: flash@12340000 {43 compatible = "phram";44 label = "rootfs";45 reg = <0x12340000 0x00800000>;46 };47 };48