diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/boot/dts/omap3.dtsi | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/devices.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index d0e884d3a737..e602e75ce5b7 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi | |||
| @@ -79,7 +79,7 @@ | |||
| 79 | * hierarchy. | 79 | * hierarchy. |
| 80 | */ | 80 | */ |
| 81 | ocp { | 81 | ocp { |
| 82 | compatible = "simple-bus"; | 82 | compatible = "ti,omap3-l3-smx", "simple-bus"; |
| 83 | reg = <0x68000000 0x10000>; | 83 | reg = <0x68000000 0x10000>; |
| 84 | interrupts = <9 10>; | 84 | interrupts = <9 10>; |
| 85 | #address-cells = <1>; | 85 | #address-cells = <1>; |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 324f02bf8a51..55447972eeed 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
| @@ -49,7 +49,7 @@ static int __init omap3_l3_init(void) | |||
| 49 | * To avoid code running on other OMAPs in | 49 | * To avoid code running on other OMAPs in |
| 50 | * multi-omap builds | 50 | * multi-omap builds |
| 51 | */ | 51 | */ |
| 52 | if (!(cpu_is_omap34xx())) | 52 | if (!(cpu_is_omap34xx()) || of_have_populated_dt()) |
| 53 | return -ENODEV; | 53 | return -ENODEV; |
| 54 | 54 | ||
| 55 | snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main"); | 55 | snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main"); |
