xref: /freebsd/sys/contrib/device-tree/Bindings/phy/samsung,exynos5250-sata-phy.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*c9ccf3a3SEmmanuel Vadot%YAML 1.2
3*c9ccf3a3SEmmanuel Vadot---
4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/samsung,exynos5250-sata-phy.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: Samsung Exynos5250 SoC SATA PHY
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*c9ccf3a3SEmmanuel Vadot  - Marek Szyprowski <m.szyprowski@samsung.com>
12*c9ccf3a3SEmmanuel Vadot  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13*c9ccf3a3SEmmanuel Vadot
14*c9ccf3a3SEmmanuel Vadotproperties:
15*c9ccf3a3SEmmanuel Vadot  compatible:
16*c9ccf3a3SEmmanuel Vadot    const: samsung,exynos5250-sata-phy
17*c9ccf3a3SEmmanuel Vadot
18*c9ccf3a3SEmmanuel Vadot  clocks:
19*c9ccf3a3SEmmanuel Vadot    maxItems: 1
20*c9ccf3a3SEmmanuel Vadot
21*c9ccf3a3SEmmanuel Vadot  clock-names:
22*c9ccf3a3SEmmanuel Vadot    items:
23*c9ccf3a3SEmmanuel Vadot      - const: sata_phyctrl
24*c9ccf3a3SEmmanuel Vadot
25*c9ccf3a3SEmmanuel Vadot  "#phy-cells":
26*c9ccf3a3SEmmanuel Vadot    const: 0
27*c9ccf3a3SEmmanuel Vadot
28*c9ccf3a3SEmmanuel Vadot  reg:
29*c9ccf3a3SEmmanuel Vadot    maxItems: 1
30*c9ccf3a3SEmmanuel Vadot
31*c9ccf3a3SEmmanuel Vadot  samsung,syscon-phandle:
32*c9ccf3a3SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
33*c9ccf3a3SEmmanuel Vadot    description:
34*c9ccf3a3SEmmanuel Vadot      Phandle to PMU system controller interface.
35*c9ccf3a3SEmmanuel Vadot
36*c9ccf3a3SEmmanuel Vadot  samsung,exynos-sataphy-i2c-phandle:
37*c9ccf3a3SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
38*c9ccf3a3SEmmanuel Vadot    description:
39*c9ccf3a3SEmmanuel Vadot      Phandle to I2C SATA interface.
40*c9ccf3a3SEmmanuel Vadot
41*c9ccf3a3SEmmanuel Vadotrequired:
42*c9ccf3a3SEmmanuel Vadot  - compatible
43*c9ccf3a3SEmmanuel Vadot  - clocks
44*c9ccf3a3SEmmanuel Vadot  - clock-names
45*c9ccf3a3SEmmanuel Vadot  - "#phy-cells"
46*c9ccf3a3SEmmanuel Vadot  - reg
47*c9ccf3a3SEmmanuel Vadot  - samsung,syscon-phandle
48*c9ccf3a3SEmmanuel Vadot  - samsung,exynos-sataphy-i2c-phandle
49*c9ccf3a3SEmmanuel Vadot
50*c9ccf3a3SEmmanuel VadotadditionalProperties: false
51*c9ccf3a3SEmmanuel Vadot
52*c9ccf3a3SEmmanuel Vadotexamples:
53*c9ccf3a3SEmmanuel Vadot  - |
54*c9ccf3a3SEmmanuel Vadot    #include <dt-bindings/clock/exynos5250.h>
55*c9ccf3a3SEmmanuel Vadot
56*c9ccf3a3SEmmanuel Vadot    phy@12170000 {
57*c9ccf3a3SEmmanuel Vadot        compatible = "samsung,exynos5250-sata-phy";
58*c9ccf3a3SEmmanuel Vadot        reg = <0x12170000 0x1ff>;
59*c9ccf3a3SEmmanuel Vadot        clocks = <&clock CLK_SATA_PHYCTRL>;
60*c9ccf3a3SEmmanuel Vadot        clock-names = "sata_phyctrl";
61*c9ccf3a3SEmmanuel Vadot        #phy-cells = <0>;
62*c9ccf3a3SEmmanuel Vadot        samsung,syscon-phandle = <&pmu_system_controller>;
63*c9ccf3a3SEmmanuel Vadot        samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
64*c9ccf3a3SEmmanuel Vadot    };
65