diff mbox series

[v3,3/5] arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property

Message ID 20221025183244.615318-4-shenwei.wang@nxp.com
State Accepted
Commit b57220ac8d26c8ac30c530cff0d50e27ebfed904
Headers show
Series [v3,1/5] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property | expand

Commit Message

Shenwei Wang Oct. 25, 2022, 6:32 p.m. UTC
add gpio-ranges property for imx8qxp soc.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
---
 .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi   | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Peng Fan Oct. 26, 2022, 8:27 a.m. UTC | #1
On Tue, Oct 25, 2022 at 01:32:42PM -0500, Shenwei Wang wrote:
>add gpio-ranges property for imx8qxp soc.
>
>Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
>---
> .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi   | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
>index 8e2152c6eb88..8f722b1dd078 100644
>--- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
>+++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
>@@ -6,26 +6,51 @@
> 
> &lsio_gpio0 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 1 56 12>,
>+		      <&iomuxc 13 69 4>,
>+		      <&iomuxc 19 75 4>,
>+		      <&iomuxc 24 80 1>,
>+		      <&iomuxc 25 82 7>;
> };
> 
> &lsio_gpio1 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 89 9>,
>+		      <&iomuxc 9 99 16>,
>+		      <&iomuxc 25 116 7>;
> };
> 
> &lsio_gpio2 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 123 1>,
>+		      <&iomuxc 1 126 2>,
>+		      <&iomuxc 3 129 1>;
> };
> 
> &lsio_gpio3 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 146 4>,
>+		      <&iomuxc 4 151 13>,
>+		      <&iomuxc 17 165 8>;
> };
> 
> &lsio_gpio4 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 0 3>,
>+		      <&iomuxc 3 4 4>,
>+		      <&iomuxc 7 9 6>,
>+		      <&iomuxc 13 16 6>,
>+		      <&iomuxc 19 23 2>,
>+		      <&iomuxc 21 26 2>,
>+		      <&iomuxc 23 30 6>,
>+		      <&iomuxc 29 37 3>;
> };
> 
> &lsio_gpio5 {
> 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
>+	gpio-ranges = <&iomuxc 0 40 3>,
>+		      <&iomuxc 3 44 6>,
>+		      <&iomuxc 9 51 3>;
> };
> 
> &lsio_gpio6 {

Reviewed-by: Peng Fan <peng.fan@nxp.com>

>-- 
>2.34.1
>

--
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
index 8e2152c6eb88..8f722b1dd078 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
@@ -6,26 +6,51 @@ 
 
 &lsio_gpio0 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 1 56 12>,
+		      <&iomuxc 13 69 4>,
+		      <&iomuxc 19 75 4>,
+		      <&iomuxc 24 80 1>,
+		      <&iomuxc 25 82 7>;
 };
 
 &lsio_gpio1 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 0 89 9>,
+		      <&iomuxc 9 99 16>,
+		      <&iomuxc 25 116 7>;
 };
 
 &lsio_gpio2 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 0 123 1>,
+		      <&iomuxc 1 126 2>,
+		      <&iomuxc 3 129 1>;
 };
 
 &lsio_gpio3 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 0 146 4>,
+		      <&iomuxc 4 151 13>,
+		      <&iomuxc 17 165 8>;
 };
 
 &lsio_gpio4 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 0 0 3>,
+		      <&iomuxc 3 4 4>,
+		      <&iomuxc 7 9 6>,
+		      <&iomuxc 13 16 6>,
+		      <&iomuxc 19 23 2>,
+		      <&iomuxc 21 26 2>,
+		      <&iomuxc 23 30 6>,
+		      <&iomuxc 29 37 3>;
 };
 
 &lsio_gpio5 {
 	compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
+	gpio-ranges = <&iomuxc 0 40 3>,
+		      <&iomuxc 3 44 6>,
+		      <&iomuxc 9 51 3>;
 };
 
 &lsio_gpio6 {