Files
u-boot/arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_gpio.h
Simon Glass 69a5616f06 arm: mach-bcm283x: Bring in some header files from tianocore
These header files presumably duplicate things already in the U-Boot
devicetree. For now, bring them in to get the ASL code and ACPI table
code to compile.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Matthias Brugger <mbrugger@suse.com>
Cc: Matthias Brugger <mbrugger@suse.com>
Cc: Peter Robinson <pbrobinson@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
2024-10-27 17:24:13 -06:00

20 lines
515 B
C

/* SPDX-License-Identifier: BSD-2-Clause-Patent */
/**
*
* Copyright (c) 2020, Pete Batard <pete@akeo.ie>
* Copyright (c) 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
* Copyright (c) Microsoft Corporation. All rights reserved.
*
**/
#include <asm/arch/acpi/bcm2836.h>
#ifndef __BCM2836_GPIO_H__
#define __BCM2836_GPIO_H__
#define GPIO_OFFSET 0x00200000
#define GPIO_BASE_ADDRESS (BCM2836_SOC_REGISTERS + GPIO_OFFSET)
#define GPIO_LENGTH 0x000000B4
#endif /* __BCM2836_GPIO_H__ */