mvreg.h (186909) | mvreg.h (191140) |
---|---|
1/*- 2 * Copyright (C) 2007-2008 MARVELL INTERNATIONAL LTD. 3 * All rights reserved. 4 * 5 * Developed by Semihalf. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/*- 2 * Copyright (C) 2007-2008 MARVELL INTERNATIONAL LTD. 3 * All rights reserved. 4 * 5 * Developed by Semihalf. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/arm/mv/mvreg.h 186909 2009-01-08 18:31:43Z raj $ | 31 * $FreeBSD: head/sys/arm/mv/mvreg.h 191140 2009-04-16 11:20:18Z raj $ |
32 */ 33 34#ifndef _MVREG_H_ 35#define _MVREG_H_ 36 37#include <machine/intr.h> 38 39/* --- 426 unchanged lines hidden (view full) --- 466#define TCLK_133MHZ 133333333 467#define TCLK_150MHZ 150000000 468#define TCLK_166MHZ 166666667 469#define TCLK_200MHZ 200000000 470 471/* 472 * Chip ID 473 */ | 32 */ 33 34#ifndef _MVREG_H_ 35#define _MVREG_H_ 36 37#include <machine/intr.h> 38 39/* --- 426 unchanged lines hidden (view full) --- 466#define TCLK_133MHZ 133333333 467#define TCLK_150MHZ 150000000 468#define TCLK_166MHZ 166666667 469#define TCLK_200MHZ 200000000 470 471/* 472 * Chip ID 473 */ |
474#define MV_DEV_88F5181 0x5181 475#define MV_DEV_88F5182 0x5182 476#define MV_DEV_88F5281 0x5281 477#define MV_DEV_88F6281 0x6281 478#define MV_DEV_MV78100 0x6381 | 474#define MV_DEV_88F5181 0x5181 475#define MV_DEV_88F5182 0x5182 476#define MV_DEV_88F5281 0x5281 477#define MV_DEV_88F6281 0x6281 478#define MV_DEV_MV78100_Z0 0x6381 479#define MV_DEV_MV78100 0x7810 |
479 480/* 481 * Decode windows definitions and macros 482 */ 483#define MV_WIN_CPU_CTRL(n) (0x10 * (n) + (((n) < 8) ? 0x000 : 0x880)) 484#define MV_WIN_CPU_BASE(n) (0x10 * (n) + (((n) < 8) ? 0x004 : 0x884)) 485#define MV_WIN_CPU_REMAP_LO(n) (0x10 * (n) + (((n) < 8) ? 0x008 : 0x888)) 486#define MV_WIN_CPU_REMAP_HI(n) (0x10 * (n) + (((n) < 8) ? 0x00C : 0x88C)) --- 125 unchanged lines hidden --- | 480 481/* 482 * Decode windows definitions and macros 483 */ 484#define MV_WIN_CPU_CTRL(n) (0x10 * (n) + (((n) < 8) ? 0x000 : 0x880)) 485#define MV_WIN_CPU_BASE(n) (0x10 * (n) + (((n) < 8) ? 0x004 : 0x884)) 486#define MV_WIN_CPU_REMAP_LO(n) (0x10 * (n) + (((n) < 8) ? 0x008 : 0x888)) 487#define MV_WIN_CPU_REMAP_HI(n) (0x10 * (n) + (((n) < 8) ? 0x00C : 0x88C)) --- 125 unchanged lines hidden --- |