boards: add pinctrl definitions for iMX RT boards
Add pinctrl definitions for all iMX RT based boards Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
766ef958d9
commit
a0a0f653c7
24 changed files with 3748 additions and 56 deletions
|
@ -7,6 +7,7 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include <nxp/nxp_rt1064.dtsi>
|
||||
#include "mimxrt1064_evk-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NXP MIMXRT1064-EVK board";
|
||||
|
@ -136,6 +137,8 @@ arduino_i2c: &lpi2c1 {};
|
|||
polarity = <3>;
|
||||
pixel-format = "bgr-565";
|
||||
data-buswidth = "16-bit";
|
||||
pinctrl-0 = <&pinmux_lcdif>;
|
||||
pinctrl-names = "default";
|
||||
port {
|
||||
lcd_panel_out: endpoint {
|
||||
remote-endpoint = <&lcd_panel_in>;
|
||||
|
@ -146,6 +149,9 @@ arduino_i2c: &lpi2c1 {};
|
|||
&lpi2c1 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-0 = <&pinmux_lpi2c1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
mt9m114@48 {
|
||||
compatible = "aptina,mt9m114";
|
||||
reg = <0x48>;
|
||||
|
@ -169,6 +175,8 @@ arduino_i2c: &lpi2c1 {};
|
|||
|
||||
&flexspi {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexspi1>;
|
||||
pinctrl-names = "default";
|
||||
ahb-prefetch;
|
||||
ahb-read-addr-opt;
|
||||
rx-clock-source = <1>;
|
||||
|
@ -226,16 +234,26 @@ arduino_i2c: &lpi2c1 {};
|
|||
|
||||
&lpuart1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_lpuart1>;
|
||||
pinctrl-1 = <&pinmux_lpuart1_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
current-speed = <115200>;
|
||||
};
|
||||
|
||||
arduino_serial: &lpuart3 {
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&pinmux_lpuart3>;
|
||||
pinctrl-1 = <&pinmux_lpuart3_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&enet {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_enet>;
|
||||
pinctrl-names = "default";
|
||||
ptp {
|
||||
pinctrl-0 = <&pinmux_ptp>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
@ -247,6 +265,8 @@ zephyr_udc0: &usb1 {
|
|||
&csi {
|
||||
status = "okay";
|
||||
sensor-label = "MT9M114";
|
||||
pinctrl-0 = <&pinmux_csi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
port {
|
||||
csi_ep_in: endpoint {
|
||||
|
@ -257,6 +277,8 @@ zephyr_udc0: &usb1 {
|
|||
|
||||
&flexpwm2_pwm3 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm2>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&usdhc1 {
|
||||
|
@ -264,6 +286,11 @@ zephyr_udc0: &usb1 {
|
|||
no-1-8-v;
|
||||
pwr-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
||||
cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-0 = <&pinmux_usdhc1>;
|
||||
pinctrl-1 = <&pinmux_usdhc1_slow>;
|
||||
pinctrl-2 = <&pinmux_usdhc1_med>;
|
||||
pinctrl-3 = <&pinmux_usdhc1_fast>;
|
||||
pinctrl-names = "default", "slow", "med", "fast";
|
||||
};
|
||||
|
||||
&edma0 {
|
||||
|
@ -273,6 +300,8 @@ zephyr_udc0: &usb1 {
|
|||
&flexcan2 {
|
||||
status = "okay";
|
||||
bus-speed = <125000>;
|
||||
pinctrl-0 = <&pinmux_flexcan2>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
can-transceiver {
|
||||
max-bitrate = <5000000>;
|
||||
|
@ -288,6 +317,8 @@ zephyr_udc0: &usb1 {
|
|||
/* DMA channels 0 and 1, muxed to LPSPI1 RX and TX */
|
||||
dmas = <&edma0 0 13>, <&edma0 1 14>;
|
||||
dma-names = "rx", "tx";
|
||||
pinctrl-0 = <&pinmux_lpspi1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&lpspi3 {
|
||||
|
@ -295,10 +326,14 @@ zephyr_udc0: &usb1 {
|
|||
/* DMA channels 2 and 3, muxed to LPSPI3 RX and TX */
|
||||
dmas = <&edma0 2 15>, <&edma0 3 16>;
|
||||
dma-names = "rx", "tx";
|
||||
pinctrl-0 = <&pinmux_lpspi3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_adc1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
/* Enable GPT for use as a hardware timer. This disables Cortex Systick.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue