1*4e969459SVincent Whitchurch# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*4e969459SVincent Whitchurch%YAML 1.2 3*4e969459SVincent Whitchurch--- 4*4e969459SVincent Whitchurch$id: http://devicetree.org/schemas/reserved-memory/phram.yaml# 5*4e969459SVincent Whitchurch$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4e969459SVincent Whitchurch 7*4e969459SVincent Whitchurchtitle: MTD/block device in RAM 8*4e969459SVincent Whitchurch 9*4e969459SVincent Whitchurchdescription: | 10*4e969459SVincent Whitchurch Specifies that the reserved memory region can be used as an MTD or block 11*4e969459SVincent Whitchurch device. 12*4e969459SVincent Whitchurch 13*4e969459SVincent Whitchurch The "phram" node is named after the "MTD in PHysical RAM" driver which 14*4e969459SVincent Whitchurch provides an implementation of this functionality in Linux. 15*4e969459SVincent Whitchurch 16*4e969459SVincent Whitchurchmaintainers: 17*4e969459SVincent Whitchurch - Vincent Whitchurch <vincent.whitchurch@axis.com> 18*4e969459SVincent Whitchurch 19*4e969459SVincent WhitchurchallOf: 20*4e969459SVincent Whitchurch - $ref: "reserved-memory.yaml" 21*4e969459SVincent Whitchurch - $ref: "/schemas/mtd/mtd.yaml" 22*4e969459SVincent Whitchurch 23*4e969459SVincent Whitchurchproperties: 24*4e969459SVincent Whitchurch compatible: 25*4e969459SVincent Whitchurch const: phram 26*4e969459SVincent Whitchurch 27*4e969459SVincent Whitchurch reg: 28*4e969459SVincent Whitchurch description: region of memory that can be used as an MTD/block device 29*4e969459SVincent Whitchurch 30*4e969459SVincent Whitchurchrequired: 31*4e969459SVincent Whitchurch - compatible 32*4e969459SVincent Whitchurch - reg 33*4e969459SVincent Whitchurch 34*4e969459SVincent WhitchurchunevaluatedProperties: false 35*4e969459SVincent Whitchurch 36*4e969459SVincent Whitchurchexamples: 37*4e969459SVincent Whitchurch - | 38*4e969459SVincent Whitchurch reserved-memory { 39*4e969459SVincent Whitchurch #address-cells = <1>; 40*4e969459SVincent Whitchurch #size-cells = <1>; 41*4e969459SVincent Whitchurch 42*4e969459SVincent Whitchurch phram: flash@12340000 { 43*4e969459SVincent Whitchurch compatible = "phram"; 44*4e969459SVincent Whitchurch label = "rootfs"; 45*4e969459SVincent Whitchurch reg = <0x12340000 0x00800000>; 46*4e969459SVincent Whitchurch }; 47*4e969459SVincent Whitchurch }; 48