xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,j721e-system-controller.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/mfd/ti,j721e-system-controller.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: TI J721e System Controller Registers R/W Device Tree Bindings
9
10description: |
11  This represents the Control Module registers (CTRL_MMR0) on the SoC.
12  System controller node represents a register region containing a set
13  of miscellaneous registers. The registers are not cohesive enough to
14  represent as any specific type of device. The typical use-case is
15  for some other node's driver, or platform-specific code, to acquire
16  a reference to the syscon node (e.g. by phandle, node path, or
17  search using a specific compatible value), interrogate the node (or
18  associated OS driver) to determine the location of the registers,
19  and access the registers directly.
20
21maintainers:
22  - Kishon Vijay Abraham I <kishon@ti.com>
23  - Roger Quadros <rogerq@ti.com
24
25properties:
26  compatible:
27    items:
28      - enum:
29          - ti,j721e-system-controller
30      - const: syscon
31      - const: simple-mfd
32
33  "#address-cells":
34    const: 1
35
36  "#size-cells":
37    const: 1
38
39  ranges: true
40
41# Optional children
42
43  "^serdes-ln-ctrl@[0-9a-f]+$":
44    type: object
45    description: |
46      This is the SERDES lane control mux. It should follow the bindings
47      specified in
48      Documentation/devicetree/bindings/mux/reg-mux.txt
49
50required:
51  - compatible
52  - reg
53  - "#address-cells"
54  - "#size-cells"
55  - ranges
56
57unevaluatedProperties: false
58
59examples:
60  - |
61    scm_conf: scm-conf@100000 {
62        compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
63        reg = <0x00100000 0x1c000>;
64        #address-cells = <1>;
65        #size-cells = <1>;
66        ranges;
67
68        serdes_ln_ctrl: serdes-ln-ctrl@4080 {
69            compatible = "mmio-mux";
70            reg = <0x00004080 0x50>;
71        };
72    };
73...
74