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 sample-point = <875>; 17 bus-speed = <125000>; 18 pinctrl-0 = <&pinmux_flexcan0>; 19 pinctrl-names = "default"; 20 21 can-transceiver { 22 max-bitrate = <1000000>; 23 }; 24 }; 25 26compatible: "nxp,flexcan" 27 28include: ["can-controller.yaml", "pinctrl-device.yaml"] 29 30properties: 31 reg: 32 required: true 33 34 interrupts: 35 required: true 36 37 clocks: 38 required: true 39 40 clk-source: 41 type: int 42 required: true 43 description: CAN engine clock source 44