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 7title: TCAN104x CAN TRANSCEIVER PHY 8 9maintainers: 10 - Aswath Govindraju <a-govindraju@ti.com> 11 12properties: 13 $nodename: 14 pattern: "^can-phy" 15 16 compatible: 17 oneOf: 18 - items: 19 - enum: 20 - microchip,ata6561 21 - const: ti,tcan1042 22 - enum: 23 - ti,tcan1042 24 - ti,tcan1043 25 - nxp,tjr1443 26 27 '#phy-cells': 28 const: 0 29 30 standby-gpios: 31 description: 32 gpio node to toggle standby signal on transceiver 33 maxItems: 1 34 35 enable-gpios: 36 description: 37 gpio node to toggle enable signal on transceiver 38 maxItems: 1 39 40 max-bitrate: 41 $ref: /schemas/types.yaml#/definitions/uint32 42 description: 43 max bit rate supported in bps 44 minimum: 1 45 46 mux-states: 47 description: 48 mux controller node to route the signals from controller to 49 transceiver. 50 maxItems: 1 51 52required: 53 - compatible 54 - '#phy-cells' 55 56additionalProperties: false 57 58examples: 59 - | 60 #include <dt-bindings/gpio/gpio.h> 61 62 transceiver1: can-phy { 63 compatible = "ti,tcan1043"; 64 #phy-cells = <0>; 65 max-bitrate = <5000000>; 66 standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; 67 enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; 68 mux-states = <&mux0 1>; 69 }; 70