ARM: dts: imx6ul: Add clock and PGC node to GPC
authorStefan Wahren <stefan.wahren@i2se.com>
Fri, 14 Apr 2023 09:19:47 +0000 (11:19 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 14 May 2023 02:30:11 +0000 (10:30 +0800)
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@20dc000: 'clocks' is a required property
gpc@20dc000: 'clock-names' is a required property
gpc@20dc000: 'pgc' is a required property

Suggested-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul.dtsi

index 118764c..0174f3e 100644 (file)
                                #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@0 {
+                                               reg = <0>;
+                                               #power-domain-cells = <0>;
+                                       };
+                               };
                        };
 
                        iomuxc: pinctrl@20e0000 {