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