ARM: dts: Configure interconnect target module for dra7 tpcc

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.

Let's also correct the custom node name to use generic node name dma.

Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Tony Lindgren 2020-03-04 07:25:31 -08:00
parent 45701c402f
commit 13149bb878
1 changed files with 29 additions and 18 deletions

View File

@ -331,10 +331,20 @@
#pinctrl-cells = <2>;
};
edma: edma@43300000 {
compatible = "ti,edma3-tpcc";
target-module@43300000 {
compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "tpcc";
reg = <0x43300000 0x100000>;
reg = <0x43300000 0x4>;
reg-names = "rev";
clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
clock-names = "fck";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x43300000 0x100000>;
edma: dma@0 {
compatible = "ti,edma3-tpcc";
reg = <0 0x100000>;
reg-names = "edma3_cc";
interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
@ -353,6 +363,7 @@
* masked in the xbar as well.
*/
};
};
edma_tptc0: tptc@43400000 {
compatible = "ti,edma3-tptc";