Message ID | 20241023190002.1183938-1-festevam@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | ARM: dts: imx6sl/sll: Add the "fsl,imx6dl-gpt" fallback | expand |
On Wed, Oct 23, 2024 at 04:00:02PM -0300, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > Per fsl,imxgpt.yaml, the i.MX6SL GPT compatible should be described as: > > compatible = "fsl,imx6sl-gpt", "fsl,imx6dl-gpt"; > > Do as suggested to fix the following dt-schema warnings: > > timer@2098000: compatible: 'oneOf' conditional failed, one must be fixed: > ['fsl,imx6sl-gpt'] is too short > 'fsl,imx1-gpt' was expected > 'fsl,imx21-gpt' was expected > 'fsl,imx27-gpt' was expected > 'fsl,imx31-gpt' was expected > 'fsl,imx6sl-gpt' is not one of ['fsl,imx25-gpt', 'fsl,imx50-gpt', 'fsl,imx51-gpt', 'fsl,imx53-gpt', 'fsl,imx6q-gpt'] > 'fsl,imx6dl-gpt' was expected > 'fsl,imx6sl-gpt' is not one of ['fsl,imx6ul-gpt', 'fsl,imx7d-gpt'] > > Signed-off-by: Fabio Estevam <festevam@denx.de> Applied, thanks!
diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi index 6aa61235e39e..96f3c6b9e485 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi @@ -378,7 +378,7 @@ pwm4: pwm@208c000 { }; gpt: timer@2098000 { - compatible = "fsl,imx6sl-gpt"; + compatible = "fsl,imx6sl-gpt", "fsl,imx6dl-gpt"; reg = <0x02098000 0x4000>; interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_GPT>, diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi index 85fe2a4ab97a..5cab9bf577c1 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi @@ -358,7 +358,7 @@ pwm4: pwm@208c000 { }; gpt1: timer@2098000 { - compatible = "fsl,imx6sl-gpt"; + compatible = "fsl,imx6sl-gpt", "fsl,imx6dl-gpt"; reg = <0x02098000 0x4000>; interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SLL_CLK_GPT_BUS>,