2019-02-18 16:26:45 +08:00
|
|
|
# Copyright (c) 2019 Karsten Koenig
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: MCP2515 SPI CAN controller
|
2019-02-18 16:26:45 +08:00
|
|
|
|
2019-08-20 02:32:25 +08:00
|
|
|
compatible: "microchip,mcp2515"
|
|
|
|
|
2019-08-22 07:10:12 +08:00
|
|
|
include: [spi-device.yaml, can-controller.yaml]
|
2019-02-18 16:26:45 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
osc-freq:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
description: Frequency of the external oscillator
|
|
|
|
int-gpios:
|
|
|
|
type: phandle-array
|
|
|
|
required: true
|
|
|
|
description: |
|
|
|
|
Interrupt pin.
|
2019-11-08 03:16:06 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
This pin signals active low when produced by the controller. The
|
|
|
|
property value should ensure the flags properly describe the signal
|
|
|
|
that is presented to the driver.
|
|
|
|
reg:
|
|
|
|
type: array
|
|
|
|
required: true
|