Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml
Extension
.yaml
Size
2271 bytes
Lines
95
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/can/microchip,mcp251xfd.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip MCP2517FD, MCP2518FD and MCP251863 stand-alone CAN controller

maintainers:
  - Marc Kleine-Budde <mkl@pengutronix.de>

allOf:
  - $ref: can-controller.yaml#

properties:
  compatible:
    oneOf:
      - enum:
          - microchip,mcp2517fd
          - microchip,mcp2518fd
          - microchip,mcp251xfd
      - items:
          - enum:
              - microchip,mcp251863
          - const: microchip,mcp2518fd
  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  vdd-supply:
    description: Regulator that powers the CAN controller.

  xceiver-supply:
    description: Regulator that powers the CAN transceiver.

  microchip,rx-int-gpios:
    description:
      GPIO phandle of GPIO connected to INT1 pin of the MCP251XFD, which
      signals a pending RX interrupt.
    maxItems: 1

  microchip,xstbyen:
    type: boolean
    description:
      If present, configure the INT0/GPIO0/XSTBY pin as transceiver standby
      control. The pin is driven low when the controller is active and high
      when it enters Sleep mode, allowing automatic standby control of an
      external CAN transceiver connected to this pin.

  spi-max-frequency:
    description:
      Must be half or less of "clocks" frequency.
    maximum: 20000000

  gpio-controller: true

  "#gpio-cells":
    const: 2

required:
  - compatible
  - reg
  - interrupts
  - clocks

Annotation

Implementation Notes