15f327f08SManivannan Sadhasivam# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25f327f08SManivannan Sadhasivam%YAML 1.2 35f327f08SManivannan Sadhasivam--- 45f327f08SManivannan Sadhasivam$id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml# 55f327f08SManivannan Sadhasivam$schema: http://devicetree.org/meta-schemas/core.yaml# 65f327f08SManivannan Sadhasivam 75f327f08SManivannan Sadhasivamtitle: Qualcomm SMEM NAND flash partition parser binding 85f327f08SManivannan Sadhasivam 95f327f08SManivannan Sadhasivammaintainers: 105f327f08SManivannan Sadhasivam - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 115f327f08SManivannan Sadhasivam 125f327f08SManivannan Sadhasivamdescription: | 135f327f08SManivannan Sadhasivam The Qualcomm SoCs supporting the NAND controller interface features a Shared 145f327f08SManivannan Sadhasivam Memory (SMEM) based partition table scheme. The maximum partitions supported 155f327f08SManivannan Sadhasivam varies between partition table revisions. V3 supports maximum 16 partitions 165f327f08SManivannan Sadhasivam and V4 supports 48 partitions. 175f327f08SManivannan Sadhasivam 185f327f08SManivannan Sadhasivamproperties: 195f327f08SManivannan Sadhasivam compatible: 205f327f08SManivannan Sadhasivam const: qcom,smem-part 215f327f08SManivannan Sadhasivam 22*dd638202SChristian MarangipatternProperties: 23*dd638202SChristian Marangi "^partition-[0-9a-z]+$": 24*dd638202SChristian Marangi $ref: partition.yaml# 25*dd638202SChristian Marangi 265f327f08SManivannan Sadhasivamrequired: 275f327f08SManivannan Sadhasivam - compatible 285f327f08SManivannan Sadhasivam 295f327f08SManivannan SadhasivamadditionalProperties: false 305f327f08SManivannan Sadhasivam 315f327f08SManivannan Sadhasivamexamples: 325f327f08SManivannan Sadhasivam - | 335f327f08SManivannan Sadhasivam flash { 345f327f08SManivannan Sadhasivam partitions { 355f327f08SManivannan Sadhasivam compatible = "qcom,smem-part"; 365f327f08SManivannan Sadhasivam }; 375f327f08SManivannan Sadhasivam }; 38*dd638202SChristian Marangi 39*dd638202SChristian Marangi - | 40*dd638202SChristian Marangi /* Example declaring dynamic partition */ 41*dd638202SChristian Marangi flash { 42*dd638202SChristian Marangi partitions { 43*dd638202SChristian Marangi compatible = "qcom,smem-part"; 44*dd638202SChristian Marangi 45*dd638202SChristian Marangi partition-art { 46*dd638202SChristian Marangi compatible = "nvmem-cells"; 47*dd638202SChristian Marangi #address-cells = <1>; 48*dd638202SChristian Marangi #size-cells = <1>; 49*dd638202SChristian Marangi label = "0:art"; 50*dd638202SChristian Marangi 51*dd638202SChristian Marangi macaddr_art_0: macaddr@0 { 52*dd638202SChristian Marangi reg = <0x0 0x6>; 53*dd638202SChristian Marangi }; 54*dd638202SChristian Marangi 55*dd638202SChristian Marangi macaddr_art_6: macaddr@6 { 56*dd638202SChristian Marangi reg = <0x6 0x6>; 57*dd638202SChristian Marangi }; 58*dd638202SChristian Marangi }; 59*dd638202SChristian Marangi }; 60*dd638202SChristian Marangi }; 61