Commit 5f89cdc1 authored by Tony Lindgren's avatar Tony Lindgren

ARM: dts: Configure interconnect target module for omap5 gpmc

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: default avatarTony Lindgren <tony@atomide.com>
parent 0e666eb5
...@@ -177,23 +177,40 @@ ocmcram: sram@40300000 { ...@@ -177,23 +177,40 @@ ocmcram: sram@40300000 {
reg = <0x40300000 0x20000>; /* 128k */ reg = <0x40300000 0x20000>; /* 128k */
}; };
gpmc: gpmc@50000000 { target-module@50000000 {
compatible = "ti,omap4430-gpmc"; compatible = "ti,sysc-omap2", "ti,sysc";
reg = <0x50000000 0x1000>; reg = <0x50000000 4>,
#address-cells = <2>; <0x50000010 4>,
#size-cells = <1>; <0x50000014 4>;
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; reg-names = "rev", "sysc", "syss";
dmas = <&sdma 4>; ti,sysc-sidle = <SYSC_IDLE_FORCE>,
dma-names = "rxtx"; <SYSC_IDLE_NO>,
gpmc,num-cs = <8>; <SYSC_IDLE_SMART>;
gpmc,num-waitpins = <4>; ti,syss-mask = <1>;
ti,hwmods = "gpmc"; ti,no-idle-on-init;
clocks = <&l3_iclk_div>; clocks = <&l3main2_clkctrl OMAP5_L3_MAIN_2_GPMC_CLKCTRL 0>;
clock-names = "fck"; clock-names = "fck";
interrupt-controller; #address-cells = <1>;
#interrupt-cells = <2>; #size-cells = <1>;
gpio-controller; ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
#gpio-cells = <2>; <0x00000000 0x00000000 0x40000000>; /* data */
gpmc: gpmc@50000000 {
compatible = "ti,omap4430-gpmc";
reg = <0x50000000 0x1000>;
#address-cells = <2>;
#size-cells = <1>;
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&sdma 4>;
dma-names = "rxtx";
gpmc,num-cs = <8>;
gpmc,num-waitpins = <4>;
clock-names = "fck";
interrupt-controller;
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
};
}; };
target-module@55082000 { target-module@55082000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment