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
004a3122
Commit
004a3122
authored
May 31, 2013
by
Nicolas Ferre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: at91: switch Fox G20 board .dts to pre-processor defines
Signed-off-by:
Nicolas Ferre
<
nicolas.ferre@atmel.com
>
parent
2515e8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
arch/arm/boot/dts/at91-foxg20.dts
arch/arm/boot/dts/at91-foxg20.dts
+8
-8
No files found.
arch/arm/boot/dts/at91-foxg20.dts
View file @
004a3122
...
...
@@ -8,7 +8,7 @@
*
Licensed
under
GPLv2
or
later
.
*/
/
dts
-
v1
/;
/
include
/
"at91sam9g20.dtsi"
#
include
"at91sam9g20.dtsi"
/
{
model
=
"Acme Systems FoxG20"
;
...
...
@@ -36,7 +36,7 @@ main_clock: clock@0 {
ahb
{
apb
{
usb1
:
gadget
@
fffa4000
{
atmel
,
vbus
-
gpio
=
<&
pioC
6
0
>;
atmel
,
vbus
-
gpio
=
<&
pioC
6
GPIO_ACTIVE_HIGH
>;
status
=
"okay"
;
};
...
...
@@ -95,22 +95,22 @@ pinctrl@fffff400 {
board
{
pinctrl_pck0_as_mck
:
pck0_as_mck
{
atmel
,
pins
=
<
2
1
0x2
0x0
>;
/*
PC1
periph
B
*/
<
AT91_PIOC
1
AT91_PERIPH_B
AT91_PINCTRL_NONE
>;
};
};
mmc0_slot1
{
pinctrl_board_mmc0_slot1
:
mmc0_slot1
-
board
{
atmel
,
pins
=
<
2
9
0x0
0x5
>;
/*
PC9
gpio
CD
pin
pull
up
and
deglitch
*/
<
AT91_PIOC
9
AT91_PERIPH_GPIO
AT91_PINCTRL_PULL_UP_DEGLITCH
>;
/*
CD
pin
*/
};
};
i2c0
{
pinctrl_i2c0
:
i2c0
-
0
{
atmel
,
pins
=
<
0
23
0x1
0x2
/*
TWD
(
SDA
)
PA23
periph
A
,
open
drain
*/
0
24
0x1
0x2
>;
/*
TWCK
(
SCL
)
PA24
periph
A
,
open
drain
*/
<
AT91_PIOA
23
AT91_PERIPH_A
AT91_PINCTRL_MULTI_DRIVE
/*
TWD
(
SDA
)
,
open
drain
*/
AT91_PIOA
24
AT91_PERIPH_A
AT91_PINCTRL_MULTI_DRIVE
>;
/*
TWCK
(
SCL
)
,
open
drain
*/
};
};
};
...
...
@@ -139,7 +139,7 @@ leds {
/*
red
LED
marked
"PC7"
near
mini
USB
(
device
)
receptacle
*/
user_led
{
label
=
"user_led"
;
gpios
=
<&
pioC
7
0
>;
/*
PC7
*/
gpios
=
<&
pioC
7
GPIO_ACTIVE_HIGH
>;
/*
PC7
*/
linux
,
default
-
trigger
=
"heartbeat"
;
};
};
...
...
@@ -149,7 +149,7 @@ gpio_keys {
btn
{
label
=
"Button"
;
gpios
=
<&
pioC
4
1
>;
gpios
=
<&
pioC
4
GPIO_ACTIVE_LOW
>;
linux
,
code
=
<
0x103
>;
gpio
-
key
,
wakeup
;
};
...
...
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