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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
>---
> .../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@xxxxxxx>

>-- 
>2.34.1
>

-- 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux