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
nexedi
linux
Commits
bd78512e
Commit
bd78512e
authored
Jun 10, 2009
by
Russell King
Committed by
Russell King
Jun 10, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'at91' into devel
parents
b43d65f7
6d36110e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
arch/arm/mach-at91/board-afeb-9260v1.c
arch/arm/mach-at91/board-afeb-9260v1.c
+6
-0
arch/arm/mach-at91/board-sam9g20ek.c
arch/arm/mach-at91/board-sam9g20ek.c
+8
-1
No files found.
arch/arm/mach-at91/board-afeb-9260v1.c
View file @
bd78512e
...
...
@@ -156,6 +156,8 @@ static struct atmel_nand_data __initdata afeb9260_nand_data = {
* MCI (SD/MMC)
*/
static
struct
at91_mmc_data
__initdata
afeb9260_mmc_data
=
{
.
det_pin
=
AT91_PIN_PC9
,
.
wp_pin
=
AT91_PIN_PC4
,
.
slot_b
=
1
,
.
wire4
=
1
,
};
...
...
@@ -164,6 +166,8 @@ static struct at91_mmc_data __initdata afeb9260_mmc_data = {
static
struct
i2c_board_info
__initdata
afeb9260_i2c_devices
[]
=
{
{
I2C_BOARD_INFO
(
"tlv320aic23"
,
0x1a
),
},
{
I2C_BOARD_INFO
(
"fm3130"
,
0x68
),
},
{
I2C_BOARD_INFO
(
"24c64"
,
0x50
),
...
...
@@ -196,6 +200,8 @@ static void __init afeb9260_board_init(void)
/* I2C */
at91_add_device_i2c
(
afeb9260_i2c_devices
,
ARRAY_SIZE
(
afeb9260_i2c_devices
));
/* Audio */
at91_add_device_ssc
(
AT91SAM9260_ID_SSC
,
ATMEL_SSC_TX
);
}
MACHINE_START
(
AFEB9260
,
"Custom afeb9260 board"
)
...
...
arch/arm/mach-at91/board-sam9g20ek.c
View file @
bd78512e
...
...
@@ -218,6 +218,13 @@ static struct gpio_led ek_leds[] = {
}
};
static
struct
i2c_board_info
__initdata
ek_i2c_devices
[]
=
{
{
I2C_BOARD_INFO
(
"24c512"
,
0x50
),
},
};
static
void
__init
ek_board_init
(
void
)
{
/* Serial */
...
...
@@ -235,7 +242,7 @@ static void __init ek_board_init(void)
/* MMC */
at91_add_device_mmc
(
0
,
&
ek_mmc_data
);
/* I2C */
at91_add_device_i2c
(
NULL
,
0
);
at91_add_device_i2c
(
ek_i2c_devices
,
ARRAY_SIZE
(
ek_i2c_devices
)
);
/* LEDs */
at91_gpio_leds
(
ek_leds
,
ARRAY_SIZE
(
ek_leds
));
/* PCK0 provides MCLK to the WM8731 */
...
...
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