Skip to content

Commit 2267254

Browse files
hakehuangdanieldegrasse
authored andcommitted
dts: pinctrl: 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 b10c100 commit 2267254

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

dts/arm/nxp/nxp_rt.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,10 @@
231231
status = "disabled";
232232
};
233233

234-
iomuxc: iomuxc@401f8000 {
234+
pinctrl: pinctrl@401f8000 {
235+
compatible = "nxp,mcux-rt-pinctrl";
235236
reg = <0x401f8000 0x4000>;
236-
label = "PINMUX_0";
237+
status = "disabled";
237238
};
238239

239240
lcdif: display-controller@402b8000 {
@@ -729,7 +730,7 @@
729730
};
730731

731732
iomuxcgpr: iomuxcgpr@400ac000 {
732-
compatible = "nxp,imx-pinmux";
733+
compatible = "nxp,imx-gpr";
733734
reg = <0x400AC000 0x4000>;
734735
label = "IOMUX_GPR";
735736
#pinmux-cells = <2>;

dts/arm/nxp/nxp_rt1160_cm4.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@
8282
nxp,tx-dma-channel = <7>;
8383
nxp,rx-dma-channel = <8>;
8484
};
85+
86+
iomuxcgpr_lpsr: iomuxcgpr@40c08000 {
87+
compatible = "nxp,imx-gpr";
88+
reg = <0x40c94000 0x4000>;
89+
label = "IOMUX_GPR";
90+
#pinmux-cells = <2>;
91+
};
92+
8593
};
8694

8795
};

dts/arm/nxp/nxp_rt1160_cm7.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@
9090
nxp,tx-dma-channel = <7>;
9191
nxp,rx-dma-channel = <8>;
9292
};
93+
94+
iomuxcgpr: iomuxcgpr@40c94000 {
95+
compatible = "nxp,imx-gpr";
96+
reg = <0x40c94000 0x4000>;
97+
label = "IOMUX_GPR";
98+
#pinmux-cells = <2>;
99+
};
93100
};
94101
};
95102

dts/arm/nxp/nxp_rt1170_cm4.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
nxp,tx-dma-channel = <7>;
8383
nxp,rx-dma-channel = <8>;
8484
};
85+
86+
iomuxcgpr_lpsr: iomuxcgpr@40c08000 {
87+
compatible = "nxp,imx-gpr";
88+
reg = <0x40c94000 0x4000>;
89+
label = "IOMUX_GPR";
90+
#pinmux-cells = <2>;
91+
};
8592
};
8693
};
8794

dts/arm/nxp/nxp_rt1170_cm7.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@
9090
nxp,tx-dma-channel = <7>;
9191
nxp,rx-dma-channel = <8>;
9292
};
93+
94+
iomuxcgpr: iomuxcgpr@40c94000 {
95+
compatible = "nxp,imx-gpr";
96+
reg = <0x40c94000 0x4000>;
97+
label = "IOMUX_GPR";
98+
#pinmux-cells = <2>;
99+
};
93100
};
94101
};
95102

0 commit comments

Comments
 (0)