Commit 715a5a97 authored by Tony Lindgren's avatar Tony Lindgren

ARM: dts: Configure interconnect target module for omap5 dss

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 until the child
devices are probing with ti-sysc interconnect driver.

Initially let's just update the top level dss node to probe with ti-sysc
interconnect target module driver. The child nodes are still children
of dispc, only the node indentation changes for them now along with
using the reg range provided by top level dss.

Cc: Jyri Sarha <jsarha@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8f661563
...@@ -292,40 +292,55 @@ target-module@56000000 { ...@@ -292,40 +292,55 @@ target-module@56000000 {
*/ */
}; };
dss: dss@58000000 { target-module@58000000 {
compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "dss_core";
reg = <0x58000000 4>,
<0x58000014 4>;
reg-names = "rev", "syss";
ti,syss-mask = <1>;
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 0>,
<&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 9>,
<&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 10>,
<&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 11>;
clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x58000000 0x1000000>;
dss: dss@0 {
compatible = "ti,omap5-dss"; compatible = "ti,omap5-dss";
reg = <0x58000000 0x80>; reg = <0 0x80>;
status = "disabled"; status = "disabled";
ti,hwmods = "dss_core";
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>; clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
clock-names = "fck"; clock-names = "fck";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges; ranges = <0 0 0x1000000>;
dispc@58001000 { dispc@1000 {
compatible = "ti,omap5-dispc"; compatible = "ti,omap5-dispc";
reg = <0x58001000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "dss_dispc"; ti,hwmods = "dss_dispc";
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>; clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>;
clock-names = "fck"; clock-names = "fck";
}; };
rfbi: encoder@58002000 { rfbi: encoder@2000 {
compatible = "ti,omap5-rfbi"; compatible = "ti,omap5-rfbi";
reg = <0x58002000 0x100>; reg = <0x2000 0x100>;
status = "disabled"; status = "disabled";
ti,hwmods = "dss_rfbi"; ti,hwmods = "dss_rfbi";
clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>, <&l3_iclk_div>; clocks = <&dss_clkctrl OMAP5_DSS_CORE_CLKCTRL 8>, <&l3_iclk_div>;
clock-names = "fck", "ick"; clock-names = "fck", "ick";
}; };
dsi1: encoder@58004000 { dsi1: encoder@4000 {
compatible = "ti,omap5-dsi"; compatible = "ti,omap5-dsi";
reg = <0x58004000 0x200>, reg = <0x4000 0x200>,
<0x58004200 0x40>, <0x4200 0x40>,
<0x58004300 0x40>; <0x4300 0x40>;
reg-names = "proto", "phy", "pll"; reg-names = "proto", "phy", "pll";
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
...@@ -335,11 +350,11 @@ dsi1: encoder@58004000 { ...@@ -335,11 +350,11 @@ dsi1: encoder@58004000 {
clock-names = "fck", "sys_clk"; clock-names = "fck", "sys_clk";
}; };
dsi2: encoder@58005000 { dsi2: encoder@9000 {
compatible = "ti,omap5-dsi"; compatible = "ti,omap5-dsi";
reg = <0x58009000 0x200>, reg = <0x9000 0x200>,
<0x58009200 0x40>, <0x9200 0x40>,
<0x58009300 0x40>; <0x9300 0x40>;
reg-names = "proto", "phy", "pll"; reg-names = "proto", "phy", "pll";
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
...@@ -349,12 +364,12 @@ dsi2: encoder@58005000 { ...@@ -349,12 +364,12 @@ dsi2: encoder@58005000 {
clock-names = "fck", "sys_clk"; clock-names = "fck", "sys_clk";
}; };
hdmi: encoder@58060000 { hdmi: encoder@40000 {
compatible = "ti,omap5-hdmi"; compatible = "ti,omap5-hdmi";
reg = <0x58040000 0x200>, reg = <0x40000 0x200>,
<0x58040200 0x80>, <0x40200 0x80>,
<0x58040300 0x80>, <0x40300 0x80>,
<0x58060000 0x19000>; <0x60000 0x19000>;
reg-names = "wp", "pll", "phy", "core"; reg-names = "wp", "pll", "phy", "core";
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
...@@ -366,6 +381,7 @@ hdmi: encoder@58060000 { ...@@ -366,6 +381,7 @@ hdmi: encoder@58060000 {
dma-names = "audio_tx"; dma-names = "audio_tx";
}; };
}; };
};
abb_mpu: regulator-abb-mpu { abb_mpu: regulator-abb-mpu {
compatible = "ti,abb-v2"; compatible = "ti,abb-v2";
......
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