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
eee258d4
Commit
eee258d4
authored
Feb 27, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add resources and platform devices for SA11x0 serial ports.
parent
37f1417d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.c
+32
-0
No files found.
arch/arm/mach-sa1100/generic.c
View file @
eee258d4
...
...
@@ -167,6 +167,36 @@ static struct platform_device sa11x0udc_device = {
.
resource
=
sa11x0udc_resources
,
};
static
struct
resource
sa11x0uart1_resources
[]
=
{
[
0
]
=
{
.
start
=
0x80010000
,
.
end
=
0x8001ffff
,
.
flags
=
IORESOURCE_MEM
,
},
};
static
struct
platform_device
sa11x0uart1_device
=
{
.
name
=
"sa11x0-uart"
,
.
id
=
1
,
.
num_resources
=
ARRAY_SIZE
(
sa11x0uart1_resources
),
.
resource
=
sa11x0uart1_resources
,
};
static
struct
resource
sa11x0uart3_resources
[]
=
{
[
0
]
=
{
.
start
=
0x80050000
,
.
end
=
0x8005ffff
,
.
flags
=
IORESOURCE_MEM
,
},
};
static
struct
platform_device
sa11x0uart3_device
=
{
.
name
=
"sa11x0-uart"
,
.
id
=
3
,
.
num_resources
=
ARRAY_SIZE
(
sa11x0uart3_resources
),
.
resource
=
sa11x0uart3_resources
,
};
static
struct
resource
sa11x0mcp_resources
[]
=
{
[
0
]
=
{
.
start
=
0x80060000
,
...
...
@@ -234,6 +264,8 @@ static struct platform_device sa11x0pcmcia_device = {
static
struct
platform_device
*
sa11x0_devices
[]
__initdata
=
{
&
sa11x0udc_device
,
&
sa11x0uart1_device
,
&
sa11x0uart3_device
,
&
sa11x0mcp_device
,
&
sa11x0ssp_device
,
&
sa11x0pcmcia_device
,
...
...
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