|
| 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 | + |
| 8 | +title: TI J721e System Controller Registers R/W Device Tree Bindings |
| 9 | + |
| 10 | +description: | |
| 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 | +
|
| 21 | +maintainers: |
| 22 | + - Kishon Vijay Abraham I <[email protected]> |
| 23 | + - Roger Quadros <[email protected] |
| 24 | + |
| 25 | +properties: |
| 26 | + compatible: |
| 27 | + anyOf: |
| 28 | + - items: |
| 29 | + - enum: |
| 30 | + - ti,j721e-system-controller |
| 31 | + - const: syscon |
| 32 | + - const: simple-mfd |
| 33 | + |
| 34 | + "#address-cells": |
| 35 | + const: 1 |
| 36 | + |
| 37 | + "#size-cells": |
| 38 | + const: 1 |
| 39 | + |
| 40 | + ranges: true |
| 41 | + |
| 42 | +# Optional children |
| 43 | + |
| 44 | + "^serdes-ln-ctrl@[0-9a-f]+$": |
| 45 | + type: object |
| 46 | + description: | |
| 47 | + This is the SERDES lane control mux. It should follow the bindings |
| 48 | + specified in |
| 49 | + Documentation/devicetree/bindings/mux/reg-mux.txt |
| 50 | +
|
| 51 | +required: |
| 52 | + - compatible |
| 53 | + - reg |
| 54 | + - "#address-cells" |
| 55 | + - "#size-cells" |
| 56 | + - ranges |
| 57 | + |
| 58 | +unevaluatedProperties: false |
| 59 | + |
| 60 | +examples: |
| 61 | + - | |
| 62 | + scm_conf: scm-conf@100000 { |
| 63 | + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; |
| 64 | + reg = <0x00100000 0x1c000>; |
| 65 | + #address-cells = <1>; |
| 66 | + #size-cells = <1>; |
| 67 | + ranges; |
| 68 | +
|
| 69 | + serdes_ln_ctrl: serdes-ln-ctrl@4080 { |
| 70 | + compatible = "mmio-mux"; |
| 71 | + reg = <0x00004080 0x50>; |
| 72 | + }; |
| 73 | + }; |
| 74 | +... |
0 commit comments