Skip to content

Commit aaadefc

Browse files
hakehuangdanieldegrasse
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 4697620 commit aaadefc

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 {
@@ -729,7 +734,7 @@
729734
};
730735

731736
iomuxcgpr: iomuxcgpr@400ac000 {
732-
compatible = "nxp,imx-pinmux";
737+
compatible = "nxp,imx-gpr";
733738
reg = <0x400AC000 0x4000>;
734739
label = "IOMUX_GPR";
735740
#pinmux-cells = <2>;

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,26 @@
313313
};
314314

315315
iomuxc: iomuxc@400e8000 {
316+
compatible = "nxp,imx-iomuxc";
316317
reg = <0x400e8000 0x4000>;
317-
label = "PINMUX_0";
318+
status = "okay";
319+
pinctrl: pinctrl {
320+
status = "okay";
321+
compatible = "nxp,mcux-rt-pinctrl";
322+
};
323+
};
324+
325+
iomuxc_lpsr: iomuxc_lpsr@40c08000 {
326+
compatible = "nxp,mcux-rt-pinctrl";
327+
reg = <0x40c08000 0x4000>;
328+
status = "disabled";
329+
};
330+
331+
iomuxc_lpsr_gpr: iomuxc_lpsr_gpr@40c08000 {
332+
compatible = "nxp,imx-gpr";
333+
reg = <0x40c08000 0x4000>;
334+
label = "IOMUX_GPR";
335+
#pinmux-cells = <2>;
318336
};
319337

320338
lcdif: display-controller@40804000 {
@@ -888,8 +906,8 @@
888906
};
889907

890908
iomuxcgpr: iomuxcgpr@400e4000 {
891-
compatible = "nxp,imx-pinmux";
892-
reg = <0x400E4000 0x4000>;
909+
compatible = "nxp,imx-gpr";
910+
reg = <0x400e4000 0x4000>;
893911
label = "IOMUX_GPR";
894912
#pinmux-cells = <2>;
895913
};

0 commit comments

Comments
 (0)