1 1.2 skrll /* $NetBSD: jzfb_regs.h,v 1.2 2017/05/19 07:43:31 skrll Exp $ */ 2 1.1 macallan 3 1.1 macallan /*- 4 1.1 macallan * Copyright (c) 2015 Michael Lorenz 5 1.1 macallan * All rights reserved. 6 1.1 macallan * 7 1.1 macallan * Redistribution and use in source and binary forms, with or without 8 1.1 macallan * modification, are permitted provided that the following conditions 9 1.1 macallan * are met: 10 1.1 macallan * 1. Redistributions of source code must retain the above copyright 11 1.1 macallan * notice, this list of conditions and the following disclaimer. 12 1.1 macallan * 2. Redistributions in binary form must reproduce the above copyright 13 1.1 macallan * notice, this list of conditions and the following disclaimer in the 14 1.1 macallan * documentation and/or other materials provided with the distribution. 15 1.1 macallan * 16 1.1 macallan * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17 1.1 macallan * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18 1.1 macallan * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19 1.1 macallan * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20 1.1 macallan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 1.1 macallan * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 1.1 macallan * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23 1.1 macallan * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24 1.1 macallan * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25 1.1 macallan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26 1.1 macallan * POSSIBILITY OF SUCH DAMAGE. 27 1.1 macallan */ 28 1.1 macallan 29 1.1 macallan #ifndef JZFB_REGS_H 30 1.1 macallan #define JZFB_REGS_H 31 1.1 macallan 32 1.1 macallan #define JZ_LCDCFG 0x0000 33 1.1 macallan #define JZ_LCDCTRL 0x0030 34 1.1 macallan #define JZ_LCDSTATE 0x0034 35 1.1 macallan #define JZ_LCDOSDC 0x0100 36 1.1 macallan #define JZ_LCDOSDCTRL 0x0104 37 1.1 macallan #define JZ_LCDOSDS 0x0108 38 1.1 macallan #define JZ_LCDBGC0 0x010C 39 1.1 macallan #define JZ_LCDBGC1 0x02C4 40 1.1 macallan #define JZ_LCDKEY0 0x0110 41 1.1 macallan #define JZ_LCDKEY1 0x0114 42 1.1 macallan #define JZ_LCDALPHA 0x0118 43 1.1 macallan #define JZ_LCDIPUR 0x011C 44 1.1 macallan #define JZ_LCDRGBC 0x0090 45 1.1 macallan #define JZ_LCDVAT 0x000C 46 1.1 macallan #define JZ_LCDDAH 0x0010 47 1.1 macallan #define JZ_LCDDAV 0x0014 48 1.1 macallan #define JZ_LCDXYP0 0x0120 49 1.1 macallan #define JZ_LCDXYP1 0x0124 50 1.1 macallan #define JZ_LCDSIZE0 0x0128 51 1.1 macallan #define JZ_LCDSIZE1 0x012C 52 1.1 macallan #define JZ_LCDVSYNC 0x0004 53 1.1 macallan #define JZ_LCDHSYNC 0x0008 54 1.1 macallan #define JZ_LCDPS 0x0018 55 1.1 macallan #define JZ_LCDCLS 0x001C 56 1.1 macallan #define JZ_LCDSPL 0x0020 57 1.1 macallan #define JZ_LCDREV 0x0024 58 1.1 macallan #define JZ_LCDIID 0x0038 59 1.1 macallan #define JZ_LCDDA0 0x0040 60 1.1 macallan #define JZ_LCDSA0 0x0044 61 1.1 macallan #define JZ_LCDFID0 0x0048 62 1.1 macallan #define JZ_LCDCMD0 0x004C 63 1.1 macallan #define JZ_LCDDA1 0x0050 64 1.1 macallan #define JZ_LCDSA1 0x0054 65 1.1 macallan #define JZ_LCDOFFS0 0x0060 66 1.1 macallan #define JZ_LCDPW0 0x0064 67 1.1 macallan #define JZ_LCDCNUM0 0x0068 68 1.1 macallan #define JZ_LCDPOS0 0x0068 69 1.1 macallan #define JZ_LCDDESSIZE0 0x006C 70 1.1 macallan #define JZ_LCDFID1 0x0058 71 1.1 macallan #define JZ_LCDCMD1 0x005C 72 1.1 macallan #define JZ_LCDOFFS1 0x0070 73 1.1 macallan #define JZ_LCDPW1 0x0074 74 1.1 macallan #define JZ_LCDCNUM1 0x0078 75 1.1 macallan #define JZ_LCDPOS1 0x0078 76 1.1 macallan #define JZ_LCDDESSIZE1 0x007C 77 1.1 macallan #define JZ_LCDPCFG 0x02C0 78 1.1 macallan #define JZ_LCDDUALCTRL 0x02C8 79 1.1 macallan #define JZ_LCDENH_CFG 0x0400 80 1.1 macallan #define JZ_LCDENH_CSCCFG 0x0404 81 1.1 macallan #define JZ_LCDENH_LUMACFG 0x0408 82 1.1 macallan #define JZ_LCDENH_CHROCFG0 0x040C 83 1.1 macallan #define JZ_LCDENH_CHROCFG1 0x0410 84 1.1 macallan #define JZ_LCDENH_DITHERCFG 0x0414 85 1.1 macallan #define JZ_LCDENH_STATUS 0x0418 86 1.1 macallan #define JZ_LCDENH_GAMMA 0x0800 87 1.1 macallan #define JZ_LCDENH_VEE 0x1000 88 1.1 macallan 89 1.2 skrll #endif /* JZFB_REGS_H */ 90