1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/can/microchip,mcp251xfd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Microchip MCP2517FD and MCP2518FD stand-alone CAN controller device tree
12 - Marc Kleine-Budde <mkl@pengutronix.de>
17 - const: microchip,mcp2517fd
18 description: for MCP2517FD
19 - const: microchip,mcp2518fd
20 description: for MCP2518FD
21 - const: microchip,mcp251xfd
22 description: to autodetect chip variant
34 description: Regulator that powers the CAN controller.
37 description: Regulator that powers the CAN transceiver.
39 microchip,rx-int-gpios:
41 GPIO phandle of GPIO connected to to INT1 pin of the MCP251XFD, which
42 signals a pending RX interrupt.
47 Must be half or less of "clocks" frequency.
56 additionalProperties: false
60 #include <dt-bindings/gpio/gpio.h>
61 #include <dt-bindings/interrupt-controller/irq.h>
68 compatible = "microchip,mcp251xfd";
71 pinctrl-names = "default";
72 pinctrl-0 = <&can0_pins>;
73 spi-max-frequency = <20000000>;
74 interrupts-extended = <&gpio 13 IRQ_TYPE_LEVEL_LOW>;
75 microchip,rx-int-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
76 vdd-supply = <®5v0>;
77 xceiver-supply = <®5v0>;