]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARM: dts: imx6sl: fix rng node
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 15 Jul 2020 15:26:01 +0000 (18:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 08:57:57 +0000 (09:57 +0100)
[ Upstream commit 82ffb35c2ce63ef8e0325f75eb48022abcf8edbe ]

rng DT node was added without a compatible string.

i.MX driver for RNGC (drivers/char/hw_random/imx-rngc.c) also claims
support for RNGB, and is currently used for i.MX25.

Let's use this driver also for RNGB block in i.MX6SL.

Fixes: e29fe21cff96 ("ARM: dts: add device tree source for imx6sl SoC")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6sl.dtsi

index 3a96b5538a2a1485c148340eee6e6658f37ed004..540880f0413fdbe500417a7f176ba7431ced239c 100644 (file)
                        };
 
                        rngb: rngb@21b4000 {
+                               compatible = "fsl,imx6sl-rngb", "fsl,imx25-rngb";
                                reg = <0x021b4000 0x4000>;
                                interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks IMX6SL_CLK_DUMMY>;
                        };
 
                        weim: weim@21b8000 {