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 emif

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.

Signed-off-by: Tony Lindgren <tony@atomide.com>

+40 -18
+40 -18
arch/arm/boot/dts/omap4.dtsi
··· 282 282 }; 283 283 }; 284 284 285 - emif1: emif@4c000000 { 286 - compatible = "ti,emif-4d"; 287 - reg = <0x4c000000 0x100>; 288 - interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 285 + target-module@4c000000 { 286 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 289 287 ti,hwmods = "emif1"; 290 - ti,no-idle-on-init; 291 - phy-type = <1>; 292 - hw-caps-read-idle-ctrl; 293 - hw-caps-ll-interface; 294 - hw-caps-temp-alert; 288 + reg = <0x4c000000 0x4>; 289 + reg-names = "rev"; 290 + clocks = <&l3_emif_clkctrl OMAP4_EMIF1_CLKCTRL 0>; 291 + clock-names = "fck"; 292 + ti,no-idle; 293 + #address-cells = <1>; 294 + #size-cells = <1>; 295 + ranges = <0x0 0x4c000000 0x1000000>; 296 + 297 + emif1: emif@0 { 298 + compatible = "ti,emif-4d"; 299 + reg = <0 0x100>; 300 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 301 + phy-type = <1>; 302 + hw-caps-read-idle-ctrl; 303 + hw-caps-ll-interface; 304 + hw-caps-temp-alert; 305 + }; 295 306 }; 296 307 297 - emif2: emif@4d000000 { 298 - compatible = "ti,emif-4d"; 299 - reg = <0x4d000000 0x100>; 300 - interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 308 + target-module@4d000000 { 309 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 301 310 ti,hwmods = "emif2"; 302 - ti,no-idle-on-init; 303 - phy-type = <1>; 304 - hw-caps-read-idle-ctrl; 305 - hw-caps-ll-interface; 306 - hw-caps-temp-alert; 311 + reg = <0x4d000000 0x4>; 312 + reg-names = "rev"; 313 + clocks = <&l3_emif_clkctrl OMAP4_EMIF2_CLKCTRL 0>; 314 + clock-names = "fck"; 315 + ti,no-idle; 316 + #address-cells = <1>; 317 + #size-cells = <1>; 318 + ranges = <0x0 0x4d000000 0x1000000>; 319 + 320 + emif2: emif@0 { 321 + compatible = "ti,emif-4d"; 322 + reg = <0 0x100>; 323 + interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 324 + phy-type = <1>; 325 + hw-caps-read-idle-ctrl; 326 + hw-caps-ll-interface; 327 + hw-caps-temp-alert; 328 + }; 307 329 }; 308 330 309 331 dsp: dsp {