1# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
2# SPDX-License-Identifier: Apache-2.0
3
4description: Espressif ESP32 Two-Wire Automotive Interface (TWAI)
5
6compatible: "espressif,esp32-twai"
7
8include: [can-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  clocks:
18    required: true
19
20  pinctrl-0:
21    required: true
22
23  pinctrl-names:
24    required: true
25
26  clkout-divider:
27    type: int
28    description: |
29      Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
30
31      Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
32      Espressif MCUs like ESP32-C3.
33