Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
c9d8230
Documentation
arch
alpha
arm
boot
common
configs
include
kernel
lib
mach-aaec2000
mach-at91
mach-bcmring
mach-clps711x
mach-cns3xxx
mach-davinci
mach-dove
mach-ebsa110
mach-ep93xx
mach-footbridge
mach-gemini
mach-h720x
mach-integrator
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp2000
mach-ixp23xx
mach-ixp4xx
mach-kirkwood
mach-ks8695
mach-l7200
mach-lh7a40x
mach-loki
mach-mmp
mach-msm
mach-mv78xx0
mach-mx1
mach-mx2
mach-mx25
mach-mx3
mach-mx5
mach-mxc91231
mach-netx
mach-nomadik
mach-ns9xxx
mach-nuc93x
mach-omap1
mach-omap2
include
Kconfig
Makefile
Makefile.boot
board-2430sdp.c
board-3430sdp.c
board-3630sdp.c
board-4430sdp.c
board-am3517evm.c
board-apollon.c
board-cm-t35.c
board-devkit8000.c
board-generic.c
board-h4.c
board-igep0020.c
board-ldp.c
board-n8x0.c
board-omap3beagle.c
board-omap3evm.c
board-omap3pandora.c
board-omap3stalker.c
board-omap3touchbook.c
board-overo.c
board-rx51-peripherals.c
board-rx51-sdram.c
board-rx51-video.c
board-rx51.c
board-sdp-flash.c
board-zoom-debugboard.c
board-zoom-peripherals.c
board-zoom2.c
board-zoom3.c
clkt2xxx_apll.c
clkt2xxx_dpllcore.c
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c
clkt34xx_dpll3m2.c
clkt_clksel.c
clkt_dpll.c
clock.c
clock.h
clock2420_data.c
clock2430.c
clock2430_data.c
clock2xxx.c
clock2xxx.h
clock34xx.c
clock34xx.h
clock3517.c
clock3517.h
clock36xx.c
clock36xx.h
clock3xxx.c
clock3xxx.h
clock3xxx_data.c
clock44xx.h
clock44xx_data.c
clock_common_data.c
clockdomain.c
clockdomains.h
clockdomains44xx.h
cm-regbits-24xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm.c
cm.h
cm44xx.h
cm4xxx.c
control.c
cpuidle34xx.c
devices.c
dpll3xxx.c
emu.c
gpmc-nand.c
gpmc-onenand.c
gpmc-smc91x.c
gpmc.c
hsmmc.c
hsmmc.h
i2c.c
id.c
io.c
iommu2.c
irq.c
mailbox.c
mcbsp.c
mux.c
mux.h
mux2420.c
mux2420.h
mux2430.c
mux2430.h
mux34xx.c
mux34xx.h
omap-headsmp.S
omap-iommu.c
omap-smp.c
omap4-common.c
omap44xx-smc.S
omap_hwmod.c
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_3xxx_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h
opp2420_data.c
opp2430_data.c
opp2xxx.h
pm-debug.c
pm.h
pm24xx.c
pm34xx.c
powerdomain.c
powerdomains.h
powerdomains24xx.h
powerdomains34xx.h
powerdomains44xx.h
prcm-common.h
prcm.c
prm-regbits-24xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm44xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.c
sleep24xx.S
sleep34xx.S
sram242x.S
sram243x.S
sram34xx.S
timer-gp.c
timer-mpu.c
usb-ehci.c
usb-fs.c
usb-musb.c
usb-tusb6010.c
mach-orion5x
mach-pnx4008
mach-pxa
mach-realview
mach-rpc
mach-s3c2400
mach-s3c2410
mach-s3c2412
mach-s3c2416
mach-s3c2440
mach-s3c2443
mach-s3c24a0
mach-s3c64xx
mach-s5p6440
mach-s5p6442
mach-s5pc100
mach-s5pv210
mach-sa1100
mach-shark
mach-shmobile
mach-spear3xx
mach-spear6xx
mach-stmp378x
mach-stmp37xx
mach-u300
mach-ux500
mach-versatile
mach-vexpress
mach-w90x900
mm
nwfpe
oprofile
plat-iop
plat-mxc
plat-nomadik
plat-omap
plat-orion
plat-pxa
plat-s3c24xx
plat-s5p
plat-samsung
plat-spear
plat-stmp3xxx
plat-versatile
tools
vfp
Kconfig
Kconfig-nommu
Kconfig.debug
Makefile
avr32
blackfin
cris
frv
h8300
ia64
m32r
m68k
m68knommu
microblaze
mips
mn10300
parisc
powerpc
s390
score
sh
sparc
um
x86
xtensa
.gitignore
Kconfig
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt/kvm
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
arch
/
arm
/
mach-omap2
/
board-3630sdp.c
Copy path
Blame
Blame
Latest commit
Tony Lindgren
omap: mux: Remove old mux code
Jul 5, 2010
c9d8230
·
Jul 5, 2010
History
History
113 lines (92 loc) · 2.58 KB
Breadcrumbs
linux
/
arch
/
arm
/
mach-omap2
/
board-3630sdp.c
Top
File metadata and controls
Code
Blame
113 lines (92 loc) · 2.58 KB
Raw
/* * Copyright (C) 2009 Texas Instruments Inc. * * 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 <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/input.h> #include <linux/gpio.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <plat/common.h> #include <plat/board.h> #include <plat/gpmc-smc91x.h> #include <plat/usb.h> #include <mach/board-zoom.h> #include "mux.h" #include "sdram-hynix-h8mbx00u0mer-0em.h" #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) static struct omap_smc91x_platform_data board_smc91x_data = { .cs = 3, .flags = GPMC_MUX_ADD_DATA | IORESOURCE_IRQ_LOWLEVEL, }; static void __init board_smc91x_init(void) { board_smc91x_data.gpio_irq = 158; gpmc_smc91x_init(&board_smc91x_data); } #else static inline void board_smc91x_init(void) { } #endif /* defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) */ static void enable_board_wakeup_source(void) { /* T2 interrupt line (keypad) */ omap_mux_init_signal("sys_nirq", OMAP_WAKEUP_EN | OMAP_PIN_INPUT_PULLUP); } static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, .port_mode[1] = EHCI_HCD_OMAP_MODE_PHY, .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, .phy_reset = true, .reset_gpio_port[0] = 126, .reset_gpio_port[1] = 61, .reset_gpio_port[2] = -EINVAL }; static void __init omap_sdp_map_io(void) { omap2_set_globals_36xx(); omap34xx_map_common_io(); } static struct omap_board_config_kernel sdp_config[] __initdata = { }; static void __init omap_sdp_init_irq(void) { omap_board_config = sdp_config; omap_board_config_size = ARRAY_SIZE(sdp_config); omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params, h8mbx00u0mer0em_sdrc_params); omap_init_irq(); omap_gpio_init(); } #ifdef CONFIG_OMAP_MUX static struct omap_board_mux board_mux[] __initdata = { { .reg_offset = OMAP_MUX_TERMINATOR }, }; #else #define board_mux NULL #endif static void __init omap_sdp_init(void) { omap3_mux_init(board_mux, OMAP_PACKAGE_CBP); omap_serial_init(); zoom_peripherals_init(); board_smc91x_init(); enable_board_wakeup_source(); usb_ehci_init(&ehci_pdata); } MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") .phys_io = 0x48000000, .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, .boot_params = 0x80000100, .map_io = omap_sdp_map_io, .init_irq = omap_sdp_init_irq, .init_machine = omap_sdp_init, .timer = &omap_timer, MACHINE_END
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
You can’t perform that action at this time.
While the code is focused, press Alt+F1 for a menu of operations.