Commit ac7bcf48 authored by Peng Fan's avatar Peng Fan Committed by Shawn Guo

arm64: dts: imx8ulp: update gpio node

The i.MX8ULP GPIO supports two interrupts and one register base,
the current fsl,imx7ulp-gpio compatible could work for i.MX8ULP in
gpio-vf610.c driver, it is based on the base address are splited
into two with offset added in device tree node. Now following
hardware design, using one register base in device tree node.

This may break users who use compatible fsl,imx7ulp-gpio to enable
i.MX8ULP GPIO.
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d403e1dc
...@@ -484,11 +484,12 @@ fec: ethernet@29950000 { ...@@ -484,11 +484,12 @@ fec: ethernet@29950000 {
}; };
gpioe: gpio@2d000080 { gpioe: gpio@2d000080 {
compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; compatible = "fsl,imx8ulp-gpio";
reg = <0x2d000080 0x1000>, <0x2d000040 0x40>; reg = <0x2d000000 0x1000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
clocks = <&pcc4 IMX8ULP_CLK_RGPIOE>, clocks = <&pcc4 IMX8ULP_CLK_RGPIOE>,
...@@ -498,11 +499,12 @@ gpioe: gpio@2d000080 { ...@@ -498,11 +499,12 @@ gpioe: gpio@2d000080 {
}; };
gpiof: gpio@2d010080 { gpiof: gpio@2d010080 {
compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; compatible = "fsl,imx8ulp-gpio";
reg = <0x2d010080 0x1000>, <0x2d010040 0x40>; reg = <0x2d010000 0x1000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
clocks = <&pcc4 IMX8ULP_CLK_RGPIOF>, clocks = <&pcc4 IMX8ULP_CLK_RGPIOF>,
...@@ -533,11 +535,12 @@ pcc5: clock-controller@2da70000 { ...@@ -533,11 +535,12 @@ pcc5: clock-controller@2da70000 {
}; };
gpiod: gpio@2e200080 { gpiod: gpio@2e200080 {
compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; compatible = "fsl,imx8ulp-gpio";
reg = <0x2e200080 0x1000>, <0x2e200040 0x40>; reg = <0x2e200000 0x1000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
clocks = <&pcc5 IMX8ULP_CLK_RGPIOD>, clocks = <&pcc5 IMX8ULP_CLK_RGPIOD>,
......
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