Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / phy / ti,tcan104x-can.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: "http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7 title: TCAN104x CAN TRANSCEIVER PHY
8
9 maintainers:
10   - Aswath Govindraju <a-govindraju@ti.com>
11
12 properties:
13   $nodename:
14     pattern: "^can-phy"
15
16   compatible:
17     enum:
18       - ti,tcan1042
19       - ti,tcan1043
20
21   '#phy-cells':
22     const: 0
23
24   standby-gpios:
25     description:
26       gpio node to toggle standby signal on transceiver
27     maxItems: 1
28
29   enable-gpios:
30     description:
31       gpio node to toggle enable signal on transceiver
32     maxItems: 1
33
34   max-bitrate:
35     $ref: /schemas/types.yaml#/definitions/uint32
36     description:
37       max bit rate supported in bps
38     minimum: 1
39
40 required:
41   - compatible
42   - '#phy-cells'
43
44 additionalProperties: false
45
46 examples:
47   - |
48     #include <dt-bindings/gpio/gpio.h>
49
50     transceiver1: can-phy {
51       compatible = "ti,tcan1043";
52       #phy-cells = <0>;
53       max-bitrate = <5000000>;
54       standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;
55       enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>;
56     };