Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
97b5fe8e
Commit
97b5fe8e
authored
Jan 08, 2009
by
Russell King
Committed by
Russell King
Jan 08, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'devel'
parents
be680c71
bdbb861f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
arch/arm/mach-footbridge/common.c
arch/arm/mach-footbridge/common.c
+7
-0
arch/arm/mach-pxa/e750.c
arch/arm/mach-pxa/e750.c
+52
-0
No files found.
arch/arm/mach-footbridge/common.c
View file @
97b5fe8e
...
@@ -32,6 +32,13 @@ unsigned int mem_fclk_21285 = 50000000;
...
@@ -32,6 +32,13 @@ unsigned int mem_fclk_21285 = 50000000;
EXPORT_SYMBOL
(
mem_fclk_21285
);
EXPORT_SYMBOL
(
mem_fclk_21285
);
static
void
__init
early_fclk
(
char
**
arg
)
{
mem_fclk_21285
=
simple_strtoul
(
*
arg
,
arg
,
0
);
}
__early_param
(
"mem_fclk_21285="
,
early_fclk
);
static
int
__init
parse_tag_memclk
(
const
struct
tag
*
tag
)
static
int
__init
parse_tag_memclk
(
const
struct
tag
*
tag
)
{
{
mem_fclk_21285
=
tag
->
u
.
memclk
.
fmemclk
;
mem_fclk_21285
=
tag
->
u
.
memclk
.
fmemclk
;
...
...
arch/arm/mach-pxa/e750.c
View file @
97b5fe8e
...
@@ -106,6 +106,57 @@ static struct platform_device e750_fb_device = {
...
@@ -106,6 +106,57 @@ static struct platform_device e750_fb_device = {
.
resource
=
e750_fb_resources
,
.
resource
=
e750_fb_resources
,
};
};
/* -------------------- e750 MFP parameters -------------------- */
static
unsigned
long
e750_pin_config
[]
__initdata
=
{
/* Chip selects */
GPIO15_nCS_1
,
/* CS1 - Flash */
GPIO79_nCS_3
,
/* CS3 - IMAGEON */
GPIO80_nCS_4
,
/* CS4 - TMIO */
/* Clocks */
GPIO11_3_6MHz
,
/* BTUART */
GPIO42_BTUART_RXD
,
GPIO43_BTUART_TXD
,
GPIO44_BTUART_CTS
,
/* TMIO controller */
GPIO19_GPIO
,
/* t7l66xb #PCLR */
GPIO45_GPIO
,
/* t7l66xb #SUSPEND (NOT BTUART!) */
/* UDC */
GPIO13_GPIO
,
GPIO3_GPIO
,
/* IrDA */
GPIO38_GPIO
|
MFP_LPM_DRIVE_HIGH
,
/* PC Card */
GPIO8_GPIO
,
/* CD0 */
GPIO44_GPIO
,
/* CD1 */
GPIO11_GPIO
,
/* IRQ0 */
GPIO6_GPIO
,
/* IRQ1 */
GPIO27_GPIO
,
/* RST0 */
GPIO24_GPIO
,
/* RST1 */
GPIO20_GPIO
,
/* PWR0 */
GPIO23_GPIO
,
/* PWR1 */
GPIO48_nPOE
,
GPIO49_nPWE
,
GPIO50_nPIOR
,
GPIO51_nPIOW
,
GPIO52_nPCE_1
,
GPIO53_nPCE_2
,
GPIO54_nPSKTSEL
,
GPIO55_nPREG
,
GPIO56_nPWAIT
,
GPIO57_nIOIS16
,
/* wakeup */
GPIO0_GPIO
|
WAKEUP_ON_EDGE_RISE
,
};
/* ----------------- e750 tc6393xb parameters ------------------ */
/* ----------------- e750 tc6393xb parameters ------------------ */
static
struct
tc6393xb_platform_data
e750_tc6393xb_info
=
{
static
struct
tc6393xb_platform_data
e750_tc6393xb_info
=
{
...
@@ -138,6 +189,7 @@ static struct platform_device *devices[] __initdata = {
...
@@ -138,6 +189,7 @@ static struct platform_device *devices[] __initdata = {
static
void
__init
e750_init
(
void
)
static
void
__init
e750_init
(
void
)
{
{
pxa2xx_mfp_config
(
ARRAY_AND_SIZE
(
e750_pin_config
));
clk_add_alias
(
"CLK_CK3P6MI"
,
&
e750_tc6393xb_device
.
dev
,
clk_add_alias
(
"CLK_CK3P6MI"
,
&
e750_tc6393xb_device
.
dev
,
"GPIO11_CLK"
,
NULL
),
"GPIO11_CLK"
,
NULL
),
eseries_get_tmio_gpios
();
eseries_get_tmio_gpios
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment