ARM: dts: Configure interconnect target module for dra7 sata
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:03:47 +0000 (14:03 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:07 +0000 (14:04 +0200)
commit8af15365a36845c4c15d4c8046ddccff331d5263
tree1b6948ad2699e642ac69994d6da41f224463e9db
parente2d637b069783f9db6cc76b8296f830f937a64f3
ARM: dts: Configure interconnect target module for dra7 sata

We can now probe devices with device tree only configuration using
ti-sysc interconnect target module driver. Let's configure the
module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
time warnings. The legacy property will be removed in later patches
together with the legacy platform data.

Note that the old sysc register offset is wrong, the real offset is at
0x1100 as listed in TRM for SATA_SYSCONFIG register. Looks like we've been
happily using sata on the bootloader configured sysconfig register and
nobody noticed. Also the old register range for SATAMAC_wrapper registers
is wrong at 7 while it should be 8. But that too seems harmless.

There is also an L3 parent interconnect range that we don't seem to be
using. That can be added as needed later on.

Tested-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-l4.dtsi
arch/arm/boot/dts/dra7.dtsi