1/* 2 * Copyright (c) 2024 Sean Nyekjaer <sean@geanix.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include "candlelightfd.dtsi" 10 11/ { 12 model = "candleLight FD Dual"; 13 compatible = "candlelightfd"; 14 15 transceiver1: can-phy1 { 16 compatible = "nxp,tja1051", "can-transceiver-gpio"; 17 enable-gpios = <&gpiob 2 GPIO_ACTIVE_LOW>; 18 max-bitrate = <5000000>; 19 #phy-cells = <0>; 20 }; 21}; 22 23&fdcan2 { 24 clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00001000>, 25 <&rcc STM32_SRC_PLL_Q FDCAN_SEL(1)>; 26 pinctrl-0 = <&fdcan2_rx_pb0 &fdcan2_tx_pb1>; 27 pinctrl-names = "default"; 28 phys = <&transceiver1>; 29 status = "okay"; 30}; 31