Merge git://git.denx.de/u-boot-socfpga
[platform/kernel/u-boot.git] / arch / arm / mach-tegra / tegra124 / pmc.c
1 /*
2  * Copyright (C) 2017 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <dm.h>
9 #include <syscon.h>
10
11 static const struct udevice_id tegra124_syscon_ids[] = {
12         { .compatible = "nvidia,tegra124-pmc", .data = TEGRA_SYSCON_PMC },
13 };
14
15 U_BOOT_DRIVER(syscon_tegra124) = {
16         .name = "tegra124_syscon",
17         .id = UCLASS_SYSCON,
18         .of_match = tegra124_syscon_ids,
19 };