Commit b57220ac authored by Shenwei Wang's avatar Shenwei Wang Committed by Shawn Guo

arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property

add gpio-ranges property for imx8qxp soc.

This gpio-range is used to record which GPIOs correspond to which pins on
which pin controllers. The GPIO to PIN mapping will be referenced by the
pad wakeup function in GPIO-MXC driver.
Signed-off-by: default avatarShenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bed3003a
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment