-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: nxp: add RT1060 EVKC support
MIMXRT1060 EVK rev C initial support files. Signed-off-by: David Leach <david.leach@nxp.com>
- Loading branch information
Showing
35 changed files
with
542 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (c) 2022, Whisper.ai | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* FLEXPWM not routed to LED on this EVK */ | ||
&flexpwm2_pwm3 { | ||
status = "disabled"; | ||
}; | ||
|
||
&green_led { | ||
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | ||
label = "User LED1"; | ||
}; |
34 changes: 34 additions & 0 deletions
34
boards/nxp/mimxrt1060_evk/mimxrt1060_evk_mimxrt1062_qspi_C.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Copyright (c) 2022, Whisper.ai | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
identifier: mimxrt1060_evk@C/mimxrt1062/qspi | ||
name: NXP MIMXRT1060-EVKC | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- zephyr | ||
- gnuarmemb | ||
- xtools | ||
ram: 32768 | ||
flash: 8192 | ||
supported: | ||
- adc | ||
- arduino_gpio | ||
- arduino_i2c | ||
- arduino_serial | ||
- arduino_spi | ||
- can | ||
- counter | ||
- display | ||
- dma | ||
- gpio | ||
- i2c | ||
- netif:eth | ||
- sdhc | ||
- spi | ||
- usbd | ||
- watchdog | ||
vendor: nxp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
samples/drivers/adc/adc_dt/boards/mimxrt1060_evk_mimxrt1062_qspi_C.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Copyright (c) 2021 NXP | ||
*/ | ||
|
||
/ { | ||
zephyr,user { | ||
/* adjust channel number according to pinmux in board.dts */ | ||
io-channels = <&adc1 0>; | ||
}; | ||
}; | ||
|
||
&adc1 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
channel@0 { | ||
reg = <0>; | ||
zephyr,gain = "ADC_GAIN_1"; | ||
zephyr,reference = "ADC_REF_INTERNAL"; | ||
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; | ||
zephyr,resolution = <12>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/bluetooth/shell/boards/mimxrt1060_evk_mimxrt1062_qspi_C.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright 2023 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
chosen { | ||
zephyr,bt-hci = &bt_hci_uart; | ||
}; | ||
}; | ||
|
||
&lpuart3 { | ||
status = "okay"; | ||
current-speed = <3000000>; | ||
hw-flow-control; | ||
|
||
bt_hci_uart: bt_hci_uart { | ||
compatible = "zephyr,bt-hci-uart"; | ||
status = "okay"; | ||
}; | ||
}; |
34 changes: 34 additions & 0 deletions
34
tests/drivers/adc/adc_api/boards/mimxrt1060_evk_mimxrt1062_qspi_C.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com> | ||
*/ | ||
|
||
#include <zephyr/dt-bindings/adc/mcux-lpadc.h> | ||
|
||
/ { | ||
zephyr,user { | ||
io-channels = <&adc1 0>, <&adc1 1>; | ||
}; | ||
}; | ||
|
||
&adc1 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
channel@0 { | ||
reg = <0>; | ||
zephyr,gain = "ADC_GAIN_1"; | ||
zephyr,reference = "ADC_REF_INTERNAL"; | ||
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; | ||
zephyr,resolution = <12>; | ||
}; | ||
|
||
channel@1 { | ||
reg = <1>; | ||
zephyr,gain = "ADC_GAIN_1"; | ||
zephyr,reference = "ADC_REF_INTERNAL"; | ||
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; | ||
zephyr,resolution = <12>; | ||
}; | ||
}; |
25 changes: 25 additions & 0 deletions
25
tests/drivers/counter/counter_basic_api/boards/mimxrt1060_evk_mimxrt1062_qspi_C.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pit0_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit0_channel1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* channel 2 disabled to test disabled channel not breaking things */ | ||
|
||
&pit0_channel3 { | ||
status = "okay"; | ||
}; | ||
|
||
&qtmr1_timer0 { | ||
status = "okay"; | ||
primary_source = "kQTMR_ClockDivide_128"; | ||
mode = "kQTMR_PriSrcRiseEdge"; | ||
}; |
Oops, something went wrong.