1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/nvmem/qcom, 4 $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm Technologies Inc, QFPROM Efuse 7 title: Qualcomm Technologies Inc, QFPROM Efuse 8 8 9 maintainers: 9 maintainers: 10 - Srinivas Kandagatla <srinivas.kandagatla@li 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 11 12 allOf: 12 allOf: 13 - $ref: nvmem.yaml# 13 - $ref: nvmem.yaml# 14 - $ref: nvmem-deprecated-cells.yaml# 14 - $ref: nvmem-deprecated-cells.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 items: 18 items: 19 - enum: 19 - enum: 20 - qcom,apq8064-qfprom 20 - qcom,apq8064-qfprom 21 - qcom,apq8084-qfprom 21 - qcom,apq8084-qfprom 22 - qcom,ipq5332-qfprom 22 - qcom,ipq5332-qfprom 23 - qcom,ipq6018-qfprom 23 - qcom,ipq6018-qfprom 24 - qcom,ipq8064-qfprom 24 - qcom,ipq8064-qfprom 25 - qcom,ipq8074-qfprom 25 - qcom,ipq8074-qfprom 26 - qcom,ipq9574-qfprom 26 - qcom,ipq9574-qfprom 27 - qcom,msm8226-qfprom 27 - qcom,msm8226-qfprom 28 - qcom,msm8916-qfprom 28 - qcom,msm8916-qfprom 29 - qcom,msm8974-qfprom 29 - qcom,msm8974-qfprom 30 - qcom,msm8976-qfprom 30 - qcom,msm8976-qfprom 31 - qcom,msm8996-qfprom 31 - qcom,msm8996-qfprom 32 - qcom,msm8998-qfprom 32 - qcom,msm8998-qfprom 33 - qcom,qcm2290-qfprom 33 - qcom,qcm2290-qfprom 34 - qcom,qcs404-qfprom 34 - qcom,qcs404-qfprom 35 - qcom,sc7180-qfprom 35 - qcom,sc7180-qfprom 36 - qcom,sc7280-qfprom 36 - qcom,sc7280-qfprom 37 - qcom,sc8280xp-qfprom << 38 - qcom,sdm630-qfprom 37 - qcom,sdm630-qfprom 39 - qcom,sdm670-qfprom 38 - qcom,sdm670-qfprom 40 - qcom,sdm845-qfprom 39 - qcom,sdm845-qfprom 41 - qcom,sm6115-qfprom 40 - qcom,sm6115-qfprom 42 - qcom,sm6350-qfprom 41 - qcom,sm6350-qfprom 43 - qcom,sm6375-qfprom 42 - qcom,sm6375-qfprom 44 - qcom,sm8150-qfprom 43 - qcom,sm8150-qfprom 45 - qcom,sm8250-qfprom 44 - qcom,sm8250-qfprom 46 - qcom,sm8450-qfprom << 47 - qcom,sm8550-qfprom << 48 - qcom,sm8650-qfprom << 49 - const: qcom,qfprom 45 - const: qcom,qfprom 50 46 51 reg: 47 reg: 52 # If the QFPROM is read-only OS image then 48 # If the QFPROM is read-only OS image then only the corrected region 53 # needs to be provided. If the QFPROM is 49 # needs to be provided. If the QFPROM is writable then all 4 regions 54 # must be provided. 50 # must be provided. 55 oneOf: 51 oneOf: 56 - items: 52 - items: 57 - description: The corrected region. 53 - description: The corrected region. 58 - items: 54 - items: 59 - description: The corrected region. 55 - description: The corrected region. 60 - description: The raw region. 56 - description: The raw region. 61 - description: The config region. 57 - description: The config region. 62 - description: The security control 58 - description: The security control region. 63 59 64 # Clock must be provided if QFPROM is writab 60 # Clock must be provided if QFPROM is writable from the OS image. 65 clocks: 61 clocks: 66 maxItems: 1 62 maxItems: 1 67 clock-names: 63 clock-names: 68 const: core 64 const: core 69 65 70 # Supply reference must be provided if QFPRO 66 # Supply reference must be provided if QFPROM is writable from the OS image. 71 vcc-supply: 67 vcc-supply: 72 description: Our power supply. 68 description: Our power supply. 73 69 74 power-domains: 70 power-domains: 75 maxItems: 1 71 maxItems: 1 76 72 77 required: 73 required: 78 - compatible 74 - compatible 79 - reg 75 - reg 80 76 81 unevaluatedProperties: false 77 unevaluatedProperties: false 82 78 83 examples: 79 examples: 84 - | 80 - | 85 #include <dt-bindings/clock/qcom,gcc-sc718 81 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 86 82 87 soc { 83 soc { 88 #address-cells = <2>; 84 #address-cells = <2>; 89 #size-cells = <2>; 85 #size-cells = <2>; 90 86 91 efuse@784000 { 87 efuse@784000 { 92 compatible = "qcom,sc7180-qfprom", "qc 88 compatible = "qcom,sc7180-qfprom", "qcom,qfprom"; 93 reg = <0 0x00784000 0 0x8ff>, 89 reg = <0 0x00784000 0 0x8ff>, 94 <0 0x00780000 0 0x7a0>, 90 <0 0x00780000 0 0x7a0>, 95 <0 0x00782000 0 0x100>, 91 <0 0x00782000 0 0x100>, 96 <0 0x00786000 0 0x1fff>; 92 <0 0x00786000 0 0x1fff>; 97 clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>; 93 clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>; 98 clock-names = "core"; 94 clock-names = "core"; 99 #address-cells = <1>; 95 #address-cells = <1>; 100 #size-cells = <1>; 96 #size-cells = <1>; 101 97 102 vcc-supply = <&vreg_l11a_1p8>; 98 vcc-supply = <&vreg_l11a_1p8>; 103 99 104 hstx-trim-primary@25b { 100 hstx-trim-primary@25b { 105 reg = <0x25b 0x1>; 101 reg = <0x25b 0x1>; 106 bits = <1 3>; 102 bits = <1 3>; 107 }; 103 }; 108 }; 104 }; 109 }; 105 }; 110 106 111 - | 107 - | 112 soc { 108 soc { 113 #address-cells = <2>; 109 #address-cells = <2>; 114 #size-cells = <2>; 110 #size-cells = <2>; 115 111 116 efuse@784000 { 112 efuse@784000 { 117 compatible = "qcom,sdm845-qfprom", "qc 113 compatible = "qcom,sdm845-qfprom", "qcom,qfprom"; 118 reg = <0 0x00784000 0 0x8ff>; 114 reg = <0 0x00784000 0 0x8ff>; 119 #address-cells = <1>; 115 #address-cells = <1>; 120 #size-cells = <1>; 116 #size-cells = <1>; 121 117 122 hstx-trim-primary@1eb { 118 hstx-trim-primary@1eb { 123 reg = <0x1eb 0x1>; 119 reg = <0x1eb 0x1>; 124 bits = <1 4>; 120 bits = <1 4>; 125 }; 121 }; 126 }; 122 }; 127 }; 123 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.