162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci *      linux/drivers/video/maxinefb.h
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci *      DECstation 5000/xx onboard framebuffer support, Copyright (C) 1999 by
562306a36Sopenharmony_ci *      Michael Engel <engel@unix-ag.org> and Karsten Merker <merker@guug.de>
662306a36Sopenharmony_ci *      This file is subject to the terms and conditions of the GNU General
762306a36Sopenharmony_ci *      Public License.  See the file COPYING in the main directory of this
862306a36Sopenharmony_ci *      archive for more details.
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <asm/addrspace.h>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci/*
1462306a36Sopenharmony_ci * IMS332 video controller register base address
1562306a36Sopenharmony_ci */
1662306a36Sopenharmony_ci#define MAXINEFB_IMS332_ADDRESS		KSEG1ADDR(0x1c140000)
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/*
1962306a36Sopenharmony_ci * Begin of DECstation 5000/xx onboard framebuffer memory, default resolution
2062306a36Sopenharmony_ci * is 1024x768x8
2162306a36Sopenharmony_ci */
2262306a36Sopenharmony_ci#define DS5000_xx_ONBOARD_FBMEM_START	KSEG1ADDR(0x0a000000)
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci/*
2562306a36Sopenharmony_ci *      The IMS 332 video controller used in the DECstation 5000/xx series
2662306a36Sopenharmony_ci *      uses 32 bits wide registers; the following defines declare the
2762306a36Sopenharmony_ci *      register numbers, to get the real offset, these have to be multiplied
2862306a36Sopenharmony_ci *      by four.
2962306a36Sopenharmony_ci */
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#define IMS332_REG_CURSOR_RAM           0x200	/* hardware cursor bitmap */
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci/*
3462306a36Sopenharmony_ci * The color palette entries have the form 0x00BBGGRR
3562306a36Sopenharmony_ci */
3662306a36Sopenharmony_ci#define IMS332_REG_COLOR_PALETTE        0x100	/* color palette, 256 entries */
3762306a36Sopenharmony_ci#define IMS332_REG_CURSOR_COLOR_PALETTE	0x0a1	/* cursor color palette, */
3862306a36Sopenharmony_ci						/* 3 entries             */
39