diff --git a/bindings/arm/msm/imem.yaml b/bindings/arm/msm/imem.yaml index d0396739..eeaf79a0 100644 --- a/bindings/arm/msm/imem.yaml +++ b/bindings/arm/msm/imem.yaml @@ -26,67 +26,34 @@ properties: const: 1 ranges: true - description: - Includes the child address, parent address, & ength. The child address is - assumed to be 0. patternProperties: - "[a-zA-Z0-9]@[a-z0-9]" - type: object + "^[a-zA-Z0-9]@[a-z0-9]+$": + type: object - properties: - compatible: - oneOf: - - const: qcom,msm-imem-pil - description: Peripheral Image Loader (PIL) - - - const: qcom,msm-imem-boot_stats - description: Bootloader Stats - - - const: qcom,msm-imem-cache_erp - description: Cache error reporting - - - const: qcom,msm-imem-mem_dump_table - desciption: Memory Dump table - - - const: qcom,msm-imem-restart_reason - description: Device restart reason - - - const: qcom,msm-imem-dload-type - description: Download Mode Type - - - const: qcom,msm-imem-download_mode - description: Download Mode - - - const: qcom,msm-imem-emergency_download_mode - description: Emergency Download Mode - - - const: qcom,msm-imem-kaslr_offset - description: Kernel Address Space Layout Randomization (KASLR) offset - - - const: qcom,msm-imem-minidump - description: Subsystem Restart's (SSR) Minidump Offset - - - const: qcom,msm-imem-diag-dload - description: USB Diag download mode region - - - const: qcom,msm-imem-pil-disable-timeout - description: Offset to set PIL debug cookie - - - const: qcom,msm-imem-mss-dsm - description: Modem DSM memory region info - - reg: - description: Start address and the size of the region - - required: - - compatible - - reg + properties: + compatible: + enum: + - qcom,msm-imem-pil + - qcom,msm-imem-boot_stats + - qcom,msm-imem-cache_erp + - qcom,msm-imem-mem_dump_table + - qcom,msm-imem-restart_reason + - qcom,msm-imem-dload-type + - qcom,msm-imem-download_mode + - qcom,msm-imem-emergency_download_mode + - qcom,msm-imem-kaslr_offset + - qcom,msm-imem-minidump + - qcom,msm-imem-diag-dload + - qcom,msm-imem-pil-disable-timeout + - qcom,msm-imem-mss-dsm required: - compatible - reg +additionalProperties: false + examples: - | qcom,msm-imem {