brintos

brintos / linux-shallow public Read only

0
0
Text · 3.1 KiB · 80845c7 Raw
128 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Technologies Inc, QFPROM Efuse8 9maintainers:10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>11 12allOf:13  - $ref: nvmem.yaml#14  - $ref: nvmem-deprecated-cells.yaml#15 16properties:17  compatible:18    items:19      - enum:20          - qcom,apq8064-qfprom21          - qcom,apq8084-qfprom22          - qcom,ipq5332-qfprom23          - qcom,ipq6018-qfprom24          - qcom,ipq8064-qfprom25          - qcom,ipq8074-qfprom26          - qcom,ipq9574-qfprom27          - qcom,msm8226-qfprom28          - qcom,msm8916-qfprom29          - qcom,msm8974-qfprom30          - qcom,msm8976-qfprom31          - qcom,msm8996-qfprom32          - qcom,msm8998-qfprom33          - qcom,qcm2290-qfprom34          - qcom,qcs404-qfprom35          - qcom,sc7180-qfprom36          - qcom,sc7280-qfprom37          - qcom,sc8280xp-qfprom38          - qcom,sdm630-qfprom39          - qcom,sdm670-qfprom40          - qcom,sdm845-qfprom41          - qcom,sm6115-qfprom42          - qcom,sm6350-qfprom43          - qcom,sm6375-qfprom44          - qcom,sm8150-qfprom45          - qcom,sm8250-qfprom46          - qcom,sm8450-qfprom47          - qcom,sm8550-qfprom48          - qcom,sm8650-qfprom49      - const: qcom,qfprom50 51  reg:52    # If the QFPROM is read-only OS image then only the corrected region53    # needs to be provided.  If the QFPROM is writable then all 4 regions54    # must be provided.55    oneOf:56      - items:57          - description: The corrected region.58      - items:59          - description: The corrected region.60          - description: The raw region.61          - description: The config region.62          - description: The security control region.63 64  # Clock must be provided if QFPROM is writable from the OS image.65  clocks:66    maxItems: 167  clock-names:68    const: core69 70  # Supply reference must be provided if QFPROM is writable from the OS image.71  vcc-supply:72    description: Our power supply.73 74  power-domains:75    maxItems: 176 77required:78  - compatible79  - reg80 81unevaluatedProperties: false82 83examples:84  - |85    #include <dt-bindings/clock/qcom,gcc-sc7180.h>86 87    soc {88      #address-cells = <2>;89      #size-cells = <2>;90 91      efuse@784000 {92        compatible = "qcom,sc7180-qfprom", "qcom,qfprom";93        reg = <0 0x00784000 0 0x8ff>,94              <0 0x00780000 0 0x7a0>,95              <0 0x00782000 0 0x100>,96              <0 0x00786000 0 0x1fff>;97        clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>;98        clock-names = "core";99        #address-cells = <1>;100        #size-cells = <1>;101 102        vcc-supply = <&vreg_l11a_1p8>;103 104        hstx-trim-primary@25b {105          reg = <0x25b 0x1>;106          bits = <1 3>;107        };108      };109    };110 111  - |112    soc {113      #address-cells = <2>;114      #size-cells = <2>;115 116      efuse@784000 {117        compatible = "qcom,sdm845-qfprom", "qcom,qfprom";118        reg = <0 0x00784000 0 0x8ff>;119        #address-cells = <1>;120        #size-cells = <1>;121 122        hstx-trim-primary@1eb {123          reg = <0x1eb 0x1>;124          bits = <1 4>;125        };126      };127    };128