65 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 PHY8 9maintainers:10 - Aswath Govindraju <a-govindraju@ti.com>11 12properties:13 $nodename:14 pattern: "^can-phy"15 16 compatible:17 enum:18 - nxp,tjr144319 - ti,tcan104220 - ti,tcan104321 22 '#phy-cells':23 const: 024 25 standby-gpios:26 description:27 gpio node to toggle standby signal on transceiver28 maxItems: 129 30 enable-gpios:31 description:32 gpio node to toggle enable signal on transceiver33 maxItems: 134 35 max-bitrate:36 $ref: /schemas/types.yaml#/definitions/uint3237 description:38 max bit rate supported in bps39 minimum: 140 41 mux-states:42 description:43 mux controller node to route the signals from controller to44 transceiver.45 maxItems: 146 47required:48 - compatible49 - '#phy-cells'50 51additionalProperties: false52 53examples:54 - |55 #include <dt-bindings/gpio/gpio.h>56 57 transceiver1: can-phy {58 compatible = "ti,tcan1043";59 #phy-cells = <0>;60 max-bitrate = <5000000>;61 standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;62 enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>;63 mux-states = <&mux0 1>;64 };65