Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/phy/renesas,r8a779f0-ether-serdes.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Renesas Ethernet SERDES |
| 8 | |
| 9 | maintainers: |
| 10 | - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: renesas,r8a779f0-ether-serdes |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | clocks: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | resets: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | power-domains: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | '#phy-cells': |
| 29 | description: Port number of SERDES. |
| 30 | const: 1 |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - reg |
| 35 | - clocks |
| 36 | - resets |
| 37 | - power-domains |
| 38 | - '#phy-cells' |
| 39 | |
| 40 | additionalProperties: false |
| 41 | |
| 42 | examples: |
| 43 | - | |
| 44 | #include <dt-bindings/clock/r8a779f0-cpg-mssr.h> |
| 45 | #include <dt-bindings/power/r8a779f0-sysc.h> |
| 46 | |
| 47 | phy@e6444000 { |
| 48 | compatible = "renesas,r8a779f0-ether-serdes"; |
| 49 | reg = <0xe6444000 0xc00>; |
| 50 | clocks = <&cpg CPG_MOD 1506>; |
| 51 | power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>; |
| 52 | resets = <&cpg 1506>; |
| 53 | #phy-cells = <1>; |
| 54 | }; |