1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-09 20:16:27 +02:00

MSCC: add support for Luton SoCs

As the Ocelots SoCs, this family of SoCs are found in the Microsemi
Switches solution.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Gregory CLEMENT
2018-12-14 16:16:48 +01:00
committed by Daniel Schwierzeck
parent dd1033e4e0
commit 6bd8231a6d
11 changed files with 494 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Microsemi Ocelot Switch driver
*
* Copyright (c) 2018 Microsemi Corporation
*/
#ifndef _MSCC_OCELOT_H_
#define _MSCC_OCELOT_H_
#include <linux/bitops.h>
#include <dm.h>
/*
* Target offset base(s)
*/
#define MSCC_IO_ORIGIN1_OFFSET 0x60000000
#define MSCC_IO_ORIGIN1_SIZE 0x01000000
#define MSCC_IO_ORIGIN2_OFFSET 0x70000000
#define MSCC_IO_ORIGIN2_SIZE 0x00200000
#define BASE_CFG ((void __iomem *)0x70000000)
#define BASE_DEVCPU_GCB ((void __iomem *)0x60070000)
#endif