bcm2835_mbox.h revision 278608
1239922Sgonzo/*- 2239922Sgonzo * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org> 3239922Sgonzo * All rights reserved. 4239922Sgonzo * 5239922Sgonzo * Redistribution and use in source and binary forms, with or without 6239922Sgonzo * modification, are permitted provided that the following conditions 7239922Sgonzo * are met: 8239922Sgonzo * 1. Redistributions of source code must retain the above copyright 9239922Sgonzo * notice, this list of conditions and the following disclaimer. 10239922Sgonzo * 2. Redistributions in binary form must reproduce the above copyright 11239922Sgonzo * notice, this list of conditions and the following disclaimer in the 12239922Sgonzo * documentation and/or other materials provided with the distribution. 13239922Sgonzo * 14239922Sgonzo * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15239922Sgonzo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16239922Sgonzo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17239922Sgonzo * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18239922Sgonzo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19239922Sgonzo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20239922Sgonzo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21239922Sgonzo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22239922Sgonzo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23239922Sgonzo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24239922Sgonzo * SUCH DAMAGE. 25239922Sgonzo * 26239922Sgonzo * $FreeBSD: stable/10/sys/arm/broadcom/bcm2835/bcm2835_mbox.h 278608 2015-02-12 00:25:33Z ian $ 27239922Sgonzo */ 28239922Sgonzo 29239922Sgonzo#ifndef _BCM2835_MBOX_H_ 30239922Sgonzo#define _BCM2835_MBOX_H_ 31239922Sgonzo 32239922Sgonzo#define BCM2835_MBOX_CHAN_POWER 0 33239922Sgonzo#define BCM2835_MBOX_CHAN_FB 1 34239922Sgonzo#define BCM2835_MBOX_CHAN_VUART 2 35239922Sgonzo#define BCM2835_MBOX_CHAN_VCHIQ 3 36239922Sgonzo#define BCM2835_MBOX_CHAN_LEDS 4 37239922Sgonzo#define BCM2835_MBOX_CHAN_BUTTONS 5 38239922Sgonzo#define BCM2835_MBOX_CHAN_TS 6 39278608Sian#define BCM2835_MBOX_CHAN_PROP 8 40278608Sian#define BCM2835_MBOX_CHANS 9 41239922Sgonzo 42239922Sgonzo#endif /* _BCM2835_MBOX_H_ */ 43