TCAN104x CAN TRANSCEIVER PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Aswath Govindraju <a-govindraju@ti.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^can-phy"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"ti,tcan1042"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,tcan1046"Item 2
Exact value (
const):"nxp,tja1048"
Rule 3
Allowed values (
enum):"ti,tcan1042","ti,tcan1043","nxp,tja1048","nxp,tja1051","nxp,tja1057","nxp,tjr1443"
#phy-cells — required here #
silent-gpios — not listed as required here #
gpio node to toggle silent signal on transceiver
Maximum number of items (maxItems): 1
standby-gpios — not listed as required here #
gpio node to toggle standby signal on transceiver. For two Items, item 1 is for stbn1, item 2 is for stbn2.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
enable-gpios — not listed as required here #
gpio node to toggle enable signal on transceiver
Maximum number of items (maxItems): 1
max-bitrate — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
max bit rate supported in bps
Minimum value (minimum): 1
mux-states — not listed as required here #
mux controller node to route the signals from controller to transceiver.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"nxp,tjr1443","ti,tcan1042","ti,tcan1043"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
silent-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1048"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):1
enable-gpios— not listed as required here
false— Not permitted by this property rule.
silent-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required hereMinimum number of items (
minItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1051"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
standby-gpios— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1057"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
enable-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
transceiver1: can-phy {
compatible = "ti,tcan1043";
#phy-cells = <0>;
max-bitrate = <5000000>;
standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;
enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>;
mux-states = <&mux0 1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)