1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot# Copyright 2019 BayLibre, SAS 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# 6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadottitle: Amlogic Meson Firmware registers Interface 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Neil Armstrong <neil.armstrong@linaro.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: | 14c66ec88fSEmmanuel Vadot The Meson SoCs have a register bank with status and data shared with the 15c66ec88fSEmmanuel Vadot secure firmware. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot# We need a select here so we don't match all nodes with 'syscon' 18c66ec88fSEmmanuel Vadotselect: 19c66ec88fSEmmanuel Vadot properties: 20c66ec88fSEmmanuel Vadot compatible: 21c66ec88fSEmmanuel Vadot contains: 22c66ec88fSEmmanuel Vadot const: amlogic,meson-gx-ao-secure 23c66ec88fSEmmanuel Vadot required: 24c66ec88fSEmmanuel Vadot - compatible 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadotproperties: 27c66ec88fSEmmanuel Vadot compatible: 28c66ec88fSEmmanuel Vadot items: 29c66ec88fSEmmanuel Vadot - const: amlogic,meson-gx-ao-secure 30c66ec88fSEmmanuel Vadot - const: syscon 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot reg: 33c66ec88fSEmmanuel Vadot maxItems: 1 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot amlogic,has-chip-id: 36c66ec88fSEmmanuel Vadot description: | 37c66ec88fSEmmanuel Vadot A firmware register encodes the SoC type, package and revision 38c66ec88fSEmmanuel Vadot information on the Meson GX SoCs. If present, the interface gives 39c66ec88fSEmmanuel Vadot the current SoC version. 40c66ec88fSEmmanuel Vadot type: boolean 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadotrequired: 43c66ec88fSEmmanuel Vadot - compatible 44c66ec88fSEmmanuel Vadot - reg 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel VadotadditionalProperties: false 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotexamples: 49c66ec88fSEmmanuel Vadot - | 50c66ec88fSEmmanuel Vadot ao-secure@140 { 51c66ec88fSEmmanuel Vadot compatible = "amlogic,meson-gx-ao-secure", "syscon"; 52c66ec88fSEmmanuel Vadot reg = <0x140 0x140>; 53c66ec88fSEmmanuel Vadot amlogic,has-chip-id; 54c66ec88fSEmmanuel Vadot }; 55