boards: arm: rddrone_fmuk66: add CAN transceiver
The NXP RDDRONE-FMUK66 development board is equipped with dual NXP TJA1042 CAN transceivers with a maximum bitrate of 5Mbit/s. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
1674b694e4
commit
ceefdeb848
1 changed files with 16 additions and 0 deletions
|
@ -57,6 +57,20 @@
|
|||
pwms = <&ftm3 5 15625000 PWM_POLARITY_INVERTED>;
|
||||
};
|
||||
};
|
||||
|
||||
transceiver0: can-phy0 {
|
||||
compatible = "nxp,tja1042", "can-transceiver-gpio";
|
||||
max-bitrate = <5000000>;
|
||||
standby-gpios = <&gpioc 19 GPIO_ACTIVE_HIGH>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
||||
transceiver1: can-phy1 {
|
||||
compatible = "nxp,tja1042", "can-transceiver-gpio";
|
||||
max-bitrate = <5000000>;
|
||||
standby-gpios = <&gpioc 18 GPIO_ACTIVE_HIGH>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&sim {
|
||||
|
@ -221,6 +235,7 @@ zephyr_udc0: &usbotg {
|
|||
pinctrl-0 = <&flexcan0_default>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
phys = <&transceiver0>;
|
||||
};
|
||||
|
||||
&flexcan1 {
|
||||
|
@ -228,6 +243,7 @@ zephyr_udc0: &usbotg {
|
|||
pinctrl-0 = <&flexcan1_default>;
|
||||
pinctrl-names = "default";
|
||||
bus-speed = <125000>;
|
||||
phys = <&transceiver1>;
|
||||
};
|
||||
|
||||
/* external i2c port */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue