Commit 5241ccbf authored by Tony Lindgren's avatar Tony Lindgren

ARM: dts: Add missing ranges for dra7 mcasp l3 ports

We need to add mcasp l3 port ranges for mcasp to use a correct l3
data port address for dma. And we're also missing the optional clocks
that we have tagged with HWMOD_OPT_CLKS_NEEDED in omap_hwmod_7xx_data.c.

Note that for reading the module revision register HWMOD_OPT_CLKS_NEEDED
do not seem to be needed. So they could be probably directly managed
only by the mcasp driver, and then we could leave them out for the
interconnect target module.

Fixes: 4ed0dfe3 ("ARM: dts: dra7: Move l4 child devices to probe
them with ti-sysc")
Reported-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f4ef6fd0
...@@ -2296,7 +2296,15 @@ &l4_per2 { /* 0x48400000 */ ...@@ -2296,7 +2296,15 @@ &l4_per2 { /* 0x48400000 */
reg-names = "ap", "la", "ia0", "ia1", "ia2"; reg-names = "ap", "la", "ia0", "ia1", "ia2";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x00000000 0x48400000 0x400000>; /* segment 0 */ ranges = <0x00000000 0x48400000 0x400000>, /* segment 0 */
<0x45800000 0x45800000 0x400000>, /* L3 data port */
<0x45c00000 0x45c00000 0x400000>, /* L3 data port */
<0x46000000 0x46000000 0x400000>, /* L3 data port */
<0x48436000 0x48436000 0x400000>, /* L3 data port */
<0x4843a000 0x4843a000 0x400000>, /* L3 data port */
<0x4844c000 0x4844c000 0x400000>, /* L3 data port */
<0x48450000 0x48450000 0x400000>, /* L3 data port */
<0x48454000 0x48454000 0x400000>; /* L3 data port */
segment@0 { /* 0x48400000 */ segment@0 { /* 0x48400000 */
compatible = "simple-bus"; compatible = "simple-bus";
...@@ -2364,7 +2372,15 @@ segment@0 { /* 0x48400000 */ ...@@ -2364,7 +2372,15 @@ segment@0 { /* 0x48400000 */
<0x0005b000 0x0005b000 0x001000>, /* ap 59 */ <0x0005b000 0x0005b000 0x001000>, /* ap 59 */
<0x0005c000 0x0005c000 0x001000>, /* ap 60 */ <0x0005c000 0x0005c000 0x001000>, /* ap 60 */
<0x0005d000 0x0005d000 0x001000>, /* ap 61 */ <0x0005d000 0x0005d000 0x001000>, /* ap 61 */
<0x0005e000 0x0005e000 0x001000>; /* ap 62 */ <0x0005e000 0x0005e000 0x001000>, /* ap 62 */
<0x45800000 0x45800000 0x400000>, /* L3 data port */
<0x45c00000 0x45c00000 0x400000>, /* L3 data port */
<0x46000000 0x46000000 0x400000>, /* L3 data port */
<0x48436000 0x48436000 0x400000>, /* L3 data port */
<0x4843a000 0x4843a000 0x400000>, /* L3 data port */
<0x4844c000 0x4844c000 0x400000>, /* L3 data port */
<0x48450000 0x48450000 0x400000>, /* L3 data port */
<0x48454000 0x48454000 0x400000>; /* L3 data port */
target-module@20000 { /* 0x48420000, ap 47 02.0 */ target-module@20000 { /* 0x48420000, ap 47 02.0 */
compatible = "ti,sysc-omap2", "ti,sysc"; compatible = "ti,sysc-omap2", "ti,sysc";
...@@ -2727,11 +2743,14 @@ target-module@60000 { /* 0x48460000, ap 9 0e.0 */ ...@@ -2727,11 +2743,14 @@ target-module@60000 { /* 0x48460000, ap 9 0e.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): ipu_pwrdm, ipu_clkdm */ /* Domains (P, C): ipu_pwrdm, ipu_clkdm */
clocks = <&ipu_clkctrl DRA7_IPU_MCASP1_CLKCTRL 0>; clocks = <&ipu_clkctrl DRA7_IPU_MCASP1_CLKCTRL 0>,
clock-names = "fck"; <&ipu_clkctrl DRA7_IPU_MCASP1_CLKCTRL 24>,
<&ipu_clkctrl DRA7_IPU_MCASP1_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x60000 0x2000>; ranges = <0x0 0x60000 0x2000>,
<0x45800000 0x45800000 0x400000>;
mcasp1: mcasp@0 { mcasp1: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2761,11 +2780,14 @@ target-module@64000 { /* 0x48464000, ap 11 1e.0 */ ...@@ -2761,11 +2780,14 @@ target-module@64000 { /* 0x48464000, ap 11 1e.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP2_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP2_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP2_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP2_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x64000 0x2000>; ranges = <0x0 0x64000 0x2000>,
<0x45c00000 0x45c00000 0x400000>;
mcasp2: mcasp@0 { mcasp2: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2795,11 +2817,14 @@ target-module@68000 { /* 0x48468000, ap 13 26.0 */ ...@@ -2795,11 +2817,14 @@ target-module@68000 { /* 0x48468000, ap 13 26.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x68000 0x2000>; ranges = <0x0 0x68000 0x2000>,
<0x46000000 0x46000000 0x400000>;
mcasp3: mcasp@0 { mcasp3: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2828,11 +2853,14 @@ target-module@6c000 { /* 0x4846c000, ap 15 2e.0 */ ...@@ -2828,11 +2853,14 @@ target-module@6c000 { /* 0x4846c000, ap 15 2e.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP4_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP4_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP4_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP4_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x6c000 0x2000>; ranges = <0x0 0x6c000 0x2000>,
<0x48436000 0x48436000 0x400000>;
mcasp4: mcasp@0 { mcasp4: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2861,11 +2889,14 @@ target-module@70000 { /* 0x48470000, ap 19 36.0 */ ...@@ -2861,11 +2889,14 @@ target-module@70000 { /* 0x48470000, ap 19 36.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP5_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP5_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP5_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP5_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x70000 0x2000>; ranges = <0x0 0x70000 0x2000>,
<0x4843a000 0x4843a000 0x400000>;
mcasp5: mcasp@0 { mcasp5: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2894,11 +2925,14 @@ target-module@74000 { /* 0x48474000, ap 35 14.0 */ ...@@ -2894,11 +2925,14 @@ target-module@74000 { /* 0x48474000, ap 35 14.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP6_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP6_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP6_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP6_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x74000 0x2000>; ranges = <0x0 0x74000 0x2000>,
<0x4844c000 0x4844c000 0x400000>;
mcasp6: mcasp@0 { mcasp6: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2927,11 +2961,14 @@ target-module@78000 { /* 0x48478000, ap 39 0c.0 */ ...@@ -2927,11 +2961,14 @@ target-module@78000 { /* 0x48478000, ap 39 0c.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP7_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP7_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP7_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP7_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x78000 0x2000>; ranges = <0x0 0x78000 0x2000>,
<0x48450000 0x48450000 0x400000>;
mcasp7: mcasp@0 { mcasp7: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
...@@ -2960,11 +2997,14 @@ target-module@7c000 { /* 0x4847c000, ap 43 04.0 */ ...@@ -2960,11 +2997,14 @@ target-module@7c000 { /* 0x4847c000, ap 43 04.0 */
<SYSC_IDLE_NO>, <SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>; <SYSC_IDLE_SMART>;
/* Domains (P, C): l4per_pwrdm, l4per2_clkdm */ /* Domains (P, C): l4per_pwrdm, l4per2_clkdm */
clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP8_CLKCTRL 0>; clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP8_CLKCTRL 0>,
clock-names = "fck"; <&l4per2_clkctrl DRA7_L4PER2_MCASP8_CLKCTRL 24>,
<&l4per2_clkctrl DRA7_L4PER2_MCASP8_CLKCTRL 28>;
clock-names = "fck", "ahclkx", "ahclkr";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x7c000 0x2000>; ranges = <0x0 0x7c000 0x2000>,
<0x48454000 0x48454000 0x400000>;
mcasp8: mcasp@0 { mcasp8: mcasp@0 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
......
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