Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 0662cf2 | 2017-07-25 08:29:58 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Google, Inc |
Simon Glass | 0662cf2 | 2017-07-25 08:29:58 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <dm.h> |
| 8 | #include <syscon.h> |
| 9 | |
| 10 | static const struct udevice_id tegra124_syscon_ids[] = { |
| 11 | { .compatible = "nvidia,tegra124-pmc", .data = TEGRA_SYSCON_PMC }, |
| 12 | }; |
| 13 | |
| 14 | U_BOOT_DRIVER(syscon_tegra124) = { |
| 15 | .name = "tegra124_syscon", |
| 16 | .id = UCLASS_SYSCON, |
| 17 | .of_match = tegra124_syscon_ids, |
| 18 | }; |