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 7c66ec88fSEmmanuel Vadottitle: Intel Lightning Mountain(LGM) eMMC PHY Device Tree Bindings 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: 26*6be33864SEmmanuel Vadot oneOf: 27*6be33864SEmmanuel Vadot - const: intel,lgm-emmc-phy 28*6be33864SEmmanuel Vadot - const: 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 39*6be33864SEmmanuel Vadot clock-names: 40*6be33864SEmmanuel Vadot items: 41*6be33864SEmmanuel Vadot - const: emmcclk 42*6be33864SEmmanuel 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 }; 66*6be33864SEmmanuel Vadot 67*6be33864SEmmanuel Vadot - | 68*6be33864SEmmanuel Vadot phy@20290000 { 69*6be33864SEmmanuel Vadot compatible = "intel,keembay-emmc-phy"; 70*6be33864SEmmanuel Vadot reg = <0x20290000 0x54>; 71*6be33864SEmmanuel Vadot clocks = <&emmc>; 72*6be33864SEmmanuel Vadot clock-names = "emmcclk"; 73*6be33864SEmmanuel Vadot #phy-cells = <0>; 74*6be33864SEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot... 76