19664a6b5SShyam Kumar Thella# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 29664a6b5SShyam Kumar Thella%YAML 1.2 39664a6b5SShyam Kumar Thella--- 49664a6b5SShyam Kumar Thella$id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml# 59664a6b5SShyam Kumar Thella$schema: http://devicetree.org/meta-schemas/core.yaml# 69664a6b5SShyam Kumar Thella 7a612130cSKrzysztof Kozlowskititle: Qualcomm Technologies, Inc. SPMI SDAM 89664a6b5SShyam Kumar Thella 99664a6b5SShyam Kumar Thellamaintainers: 10*dc5d4043SDavid Collins - David Collins <quic_collinsd@quicinc.com> 119664a6b5SShyam Kumar Thella 129664a6b5SShyam Kumar Thelladescription: | 139664a6b5SShyam Kumar Thella The SDAM provides scratch register space for the PMIC clients. This 149664a6b5SShyam Kumar Thella memory can be used by software to store information or communicate 159664a6b5SShyam Kumar Thella to/from the PBUS. 169664a6b5SShyam Kumar Thella 179664a6b5SShyam Kumar ThellaallOf: 18d14d9f0eSRob Herring - $ref: nvmem.yaml# 19c5330723SRafał Miłecki - $ref: nvmem-deprecated-cells.yaml# 209664a6b5SShyam Kumar Thella 219664a6b5SShyam Kumar Thellaproperties: 229664a6b5SShyam Kumar Thella compatible: 239664a6b5SShyam Kumar Thella enum: 249664a6b5SShyam Kumar Thella - qcom,spmi-sdam 259664a6b5SShyam Kumar Thella 269664a6b5SShyam Kumar Thella reg: 279664a6b5SShyam Kumar Thella maxItems: 1 289664a6b5SShyam Kumar Thella 299664a6b5SShyam Kumar Thella ranges: true 309664a6b5SShyam Kumar Thella 319664a6b5SShyam Kumar Thellarequired: 329664a6b5SShyam Kumar Thella - compatible 339664a6b5SShyam Kumar Thella - reg 349664a6b5SShyam Kumar Thella - ranges 359664a6b5SShyam Kumar Thella 366fdc6e23SRob HerringunevaluatedProperties: false 376fdc6e23SRob Herring 389664a6b5SShyam Kumar Thellaexamples: 399664a6b5SShyam Kumar Thella - | 401ca28dc9SJohan Hovold pmic { 411ca28dc9SJohan Hovold #address-cells = <1>; 421ca28dc9SJohan Hovold #size-cells = <0>; 431ca28dc9SJohan Hovold 449664a6b5SShyam Kumar Thella sdam_1: nvram@b000 { 451ca28dc9SJohan Hovold compatible = "qcom,spmi-sdam"; 461ca28dc9SJohan Hovold reg = <0xb000>; 479664a6b5SShyam Kumar Thella #address-cells = <1>; 489664a6b5SShyam Kumar Thella #size-cells = <1>; 499664a6b5SShyam Kumar Thella ranges = <0 0xb000 0x100>; 509664a6b5SShyam Kumar Thella 519664a6b5SShyam Kumar Thella /* Data cells */ 529664a6b5SShyam Kumar Thella restart_reason: restart@50 { 539664a6b5SShyam Kumar Thella reg = <0x50 0x1>; 549664a6b5SShyam Kumar Thella bits = <6 2>; 559664a6b5SShyam Kumar Thella }; 569664a6b5SShyam Kumar Thella }; 571ca28dc9SJohan Hovold }; 589664a6b5SShyam Kumar Thella... 59