| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/fsl,lynx-28g.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale Lynx 28G SerDes PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ioana Ciornei <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- fsl,lynx-28g |
| 16 |
|
| 17 |
reg: |
| 18 |
maxItems: 1 |
| 19 |
|
| 20 |
"#phy-cells": |
| 21 |
const: 1 |
| 22 |
|
| 23 |
"#address-cells": |
| 24 |
const: 1 |
| 25 |
|
| 26 |
"#size-cells": |
| 27 |
const: 0 |
| 28 |
|
| 29 |
patternProperties: |
| 30 |
"^phy@[0-7]$": |
| 31 |
type: object |
| 32 |
description: SerDes lane (single RX/TX differential pair) |
| 33 |
|
| 34 |
properties: |
| 35 |
reg: |
| 36 |
minimum: 0 |
| 37 |
maximum: 7 |
| 38 |
description: Lane index as seen in register map |
| 39 |
|
| 40 |
"#phy-cells": |
| 41 |
const: 0 |
| 42 |
|
| 43 |
required: |
| 44 |
- reg |
| 45 |
- "#phy-cells" |
| 46 |
|
| 47 |
additionalProperties: false |
| 48 |
|
| 49 |
required: |
| 50 |
- compatible |
| 51 |
- reg |
| 52 |
- "#phy-cells" |
| 53 |
|
| 54 |
additionalProperties: false |
| 55 |
|
| 56 |
examples: |
| 57 |
- | |
| 58 |
soc { |
| 59 |
#address-cells = <2>; |
| 60 |
#size-cells = <2>; |
| 61 |
|
| 62 |
serdes@1ea0000 { |
| 63 |
compatible = "fsl,lynx-28g"; |
| 64 |
reg = <0x0 0x1ea0000 0x0 0x1e30>; |
| 65 |
#address-cells = <1>; |
| 66 |
#size-cells = <0>; |
| 67 |
#phy-cells = <1>; |
| 68 |
|
| 69 |
phy@0 { |
| 70 |
reg = <0>; |
| 71 |
#phy-cells = <0>; |
| 72 |
}; |
| 73 |
|
| 74 |
phy@1 { |
| 75 |
reg = <1>; |
| 76 |
#phy-cells = <0>; |
| 77 |
}; |
| 78 |
|
| 79 |
phy@2 { |
| 80 |
reg = <2>; |
| 81 |
#phy-cells = <0>; |
| 82 |
}; |
| 83 |
|
| 84 |
phy@3 { |
| 85 |
reg = <3>; |
| 86 |
#phy-cells = <0>; |
| 87 |
}; |
| 88 |
|
| 89 |
phy@4 { |
| 90 |
reg = <4>; |
| 91 |
#phy-cells = <0>; |
| 92 |
}; |
| 93 |
|
| 94 |
phy@5 { |
| 95 |
reg = <5>; |
| 96 |
#phy-cells = <0>; |
| 97 |
}; |
| 98 |
|
| 99 |
phy@6 { |
| 100 |
reg = <6>; |
| 101 |
#phy-cells = <0>; |
| 102 |
}; |
| 103 |
|
| 104 |
phy@7 { |
| 105 |
reg = <7>; |
| 106 |
#phy-cells = <0>; |
| 107 |
}; |
| 108 |
}; |
| 109 |
}; |