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 << 19 - ti,tcan1042 18 - ti,tcan1042 20 - ti,tcan1043 19 - ti,tcan1043 21 20 22 '#phy-cells': 21 '#phy-cells': 23 const: 0 22 const: 0 24 23 25 standby-gpios: 24 standby-gpios: 26 description: 25 description: 27 gpio node to toggle standby signal on tr 26 gpio node to toggle standby signal on transceiver 28 maxItems: 1 27 maxItems: 1 29 28 30 enable-gpios: 29 enable-gpios: 31 description: 30 description: 32 gpio node to toggle enable signal on tra 31 gpio node to toggle enable signal on transceiver 33 maxItems: 1 32 maxItems: 1 34 33 35 max-bitrate: 34 max-bitrate: 36 $ref: /schemas/types.yaml#/definitions/uin 35 $ref: /schemas/types.yaml#/definitions/uint32 37 description: 36 description: 38 max bit rate supported in bps 37 max bit rate supported in bps 39 minimum: 1 38 minimum: 1 40 39 41 mux-states: << 42 description: << 43 mux controller node to route the signals << 44 transceiver. << 45 maxItems: 1 << 46 << 47 required: 40 required: 48 - compatible 41 - compatible 49 - '#phy-cells' 42 - '#phy-cells' 50 43 51 additionalProperties: false 44 additionalProperties: false 52 45 53 examples: 46 examples: 54 - | 47 - | 55 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/gpio/gpio.h> 56 49 57 transceiver1: can-phy { 50 transceiver1: can-phy { 58 compatible = "ti,tcan1043"; 51 compatible = "ti,tcan1043"; 59 #phy-cells = <0>; 52 #phy-cells = <0>; 60 max-bitrate = <5000000>; 53 max-bitrate = <5000000>; 61 standby-gpios = <&wakeup_gpio1 16 GPIO_A 54 standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; 62 enable-gpios = <&main_gpio1 67 GPIO_ACTI 55 enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; 63 mux-states = <&mux0 1>; << 64 }; 56 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.