OSDN Git Service

ARM: dts: imx51: Add sahara crypto support
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 26 Jun 2018 23:18:52 +0000 (20:18 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jul 2018 13:25:33 +0000 (21:25 +0800)
The sahara crypto block on i.MX51 has the same IP version as
the one on i.MX53.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51.dtsi

index d5ba31e..5bb727a 100644 (file)
                                resets = <&src 1>;
                                iram = <&iram>;
                        };
+
+                       sahara: crypto@83ff8000 {
+                               compatible = "fsl,imx53-sahara", "fsl,imx51-sahara";
+                               reg = <0x83ff8000 0x4000>;
+                               interrupts = <19 20>;
+                               clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
+                                        <&clks IMX5_CLK_SAHARA_IPG_GATE>;
+                               clock-names = "ipg", "ahb";
+                       };
                };
        };
 };