63 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Meson Firmware registers Interface9 10maintainers:11 - Neil Armstrong <neil.armstrong@linaro.org>12 13description: |14 The Meson SoCs have a register bank with status and data shared with the15 secure firmware.16 17# We need a select here so we don't match all nodes with 'syscon'18select:19 properties:20 compatible:21 contains:22 const: amlogic,meson-gx-ao-secure23 required:24 - compatible25 26properties:27 compatible:28 oneOf:29 - items:30 - const: amlogic,meson-gx-ao-secure31 - const: syscon32 - items:33 - enum:34 - amlogic,a4-ao-secure35 - amlogic,c3-ao-secure36 - amlogic,s4-ao-secure37 - amlogic,t7-ao-secure38 - const: amlogic,meson-gx-ao-secure39 - const: syscon40 reg:41 maxItems: 142 43 amlogic,has-chip-id:44 description: |45 A firmware register encodes the SoC type, package and revision46 information on the Meson GX SoCs. If present, the interface gives47 the current SoC version.48 type: boolean49 50required:51 - compatible52 - reg53 54additionalProperties: false55 56examples:57 - |58 ao-secure@140 {59 compatible = "amlogic,meson-gx-ao-secure", "syscon";60 reg = <0x140 0x140>;61 amlogic,has-chip-id;62 };63