Skip to content

Commit e4793b9

Browse files
hakehuangdleach02
authored andcommitted
dts: imx_rt: add pinctrl and gpr for rt1xxx
add dtsi settings for rt series dtsi use gpr to replace pinmux nxp iomuxc has gpr which has more settings than mux and io settings current solution is to export gpr separately and access then directly Signed-off-by: Hake Huang <[email protected]> Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 6be3085 commit e4793b9

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

dts/arm/nxp/nxp_rt.dtsi

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,13 @@
232232
};
233233

234234
iomuxc: iomuxc@401f8000 {
235+
compatible = "nxp,imx-iomuxc";
235236
reg = <0x401f8000 0x4000>;
236-
label = "PINMUX_0";
237+
status = "okay";
238+
pinctrl: pinctrl {
239+
status = "okay";
240+
compatible = "nxp,mcux-rt-pinctrl";
241+
};
237242
};
238243

239244
lcdif: display-controller@402b8000 {
@@ -730,7 +735,7 @@
730735
};
731736

732737
iomuxcgpr: iomuxcgpr@400ac000 {
733-
compatible = "nxp,imx-pinmux";
738+
compatible = "nxp,imx-gpr";
734739
reg = <0x400AC000 0x4000>;
735740
label = "IOMUX_GPR";
736741
#pinmux-cells = <2>;

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,26 @@
319319
};
320320

321321
iomuxc: iomuxc@400e8000 {
322+
compatible = "nxp,imx-iomuxc";
322323
reg = <0x400e8000 0x4000>;
323-
label = "PINMUX_0";
324+
status = "okay";
325+
pinctrl: pinctrl {
326+
status = "okay";
327+
compatible = "nxp,mcux-rt-pinctrl";
328+
};
329+
};
330+
331+
iomuxc_lpsr: iomuxc_lpsr@40c08000 {
332+
compatible = "nxp,mcux-rt-pinctrl";
333+
reg = <0x40c08000 0x4000>;
334+
status = "disabled";
335+
};
336+
337+
iomuxc_lpsr_gpr: iomuxc_lpsr_gpr@40c08000 {
338+
compatible = "nxp,imx-gpr";
339+
reg = <0x40c08000 0x4000>;
340+
label = "IOMUX_GPR";
341+
#pinmux-cells = <2>;
324342
};
325343

326344
lcdif: display-controller@40804000 {
@@ -896,8 +914,8 @@
896914
};
897915

898916
iomuxcgpr: iomuxcgpr@400e4000 {
899-
compatible = "nxp,imx-pinmux";
900-
reg = <0x400E4000 0x4000>;
917+
compatible = "nxp,imx-gpr";
918+
reg = <0x400e4000 0x4000>;
901919
label = "IOMUX_GPR";
902920
#pinmux-cells = <2>;
903921
};

0 commit comments

Comments
 (0)