1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/phy/ti,tcan 4 $id: http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TCAN104x CAN TRANSCEIVER PHY 7 title: TCAN104x CAN TRANSCEIVER PHY 8 8 9 maintainers: 9 maintainers: 10 - Aswath Govindraju <a-govindraju@ti.com> 10 - Aswath Govindraju <a-govindraju@ti.com> 11 11 12 properties: 12 properties: 13 $nodename: 13 $nodename: 14 pattern: "^can-phy" 14 pattern: "^can-phy" 15 15 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - nxp,tjr1443 18 - nxp,tjr1443 19 - ti,tcan1042 19 - ti,tcan1042 20 - ti,tcan1043 20 - ti,tcan1043 21 21 22 '#phy-cells': 22 '#phy-cells': 23 const: 0 23 const: 0 24 24 25 standby-gpios: 25 standby-gpios: 26 description: 26 description: 27 gpio node to toggle standby signal on tr 27 gpio node to toggle standby signal on transceiver 28 maxItems: 1 28 maxItems: 1 29 29 30 enable-gpios: 30 enable-gpios: 31 description: 31 description: 32 gpio node to toggle enable signal on tra 32 gpio node to toggle enable signal on transceiver 33 maxItems: 1 33 maxItems: 1 34 34 35 max-bitrate: 35 max-bitrate: 36 $ref: /schemas/types.yaml#/definitions/uin 36 $ref: /schemas/types.yaml#/definitions/uint32 37 description: 37 description: 38 max bit rate supported in bps 38 max bit rate supported in bps 39 minimum: 1 39 minimum: 1 40 40 41 mux-states: 41 mux-states: 42 description: 42 description: 43 mux controller node to route the signals 43 mux controller node to route the signals from controller to 44 transceiver. 44 transceiver. 45 maxItems: 1 45 maxItems: 1 46 46 47 required: 47 required: 48 - compatible 48 - compatible 49 - '#phy-cells' 49 - '#phy-cells' 50 50 51 additionalProperties: false 51 additionalProperties: false 52 52 53 examples: 53 examples: 54 - | 54 - | 55 #include <dt-bindings/gpio/gpio.h> 55 #include <dt-bindings/gpio/gpio.h> 56 56 57 transceiver1: can-phy { 57 transceiver1: can-phy { 58 compatible = "ti,tcan1043"; 58 compatible = "ti,tcan1043"; 59 #phy-cells = <0>; 59 #phy-cells = <0>; 60 max-bitrate = <5000000>; 60 max-bitrate = <5000000>; 61 standby-gpios = <&wakeup_gpio1 16 GPIO_A 61 standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; 62 enable-gpios = <&main_gpio1 67 GPIO_ACTI 62 enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; 63 mux-states = <&mux0 1>; 63 mux-states = <&mux0 1>; 64 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.