1ad923306SAswath Govindraju# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2ad923306SAswath Govindraju%YAML 1.2 3ad923306SAswath Govindraju--- 4*e43462c1SRob Herring$id: http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml# 5*e43462c1SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 6ad923306SAswath Govindraju 7ad923306SAswath Govindrajutitle: TCAN104x CAN TRANSCEIVER PHY 8ad923306SAswath Govindraju 9ad923306SAswath Govindrajumaintainers: 10ad923306SAswath Govindraju - Aswath Govindraju <a-govindraju@ti.com> 11ad923306SAswath Govindraju 12ad923306SAswath Govindrajuproperties: 13ad923306SAswath Govindraju $nodename: 14ad923306SAswath Govindraju pattern: "^can-phy" 15ad923306SAswath Govindraju 16ad923306SAswath Govindraju compatible: 17ad923306SAswath Govindraju enum: 187f3d995cSGeert Uytterhoeven - nxp,tjr1443 19ad923306SAswath Govindraju - ti,tcan1042 20ad923306SAswath Govindraju - ti,tcan1043 21ad923306SAswath Govindraju 22ad923306SAswath Govindraju '#phy-cells': 23ad923306SAswath Govindraju const: 0 24ad923306SAswath Govindraju 25ad923306SAswath Govindraju standby-gpios: 26ad923306SAswath Govindraju description: 27ad923306SAswath Govindraju gpio node to toggle standby signal on transceiver 28ad923306SAswath Govindraju maxItems: 1 29ad923306SAswath Govindraju 30ad923306SAswath Govindraju enable-gpios: 31ad923306SAswath Govindraju description: 32ad923306SAswath Govindraju gpio node to toggle enable signal on transceiver 33ad923306SAswath Govindraju maxItems: 1 34ad923306SAswath Govindraju 35ad923306SAswath Govindraju max-bitrate: 36ad923306SAswath Govindraju $ref: /schemas/types.yaml#/definitions/uint32 37ad923306SAswath Govindraju description: 38ad923306SAswath Govindraju max bit rate supported in bps 39ad923306SAswath Govindraju minimum: 1 40ad923306SAswath Govindraju 41f6eafa40SAswath Govindraju mux-states: 42f6eafa40SAswath Govindraju description: 43f6eafa40SAswath Govindraju mux controller node to route the signals from controller to 44f6eafa40SAswath Govindraju transceiver. 45f6eafa40SAswath Govindraju maxItems: 1 46f6eafa40SAswath Govindraju 47ad923306SAswath Govindrajurequired: 48ad923306SAswath Govindraju - compatible 49ad923306SAswath Govindraju - '#phy-cells' 50ad923306SAswath Govindraju 51ad923306SAswath GovindrajuadditionalProperties: false 52ad923306SAswath Govindraju 53ad923306SAswath Govindrajuexamples: 54ad923306SAswath Govindraju - | 55ad923306SAswath Govindraju #include <dt-bindings/gpio/gpio.h> 56ad923306SAswath Govindraju 57ad923306SAswath Govindraju transceiver1: can-phy { 58ad923306SAswath Govindraju compatible = "ti,tcan1043"; 59ad923306SAswath Govindraju #phy-cells = <0>; 60ad923306SAswath Govindraju max-bitrate = <5000000>; 61ad923306SAswath Govindraju standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; 62ad923306SAswath Govindraju enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; 63f6eafa40SAswath Govindraju mux-states = <&mux0 1>; 64ad923306SAswath Govindraju }; 65