Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom add fb and dotg devices



details:   https://anonhg.NetBSD.org/src/rev/65080415b493
branches:  trunk
changeset: 783794:65080415b493
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 08 23:51:33 2013 +0000

description:
add fb and dotg devices

diffstat:

 sys/arch/arm/broadcom/bcm2835_obio.c |  18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r d479d916dd50 -r 65080415b493 sys/arch/arm/broadcom/bcm2835_obio.c
--- a/sys/arch/arm/broadcom/bcm2835_obio.c      Tue Jan 08 23:49:56 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_obio.c      Tue Jan 08 23:51:33 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_obio.c,v 1.9 2013/01/05 20:31:23 jakllsch Exp $        */
+/*     $NetBSD: bcm2835_obio.c,v 1.10 2013/01/08 23:51:33 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.9 2013/01/05 20:31:23 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.10 2013/01/08 23:51:33 jmcneill Exp $");
 
 #include "locators.h"
 #include "obio.h"
@@ -105,6 +105,13 @@
                .ad_intr = BCM2835_INT_UART0,
        },
        {
+               /* Framebuffer */
+               .ad_name = "fb",
+               .ad_addr = 0,
+               .ad_size = 0,
+               .ad_intr = -1,
+       },
+       {
                /* eMMC interface */
                .ad_name = "emmc",
                .ad_addr = BCM2835_EMMC_BASE,
@@ -112,6 +119,13 @@
                .ad_intr = BCM2835_INT_EMMC,
        },
        {
+               /* DOTG interface */
+               .ad_name = "dotg",
+               .ad_addr = BCM2835_USB_BASE,
+               .ad_size = BCM2835_USB_SIZE,
+               .ad_intr = BCM2835_INT_USB,
+       },
+       {
                .ad_name = "bcmspi",
                .ad_addr = BCM2835_SPI0_BASE,
                .ad_size = BCM2835_SPI0_SIZE,



Home | Main Index | Thread Index | Old Index