| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Amlogic AXG PCIE PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Remi Pommarel <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: amlogic,axg-pcie-phy |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
resets: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
phys: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
phy-names: |
| 26 |
const: analog |
| 27 |
|
| 28 |
"#phy-cells": |
| 29 |
const: 0 |
| 30 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
- phys |
| 35 |
- phy-names |
| 36 |
- resets |
| 37 |
- "#phy-cells" |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
#include <dt-bindings/reset/amlogic,meson-axg-reset.h> |
| 44 |
#include <dt-bindings/phy/phy.h> |
| 45 |
pcie_phy: pcie-phy@ff644000 { |
| 46 |
compatible = "amlogic,axg-pcie-phy"; |
| 47 |
reg = <0xff644000 0x1c>; |
| 48 |
resets = <&reset RESET_PCIE_PHY>; |
| 49 |
phys = <&mipi_analog_phy PHY_TYPE_PCIE>; |
| 50 |
phy-names = "analog"; |
| 51 |
#phy-cells = <0>; |
| 52 |
}; |