123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/arm/vexpress-config.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: ARM Versatile Express configuration bus maintainers: - Andre Przywara <andre.przywara@arm.com> description: This is a system control register block, acting as a bridge to the platform's configuration bus via "system control" interface, addressing devices with site number, position in the board stack, config controller, function and device numbers - see motherboard's TRM for more details. properties: compatible: const: arm,vexpress,config-bus arm,vexpress,config-bridge: $ref: /schemas/types.yaml#/definitions/phandle description: Phandle to the sysreg node. muxfpga: type: object properties: compatible: const: arm,vexpress-muxfpga arm,vexpress-sysreg,func: description: FPGA specifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 7 - description: device number additionalProperties: false required: - compatible - arm,vexpress-sysreg,func shutdown: type: object properties: compatible: const: arm,vexpress-shutdown arm,vexpress-sysreg,func: description: shutdown identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 8 - description: device number additionalProperties: false required: - compatible - arm,vexpress-sysreg,func reboot: type: object properties: compatible: const: arm,vexpress-reboot arm,vexpress-sysreg,func: description: reboot identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 9 - description: device number additionalProperties: false required: - compatible - arm,vexpress-sysreg,func dvimode: type: object properties: compatible: const: arm,vexpress-dvimode arm,vexpress-sysreg,func: description: DVI mode identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 11 - description: device number additionalProperties: false required: - compatible - arm,vexpress-sysreg,func additionalProperties: false required: - compatible - arm,vexpress,config-bridge patternProperties: '^clock-controller.*$': type: object description: clocks properties: compatible: const: arm,vexpress-osc arm,vexpress-sysreg,func: description: clock specifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 1 - description: clock number freq-range: $ref: /schemas/types.yaml#/definitions/uint32-array items: - description: minimal clock frequency - description: maximum clock frequency "#clock-cells": const: 0 clock-output-names: maxItems: 1 additionalProperties: false required: - compatible - arm,vexpress-sysreg,func - "#clock-cells" "^regulator-.+$": $ref: /schemas/regulator/regulator.yaml# description: If regulator-min-microvolt and regulator-max-microvolt do not both define a range, the supply is treated as fixed and only its voltage can be read. properties: compatible: const: arm,vexpress-volt arm,vexpress-sysreg,func: description: regulator specifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 2 - description: device number label: maxItems: 1 unevaluatedProperties: false required: - compatible - arm,vexpress-sysreg,func "^amp-.+$": type: object properties: compatible: const: arm,vexpress-amp arm,vexpress-sysreg,func: description: current sensor identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 3 - description: device number label: maxItems: 1 additionalProperties: false required: - compatible - arm,vexpress-sysreg,func "^temp-.+$": type: object properties: compatible: const: arm,vexpress-temp arm,vexpress-sysreg,func: description: temperature sensor identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 4 - description: device number label: maxItems: 1 additionalProperties: false required: - compatible - arm,vexpress-sysreg,func "^reset[0-9]*$": type: object properties: compatible: const: arm,vexpress-reset arm,vexpress-sysreg,func: description: reset specifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 5 - description: reset device number additionalProperties: false required: - compatible - arm,vexpress-sysreg,func "^power-.+$": type: object properties: compatible: const: arm,vexpress-power arm,vexpress-sysreg,func: description: power sensor identifier $ref: /schemas/types.yaml#/definitions/uint32-array items: - const: 12 - description: device number label: maxItems: 1 additionalProperties: false required: - compatible - arm,vexpress-sysreg,func "^energy(-.+)?$": type: object properties: compatible: const: arm,vexpress-energy arm,vexpress-sysreg,func: description: energy sensor identifier $ref: /schemas/types.yaml#/definitions/uint32-array oneOf: - items: - const: 13 - description: device number - items: - const: 13 - description: device number - const: 13 - description: second device number label: maxItems: 1 additionalProperties: false required: - compatible - arm,vexpress-sysreg,func examples: - | mcc { compatible = "arm,vexpress,config-bus"; arm,vexpress,config-bridge = <&v2m_sysreg>; clock-controller { compatible = "arm,vexpress-osc"; arm,vexpress-sysreg,func = <1 0>; #clock-cells = <0>; }; energy { compatible = "arm,vexpress-energy"; arm,vexpress-sysreg,func = <13 0>, <13 1>; }; };