| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/nxp,ptn3222.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NXP PTN3222 1-port eUSB2 to USB2 redriver |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Dmitry Baryshkov <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- nxp,ptn3222 |
| 16 |
|
| 17 |
reg: |
| 18 |
maxItems: 1 |
| 19 |
|
| 20 |
"#phy-cells": |
| 21 |
const: 0 |
| 22 |
|
| 23 |
vdd1v8-supply: |
| 24 |
description: power supply (1.8V) |
| 25 |
|
| 26 |
vdd3v3-supply: |
| 27 |
description: power supply (3.3V) |
| 28 |
|
| 29 |
reset-gpios: true |
| 30 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
- '#phy-cells' |
| 35 |
|
| 36 |
additionalProperties: false |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
#include <dt-bindings/gpio/gpio.h> |
| 41 |
|
| 42 |
i2c { |
| 43 |
#address-cells = <1>; |
| 44 |
#size-cells = <0>; |
| 45 |
|
| 46 |
redriver@4f { |
| 47 |
compatible = "nxp,ptn3222"; |
| 48 |
reg = <0x4f>; |
| 49 |
#phy-cells = <0>; |
| 50 |
vdd3v3-supply = <&vreg_3p3>; |
| 51 |
vdd1v8-supply = <&vreg_1p8>; |
| 52 |
reset-gpios = <&gpio_reset GPIO_ACTIVE_LOW>; |
| 53 |
}; |
| 54 |
}; |
| 55 |
... |