// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * aVisor Hypervisor
 *
 * A Tiny Hypervisor for IoT Development
 *
 * Copyright (c) 2022 Deng Jie (mr.dengjie@gmail.com).
 */

#pragma once

#include "boards/raspi/base.h"

#define GPFSEL0	  (PBASE + 0x00200000)
#define GPFSEL1	  (PBASE + 0x00200004)
#define GPFSEL2	  (PBASE + 0x00200008)
#define GPFSEL3	  (PBASE + 0x0020000C)
#define GPFSEL4	  (PBASE + 0x00200010)
#define GPFSEL5	  (PBASE + 0x00200014)
#define GPSET0	  (PBASE + 0x0020001C)
#define GPSET1	  (PBASE + 0x00200020)
#define GPCLR0	  (PBASE + 0x00200028)
#define GPLEV0	  (PBASE + 0x00200034)
#define GPLEV1	  (PBASE + 0x00200038)
#define GPEDS0	  (PBASE + 0x00200040)
#define GPEDS1	  (PBASE + 0x00200044)
#define GPHEN0	  (PBASE + 0x00200064)
#define GPHEN1	  (PBASE + 0x00200068)
#define GPPUD	  (PBASE + 0x00200094)
#define GPPUDCLK0 (PBASE + 0x00200098)
#define GPPUDCLK1 (PBASE + 0x0020009C)
