1# Copyright (c) 2019 Vestas Wind Systems A/S 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 NXP FlexCAN controller 6 7 Example: 8 flexcan0: can@40024000 { 9 status = "okay"; 10 compatible = "nxp,flexcan"; 11 reg = <0x40024000 0x1000>; 12 interrupts = <78 0>, <79 0>, <80 0>, <81 0>; 13 interrupt-names = "warning", "error", "wake-up", "mb-0-15"; 14 clocks = <&scg KINETIS_SCG_BUS_CLK>; 15 clk-source = <1>; 16 pinctrl-0 = <&pinmux_flexcan0>; 17 pinctrl-names = "default"; 18 19 can-transceiver { 20 max-bitrate = <1000000>; 21 }; 22 }; 23 24compatible: "nxp,flexcan" 25 26include: ["can-controller.yaml", "pinctrl-device.yaml"] 27 28properties: 29 reg: 30 required: true 31 32 interrupts: 33 required: true 34 35 clocks: 36 required: true 37 38 clk-source: 39 type: int 40 required: true 41 description: CAN engine clock source 42