xref: /linux/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-mx-secbus2.yaml (revision 68f3a096d0f3552320635347de68a3bd7abd5d36)
1*68f3a096SMartin Blumenstingl# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*68f3a096SMartin Blumenstingl%YAML 1.2
3*68f3a096SMartin Blumenstingl---
4*68f3a096SMartin Blumenstingl$id: "http://devicetree.org/schemas/arm/amlogic/amlogic,meson-mx-secbus2.yaml#"
5*68f3a096SMartin Blumenstingl$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6*68f3a096SMartin Blumenstingl
7*68f3a096SMartin Blumenstingltitle: Amlogic Meson8/Meson8b/Meson8m2 SECBUS2 register interface
8*68f3a096SMartin Blumenstingl
9*68f3a096SMartin Blumenstinglmaintainers:
10*68f3a096SMartin Blumenstingl  - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
11*68f3a096SMartin Blumenstingl
12*68f3a096SMartin Blumenstingldescription: |
13*68f3a096SMartin Blumenstingl  The Meson8/Meson8b/Meson8m2 SoCs have a register bank called SECBUS2 which
14*68f3a096SMartin Blumenstingl  contains registers for various IP blocks such as pin-controller bits for
15*68f3a096SMartin Blumenstingl  the BSD_EN and TEST_N GPIOs as well as some AO ARC core control bits.
16*68f3a096SMartin Blumenstingl  The registers can be accessed directly when not running in "secure mode".
17*68f3a096SMartin Blumenstingl  When "secure mode" is enabled then these registers have to be accessed
18*68f3a096SMartin Blumenstingl  through secure monitor calls.
19*68f3a096SMartin Blumenstingl
20*68f3a096SMartin Blumenstinglproperties:
21*68f3a096SMartin Blumenstingl  compatible:
22*68f3a096SMartin Blumenstingl    items:
23*68f3a096SMartin Blumenstingl      - enum:
24*68f3a096SMartin Blumenstingl          - amlogic,meson8-secbus2
25*68f3a096SMartin Blumenstingl          - amlogic,meson8b-secbus2
26*68f3a096SMartin Blumenstingl      - const: syscon
27*68f3a096SMartin Blumenstingl
28*68f3a096SMartin Blumenstingl  reg:
29*68f3a096SMartin Blumenstingl    maxItems: 1
30*68f3a096SMartin Blumenstingl
31*68f3a096SMartin Blumenstinglrequired:
32*68f3a096SMartin Blumenstingl  - compatible
33*68f3a096SMartin Blumenstingl  - reg
34*68f3a096SMartin Blumenstingl
35*68f3a096SMartin BlumenstingladditionalProperties: false
36*68f3a096SMartin Blumenstingl
37*68f3a096SMartin Blumenstinglexamples:
38*68f3a096SMartin Blumenstingl  - |
39*68f3a096SMartin Blumenstingl    secbus2: system-controller@4000 {
40*68f3a096SMartin Blumenstingl      compatible = "amlogic,meson8-secbus2", "syscon";
41*68f3a096SMartin Blumenstingl      reg = <0x4000 0x2000>;
42*68f3a096SMartin Blumenstingl    };
43