# Register definitions for OMAP processors # # (C) Copyright 2007 Kevin O'Connor <*****@*****.**> # # This file may be distributed under the terms of the GNU GPL license. import memalias from memalias import regOneBits, regFourBits ###################################################################### # omap850 ###################################################################### Regs_omap850 = { 0xfffecb00: ("IH1", regOneBits("IH1-")), 0xfffe0000: ("IH2", regOneBits("IH2-")), 0xfffe0100: ("IH2", regOneBits("IH2-", 32)), 0xfffbc014: ("GIRQ1", regOneBits("IS")), 0xfffbc814: ("GIRQ2", regOneBits("IS", 32)), 0xfffbd014: ("GIRQ3", regOneBits("IS", 64)), 0xfffbd814: ("GIRQ4", regOneBits("IS", 96)), 0xfffbe014: ("GIRQ5", regOneBits("IS", 128)), 0xfffbe814: ("GIRQ6", regOneBits("IS", 160)), 0xfffbc000: ("GPIO1-IL", regOneBits("IL")), 0xfffbc800: ("GPIO2-IL", regOneBits("IL", 32)), 0xfffbd000: ("GPIO3-IL", regOneBits("IL", 64)), 0xfffbd800: ("GPIO4-IL", regOneBits("IL", 96)), 0xfffbe000: ("GPIO5-IL", regOneBits("IL", 128)), 0xfffbe800: ("GPIO6-IL", regOneBits("IL", 160)), 0xfffbc004: ("GPIO1-OL", regOneBits("OL")), 0xfffbc804: ("GPIO2-OL", regOneBits("OL", 32)),
(24, "SDC10"), (25, "SDC11"), (26, "SDC20"), (27, "SDC21"), (28, "KEYB"), (29, "TOUCH_SSBI"), (30, "TOUCH1"), (31, "TOUCH2")) irqs1 = ((0, "GPIO1"), (1, "GPIO2"), (2, "PWB_I2C"), (3, "SOFTRST"), (4, "NAND_WR_ER"), (5, "NAND_OP"), (6, "PBUS_ARM11"), (7, "AXI_MPU_SMI"), (8, "AXI_MPU_EBI1"), (9, "AD_HSSD"), (10, "A11_PMU"), (11, "A11_DMA"), (12, "TSIF_IRQ"), (13, "UART1DM_IRQ"), (14, "UART1DM_RX"), (15, "USB_HS"), (16, "SDC30"), (17, "SDC31"), (18, "SDC40"), (19, "SDC41"), (20, "UART2DM_RX"), (21, "UART2DM_IRQ")) cken = ((28, "SDC4"), (27, "SDC3"), (26, "uartDM2"), (17, "uartDM1"), (8, "SDC2"), (7, "SDC1")) Regs_msm_gpio = { 0xa9200800: ("out0", regOneBits("out0-")), 0xa9200804: ("out2", regOneBits("out2-")), 0xa9200808: ("out3", regOneBits("out3-")), 0xa920080c: ("out4", regOneBits("out4-")), 0xa9200810: ("out0_en", regOneBits("out0-")), 0xa9200814: ("out2_en", regOneBits("out2_en-")), 0xa9200818: ("out3_en", regOneBits("out3_en-")), 0xa920081c: ("out4_en", regOneBits("out4_en-")), 0xa9200834: ("in0", regOneBits("in0-")), 0xa9200838: ("in2", regOneBits("in2-")), 0xa920083c: ("in3", regOneBits("in3-")), 0xa9200840: ("in4", regOneBits("in4-")), 0xa9200880: ("intr0_en", regOneBits("intr0_en-")), 0xa9200884: ("intr2_en", regOneBits("intr2_en-")), 0xa9200888: ("intr3_en", regOneBits("intr3_en-")), 0xa920088c: ("intr4_en", regOneBits("intr4_en-")),
(24, "SDC10"), (25, "SDC11"), (26, "SDC20"), (27, "SDC21"), (28, "KEYB"), (29, "TOUCH_SSBI"), (30, "TOUCH1"), (31, "TOUCH2")) irqs1 = ( (0, "GPIO1"), (1, "GPIO2"),(2, "PWB_I2C"),(3, "SOFTRST"),(4, "NAND_WR_ER"),(5, "NAND_OP"),(6, "PBUS_ARM11"), (7, "AXI_MPU_SMI"), (8,"AXI_MPU_EBI1"), (9, "AD_HSSD"), (10, "A11_PMU"), (11, "A11_DMA"), (12, "TSIF_IRQ"), (13, "UART1DM_IRQ"), (14, "UART1DM_RX"), (15, "USB_HS"), (16, "SDC30"), (17, "SDC31"), (18, "SDC40"), (19, "SDC41"), (20, "UART2DM_RX"), (21, "UART2DM_IRQ")) cken = ( (28, "SDC4"), (27, "SDC3"), (26, "uartDM2"), (17, "uartDM1"), (8, "SDC2"), (7, "SDC1")) Regs_msm_gpio = { 0xa9200800: ("out0", regOneBits("out0-")), 0xa9200804: ("out2", regOneBits("out2-")), 0xa9200808: ("out3", regOneBits("out3-")), 0xa920080c: ("out4", regOneBits("out4-")), 0xa9200810: ("out0_en", regOneBits("out0-")), 0xa9200814: ("out2_en", regOneBits("out2_en-")), 0xa9200818: ("out3_en", regOneBits("out3_en-")), 0xa920081c: ("out4_en", regOneBits("out4_en-")), 0xa9200834: ("in0", regOneBits("in0-")), 0xa9200838: ("in2", regOneBits("in2-")), 0xa920083c: ("in3", regOneBits("in3-")), 0xa9200840: ("in4", regOneBits("in4-")), 0xa9200880: ("intr0_en", regOneBits("intr0_en-")), 0xa9200884: ("intr2_en", regOneBits("intr2_en-")), 0xa9200888: ("intr3_en", regOneBits("intr3_en-")), 0xa920088c: ("intr4_en", regOneBits("intr4_en-")),
# Register definitions for OMAP processors # # (C) Copyright 2007 Kevin O'Connor <*****@*****.**> # # This file may be distributed under the terms of the GNU GPL license. import memalias from memalias import regOneBits, regFourBits ###################################################################### # omap850 ###################################################################### Regs_omap850 = { 0xfffecb00: ("IH1", regOneBits("IH1-")), 0xfffe0000: ("IH2", regOneBits("IH2-")), 0xfffe0100: ("IH2", regOneBits("IH2-", 32)), 0xfffbc014: ("GIRQ1", regOneBits("IS")), 0xfffbc814: ("GIRQ2", regOneBits("IS", 32)), 0xfffbd014: ("GIRQ3", regOneBits("IS", 64)), 0xfffbd814: ("GIRQ4", regOneBits("IS", 96)), 0xfffbe014: ("GIRQ5", regOneBits("IS", 128)), 0xfffbe814: ("GIRQ6", regOneBits("IS", 160)), 0xfffbc000: ("GPIO1-IL", regOneBits("IL")), 0xfffbc800: ("GPIO2-IL", regOneBits("IL", 32)), 0xfffbd000: ("GPIO3-IL", regOneBits("IL", 64)), 0xfffbd800: ("GPIO4-IL", regOneBits("IL", 96)), 0xfffbe000: ("GPIO5-IL", regOneBits("IL", 128)), 0xfffbe800: ("GPIO6-IL", regOneBits("IL", 160)),