168f3a096SMartin Blumenstingl# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 268f3a096SMartin Blumenstingl%YAML 1.2 368f3a096SMartin Blumenstingl--- 4*1b61fdfdSRob Herring$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-mx-secbus2.yaml# 5*1b61fdfdSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 668f3a096SMartin Blumenstingl 768f3a096SMartin Blumenstingltitle: Amlogic Meson8/Meson8b/Meson8m2 SECBUS2 register interface 868f3a096SMartin Blumenstingl 968f3a096SMartin Blumenstinglmaintainers: 1068f3a096SMartin Blumenstingl - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 1168f3a096SMartin Blumenstingl 1268f3a096SMartin Blumenstingldescription: | 1368f3a096SMartin Blumenstingl The Meson8/Meson8b/Meson8m2 SoCs have a register bank called SECBUS2 which 1468f3a096SMartin Blumenstingl contains registers for various IP blocks such as pin-controller bits for 1568f3a096SMartin Blumenstingl the BSD_EN and TEST_N GPIOs as well as some AO ARC core control bits. 1668f3a096SMartin Blumenstingl The registers can be accessed directly when not running in "secure mode". 1768f3a096SMartin Blumenstingl When "secure mode" is enabled then these registers have to be accessed 1868f3a096SMartin Blumenstingl through secure monitor calls. 1968f3a096SMartin Blumenstingl 2068f3a096SMartin Blumenstinglproperties: 2168f3a096SMartin Blumenstingl compatible: 2268f3a096SMartin Blumenstingl items: 2368f3a096SMartin Blumenstingl - enum: 2468f3a096SMartin Blumenstingl - amlogic,meson8-secbus2 2568f3a096SMartin Blumenstingl - amlogic,meson8b-secbus2 2668f3a096SMartin Blumenstingl - const: syscon 2768f3a096SMartin Blumenstingl 2868f3a096SMartin Blumenstingl reg: 2968f3a096SMartin Blumenstingl maxItems: 1 3068f3a096SMartin Blumenstingl 3168f3a096SMartin Blumenstinglrequired: 3268f3a096SMartin Blumenstingl - compatible 3368f3a096SMartin Blumenstingl - reg 3468f3a096SMartin Blumenstingl 3568f3a096SMartin BlumenstingladditionalProperties: false 3668f3a096SMartin Blumenstingl 3768f3a096SMartin Blumenstinglexamples: 3868f3a096SMartin Blumenstingl - | 3968f3a096SMartin Blumenstingl secbus2: system-controller@4000 { 4068f3a096SMartin Blumenstingl compatible = "amlogic,meson8-secbus2", "syscon"; 4168f3a096SMartin Blumenstingl reg = <0x4000 0x2000>; 4268f3a096SMartin Blumenstingl }; 43