Wenyou Yang | 8c772bd | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 Atmel Corporation |
| 3 | * Wenyou.Yang <wenyou.yang@atmel.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
Wenyou Yang | 8c772bd | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 9 | #include <dm/device.h> |
| 10 | #include <dm/root.h> |
| 11 | |
| 12 | DECLARE_GLOBAL_DATA_PTR; |
| 13 | |
Wenyou Yang | e400930 | 2016-09-13 10:25:55 +0800 | [diff] [blame] | 14 | static const struct udevice_id at91_sckc_match[] = { |
Wenyou Yang | 8c772bd | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 15 | { .compatible = "atmel,at91sam9x5-sckc" }, |
| 16 | {} |
| 17 | }; |
| 18 | |
Wenyou Yang | e400930 | 2016-09-13 10:25:55 +0800 | [diff] [blame] | 19 | U_BOOT_DRIVER(at91_sckc) = { |
| 20 | .name = "at91-sckc", |
| 21 | .id = UCLASS_SIMPLE_BUS, |
| 22 | .of_match = at91_sckc_match, |
Wenyou Yang | 8c772bd | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 23 | }; |