mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 18:23:08 +00:00
055125171a
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
24 lines
547 B
C
24 lines
547 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Microsemi Servalt Switch driver
|
|
*
|
|
* Copyright (c) 2018 Microsemi Corporation
|
|
*/
|
|
|
|
#ifndef _MSCC_SERVALT_H_
|
|
#define _MSCC_SERVALT_H_
|
|
|
|
#include <linux/bitops.h>
|
|
#include <dm.h>
|
|
|
|
/*
|
|
* Target offset base(s)
|
|
*/
|
|
#define MSCC_IO_ORIGIN1_OFFSET 0x70000000
|
|
#define MSCC_IO_ORIGIN1_SIZE 0x00200000
|
|
#define MSCC_IO_ORIGIN2_OFFSET 0x71000000
|
|
#define MSCC_IO_ORIGIN2_SIZE 0x01000000
|
|
#define BASE_CFG ((void __iomem *)0x70000000)
|
|
#define BASE_DEVCPU_GCB ((void __iomem *)0x71010000)
|
|
|
|
#endif
|