]> git.ipfire.org Git - thirdparty/u-boot.git/blame - drivers/misc/syscon_sandbox.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / drivers / misc / syscon_sandbox.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
04035fd3
SG
2/*
3 * Copyright (c) 2015 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
04035fd3
SG
5 */
6
d678a59d 7#include <common.h>
04035fd3
SG
8#include <dm.h>
9#include <errno.h>
10#include <syscon.h>
11#include <asm/test.h>
12#include <dm/lists.h>
13
04035fd3
SG
14static const struct udevice_id sandbox_syscon_ids[] = {
15 { .compatible = "sandbox,syscon0", .data = SYSCON0 },
16 { .compatible = "sandbox,syscon1", .data = SYSCON1 },
17 { }
18};
19
20U_BOOT_DRIVER(sandbox_syscon) = {
21 .name = "sandbox_syscon",
22 .id = UCLASS_SYSCON,
23 .of_match = sandbox_syscon_ids,
24};