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 | |
Simon Glass | 0662cf2 | 2017-07-25 08:29:58 -0600 | [diff] [blame] | 6 | #include <dm.h> |
| 7 | #include <syscon.h> |
| 8 | |
| 9 | static const struct udevice_id tegra124_syscon_ids[] = { |
| 10 | { .compatible = "nvidia,tegra124-pmc", .data = TEGRA_SYSCON_PMC }, |
| 11 | }; |
| 12 | |
| 13 | U_BOOT_DRIVER(syscon_tegra124) = { |
| 14 | .name = "tegra124_syscon", |
| 15 | .id = UCLASS_SYSCON, |
| 16 | .of_match = tegra124_syscon_ids, |
| 17 | }; |