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