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
e006d656
Commit
e006d656
authored
Dec 28, 2011
by
Arnd Bergmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pxa/board' into next/boards
* pxa/board: mioa701: add newly available DoC G3 chip
parents
75f7dd81
43a90877
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
arch/arm/mach-pxa/mioa701.c
arch/arm/mach-pxa/mioa701.c
+17
-12
No files found.
arch/arm/mach-pxa/mioa701.c
View file @
e006d656
...
...
@@ -53,6 +53,7 @@
#include <mach/pxa27x-udc.h>
#include <mach/camera.h>
#include <mach/audio.h>
#include <mach/smemc.h>
#include <media/soc_camera.h>
#include <mach/mioa701.h>
...
...
@@ -390,24 +391,19 @@ static struct pxamci_platform_data mioa701_mci_info = {
};
/* FlashRAM */
static
struct
resource
strataflash
_resource
=
{
static
struct
resource
docg3
_resource
=
{
.
start
=
PXA_CS0_PHYS
,
.
end
=
PXA_CS0_PHYS
+
SZ_
64M
-
1
,
.
end
=
PXA_CS0_PHYS
+
SZ_
8K
-
1
,
.
flags
=
IORESOURCE_MEM
,
};
static
struct
physmap_flash_data
strataflash_data
=
{
.
width
=
2
,
/* .set_vpp = mioa701_set_vpp, */
};
static
struct
platform_device
strataflash
=
{
.
name
=
"physmap-flash"
,
static
struct
platform_device
docg3
=
{
.
name
=
"docg3"
,
.
id
=
-
1
,
.
resource
=
&
strataflash
_resource
,
.
resource
=
&
docg3
_resource
,
.
num_resources
=
1
,
.
dev
=
{
.
platform_data
=
&
strataflash_data
,
.
platform_data
=
NULL
,
},
};
...
...
@@ -685,7 +681,7 @@ static struct platform_device *devices[] __initdata = {
&
pxa2xx_pcm
,
&
mioa701_sound
,
&
power_dev
,
&
strataflash
,
&
docg3
,
&
gpio_vbus
,
&
mioa701_camera
,
&
mioa701_board
,
...
...
@@ -720,6 +716,15 @@ static void __init mioa701_machine_init(void)
RTTR
=
32768
-
1
;
/* Reset crazy WinCE value */
UP2OCR
=
UP2OCR_HXOE
;
/*
* Set up the flash memory : DiskOnChip G3 on first static memory bank
*/
__raw_writel
(
0x7ff02dd8
,
MSC0
);
__raw_writel
(
0x0001c391
,
MCMEM0
);
__raw_writel
(
0x0001c391
,
MCATT0
);
__raw_writel
(
0x0001c391
,
MCIO0
);
pxa2xx_mfp_config
(
ARRAY_AND_SIZE
(
mioa701_pin_config
));
pxa_set_ffuart_info
(
NULL
);
pxa_set_btuart_info
(
NULL
);
...
...
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