diff options
author | Tony Lindgren <tony@atomide.com> | 2019-12-12 09:46:11 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-01-23 08:23:28 -0800 |
commit | 30c2d7ca3fbcee7920979097b2d9bd5b0114ff68 (patch) | |
tree | bbdb5950cdabf28404a5d245ff29a36a47f99dc4 /arch/arm/boot/dts/omap5-l4.dtsi | |
parent | fbb8bb8370f6fdaaaccf85201f4ee2a665aae42d (diff) | |
download | linux-30c2d7ca3fbcee7920979097b2d9bd5b0114ff68.tar.bz2 |
ARM: dts: Configure omap5 rng to probe with ti-sysc
This is similar to dra7 and omap4 with different clock naming
and module address.
Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-l4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap5-l4.dtsi | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/omap5-l4.dtsi b/arch/arm/boot/dts/omap5-l4.dtsi index 25aacf1ba708..b931090ce9a6 100644 --- a/arch/arm/boot/dts/omap5-l4.dtsi +++ b/arch/arm/boot/dts/omap5-l4.dtsi @@ -1769,12 +1769,26 @@ }; }; - target-module@90000 { /* 0x48090000, ap 55 1a.0 */ - compatible = "ti,sysc"; - status = "disabled"; + rng_target: target-module@90000 { /* 0x48090000, ap 55 1a.0 */ + compatible = "ti,sysc-omap2", "ti,sysc"; + reg = <0x91fe0 0x4>, + <0x91fe4 0x4>; + reg-names = "rev", "sysc"; + ti,sysc-mask = <(SYSC_OMAP2_AUTOIDLE)>; + ti,sysc-sidle = <SYSC_IDLE_FORCE>, + <SYSC_IDLE_NO>; + /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */ + clocks = <&l4sec_clkctrl OMAP5_RNG_CLKCTRL 0>; + clock-names = "fck"; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x90000 0x2000>; + + rng: rng@0 { + compatible = "ti,omap4-rng"; + reg = <0x0 0x2000>; + interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; + }; }; target-module@98000 { /* 0x48098000, ap 47 08.0 */ |