Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
dd0e20e5
Commit
dd0e20e5
authored
Oct 21, 2008
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: ap325rxa: Move off of hardcoded pinmux for flctl initialization.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
908978ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
arch/sh/boards/board-ap325rxa.c
arch/sh/boards/board-ap325rxa.c
+14
-6
No files found.
arch/sh/boards/board-ap325rxa.c
View file @
dd0e20e5
...
...
@@ -407,17 +407,25 @@ static int __init ap325rxa_devices_setup(void)
ctrl_outw
(
ctrl_inw
(
PORT_MSELCRB
)
&
~
0x0001
,
PORT_MSELCRB
);
/* FLCTL */
ctrl_outw
(
0
,
PORT_PUCR
);
ctrl_outw
(
0
,
PORT_PVCR
);
ctrl_outw
(
0
,
PORT_PSELC
);
gpio_request
(
GPIO_FN_FCE
,
NULL
);
gpio_request
(
GPIO_FN_NAF7
,
NULL
);
gpio_request
(
GPIO_FN_NAF6
,
NULL
);
gpio_request
(
GPIO_FN_NAF5
,
NULL
);
gpio_request
(
GPIO_FN_NAF4
,
NULL
);
gpio_request
(
GPIO_FN_NAF3
,
NULL
);
gpio_request
(
GPIO_FN_NAF2
,
NULL
);
gpio_request
(
GPIO_FN_NAF1
,
NULL
);
gpio_request
(
GPIO_FN_NAF0
,
NULL
);
gpio_request
(
GPIO_FN_FCDE
,
NULL
);
gpio_request
(
GPIO_FN_FOE
,
NULL
);
gpio_request
(
GPIO_FN_FSC
,
NULL
);
gpio_request
(
GPIO_FN_FWE
,
NULL
);
gpio_request
(
GPIO_FN_FRB
,
NULL
);
ctrl_outw
(
0
,
PORT_HIZCRC
);
ctrl_outw
(
0xFFFF
,
PORT_DRVCRA
);
ctrl_outw
(
0xFFFF
,
PORT_DRVCRB
);
ctrl_outw
((
ctrl_inw
(
PORT_PXCR
)
&
0x3fff
)
|
0x4000
,
PORT_PXCR
);
ctrl_outb
(
0x80
,
PORT_PXDR
);
platform_resource_setup_memory
(
&
ceu_device
,
"ceu"
,
4
<<
20
);
i2c_register_board_info
(
0
,
ap325rxa_i2c_devices
,
...
...
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