xref: /freebsd/sys/contrib/device-tree/Bindings/phy/intel,lgm-emmc-phy.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Intel Lightning Mountain(LGM) eMMC PHY
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |+
13c66ec88fSEmmanuel Vadot  Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon
14c66ec88fSEmmanuel Vadot  node is used to reference the base address of eMMC phy registers.
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot  The eMMC PHY node should be the child of a syscon node with the
17c66ec88fSEmmanuel Vadot  required property:
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  - compatible:         Should be one of the following:
20c66ec88fSEmmanuel Vadot                        "intel,lgm-syscon", "syscon"
21c66ec88fSEmmanuel Vadot  - reg:
22c66ec88fSEmmanuel Vadot      maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadotproperties:
25c66ec88fSEmmanuel Vadot  compatible:
26354d7675SEmmanuel Vadot    enum:
27354d7675SEmmanuel Vadot      - intel,lgm-emmc-phy
28354d7675SEmmanuel Vadot      - intel,keembay-emmc-phy
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  "#phy-cells":
31c66ec88fSEmmanuel Vadot    const: 0
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot  reg:
34c66ec88fSEmmanuel Vadot    maxItems: 1
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot  clocks:
37c66ec88fSEmmanuel Vadot    maxItems: 1
38c66ec88fSEmmanuel Vadot
396be33864SEmmanuel Vadot  clock-names:
406be33864SEmmanuel Vadot    items:
416be33864SEmmanuel Vadot      - const: emmcclk
426be33864SEmmanuel Vadot
43c66ec88fSEmmanuel Vadotrequired:
44c66ec88fSEmmanuel Vadot  - "#phy-cells"
45c66ec88fSEmmanuel Vadot  - compatible
46c66ec88fSEmmanuel Vadot  - reg
47c66ec88fSEmmanuel Vadot  - clocks
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel VadotadditionalProperties: false
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotexamples:
52c66ec88fSEmmanuel Vadot  - |
53c66ec88fSEmmanuel Vadot    sysconf: chiptop@e0200000 {
54c66ec88fSEmmanuel Vadot      compatible = "intel,lgm-syscon", "syscon";
55c66ec88fSEmmanuel Vadot      reg = <0xe0200000 0x100>;
56c66ec88fSEmmanuel Vadot      #address-cells = <1>;
57c66ec88fSEmmanuel Vadot      #size-cells = <1>;
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot      emmc_phy: emmc-phy@a8 {
60c66ec88fSEmmanuel Vadot        compatible = "intel,lgm-emmc-phy";
61c66ec88fSEmmanuel Vadot        reg = <0x00a8 0x10>;
62c66ec88fSEmmanuel Vadot        clocks = <&emmc>;
63c66ec88fSEmmanuel Vadot        #phy-cells = <0>;
64c66ec88fSEmmanuel Vadot      };
65c66ec88fSEmmanuel Vadot    };
666be33864SEmmanuel Vadot
676be33864SEmmanuel Vadot  - |
686be33864SEmmanuel Vadot    phy@20290000 {
696be33864SEmmanuel Vadot          compatible = "intel,keembay-emmc-phy";
706be33864SEmmanuel Vadot          reg = <0x20290000 0x54>;
716be33864SEmmanuel Vadot          clocks = <&emmc>;
726be33864SEmmanuel Vadot          clock-names = "emmcclk";
736be33864SEmmanuel Vadot          #phy-cells = <0>;
746be33864SEmmanuel Vadot    };
75c66ec88fSEmmanuel Vadot...
76