diff options
author | Tony Lindgren <tony@atomide.com> | 2021-03-10 14:04:29 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-03-10 14:04:29 +0200 |
commit | fe85baacd73be867812c5bf869970eeceeac6c46 (patch) | |
tree | 77d47dc218cc1938c2bc0179478bc730d104bf06 /arch/arm/boot/dts/omap4.dtsi | |
parent | 398c66ed22fa85d44d5ff3c12efc282c98c4da89 (diff) | |
download | lwn-fe85baacd73be867812c5bf869970eeceeac6c46.tar.gz lwn-fe85baacd73be867812c5bf869970eeceeac6c46.zip |
ARM: dts: Configure interconnect target module for omap4 dmm
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" property to avoid new boot
time warnings. The legacy property will be removed in later patches
together with the legacy platform data.
Let's also use GIC_SPI and IRQ_TYPE_LEVEL_HIGH defines while at it.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap4.dtsi | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index ddfbc10c851c..cccbeb3b231d 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -262,11 +262,24 @@ /* No child device binding or driver in mainline */ }; - dmm@4e000000 { - compatible = "ti,omap4-dmm"; - reg = <0x4e000000 0x800>; - interrupts = <0 113 0x4>; + target-module@4e000000 { + compatible = "ti,sysc-omap2", "ti,sysc"; ti,hwmods = "dmm"; + reg = <0x4e000000 0x4>, + <0x4e000010 0x4>; + reg-names = "rev", "sysc"; + ti,sysc-sidle = <SYSC_IDLE_FORCE>, + <SYSC_IDLE_NO>, + <SYSC_IDLE_SMART>; + ranges = <0x0 0x4e000000 0x2000000>; + #size-cells = <1>; + #address-cells = <1>; + + dmm@0 { + compatible = "ti,omap4-dmm"; + reg = <0 0x800>; + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; + }; }; emif1: emif@4c000000 { |