2022-06-22 22:08:17 +08:00
|
|
|
# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: Espressif ESP32 Two-Wire Automotive Interface (TWAI)
|
|
|
|
|
|
|
|
compatible: "espressif,esp32-twai"
|
|
|
|
|
|
|
|
include: [can-controller.yaml, pinctrl-device.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
2022-06-22 22:08:17 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
interrupts:
|
|
|
|
required: true
|
2022-06-22 22:08:17 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
clocks:
|
|
|
|
required: true
|
2022-06-22 22:08:17 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-0:
|
|
|
|
required: true
|
2022-06-22 22:08:17 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-names:
|
|
|
|
required: true
|
2022-06-22 22:08:17 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
clkout-divider:
|
|
|
|
type: int
|
|
|
|
description: |
|
|
|
|
Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
|
2022-10-06 19:46:54 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
|
|
|
|
Espressif MCUs like ESP32-C3.
|