Some boards provide GPIO controllable termination resistor. Provide binding to make use of it. Link: https://lore.kernel.org/r/20210818071232.20585-2-o.rempel@pengutronix.de Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
27 lines
598 B
YAML
27 lines
598 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/can/can-controller.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: CAN Controller Generic Binding
|
|
|
|
maintainers:
|
|
- Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^can(@.*)?$"
|
|
|
|
termination-gpios:
|
|
description: GPIO pin to enable CAN bus termination.
|
|
maxItems: 1
|
|
|
|
termination-ohms:
|
|
description: The resistance value of the CAN bus termination resistor.
|
|
minimum: 1
|
|
maximum: 65535
|
|
|
|
additionalProperties: true
|
|
|
|
...
|