87 lines
1.6 KiB
YAML
87 lines
1.6 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/phy/nxp,tja1145.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TJA1145 CAN transceiver
|
|
|
|
maintainers:
|
|
- Dimitri Fedrau <dimitri.fedrau@liebherr.com>
|
|
|
|
allOf:
|
|
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: nxp,tja1145
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
"#phy-cells":
|
|
const: 0
|
|
|
|
spi-cpha: true
|
|
|
|
spi-max-frequency:
|
|
maximum: 4000000
|
|
|
|
spi-cs-setup-delay-ns:
|
|
minimum: 50
|
|
default: 50
|
|
|
|
spi-cs-hold-delay-ns:
|
|
minimum: 50
|
|
default: 50
|
|
|
|
spi-cs-inactive-delay-ns:
|
|
minimum: 250
|
|
default: 250
|
|
|
|
vcc-supply:
|
|
description:
|
|
CAN transceiver supply voltage
|
|
|
|
vio-supply:
|
|
description:
|
|
Supply voltage for I/O level adaptor
|
|
|
|
vbat-supply:
|
|
description:
|
|
Battery supply voltage
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- "#phy-cells"
|
|
- spi-cpha
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
can-phy@0 {
|
|
compatible = "nxp,tja1145";
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
|
|
reg = <0>;
|
|
#phy-cells = <0>;
|
|
spi-cpha;
|
|
spi-max-frequency = <4000000>;
|
|
spi-cs-setup-delay-ns = <50>;
|
|
spi-cs-hold-delay-ns = <50>;
|
|
spi-cs-inactive-delay-ns = <250>;
|
|
vcc-supply = <®_5v0>;
|
|
vio-supply = <®_3v3>;
|
|
vbat-supply = <®_24v0>;
|
|
};
|
|
};
|