Skip to content

Commit b6377cc

Browse files
danieldegrassedleach02
authored andcommitted
boards: imx8mp: partial pin control support
Add partial pin control support for the imx8mp. Since the UART driver is not currently enabled, pin control cannot be tested on this platform. Therefore, only the DTS definitions required to set the pinmux options are present for this platform, and are not being applied (since CONFIG_PINCTRL=n). Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 946b9dc commit b6377cc

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

boards/arm64/imx8mp_evk/imx8mp_evk.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/dts-v1/;
88

99
#include <nxp/nxp_imx8mp_a53.dtsi>
10+
#include "imx8mp_evk-pinctrl.dtsi"
1011

1112
/ {
1213
model = "NXP i.MX8MP A53";

boards/arm64/imx8mp_evk/imx8mp_evk_jailhouse.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/dts-v1/;
88

99
#include <nxp/nxp_imx8mp_a53.dtsi>
10+
#include "imx8mp_evk-pinctrl.dtsi"
1011

1112
/ {
1213
model = "NXP i.MX8MP A53";
@@ -40,4 +41,6 @@
4041
status = "okay";
4142
clocks = <&uartclk>;
4243
current-speed = <115200>;
44+
pinctrl-0 = <&uart4_default>;
45+
pinctrl-names = "default";
4346
};

dts/arm64/nxp/nxp_imx8mp_a53.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,15 @@
9494
label = "UART_4";
9595
status = "disabled";
9696
};
97+
98+
iomuxc: iomuxc@30330000 {
99+
compatible = "nxp,imx-iomuxc";
100+
reg = <0x30330000 DT_SIZE_K(64)>;
101+
status = "okay";
102+
pinctrl: pinctrl {
103+
status = "okay";
104+
compatible = "nxp,imx8mp-pinctrl";
105+
};
106+
};
97107
};
98108
};

0 commit comments

Comments
 (0)