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