| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2008-2009 ST-Ericsson SA |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2, as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #include <linux/types.h> |
|---|
| 12 | 8 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 88 | 84 | struct resource r; |
|---|
| 89 | 85 | |
|---|
| 90 | 86 | irqchip_init(); |
|---|
| 87 | + prcmu_early_init(); |
|---|
| 91 | 88 | np = of_find_compatible_node(NULL, NULL, "stericsson,db8500-prcmu"); |
|---|
| 92 | 89 | of_address_to_resource(np, 0, &r); |
|---|
| 93 | 90 | of_node_put(np); |
|---|
| .. | .. |
|---|
| 95 | 92 | pr_err("could not find PRCMU base resource\n"); |
|---|
| 96 | 93 | return; |
|---|
| 97 | 94 | } |
|---|
| 98 | | - prcmu_early_init(r.start, r.end-r.start); |
|---|
| 99 | 95 | ux500_pm_init(r.start, r.end-r.start); |
|---|
| 100 | 96 | |
|---|
| 101 | 97 | /* Unlock before init */ |
|---|
| .. | .. |
|---|
| 114 | 110 | static const struct of_device_id u8500_local_bus_nodes[] = { |
|---|
| 115 | 111 | /* only create devices below soc node */ |
|---|
| 116 | 112 | { .compatible = "stericsson,db8500", }, |
|---|
| 117 | | - { .compatible = "stericsson,db8500-prcmu", }, |
|---|
| 118 | 113 | { .compatible = "simple-bus"}, |
|---|
| 119 | 114 | { }, |
|---|
| 120 | 115 | }; |
|---|