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: 109664a6b5SShyam Kumar Thella - Shyam Kumar Thella <sthella@codeaurora.org> 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: 18*d14d9f0eSRob Herring - $ref: nvmem.yaml# 199664a6b5SShyam Kumar Thella 209664a6b5SShyam Kumar Thellaproperties: 219664a6b5SShyam Kumar Thella compatible: 229664a6b5SShyam Kumar Thella enum: 239664a6b5SShyam Kumar Thella - qcom,spmi-sdam 249664a6b5SShyam Kumar Thella 259664a6b5SShyam Kumar Thella reg: 269664a6b5SShyam Kumar Thella maxItems: 1 279664a6b5SShyam Kumar Thella 289664a6b5SShyam Kumar Thella ranges: true 299664a6b5SShyam Kumar Thella 309664a6b5SShyam Kumar Thellarequired: 319664a6b5SShyam Kumar Thella - compatible 329664a6b5SShyam Kumar Thella - reg 339664a6b5SShyam Kumar Thella - ranges 349664a6b5SShyam Kumar Thella 356fdc6e23SRob HerringunevaluatedProperties: false 366fdc6e23SRob Herring 379664a6b5SShyam Kumar Thellaexamples: 389664a6b5SShyam Kumar Thella - | 391ca28dc9SJohan Hovold pmic { 401ca28dc9SJohan Hovold #address-cells = <1>; 411ca28dc9SJohan Hovold #size-cells = <0>; 421ca28dc9SJohan Hovold 439664a6b5SShyam Kumar Thella sdam_1: nvram@b000 { 441ca28dc9SJohan Hovold compatible = "qcom,spmi-sdam"; 451ca28dc9SJohan Hovold reg = <0xb000>; 469664a6b5SShyam Kumar Thella #address-cells = <1>; 479664a6b5SShyam Kumar Thella #size-cells = <1>; 489664a6b5SShyam Kumar Thella ranges = <0 0xb000 0x100>; 499664a6b5SShyam Kumar Thella 509664a6b5SShyam Kumar Thella /* Data cells */ 519664a6b5SShyam Kumar Thella restart_reason: restart@50 { 529664a6b5SShyam Kumar Thella reg = <0x50 0x1>; 539664a6b5SShyam Kumar Thella bits = <6 2>; 549664a6b5SShyam Kumar Thella }; 559664a6b5SShyam Kumar Thella }; 561ca28dc9SJohan Hovold }; 579664a6b5SShyam Kumar Thella... 58