Loading Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.txt 0 → 100644 +31 −0 Original line number Diff line number Diff line * Microchip MCP2517 stand-alone CAN controller device tree bindings Required properties: - compatible: Should be one of the following: - "microchip,mcp2517fd" for MCP2517fd. - reg: SPI chip select. - clocks: The clock feeding the CAN controller. - interrupt-parent: The parent interrupt controller. - interrupts: Should contain IRQ line for the CAN controller. - gpio-controller: Marks the device node as a GPIO controller Optional properties: - vdd-supply: Regulator that powers the CAN controller. - xceiver-supply: Regulator that powers the CAN transceiver. - microchip,clock_out_div = <0|1|2|4|10>: Clock output pin divider 0 = Start of Frame output default: 10 - microchip,clock_div2: bool: divide the internal clock by 2 - gpio_opendrain: bool: enable open-drain for all pins (except cantx) Example: can0: can@1 { compatible = "microchip,mcp2515"; reg = <1>; clocks = <&clk24m>; interrupt-parent = <&gpio4>; interrupts = <13 0x8>; vdd-supply = <®5v0>; xceiver-supply = <®5v0>; gpio-controller; }; drivers/net/can/spi/Kconfig +6 −0 Original line number Diff line number Diff line Loading @@ -13,4 +13,10 @@ config QTI_CAN depends on SPI ---help--- Unified driver for QTI CAN controllers. config CAN_MCP25XXFD tristate "Microchip MCP25xxFD SPI CAN controllers" depends on HAS_DMA ---help--- Driver for the Microchip MCP25XXFD SPI FD-CAN controller family. endmenu drivers/net/can/spi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ obj-$(CONFIG_CAN_MCP251X) += mcp251x.o obj-$(CONFIG_QTI_CAN) += qti-can.o obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o Loading
Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.txt 0 → 100644 +31 −0 Original line number Diff line number Diff line * Microchip MCP2517 stand-alone CAN controller device tree bindings Required properties: - compatible: Should be one of the following: - "microchip,mcp2517fd" for MCP2517fd. - reg: SPI chip select. - clocks: The clock feeding the CAN controller. - interrupt-parent: The parent interrupt controller. - interrupts: Should contain IRQ line for the CAN controller. - gpio-controller: Marks the device node as a GPIO controller Optional properties: - vdd-supply: Regulator that powers the CAN controller. - xceiver-supply: Regulator that powers the CAN transceiver. - microchip,clock_out_div = <0|1|2|4|10>: Clock output pin divider 0 = Start of Frame output default: 10 - microchip,clock_div2: bool: divide the internal clock by 2 - gpio_opendrain: bool: enable open-drain for all pins (except cantx) Example: can0: can@1 { compatible = "microchip,mcp2515"; reg = <1>; clocks = <&clk24m>; interrupt-parent = <&gpio4>; interrupts = <13 0x8>; vdd-supply = <®5v0>; xceiver-supply = <®5v0>; gpio-controller; };
drivers/net/can/spi/Kconfig +6 −0 Original line number Diff line number Diff line Loading @@ -13,4 +13,10 @@ config QTI_CAN depends on SPI ---help--- Unified driver for QTI CAN controllers. config CAN_MCP25XXFD tristate "Microchip MCP25xxFD SPI CAN controllers" depends on HAS_DMA ---help--- Driver for the Microchip MCP25XXFD SPI FD-CAN controller family. endmenu
drivers/net/can/spi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ obj-$(CONFIG_CAN_MCP251X) += mcp251x.o obj-$(CONFIG_QTI_CAN) += qti-can.o obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o