From 2f1b58de051761c333ca3771d7db986dd2aa5e4f Mon Sep 17 00:00:00 2001 From: Serge Semin Date: Sun, 24 Apr 2022 22:06:40 +0300 Subject: dt-bindings: mtd-physmap: Add Baikal-T1 internal ROM bindings Rom embedded into the Baikal-T1 SoC has been supported by the MTD Physmap ROM driver since commit b3e79e7682e0 ("mtd: physmap: Add Baikal-T1 physically mapped ROM support"). Let's make sure that the corresponding DT node is evaluated by the 'mtd-rom'-compatible DT schema. Note the subschema is defined as having two compatibles: 'baikal,bt1-int-rom' and 'mtd-rom'. The former string is listed in the enumeration for the sake of maintainability in case if some other vendor-specific MTD Physmap ROM is added. Signed-off-by: Serge Semin --- Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml index a9ec3ca002c7..b1e75623f5a9 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml @@ -56,6 +56,10 @@ properties: - cypress,cy7c1019dv33-10zsxi - arm,vexpress-psram - const: mtd-ram + - items: + - enum: + - baikal,bt1-int-rom + - const: mtd-rom - enum: - cfi-flash - jedec-flash -- cgit v1.2.3