Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+17 -4
+17 -4
arch/arm/boot/dts/omap4.dtsi
··· 262 262 /* No child device binding or driver in mainline */ 263 263 }; 264 264 265 - dmm@4e000000 { 266 - compatible = "ti,omap4-dmm"; 267 - reg = <0x4e000000 0x800>; 268 - interrupts = <0 113 0x4>; 265 + target-module@4e000000 { 266 + compatible = "ti,sysc-omap2", "ti,sysc"; 269 267 ti,hwmods = "dmm"; 268 + reg = <0x4e000000 0x4>, 269 + <0x4e000010 0x4>; 270 + reg-names = "rev", "sysc"; 271 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 272 + <SYSC_IDLE_NO>, 273 + <SYSC_IDLE_SMART>; 274 + ranges = <0x0 0x4e000000 0x2000000>; 275 + #size-cells = <1>; 276 + #address-cells = <1>; 277 + 278 + dmm@0 { 279 + compatible = "ti,omap4-dmm"; 280 + reg = <0 0x800>; 281 + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 282 + }; 270 283 }; 271 284 272 285 emif1: emif@4c000000 {