[PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC

Stefan Wahren stefan.wahren at i2se.com
Sun Mar 5 14:59:00 PST 2023


According to fsl,imx-gpc.yaml the General Power Control requires
a ipg clock and a Power Gating Control node. So add them to fix
the dtbs_check warnings on i.MX6UL boards:

gpc at 20dc000: 'clocks' is a required property
gpc at 20dc000: 'clock-names' is a required property
gpc at 20dc000: 'pgc' is a required property

Suggested-by: Jacky Bai <ping.bai at nxp.com>
Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 arch/arm/boot/dts/imx6ul.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 412baa848837..fd6c064fa032 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -720,6 +720,18 @@ gpc: gpc at 20dc000 {
 				#interrupt-cells = <3>;
 				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
 				interrupt-parent = <&intc>;
+				clocks = <&clks IMX6UL_CLK_IPG>;
+				clock-names = "ipg";
+
+				pgc {
+						#address-cells = <1>;
+						#size-cells = <0>;
+
+						power-domain at 0 {
+							reg = <0>;
+							#power-domain-cells = <0>;
+						};
+				};
 			};
 
 			iomuxc: pinctrl at 20e0000 {
-- 
2.34.1




More information about the linux-arm-kernel mailing list