SPDX: Convert all of our multiple license tags to Linux Kernel style
[oweals/u-boot.git] / arch / arm / mach-stm32mp / syscon.c
1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2 /*
3  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4  */
5
6 #include <common.h>
7 #include <dm.h>
8 #include <syscon.h>
9 #include <asm/arch/stm32.h>
10
11 static const struct udevice_id stm32mp_syscon_ids[] = {
12         { .compatible = "st,stm32-stgen",
13           .data = STM32MP_SYSCON_STGEN },
14         { }
15 };
16
17 U_BOOT_DRIVER(syscon_stm32mp) = {
18         .name = "stmp32mp_syscon",
19         .id = UCLASS_SYSCON,
20         .of_match = stm32mp_syscon_ids,
21         .bind = dm_scan_fdt_dev,
22 };