driver: flexcan: flexcan support for the rt1170

add the flexcan3 support for the rt1170

Signed-off-by: Crist Xu <crist.xu@nxp.com>
This commit is contained in:
Crist Xu 2021-06-21 17:47:42 +08:00 committed by Maureen Helm
commit 5b44d5f721
4 changed files with 15 additions and 2 deletions

View file

@ -98,6 +98,8 @@ features:
+-----------+------------+-------------------------------------+
| COUNTER | on-chip | counter |
+-----------+------------+-------------------------------------+
| CAN | on-chip | flexcan |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
@ -110,7 +112,7 @@ Other hardware features are not currently supported by the port.
Connections and I/Os
====================
The MIMXRT1170 SoC has four pairs of pinmux/gpio controllers.
The MIMXRT1170 SoC has six pairs of pinmux/gpio controllers.
+---------------+-----------------+---------------------------+
| Name | Function | Usage |
@ -123,7 +125,10 @@ The MIMXRT1170 SoC has four pairs of pinmux/gpio controllers.
+---------------+-----------------+---------------------------+
| GPIO_AD_25 | LPUART1_RX | UART Console |
+---------------+-----------------+---------------------------+
| GPIO_LPSR_00 | CAN3_TX | flexcan |
+---------------+-----------------+---------------------------+
| GPIO_LPSR_01 | CAN3_RX | flexcan |
+---------------+-----------------+---------------------------+
System Clock
============

View file

@ -17,6 +17,7 @@
zephyr,sram = &sdram0;
zephyr,console = &lpuart1;
zephyr,shell-uart = &lpuart1;
zephyr,can-primary = &flexcan3;
};
sdram0: memory@80000000 {
@ -31,6 +32,11 @@
current-speed = <115200>;
};
&flexcan3 {
status = "okay";
bus-speed = <125000>;
};
&flexspi1 {
reg = <0x400cc000 0x4000>, <0x30000000 DT_SIZE_M(16)>;
is25wp128: is25wp128@0 {

View file

@ -17,3 +17,4 @@ flash: 16384
supported:
- gpio
- counter
- can

View file

@ -264,6 +264,7 @@ config SOC_MIMXRT1176_CM7
select HAS_MCUX_LPSPI
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_FLEXCAN
select CPU_HAS_ARM_MPU
select INIT_ARM_PLL
select INIT_ENET_PLL if NET_L2_ETHERNET