From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- kernel/arch/arm/mach-omap2/Kconfig | 269 ++ kernel/arch/arm/mach-omap2/Makefile | 284 ++ kernel/arch/arm/mach-omap2/Makefile.boot | 3 + kernel/arch/arm/mach-omap2/am33xx-restart.c | 27 + kernel/arch/arm/mach-omap2/am33xx.h | 27 + kernel/arch/arm/mach-omap2/board-cm-t35.c | 769 ++++ kernel/arch/arm/mach-omap2/board-flash.c | 244 + kernel/arch/arm/mach-omap2/board-flash.h | 61 + kernel/arch/arm/mach-omap2/board-generic.c | 328 ++ kernel/arch/arm/mach-omap2/board-ldp.c | 429 ++ kernel/arch/arm/mach-omap2/board-n8x0.c | 602 +++ kernel/arch/arm/mach-omap2/board-omap3beagle.c | 595 +++ kernel/arch/arm/mach-omap2/board-omap3logic.c | 249 + kernel/arch/arm/mach-omap2/board-omap3pandora.c | 633 +++ kernel/arch/arm/mach-omap2/board-overo.c | 571 +++ .../arch/arm/mach-omap2/board-rx51-peripherals.c | 1286 ++++++ kernel/arch/arm/mach-omap2/board-rx51-video.c | 67 + kernel/arch/arm/mach-omap2/board-rx51.c | 141 + kernel/arch/arm/mach-omap2/board-rx51.h | 11 + kernel/arch/arm/mach-omap2/clkt2xxx_dpll.c | 59 + kernel/arch/arm/mach-omap2/clkt2xxx_dpllcore.c | 195 + .../arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 263 ++ kernel/arch/arm/mach-omap2/clkt34xx_dpll3m2.c | 119 + kernel/arch/arm/mach-omap2/clkt_clksel.c | 466 ++ kernel/arch/arm/mach-omap2/clkt_dpll.c | 370 ++ kernel/arch/arm/mach-omap2/clkt_iclk.c | 68 + kernel/arch/arm/mach-omap2/clock.c | 849 ++++ kernel/arch/arm/mach-omap2/clock.h | 284 ++ kernel/arch/arm/mach-omap2/clock2430.c | 57 + kernel/arch/arm/mach-omap2/clock2xxx.c | 57 + kernel/arch/arm/mach-omap2/clock2xxx.h | 45 + kernel/arch/arm/mach-omap2/clock34xx.c | 138 + kernel/arch/arm/mach-omap2/clock34xx.h | 18 + kernel/arch/arm/mach-omap2/clock3517.c | 118 + kernel/arch/arm/mach-omap2/clock3517.h | 14 + kernel/arch/arm/mach-omap2/clock36xx.c | 69 + kernel/arch/arm/mach-omap2/clock36xx.h | 13 + kernel/arch/arm/mach-omap2/clock3xxx.c | 135 + kernel/arch/arm/mach-omap2/clock3xxx.h | 20 + kernel/arch/arm/mach-omap2/clock44xx.h | 20 + kernel/arch/arm/mach-omap2/clock_common_data.c | 115 + kernel/arch/arm/mach-omap2/clockdomain.c | 1297 ++++++ kernel/arch/arm/mach-omap2/clockdomain.h | 238 + kernel/arch/arm/mach-omap2/clockdomains2420_data.c | 153 + kernel/arch/arm/mach-omap2/clockdomains2430_data.c | 180 + .../arm/mach-omap2/clockdomains2xxx_3xxx_data.c | 92 + kernel/arch/arm/mach-omap2/clockdomains33xx_data.c | 196 + kernel/arch/arm/mach-omap2/clockdomains3xxx_data.c | 525 +++ kernel/arch/arm/mach-omap2/clockdomains43xx_data.c | 196 + kernel/arch/arm/mach-omap2/clockdomains44xx_data.c | 443 ++ kernel/arch/arm/mach-omap2/clockdomains54xx_data.c | 464 ++ kernel/arch/arm/mach-omap2/clockdomains7xx_data.c | 740 +++ kernel/arch/arm/mach-omap2/clockdomains81xx_data.c | 194 + kernel/arch/arm/mach-omap2/cm-regbits-24xx.h | 135 + kernel/arch/arm/mach-omap2/cm-regbits-33xx.h | 68 + kernel/arch/arm/mach-omap2/cm-regbits-34xx.h | 217 + kernel/arch/arm/mach-omap2/cm-regbits-44xx.h | 146 + kernel/arch/arm/mach-omap2/cm-regbits-54xx.h | 104 + kernel/arch/arm/mach-omap2/cm-regbits-7xx.h | 51 + kernel/arch/arm/mach-omap2/cm.h | 78 + kernel/arch/arm/mach-omap2/cm1_44xx.h | 220 + kernel/arch/arm/mach-omap2/cm1_54xx.h | 211 + kernel/arch/arm/mach-omap2/cm1_7xx.h | 322 ++ kernel/arch/arm/mach-omap2/cm2_44xx.h | 452 ++ kernel/arch/arm/mach-omap2/cm2_54xx.h | 387 ++ kernel/arch/arm/mach-omap2/cm2_7xx.h | 515 +++ kernel/arch/arm/mach-omap2/cm2xxx.c | 405 ++ kernel/arch/arm/mach-omap2/cm2xxx.h | 70 + kernel/arch/arm/mach-omap2/cm2xxx_3xxx.h | 120 + kernel/arch/arm/mach-omap2/cm33xx.c | 364 ++ kernel/arch/arm/mach-omap2/cm33xx.h | 380 ++ kernel/arch/arm/mach-omap2/cm3xxx.c | 684 +++ kernel/arch/arm/mach-omap2/cm3xxx.h | 79 + kernel/arch/arm/mach-omap2/cm44xx.h | 28 + kernel/arch/arm/mach-omap2/cm81xx.h | 61 + kernel/arch/arm/mach-omap2/cm_common.c | 370 ++ kernel/arch/arm/mach-omap2/cminst44xx.c | 528 +++ kernel/arch/arm/mach-omap2/common-board-devices.c | 103 + kernel/arch/arm/mach-omap2/common-board-devices.h | 20 + kernel/arch/arm/mach-omap2/common.c | 33 + kernel/arch/arm/mach-omap2/common.h | 325 ++ kernel/arch/arm/mach-omap2/control.c | 748 +++ kernel/arch/arm/mach-omap2/control.h | 481 ++ kernel/arch/arm/mach-omap2/cpuidle34xx.c | 337 ++ kernel/arch/arm/mach-omap2/cpuidle44xx.c | 248 + kernel/arch/arm/mach-omap2/ctrl_module_wkup_44xx.h | 92 + kernel/arch/arm/mach-omap2/devices.c | 338 ++ kernel/arch/arm/mach-omap2/devices.h | 19 + kernel/arch/arm/mach-omap2/display.c | 680 +++ kernel/arch/arm/mach-omap2/display.h | 36 + kernel/arch/arm/mach-omap2/dma.c | 293 ++ kernel/arch/arm/mach-omap2/dpll3xxx.c | 818 ++++ kernel/arch/arm/mach-omap2/dpll44xx.c | 232 + kernel/arch/arm/mach-omap2/drm.c | 53 + kernel/arch/arm/mach-omap2/dss-common.c | 37 + kernel/arch/arm/mach-omap2/dss-common.h | 13 + kernel/arch/arm/mach-omap2/fb.c | 115 + kernel/arch/arm/mach-omap2/gpio.c | 160 + kernel/arch/arm/mach-omap2/gpmc-nand.c | 159 + kernel/arch/arm/mach-omap2/gpmc-onenand.c | 403 ++ kernel/arch/arm/mach-omap2/gpmc-smsc911x.c | 100 + kernel/arch/arm/mach-omap2/gpmc-smsc911x.h | 35 + kernel/arch/arm/mach-omap2/gpmc.h | 14 + kernel/arch/arm/mach-omap2/hdq1w.c | 99 + kernel/arch/arm/mach-omap2/hdq1w.h | 36 + kernel/arch/arm/mach-omap2/hsmmc.c | 505 ++ kernel/arch/arm/mach-omap2/hsmmc.h | 46 + kernel/arch/arm/mach-omap2/hwspinlock.c | 60 + kernel/arch/arm/mach-omap2/i2c.c | 191 + kernel/arch/arm/mach-omap2/i2c.h | 42 + kernel/arch/arm/mach-omap2/id.c | 769 ++++ kernel/arch/arm/mach-omap2/id.h | 22 + kernel/arch/arm/mach-omap2/include/mach/barriers.h | 33 + kernel/arch/arm/mach-omap2/include/mach/hardware.h | 3 + kernel/arch/arm/mach-omap2/include/mach/irqs.h | 3 + kernel/arch/arm/mach-omap2/include/mach/serial.h | 66 + kernel/arch/arm/mach-omap2/io.c | 745 +++ kernel/arch/arm/mach-omap2/iomap.h | 196 + kernel/arch/arm/mach-omap2/l3_2xxx.h | 20 + kernel/arch/arm/mach-omap2/l3_3xxx.h | 20 + kernel/arch/arm/mach-omap2/l4_2xxx.h | 24 + kernel/arch/arm/mach-omap2/l4_3xxx.h | 34 + kernel/arch/arm/mach-omap2/mcbsp.c | 122 + kernel/arch/arm/mach-omap2/mmc.h | 13 + kernel/arch/arm/mach-omap2/msdi.c | 90 + kernel/arch/arm/mach-omap2/mux.c | 1153 +++++ kernel/arch/arm/mach-omap2/mux.h | 352 ++ kernel/arch/arm/mach-omap2/mux34xx.c | 2061 +++++++++ kernel/arch/arm/mach-omap2/mux34xx.h | 402 ++ kernel/arch/arm/mach-omap2/omap-headsmp.S | 123 + kernel/arch/arm/mach-omap2/omap-hotplug.c | 66 + kernel/arch/arm/mach-omap2/omap-iommu.c | 77 + kernel/arch/arm/mach-omap2/omap-mpuss-lowpower.c | 446 ++ kernel/arch/arm/mach-omap2/omap-pm-noop.c | 175 + kernel/arch/arm/mach-omap2/omap-pm.h | 160 + kernel/arch/arm/mach-omap2/omap-secure.c | 148 + kernel/arch/arm/mach-omap2/omap-secure.h | 82 + kernel/arch/arm/mach-omap2/omap-smc.S | 99 + kernel/arch/arm/mach-omap2/omap-smp.c | 252 + kernel/arch/arm/mach-omap2/omap-wakeupgen.c | 544 +++ kernel/arch/arm/mach-omap2/omap-wakeupgen.h | 38 + kernel/arch/arm/mach-omap2/omap2-restart.c | 65 + kernel/arch/arm/mach-omap2/omap24xx.h | 87 + kernel/arch/arm/mach-omap2/omap3-restart.c | 34 + kernel/arch/arm/mach-omap2/omap34xx.h | 69 + kernel/arch/arm/mach-omap2/omap4-common.c | 231 + kernel/arch/arm/mach-omap2/omap4-restart.c | 26 + kernel/arch/arm/mach-omap2/omap4-sar-layout.h | 60 + kernel/arch/arm/mach-omap2/omap44xx.h | 61 + kernel/arch/arm/mach-omap2/omap54xx.h | 37 + kernel/arch/arm/mach-omap2/omap_device.c | 929 ++++ kernel/arch/arm/mach-omap2/omap_device.h | 104 + kernel/arch/arm/mach-omap2/omap_hwmod.c | 3907 ++++++++++++++++ kernel/arch/arm/mach-omap2/omap_hwmod.h | 758 +++ kernel/arch/arm/mach-omap2/omap_hwmod_2420_data.c | 488 ++ kernel/arch/arm/mach-omap2/omap_hwmod_2430_data.c | 711 +++ .../omap_hwmod_2xxx_3xxx_interconnect_data.c | 172 + .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | 285 ++ .../mach-omap2/omap_hwmod_2xxx_interconnect_data.c | 272 ++ .../arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 882 ++++ .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 163 + .../omap_hwmod_33xx_43xx_interconnect_data.c | 633 +++ .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 1470 ++++++ kernel/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 642 +++ kernel/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 3967 ++++++++++++++++ kernel/arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 1006 ++++ kernel/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4864 ++++++++++++++++++++ kernel/arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2854 ++++++++++++ kernel/arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3422 ++++++++++++++ kernel/arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 1136 +++++ .../arch/arm/mach-omap2/omap_hwmod_common_data.c | 65 + .../arch/arm/mach-omap2/omap_hwmod_common_data.h | 171 + .../mach-omap2/omap_hwmod_common_ipblock_data.c | 55 + kernel/arch/arm/mach-omap2/omap_hwmod_reset.c | 53 + kernel/arch/arm/mach-omap2/omap_opp_data.h | 99 + kernel/arch/arm/mach-omap2/omap_phy_internal.c | 154 + kernel/arch/arm/mach-omap2/omap_twl.c | 254 + kernel/arch/arm/mach-omap2/opp.c | 104 + kernel/arch/arm/mach-omap2/opp2420_data.c | 130 + kernel/arch/arm/mach-omap2/opp2430_data.c | 135 + kernel/arch/arm/mach-omap2/opp2xxx.h | 429 ++ kernel/arch/arm/mach-omap2/opp3xxx_data.c | 171 + kernel/arch/arm/mach-omap2/opp4xxx_data.c | 180 + kernel/arch/arm/mach-omap2/pdata-quirks.c | 388 ++ kernel/arch/arm/mach-omap2/pm-debug.c | 282 ++ kernel/arch/arm/mach-omap2/pm.c | 321 ++ kernel/arch/arm/mach-omap2/pm.h | 157 + kernel/arch/arm/mach-omap2/pm24xx.c | 317 ++ kernel/arch/arm/mach-omap2/pm34xx.c | 580 +++ kernel/arch/arm/mach-omap2/pm44xx.c | 295 ++ kernel/arch/arm/mach-omap2/pmu.c | 97 + kernel/arch/arm/mach-omap2/powerdomain-common.c | 109 + kernel/arch/arm/mach-omap2/powerdomain.c | 1208 +++++ kernel/arch/arm/mach-omap2/powerdomain.h | 276 ++ .../arm/mach-omap2/powerdomains2xxx_3xxx_data.c | 65 + .../arm/mach-omap2/powerdomains2xxx_3xxx_data.h | 22 + kernel/arch/arm/mach-omap2/powerdomains2xxx_data.c | 137 + kernel/arch/arm/mach-omap2/powerdomains33xx_data.c | 185 + kernel/arch/arm/mach-omap2/powerdomains3xxx_data.c | 504 ++ kernel/arch/arm/mach-omap2/powerdomains43xx_data.c | 136 + kernel/arch/arm/mach-omap2/powerdomains44xx_data.c | 358 ++ kernel/arch/arm/mach-omap2/powerdomains54xx_data.c | 330 ++ kernel/arch/arm/mach-omap2/powerdomains7xx_data.c | 454 ++ kernel/arch/arm/mach-omap2/prcm-common.h | 551 +++ kernel/arch/arm/mach-omap2/prcm43xx.h | 149 + kernel/arch/arm/mach-omap2/prcm44xx.h | 53 + kernel/arch/arm/mach-omap2/prcm_mpu44xx.c | 62 + kernel/arch/arm/mach-omap2/prcm_mpu44xx.h | 97 + kernel/arch/arm/mach-omap2/prcm_mpu54xx.h | 87 + kernel/arch/arm/mach-omap2/prcm_mpu7xx.h | 78 + kernel/arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h | 36 + kernel/arch/arm/mach-omap2/prm-regbits-24xx.h | 42 + kernel/arch/arm/mach-omap2/prm-regbits-33xx.h | 52 + kernel/arch/arm/mach-omap2/prm-regbits-34xx.h | 144 + kernel/arch/arm/mach-omap2/prm-regbits-44xx.h | 102 + kernel/arch/arm/mach-omap2/prm.h | 187 + kernel/arch/arm/mach-omap2/prm2xxx.c | 232 + kernel/arch/arm/mach-omap2/prm2xxx.h | 131 + kernel/arch/arm/mach-omap2/prm2xxx_3xxx.c | 240 + kernel/arch/arm/mach-omap2/prm2xxx_3xxx.h | 248 + kernel/arch/arm/mach-omap2/prm33xx.c | 390 ++ kernel/arch/arm/mach-omap2/prm33xx.h | 124 + kernel/arch/arm/mach-omap2/prm3xxx.c | 727 +++ kernel/arch/arm/mach-omap2/prm3xxx.h | 153 + kernel/arch/arm/mach-omap2/prm44xx.c | 764 +++ kernel/arch/arm/mach-omap2/prm44xx.h | 747 +++ kernel/arch/arm/mach-omap2/prm44xx_54xx.h | 43 + kernel/arch/arm/mach-omap2/prm54xx.h | 420 ++ kernel/arch/arm/mach-omap2/prm7xx.h | 682 +++ kernel/arch/arm/mach-omap2/prm_common.c | 817 ++++ kernel/arch/arm/mach-omap2/prminst44xx.c | 196 + kernel/arch/arm/mach-omap2/prminst44xx.h | 40 + kernel/arch/arm/mach-omap2/scrm44xx.h | 177 + kernel/arch/arm/mach-omap2/scrm54xx.h | 231 + .../arm/mach-omap2/sdram-hynix-h8mbx00u0mer-0em.h | 51 + .../arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h | 55 + kernel/arch/arm/mach-omap2/sdram-nokia.c | 299 ++ kernel/arch/arm/mach-omap2/sdram-nokia.h | 12 + .../arch/arm/mach-omap2/sdram-numonyx-m65kxxxxam.h | 51 + .../mach-omap2/sdram-qimonda-hyb18m512160af-6.h | 54 + kernel/arch/arm/mach-omap2/sdrc.c | 157 + kernel/arch/arm/mach-omap2/sdrc.h | 213 + kernel/arch/arm/mach-omap2/sdrc2xxx.c | 169 + kernel/arch/arm/mach-omap2/serial.c | 332 ++ kernel/arch/arm/mach-omap2/serial.h | 1 + kernel/arch/arm/mach-omap2/sleep24xx.S | 105 + kernel/arch/arm/mach-omap2/sleep34xx.S | 598 +++ kernel/arch/arm/mach-omap2/sleep44xx.S | 385 ++ kernel/arch/arm/mach-omap2/smartreflex-class3.c | 62 + kernel/arch/arm/mach-omap2/soc.h | 558 +++ kernel/arch/arm/mach-omap2/sr_device.c | 177 + kernel/arch/arm/mach-omap2/sram.c | 271 ++ kernel/arch/arm/mach-omap2/sram.h | 76 + kernel/arch/arm/mach-omap2/sram242x.S | 331 ++ kernel/arch/arm/mach-omap2/sram243x.S | 331 ++ kernel/arch/arm/mach-omap2/sram34xx.S | 346 ++ kernel/arch/arm/mach-omap2/ti81xx-restart.c | 34 + kernel/arch/arm/mach-omap2/ti81xx.h | 36 + kernel/arch/arm/mach-omap2/timer.c | 801 ++++ kernel/arch/arm/mach-omap2/twl-common.c | 565 +++ kernel/arch/arm/mach-omap2/twl-common.h | 66 + kernel/arch/arm/mach-omap2/usb-host.c | 496 ++ kernel/arch/arm/mach-omap2/usb-musb.c | 106 + kernel/arch/arm/mach-omap2/usb-tusb6010.c | 255 + kernel/arch/arm/mach-omap2/usb.h | 70 + kernel/arch/arm/mach-omap2/vc.c | 847 ++++ kernel/arch/arm/mach-omap2/vc.h | 136 + kernel/arch/arm/mach-omap2/vc3xxx_data.c | 96 + kernel/arch/arm/mach-omap2/vc44xx_data.c | 118 + kernel/arch/arm/mach-omap2/voltage.c | 336 ++ kernel/arch/arm/mach-omap2/voltage.h | 173 + .../arch/arm/mach-omap2/voltagedomains2xxx_data.c | 32 + .../arch/arm/mach-omap2/voltagedomains3xxx_data.c | 134 + .../arch/arm/mach-omap2/voltagedomains44xx_data.c | 130 + .../arch/arm/mach-omap2/voltagedomains54xx_data.c | 92 + kernel/arch/arm/mach-omap2/vp.c | 282 ++ kernel/arch/arm/mach-omap2/vp.h | 126 + kernel/arch/arm/mach-omap2/vp3xxx_data.c | 89 + kernel/arch/arm/mach-omap2/vp44xx_data.c | 104 + kernel/arch/arm/mach-omap2/wd_timer.c | 132 + kernel/arch/arm/mach-omap2/wd_timer.h | 18 + 281 files changed, 91476 insertions(+) create mode 100644 kernel/arch/arm/mach-omap2/Kconfig create mode 100644 kernel/arch/arm/mach-omap2/Makefile create mode 100644 kernel/arch/arm/mach-omap2/Makefile.boot create mode 100644 kernel/arch/arm/mach-omap2/am33xx-restart.c create mode 100644 kernel/arch/arm/mach-omap2/am33xx.h create mode 100644 kernel/arch/arm/mach-omap2/board-cm-t35.c create mode 100644 kernel/arch/arm/mach-omap2/board-flash.c create mode 100644 kernel/arch/arm/mach-omap2/board-flash.h create mode 100644 kernel/arch/arm/mach-omap2/board-generic.c create mode 100644 kernel/arch/arm/mach-omap2/board-ldp.c create mode 100644 kernel/arch/arm/mach-omap2/board-n8x0.c create mode 100644 kernel/arch/arm/mach-omap2/board-omap3beagle.c create mode 100644 kernel/arch/arm/mach-omap2/board-omap3logic.c create mode 100644 kernel/arch/arm/mach-omap2/board-omap3pandora.c create mode 100644 kernel/arch/arm/mach-omap2/board-overo.c create mode 100644 kernel/arch/arm/mach-omap2/board-rx51-peripherals.c create mode 100644 kernel/arch/arm/mach-omap2/board-rx51-video.c create mode 100644 kernel/arch/arm/mach-omap2/board-rx51.c create mode 100644 kernel/arch/arm/mach-omap2/board-rx51.h create mode 100644 kernel/arch/arm/mach-omap2/clkt2xxx_dpll.c create mode 100644 kernel/arch/arm/mach-omap2/clkt2xxx_dpllcore.c create mode 100644 kernel/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c create mode 100644 kernel/arch/arm/mach-omap2/clkt34xx_dpll3m2.c create mode 100644 kernel/arch/arm/mach-omap2/clkt_clksel.c create mode 100644 kernel/arch/arm/mach-omap2/clkt_dpll.c create mode 100644 kernel/arch/arm/mach-omap2/clkt_iclk.c create mode 100644 kernel/arch/arm/mach-omap2/clock.c create mode 100644 kernel/arch/arm/mach-omap2/clock.h create mode 100644 kernel/arch/arm/mach-omap2/clock2430.c create mode 100644 kernel/arch/arm/mach-omap2/clock2xxx.c create mode 100644 kernel/arch/arm/mach-omap2/clock2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/clock34xx.c create mode 100644 kernel/arch/arm/mach-omap2/clock34xx.h create mode 100644 kernel/arch/arm/mach-omap2/clock3517.c create mode 100644 kernel/arch/arm/mach-omap2/clock3517.h create mode 100644 kernel/arch/arm/mach-omap2/clock36xx.c create mode 100644 kernel/arch/arm/mach-omap2/clock36xx.h create mode 100644 kernel/arch/arm/mach-omap2/clock3xxx.c create mode 100644 kernel/arch/arm/mach-omap2/clock3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/clock44xx.h create mode 100644 kernel/arch/arm/mach-omap2/clock_common_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomain.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomain.h create mode 100644 kernel/arch/arm/mach-omap2/clockdomains2420_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains2430_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains33xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains43xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains54xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains7xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/clockdomains81xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-24xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-33xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-34xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-44xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-54xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm-regbits-7xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm.h create mode 100644 kernel/arch/arm/mach-omap2/cm1_44xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm1_54xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm1_7xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm2_44xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm2_54xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm2_7xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm2xxx.c create mode 100644 kernel/arch/arm/mach-omap2/cm2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/cm2xxx_3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/cm33xx.c create mode 100644 kernel/arch/arm/mach-omap2/cm33xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm3xxx.c create mode 100644 kernel/arch/arm/mach-omap2/cm3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/cm44xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm81xx.h create mode 100644 kernel/arch/arm/mach-omap2/cm_common.c create mode 100644 kernel/arch/arm/mach-omap2/cminst44xx.c create mode 100644 kernel/arch/arm/mach-omap2/common-board-devices.c create mode 100644 kernel/arch/arm/mach-omap2/common-board-devices.h create mode 100644 kernel/arch/arm/mach-omap2/common.c create mode 100644 kernel/arch/arm/mach-omap2/common.h create mode 100644 kernel/arch/arm/mach-omap2/control.c create mode 100644 kernel/arch/arm/mach-omap2/control.h create mode 100644 kernel/arch/arm/mach-omap2/cpuidle34xx.c create mode 100644 kernel/arch/arm/mach-omap2/cpuidle44xx.c create mode 100644 kernel/arch/arm/mach-omap2/ctrl_module_wkup_44xx.h create mode 100644 kernel/arch/arm/mach-omap2/devices.c create mode 100644 kernel/arch/arm/mach-omap2/devices.h create mode 100644 kernel/arch/arm/mach-omap2/display.c create mode 100644 kernel/arch/arm/mach-omap2/display.h create mode 100644 kernel/arch/arm/mach-omap2/dma.c create mode 100644 kernel/arch/arm/mach-omap2/dpll3xxx.c create mode 100644 kernel/arch/arm/mach-omap2/dpll44xx.c create mode 100644 kernel/arch/arm/mach-omap2/drm.c create mode 100644 kernel/arch/arm/mach-omap2/dss-common.c create mode 100644 kernel/arch/arm/mach-omap2/dss-common.h create mode 100644 kernel/arch/arm/mach-omap2/fb.c create mode 100644 kernel/arch/arm/mach-omap2/gpio.c create mode 100644 kernel/arch/arm/mach-omap2/gpmc-nand.c create mode 100644 kernel/arch/arm/mach-omap2/gpmc-onenand.c create mode 100644 kernel/arch/arm/mach-omap2/gpmc-smsc911x.c create mode 100644 kernel/arch/arm/mach-omap2/gpmc-smsc911x.h create mode 100644 kernel/arch/arm/mach-omap2/gpmc.h create mode 100644 kernel/arch/arm/mach-omap2/hdq1w.c create mode 100644 kernel/arch/arm/mach-omap2/hdq1w.h create mode 100644 kernel/arch/arm/mach-omap2/hsmmc.c create mode 100644 kernel/arch/arm/mach-omap2/hsmmc.h create mode 100644 kernel/arch/arm/mach-omap2/hwspinlock.c create mode 100644 kernel/arch/arm/mach-omap2/i2c.c create mode 100644 kernel/arch/arm/mach-omap2/i2c.h create mode 100644 kernel/arch/arm/mach-omap2/id.c create mode 100644 kernel/arch/arm/mach-omap2/id.h create mode 100644 kernel/arch/arm/mach-omap2/include/mach/barriers.h create mode 100644 kernel/arch/arm/mach-omap2/include/mach/hardware.h create mode 100644 kernel/arch/arm/mach-omap2/include/mach/irqs.h create mode 100644 kernel/arch/arm/mach-omap2/include/mach/serial.h create mode 100644 kernel/arch/arm/mach-omap2/io.c create mode 100644 kernel/arch/arm/mach-omap2/iomap.h create mode 100644 kernel/arch/arm/mach-omap2/l3_2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/l3_3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/l4_2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/l4_3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/mcbsp.c create mode 100644 kernel/arch/arm/mach-omap2/mmc.h create mode 100644 kernel/arch/arm/mach-omap2/msdi.c create mode 100644 kernel/arch/arm/mach-omap2/mux.c create mode 100644 kernel/arch/arm/mach-omap2/mux.h create mode 100644 kernel/arch/arm/mach-omap2/mux34xx.c create mode 100644 kernel/arch/arm/mach-omap2/mux34xx.h create mode 100644 kernel/arch/arm/mach-omap2/omap-headsmp.S create mode 100644 kernel/arch/arm/mach-omap2/omap-hotplug.c create mode 100644 kernel/arch/arm/mach-omap2/omap-iommu.c create mode 100644 kernel/arch/arm/mach-omap2/omap-mpuss-lowpower.c create mode 100644 kernel/arch/arm/mach-omap2/omap-pm-noop.c create mode 100644 kernel/arch/arm/mach-omap2/omap-pm.h create mode 100644 kernel/arch/arm/mach-omap2/omap-secure.c create mode 100644 kernel/arch/arm/mach-omap2/omap-secure.h create mode 100644 kernel/arch/arm/mach-omap2/omap-smc.S create mode 100644 kernel/arch/arm/mach-omap2/omap-smp.c create mode 100644 kernel/arch/arm/mach-omap2/omap-wakeupgen.c create mode 100644 kernel/arch/arm/mach-omap2/omap-wakeupgen.h create mode 100644 kernel/arch/arm/mach-omap2/omap2-restart.c create mode 100644 kernel/arch/arm/mach-omap2/omap24xx.h create mode 100644 kernel/arch/arm/mach-omap2/omap3-restart.c create mode 100644 kernel/arch/arm/mach-omap2/omap34xx.h create mode 100644 kernel/arch/arm/mach-omap2/omap4-common.c create mode 100644 kernel/arch/arm/mach-omap2/omap4-restart.c create mode 100644 kernel/arch/arm/mach-omap2/omap4-sar-layout.h create mode 100644 kernel/arch/arm/mach-omap2/omap44xx.h create mode 100644 kernel/arch/arm/mach-omap2/omap54xx.h create mode 100644 kernel/arch/arm/mach-omap2/omap_device.c create mode 100644 kernel/arch/arm/mach-omap2/omap_device.h create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod.h create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2420_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2430_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common_data.h create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_33xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_43xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_54xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_7xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_81xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_common_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_common_data.h create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c create mode 100644 kernel/arch/arm/mach-omap2/omap_hwmod_reset.c create mode 100644 kernel/arch/arm/mach-omap2/omap_opp_data.h create mode 100644 kernel/arch/arm/mach-omap2/omap_phy_internal.c create mode 100644 kernel/arch/arm/mach-omap2/omap_twl.c create mode 100644 kernel/arch/arm/mach-omap2/opp.c create mode 100644 kernel/arch/arm/mach-omap2/opp2420_data.c create mode 100644 kernel/arch/arm/mach-omap2/opp2430_data.c create mode 100644 kernel/arch/arm/mach-omap2/opp2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/opp3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/opp4xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/pdata-quirks.c create mode 100644 kernel/arch/arm/mach-omap2/pm-debug.c create mode 100644 kernel/arch/arm/mach-omap2/pm.c create mode 100644 kernel/arch/arm/mach-omap2/pm.h create mode 100644 kernel/arch/arm/mach-omap2/pm24xx.c create mode 100644 kernel/arch/arm/mach-omap2/pm34xx.c create mode 100644 kernel/arch/arm/mach-omap2/pm44xx.c create mode 100644 kernel/arch/arm/mach-omap2/pmu.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomain-common.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomain.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomain.h create mode 100644 kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h create mode 100644 kernel/arch/arm/mach-omap2/powerdomains2xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains33xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains43xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains54xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/powerdomains7xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/prcm-common.h create mode 100644 kernel/arch/arm/mach-omap2/prcm43xx.h create mode 100644 kernel/arch/arm/mach-omap2/prcm44xx.h create mode 100644 kernel/arch/arm/mach-omap2/prcm_mpu44xx.c create mode 100644 kernel/arch/arm/mach-omap2/prcm_mpu44xx.h create mode 100644 kernel/arch/arm/mach-omap2/prcm_mpu54xx.h create mode 100644 kernel/arch/arm/mach-omap2/prcm_mpu7xx.h create mode 100644 kernel/arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm-regbits-24xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm-regbits-33xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm-regbits-34xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm-regbits-44xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm.h create mode 100644 kernel/arch/arm/mach-omap2/prm2xxx.c create mode 100644 kernel/arch/arm/mach-omap2/prm2xxx.h create mode 100644 kernel/arch/arm/mach-omap2/prm2xxx_3xxx.c create mode 100644 kernel/arch/arm/mach-omap2/prm2xxx_3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/prm33xx.c create mode 100644 kernel/arch/arm/mach-omap2/prm33xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm3xxx.c create mode 100644 kernel/arch/arm/mach-omap2/prm3xxx.h create mode 100644 kernel/arch/arm/mach-omap2/prm44xx.c create mode 100644 kernel/arch/arm/mach-omap2/prm44xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm44xx_54xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm54xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm7xx.h create mode 100644 kernel/arch/arm/mach-omap2/prm_common.c create mode 100644 kernel/arch/arm/mach-omap2/prminst44xx.c create mode 100644 kernel/arch/arm/mach-omap2/prminst44xx.h create mode 100644 kernel/arch/arm/mach-omap2/scrm44xx.h create mode 100644 kernel/arch/arm/mach-omap2/scrm54xx.h create mode 100644 kernel/arch/arm/mach-omap2/sdram-hynix-h8mbx00u0mer-0em.h create mode 100644 kernel/arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h create mode 100644 kernel/arch/arm/mach-omap2/sdram-nokia.c create mode 100644 kernel/arch/arm/mach-omap2/sdram-nokia.h create mode 100644 kernel/arch/arm/mach-omap2/sdram-numonyx-m65kxxxxam.h create mode 100644 kernel/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h create mode 100644 kernel/arch/arm/mach-omap2/sdrc.c create mode 100644 kernel/arch/arm/mach-omap2/sdrc.h create mode 100644 kernel/arch/arm/mach-omap2/sdrc2xxx.c create mode 100644 kernel/arch/arm/mach-omap2/serial.c create mode 100644 kernel/arch/arm/mach-omap2/serial.h create mode 100644 kernel/arch/arm/mach-omap2/sleep24xx.S create mode 100644 kernel/arch/arm/mach-omap2/sleep34xx.S create mode 100644 kernel/arch/arm/mach-omap2/sleep44xx.S create mode 100644 kernel/arch/arm/mach-omap2/smartreflex-class3.c create mode 100644 kernel/arch/arm/mach-omap2/soc.h create mode 100644 kernel/arch/arm/mach-omap2/sr_device.c create mode 100644 kernel/arch/arm/mach-omap2/sram.c create mode 100644 kernel/arch/arm/mach-omap2/sram.h create mode 100644 kernel/arch/arm/mach-omap2/sram242x.S create mode 100644 kernel/arch/arm/mach-omap2/sram243x.S create mode 100644 kernel/arch/arm/mach-omap2/sram34xx.S create mode 100644 kernel/arch/arm/mach-omap2/ti81xx-restart.c create mode 100644 kernel/arch/arm/mach-omap2/ti81xx.h create mode 100644 kernel/arch/arm/mach-omap2/timer.c create mode 100644 kernel/arch/arm/mach-omap2/twl-common.c create mode 100644 kernel/arch/arm/mach-omap2/twl-common.h create mode 100644 kernel/arch/arm/mach-omap2/usb-host.c create mode 100644 kernel/arch/arm/mach-omap2/usb-musb.c create mode 100644 kernel/arch/arm/mach-omap2/usb-tusb6010.c create mode 100644 kernel/arch/arm/mach-omap2/usb.h create mode 100644 kernel/arch/arm/mach-omap2/vc.c create mode 100644 kernel/arch/arm/mach-omap2/vc.h create mode 100644 kernel/arch/arm/mach-omap2/vc3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/vc44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/voltage.c create mode 100644 kernel/arch/arm/mach-omap2/voltage.h create mode 100644 kernel/arch/arm/mach-omap2/voltagedomains2xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/voltagedomains3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/voltagedomains44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/voltagedomains54xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/vp.c create mode 100644 kernel/arch/arm/mach-omap2/vp.h create mode 100644 kernel/arch/arm/mach-omap2/vp3xxx_data.c create mode 100644 kernel/arch/arm/mach-omap2/vp44xx_data.c create mode 100644 kernel/arch/arm/mach-omap2/wd_timer.c create mode 100644 kernel/arch/arm/mach-omap2/wd_timer.h (limited to 'kernel/arch/arm/mach-omap2') diff --git a/kernel/arch/arm/mach-omap2/Kconfig b/kernel/arch/arm/mach-omap2/Kconfig new file mode 100644 index 000000000..6468f15f0 --- /dev/null +++ b/kernel/arch/arm/mach-omap2/Kconfig @@ -0,0 +1,269 @@ +menu "TI OMAP/AM/DM/DRA Family" + depends on ARCH_MULTI_V6 || ARCH_MULTI_V7 + +config ARCH_OMAP2 + bool "TI OMAP2" + depends on ARCH_MULTI_V6 + select ARCH_OMAP2PLUS + select CPU_V6 + select SOC_HAS_OMAP2_SDRC + +config ARCH_OMAP3 + bool "TI OMAP3" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_CPU_SUSPEND if PM + select OMAP_INTERCONNECT + select PM_OPP if PM + select PM if CPU_IDLE + select SOC_HAS_OMAP2_SDRC + +config ARCH_OMAP4 + bool "TI OMAP4" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP + select ARM_CPU_SUSPEND if PM + select ARM_ERRATA_720789 + select ARM_GIC + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select OMAP_INTERCONNECT + select PL310_ERRATA_588369 if CACHE_L2X0 + select PL310_ERRATA_727915 if CACHE_L2X0 + select PM_OPP if PM + select PM if CPU_IDLE + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 + +config SOC_OMAP5 + bool "TI OMAP5" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_CPU_SUSPEND if PM + select ARM_GIC + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select HAVE_ARM_ARCH_TIMER + select ARM_ERRATA_798181 if SMP + +config SOC_AM33XX + bool "TI AM33XX" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_CPU_SUSPEND if PM + +config SOC_AM43XX + bool "TI AM43x" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_GIC + select MACH_OMAP_GENERIC + select MIGHT_HAVE_CACHE_L2X0 + +config SOC_DRA7XX + bool "TI DRA7XX" + depends on ARCH_MULTI_V7 + select ARCH_OMAP2PLUS + select ARM_CPU_SUSPEND if PM + select ARM_GIC + select HAVE_ARM_ARCH_TIMER + select IRQ_CROSSBAR + select ARM_ERRATA_798181 if SMP + +config ARCH_OMAP2PLUS + bool + select ARCH_HAS_BANDGAP + select ARCH_HAS_HOLES_MEMORYMODEL + select ARCH_OMAP + select ARCH_REQUIRE_GPIOLIB + select CLKSRC_MMIO + select GENERIC_IRQ_CHIP + select MACH_OMAP_GENERIC + select MEMORY + select MFD_SYSCON + select OMAP_DM_TIMER + select OMAP_GPMC + select PINCTRL + select SOC_BUS + select TI_PRIV_EDMA + select OMAP_IRQCHIP + help + Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 + + +if ARCH_OMAP2PLUS + +menu "TI OMAP2/3/4 Specific Features" + +config ARCH_OMAP2PLUS_TYPICAL + bool "Typical OMAP configuration" + default y + select AEABI + select HIGHMEM + select I2C + select I2C_OMAP + select MENELAUS if ARCH_OMAP2 + select NEON if CPU_V7 + select PM + select REGULATOR + select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 + select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 + select VFP + help + Compile a kernel suitable for booting most boards + +config SOC_HAS_OMAP2_SDRC + bool "OMAP2 SDRAM Controller support" + +config SOC_HAS_REALTIME_COUNTER + bool "Real time free running counter" + depends on SOC_OMAP5 || SOC_DRA7XX + default y + +comment "OMAP Core Type" + depends on ARCH_OMAP2 + +config SOC_OMAP2420 + bool "OMAP2420 support" + depends on ARCH_OMAP2 + default y + select OMAP_DM_TIMER + select SOC_HAS_OMAP2_SDRC + +config SOC_OMAP2430 + bool "OMAP2430 support" + depends on ARCH_OMAP2 + default y + select SOC_HAS_OMAP2_SDRC + +config SOC_OMAP3430 + bool "OMAP3430 support" + depends on ARCH_OMAP3 + default y + select SOC_HAS_OMAP2_SDRC + +config SOC_TI81XX + bool "TI81XX support" + depends on ARCH_OMAP3 + default y + +config OMAP_PACKAGE_CBC + bool + +config OMAP_PACKAGE_CBB + bool + +config OMAP_PACKAGE_CUS + bool + +config OMAP_PACKAGE_CBP + bool + +comment "OMAP Legacy Platform Data Board Type" + depends on ARCH_OMAP2PLUS + +config MACH_OMAP_GENERIC + bool + +config MACH_OMAP2_TUSB6010 + bool + depends on ARCH_OMAP2 && SOC_OMAP2420 + default y if MACH_NOKIA_N8X0 + +config MACH_OMAP3_BEAGLE + bool "OMAP3 BEAGLE board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + +config MACH_OMAP_LDP + bool "OMAP3 LDP board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + +config MACH_OMAP3530_LV_SOM + bool "OMAP3 Logic 3530 LV SOM board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + help + Support for the LogicPD OMAP3530 SOM Development kit + for full description please see the products webpage at + http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit + +config MACH_OMAP3_TORPEDO + bool "OMAP3 Logic 35x Torpedo board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + help + Support for the LogicPD OMAP35x Torpedo Development kit + for full description please see the products webpage at + http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit + +config MACH_OVERO + bool "Gumstix Overo board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + +config MACH_OMAP3517EVM + bool "OMAP3517/ AM3517 EVM board" + depends on ARCH_OMAP3 + default y + +config MACH_OMAP3_PANDORA + bool "OMAP3 Pandora" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + +config MACH_NOKIA_N810 + bool + +config MACH_NOKIA_N810_WIMAX + bool + +config MACH_NOKIA_N8X0 + bool "Nokia N800/N810" + depends on SOC_OMAP2420 + default y + select MACH_NOKIA_N810 + select MACH_NOKIA_N810_WIMAX + +config MACH_NOKIA_RX51 + bool "Nokia N900 (RX-51) phone" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + +config MACH_CM_T35 + bool "CompuLab CM-T35/CM-T3730 modules" + depends on ARCH_OMAP3 + default y + select MACH_CM_T3730 + select OMAP_PACKAGE_CUS + +config MACH_CM_T3730 + bool + +config OMAP3_SDRC_AC_TIMING + bool "Enable SDRC AC timing register changes" + depends on ARCH_OMAP3 + default n + help + If you know that none of your system initiators will attempt to + access SDRAM during CORE DVFS, select Y here. This should boost + SDRAM performance at lower CORE OPPs. There are relatively few + users who will wish to say yes at this point - almost everyone will + wish to say no. Selecting yes without understanding what is + going on could result in system crashes; + +endmenu + +endif + +endmenu diff --git a/kernel/arch/arm/mach-omap2/Makefile b/kernel/arch/arm/mach-omap2/Makefile new file mode 100644 index 000000000..ec002bd4a --- /dev/null +++ b/kernel/arch/arm/mach-omap2/Makefile @@ -0,0 +1,284 @@ +# +# Makefile for the linux kernel. +# + +ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ + -I$(srctree)/arch/arm/plat-omap/include + +# Common support +obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \ + common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ + omap_device.o sram.o drm.o + +hwmod-common = omap_hwmod.o omap_hwmod_reset.o \ + omap_hwmod_common_data.o +clock-common = clock.o clock_common_data.o \ + clkt_dpll.o clkt_clksel.o +secure-common = omap-smc.o omap-secure.o + +obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) +obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) +obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common) +obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common) +obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common) +obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) +obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common) + +ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) +obj-y += mcbsp.o +endif + +obj-$(CONFIG_TWL4030_CORE) += omap_twl.o +obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o + +# SMP support ONLY available for OMAP4 + +smp-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o +smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o +omap-4-5-common = omap4-common.o omap-wakeupgen.o +obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o +obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o +obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) +obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) sleep44xx.o + +plus_sec := $(call as-instr,.arch_extension sec,+sec) +AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) +AFLAGS_omap-smc.o :=-Wa,-march=armv7-a$(plus_sec) +AFLAGS_sleep44xx.o :=-Wa,-march=armv7-a$(plus_sec) + +# Functions loaded to SRAM +obj-$(CONFIG_SOC_OMAP2420) += sram242x.o +obj-$(CONFIG_SOC_OMAP2430) += sram243x.o +obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o + +AFLAGS_sram242x.o :=-Wa,-march=armv6 +AFLAGS_sram243x.o :=-Wa,-march=armv6 +AFLAGS_sram34xx.o :=-Wa,-march=armv7-a + +# Restart code (OMAP4/5 currently in omap4-common.c) +obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o +obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o +obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o +obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o +obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o +obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o +obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o +obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o +obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o + +# Pin multiplexing +obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o + +# SMS/SDRC +obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o +# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o + +# OPP table initialization +ifeq ($(CONFIG_PM_OPP),y) +obj-y += opp.o +obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o +obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o +endif + +# Power Management +obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o + +ifeq ($(CONFIG_PM),y) +obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o +obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o +obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o +omap-4-5-pm-common = pm44xx.o omap-mpuss-lowpower.o +obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-pm-common) +obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-pm-common) +obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-pm-common) +obj-$(CONFIG_PM_DEBUG) += pm-debug.o + +obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o +obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o + +AFLAGS_sleep24xx.o :=-Wa,-march=armv6 +AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) + +endif + +ifeq ($(CONFIG_CPU_IDLE),y) +obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o +omap-4-5-idle-common = cpuidle44xx.o +obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-idle-common) +obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-idle-common) +obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-idle-common) +endif + +# PRCM +obj-y += prm_common.o cm_common.o +obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o +obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o +obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o +omap-prcm-4-5-common = cminst44xx.o prm44xx.o \ + prcm_mpu44xx.o prminst44xx.o \ + vc44xx_data.o vp44xx_data.o +obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) +obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) +obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) +am33xx-43xx-prcm-common += prm33xx.o cm33xx.o +obj-$(CONFIG_SOC_TI81XX) += $(am33xx-43xx-prcm-common) +obj-$(CONFIG_SOC_AM33XX) += $(am33xx-43xx-prcm-common) +obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common) \ + $(am33xx-43xx-prcm-common) + +# OMAP voltage domains +voltagedomain-common := voltage.o vc.o vp.o +obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) +obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o +obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) +obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o +obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) +obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o +obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) +obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common) +obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common) +obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o +obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common) + +# OMAP powerdomain framework +powerdomain-common += powerdomain.o powerdomain-common.o +obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) +obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o +obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o +obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) +obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o +obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o +obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) +obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o +obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common) +obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o +obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) +obj-$(CONFIG_SOC_AM43XX) += powerdomains43xx_data.o +obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) +obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o +obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common) +obj-$(CONFIG_SOC_DRA7XX) += powerdomains7xx_data.o + +# PRCM clockdomain control +clockdomain-common += clockdomain.o +obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) +obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o +obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o +obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o +obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) +obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o +obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o +obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) +obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o +obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common) +obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o +obj-$(CONFIG_SOC_TI81XX) += $(clockdomain-common) +obj-$(CONFIG_SOC_TI81XX) += clockdomains81xx_data.o +obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) +obj-$(CONFIG_SOC_AM43XX) += clockdomains43xx_data.o +obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) +obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o +obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common) +obj-$(CONFIG_SOC_DRA7XX) += clockdomains7xx_data.o + +# Clock framework +obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o +obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o +obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o +obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o +obj-$(CONFIG_SOC_OMAP2430) += clock2430.o +obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o +obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o +obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o +obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o +obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o +obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) +obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o +obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o +obj-$(CONFIG_SOC_OMAP5) += $(clock-common) +obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o +obj-$(CONFIG_SOC_DRA7XX) += $(clock-common) +obj-$(CONFIG_SOC_DRA7XX) += dpll3xxx.o dpll44xx.o +obj-$(CONFIG_SOC_AM43XX) += $(clock-common) dpll3xxx.o + +# OMAP2 clock rate set data (old "OPP" data) +obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o +obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o + +# hwmod data +obj-y += omap_hwmod_common_ipblock_data.o +obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o +obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o +obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o +obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_interconnect_data.o +obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o +obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o +obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o +obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o +obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_interconnect_data.o +obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o +obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o +obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_interconnect_data.o +obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o +obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o +obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_interconnect_data.o +obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_ipblock_data.o +obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o +obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o +obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o +obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o +obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o +obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o +obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o + +# EMU peripherals +obj-$(CONFIG_HW_PERF_EVENTS) += pmu.o + +iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o +obj-y += $(iommu-m) $(iommu-y) + +# OMAP2420 MSDI controller integration support ("MMC") +obj-$(CONFIG_SOC_OMAP2420) += msdi.o + +# Specific board support +obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o pdata-quirks.o +obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o +obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o +obj-$(CONFIG_MACH_OMAP3530_LV_SOM) += board-omap3logic.o +obj-$(CONFIG_MACH_OMAP3_TORPEDO) += board-omap3logic.o +obj-$(CONFIG_MACH_OVERO) += board-overo.o +obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o +obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o +obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o +obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-peripherals.o +obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51-video.o +obj-$(CONFIG_MACH_CM_T35) += board-cm-t35.o + +# Platform specific device init code + +omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o +omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o +obj-y += $(omap-flash-y) $(omap-flash-m) + +omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o +obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y) + +obj-y += usb-musb.o +obj-y += omap_phy_internal.o + +obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o +obj-y += usb-host.o + +onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o +obj-y += $(onenand-m) $(onenand-y) + +nand-$(CONFIG_MTD_NAND_OMAP2) := gpmc-nand.o +obj-y += $(nand-m) $(nand-y) + +smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o +obj-y += $(smsc911x-m) $(smsc911x-y) +ifneq ($(CONFIG_HWSPINLOCK_OMAP),) +obj-y += hwspinlock.o +endif + +obj-y += common-board-devices.o twl-common.o dss-common.o diff --git a/kernel/arch/arm/mach-omap2/Makefile.boot b/kernel/arch/arm/mach-omap2/Makefile.boot new file mode 100644 index 000000000..b03e562ac --- /dev/null +++ b/kernel/arch/arm/mach-omap2/Makefile.boot @@ -0,0 +1,3 @@ + zreladdr-y += 0x80008000 +params_phys-y := 0x80000100 +initrd_phys-y := 0x80800000 diff --git a/kernel/arch/arm/mach-omap2/am33xx-restart.c b/kernel/arch/arm/mach-omap2/am33xx-restart.c new file mode 100644 index 000000000..5bace6a45 --- /dev/null +++ b/kernel/arch/arm/mach-omap2/am33xx-restart.c @@ -0,0 +1,27 @@ +/* + * am33xx-restart.c - Code common to all AM33xx machines. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#include +#include + +#include "common.h" +#include "prm.h" + +/** + * am3xx_restart - trigger a software restart of the SoC + * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c + * @cmd: passed from the userspace program rebooting the system (if provided) + * + * Resets the SoC. For @cmd, see the 'reboot' syscall in + * kernel/sys.c. No return value. + */ +void am33xx_restart(enum reboot_mode mode, const char *cmd) +{ + /* TODO: Handle mode and cmd if necessary */ + + omap_prm_reset_system(); +} diff --git a/kernel/arch/arm/mach-omap2/am33xx.h b/kernel/arch/arm/mach-omap2/am33xx.h new file mode 100644 index 000000000..5eef093e6 --- /dev/null +++ b/kernel/arch/arm/mach-omap2/am33xx.h @@ -0,0 +1,27 @@ +/* + * This file contains the address info for various AM33XX modules. + * + * Copyright (C) 2011 Texas Instruments, Inc. - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ASM_ARCH_AM33XX_H +#define __ASM_ARCH_AM33XX_H + +#define L4_SLOW_AM33XX_BASE 0x48000000 + +#define AM33XX_SCM_BASE 0x44E10000 +#define AM33XX_CTRL_BASE AM33XX_SCM_BASE +#define AM33XX_PRCM_BASE 0x44E00000 +#define AM43XX_PRCM_BASE 0x44DF0000 +#define AM33XX_TAP_BASE (AM33XX_CTRL_BASE + 0x3FC) + +#endif /* __ASM_ARCH_AM33XX_H */ diff --git a/kernel/arch/arm/mach-omap2/board-cm-t35.c b/kernel/arch/arm/mach-omap2/board-cm-t35.c new file mode 100644 index 000000000..b5dfbc1b1 --- /dev/null +++ b/kernel/arch/arm/mach-omap2/board-cm-t35.c @@ -0,0 +1,769 @@ +/* + * CompuLab CM-T35/CM-T3730 modules support + * + * Copyright (C) 2009-2011 CompuLab, Ltd. + * Authors: Mike Rapoport + * Igor Grinberg + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include + +#include +#include