arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm / mach-iop32x / pmu.c
blobbdbc7a3cb8a3141a91329bb426e83bacd9a672f0
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * PMU IRQ registration for the iop3xx xscale PMU families.
4 * Copyright (C) 2010 Will Deacon, ARM Ltd.
5 */
7 #include <linux/platform_device.h>
8 #include "irqs.h"
10 static struct resource pmu_resource = {
11 .start = IRQ_IOP32X_CORE_PMU,
12 .end = IRQ_IOP32X_CORE_PMU,
13 .flags = IORESOURCE_IRQ,
16 static struct platform_device pmu_device = {
17 .name = "xscale-pmu",
18 .id = -1,
19 .resource = &pmu_resource,
20 .num_resources = 1,
23 static int __init iop3xx_pmu_init(void)
25 platform_device_register(&pmu_device);
26 return 0;
29 arch_initcall(iop3xx_pmu_init);