xref: /linux/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml (revision e04e2b760ddbe3d7b283a05898c3a029085cd8cd)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/intel/intel,lgm-syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Intel Lightning Mountain(LGM) Syscon
8
9maintainers:
10  - Chuanhua Lei <lchuanhua@maxlinear.com>
11  - Rahul Tanwar <rtanwar@maxlinear.com>
12
13properties:
14  compatible:
15    items:
16      - const: intel,lgm-syscon
17      - const: syscon
18
19  reg:
20    maxItems: 1
21
22  ranges: true
23
24  "#address-cells":
25    const: 1
26
27  "#size-cells":
28    const: 1
29
30patternProperties:
31  "^emmc-phy@[0-9a-f]+$":
32    $ref: /schemas/phy/intel,lgm-emmc-phy.yaml#
33
34required:
35  - compatible
36  - reg
37  - "#address-cells"
38  - "#size-cells"
39
40additionalProperties: false
41
42examples:
43  - |
44    chiptop@e0200000 {
45        compatible = "intel,lgm-syscon", "syscon";
46        reg = <0xe0200000 0x100>;
47        ranges = <0x0 0xe0200000 0x100>;
48        #address-cells = <1>;
49        #size-cells = <1>;
50
51        emmc-phy@a8 {
52            compatible = "intel,lgm-emmc-phy";
53            reg = <0x00a8 0x10>;
54            clocks = <&emmc>;
55            #phy-cells = <0>;
56        };
57    };
58