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
eca6f172
Commit
eca6f172
authored
Jan 16, 2015
by
Nicolas Ferre
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'at91-dt' into at91-3.20-cleanup
parents
bd873732
4dd32e6d
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
227 additions
and
13 deletions
+227
-13
Documentation/devicetree/bindings/arm/atmel-at91.txt
Documentation/devicetree/bindings/arm/atmel-at91.txt
+17
-0
arch/arm/boot/dts/at91rm9200.dtsi
arch/arm/boot/dts/at91rm9200.dtsi
+12
-0
arch/arm/boot/dts/at91rm9200ek.dts
arch/arm/boot/dts/at91rm9200ek.dts
+4
-0
arch/arm/boot/dts/at91sam9260.dtsi
arch/arm/boot/dts/at91sam9260.dtsi
+5
-0
arch/arm/boot/dts/at91sam9261.dtsi
arch/arm/boot/dts/at91sam9261.dtsi
+5
-0
arch/arm/boot/dts/at91sam9263.dtsi
arch/arm/boot/dts/at91sam9263.dtsi
+11
-1
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/at91sam9g20.dtsi
+9
-0
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
+5
-2
arch/arm/boot/dts/at91sam9n12.dtsi
arch/arm/boot/dts/at91sam9n12.dtsi
+12
-0
arch/arm/boot/dts/at91sam9rl.dtsi
arch/arm/boot/dts/at91sam9rl.dtsi
+5
-0
arch/arm/boot/dts/at91sam9x5.dtsi
arch/arm/boot/dts/at91sam9x5.dtsi
+5
-0
arch/arm/boot/dts/at91sam9xe.dtsi
arch/arm/boot/dts/at91sam9xe.dtsi
+60
-0
arch/arm/boot/dts/ethernut5.dts
arch/arm/boot/dts/ethernut5.dts
+1
-1
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d3.dtsi
+29
-5
arch/arm/boot/dts/sama5d3xcm.dtsi
arch/arm/boot/dts/sama5d3xcm.dtsi
+1
-0
arch/arm/boot/dts/sama5d3xmb.dtsi
arch/arm/boot/dts/sama5d3xmb.dtsi
+36
-4
arch/arm/boot/dts/sama5d4.dtsi
arch/arm/boot/dts/sama5d4.dtsi
+10
-0
No files found.
Documentation/devicetree/bindings/arm/atmel-at91.txt
View file @
eca6f172
...
@@ -24,6 +24,7 @@ compatible: must be one of:
...
@@ -24,6 +24,7 @@ compatible: must be one of:
o "atmel,at91sam9g45"
o "atmel,at91sam9g45"
o "atmel,at91sam9n12"
o "atmel,at91sam9n12"
o "atmel,at91sam9rl"
o "atmel,at91sam9rl"
o "atmel,at91sam9xe"
* "atmel,sama5" for SoCs using a Cortex-A5, shall be extended with the specific
* "atmel,sama5" for SoCs using a Cortex-A5, shall be extended with the specific
SoC family:
SoC family:
o "atmel,sama5d3" shall be extended with the specific SoC compatible:
o "atmel,sama5d3" shall be extended with the specific SoC compatible:
...
@@ -136,3 +137,19 @@ Example:
...
@@ -136,3 +137,19 @@ Example:
compatible = "atmel,at91sam9260-rstc";
compatible = "atmel,at91sam9260-rstc";
reg = <0xfffffd00 0x10>;
reg = <0xfffffd00 0x10>;
};
};
Special Function Registers (SFR)
Special Function Registers (SFR) manage specific aspects of the integrated
memory, bridge implementations, processor and other functionality not controlled
elsewhere.
required properties:
- compatible: Should be "atmel,<chip>-sfr", "syscon".
<chip> can be "sama5d3" or "sama5d4".
- reg: Should contain registers location and length
sfr@f0038000 {
compatible = "atmel,sama5d3-sfr", "syscon";
reg = <0xf0038000 0x60>;
};
arch/arm/boot/dts/at91rm9200.dtsi
View file @
eca6f172
...
@@ -66,6 +66,11 @@ main_xtal: main_xtal {
...
@@ -66,6 +66,11 @@ main_xtal: main_xtal {
};
};
};
};
sram
:
sram
@
00200000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00200000
0x4000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -356,6 +361,13 @@ st: timer@fffffd00 {
...
@@ -356,6 +361,13 @@ st: timer@fffffd00 {
interrupts
=
<
1
IRQ_TYPE_LEVEL_HIGH
7
>;
interrupts
=
<
1
IRQ_TYPE_LEVEL_HIGH
7
>;
};
};
rtc
:
rtc
@
fffffe00
{
compatible
=
"atmel,at91rm9200-rtc"
;
reg
=
<
0xfffffe00
0x40
>;
interrupts
=
<
1
IRQ_TYPE_LEVEL_HIGH
7
>;
status
=
"disabled"
;
};
tcb0
:
timer
@
fffa0000
{
tcb0
:
timer
@
fffa0000
{
compatible
=
"atmel,at91rm9200-tcb"
;
compatible
=
"atmel,at91rm9200-tcb"
;
reg
=
<
0xfffa0000
0x100
>;
reg
=
<
0xfffa0000
0x100
>;
...
...
arch/arm/boot/dts/at91rm9200ek.dts
View file @
eca6f172
...
@@ -77,6 +77,10 @@ mtd_dataflash@0 {
...
@@ -77,6 +77,10 @@ mtd_dataflash@0 {
dbgu
:
serial
@
fffff200
{
dbgu
:
serial
@
fffff200
{
status
=
"okay"
;
status
=
"okay"
;
};
};
rtc
:
rtc
@
fffffe00
{
status
=
"okay"
;
};
};
};
usb0
:
ohci
@
00300000
{
usb0
:
ohci
@
00300000
{
...
...
arch/arm/boot/dts/at91sam9260.dtsi
View file @
eca6f172
...
@@ -69,6 +69,11 @@ adc_op_clk: adc_op_clk{
...
@@ -69,6 +69,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
sram0
:
sram
@
002f
f000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x002ff000
0x2000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9261.dtsi
View file @
eca6f172
...
@@ -60,6 +60,11 @@ slow_xtal: slow_xtal {
...
@@ -60,6 +60,11 @@ slow_xtal: slow_xtal {
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x28000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9263.dtsi
View file @
eca6f172
...
@@ -62,6 +62,16 @@ slow_xtal: slow_xtal {
...
@@ -62,6 +62,16 @@ slow_xtal: slow_xtal {
};
};
};
};
sram0
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x14000
>;
};
sram1
:
sram
@
00500000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x4000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -294,7 +304,7 @@ ssc1_clk: ssc1_clk {
...
@@ -294,7 +304,7 @@ ssc1_clk: ssc1_clk {
reg
=
<
17
>;
reg
=
<
17
>;
};
};
ac9
1
_clk
:
ac97_clk
{
ac9
7
_clk
:
ac97_clk
{
#
clock
-
cells
=
<
0
>;
#
clock
-
cells
=
<
0
>;
reg
=
<
18
>;
reg
=
<
18
>;
};
};
...
...
arch/arm/boot/dts/at91sam9g20.dtsi
View file @
eca6f172
...
@@ -16,6 +16,15 @@ memory {
...
@@ -16,6 +16,15 @@ memory {
reg
=
<
0x20000000
0x08000000
>;
reg
=
<
0x20000000
0x08000000
>;
};
};
sram0
:
sram
@
002f
f000
{
status
=
"disabled"
;
};
sram1
:
sram
@
002f
c000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x002fc000
0x8000
>;
};
ahb
{
ahb
{
apb
{
apb
{
i2c0
:
i2c
@
fffac000
{
i2c0
:
i2c
@
fffac000
{
...
...
arch/arm/boot/dts/at91sam9g45.dtsi
View file @
eca6f172
...
@@ -74,6 +74,11 @@ adc_op_clk: adc_op_clk{
...
@@ -74,6 +74,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x10000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -1287,7 +1292,6 @@ usb0: ohci@00700000 {
...
@@ -1287,7 +1292,6 @@ usb0: ohci@00700000 {
compatible
=
"atmel,at91rm9200-ohci"
,
"usb-ohci"
;
compatible
=
"atmel,at91rm9200-ohci"
,
"usb-ohci"
;
reg
=
<
0x00700000
0x100000
>;
reg
=
<
0x00700000
0x100000
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
//
TODO
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clock
-
names
=
"usb_clk"
,
"ohci_clk"
,
"hclk"
,
"uhpck"
;
clock
-
names
=
"usb_clk"
,
"ohci_clk"
,
"hclk"
,
"uhpck"
;
status
=
"disabled"
;
status
=
"disabled"
;
...
@@ -1297,7 +1301,6 @@ usb1: ehci@00800000 {
...
@@ -1297,7 +1301,6 @@ usb1: ehci@00800000 {
compatible
=
"atmel,at91sam9g45-ehci"
,
"usb-ehci"
;
compatible
=
"atmel,at91sam9g45-ehci"
,
"usb-ehci"
;
reg
=
<
0x00800000
0x100000
>;
reg
=
<
0x00800000
0x100000
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
//
TODO
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clock
-
names
=
"usb_clk"
,
"ehci_clk"
,
"hclk"
,
"uhpck"
;
clock
-
names
=
"usb_clk"
,
"ehci_clk"
,
"hclk"
,
"uhpck"
;
status
=
"disabled"
;
status
=
"disabled"
;
...
...
arch/arm/boot/dts/at91sam9n12.dtsi
View file @
eca6f172
...
@@ -64,6 +64,11 @@ main_xtal: main_xtal {
...
@@ -64,6 +64,11 @@ main_xtal: main_xtal {
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x8000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -893,6 +898,13 @@ watchdog@fffffe40 {
...
@@ -893,6 +898,13 @@ watchdog@fffffe40 {
status
=
"disabled"
;
status
=
"disabled"
;
};
};
rtc
@
fffffeb0
{
compatible
=
"atmel,at91rm9200-rtc"
;
reg
=
<
0xfffffeb0
0x40
>;
interrupts
=
<
1
IRQ_TYPE_LEVEL_HIGH
7
>;
status
=
"disabled"
;
};
pwm0
:
pwm
@
f8034000
{
pwm0
:
pwm
@
f8034000
{
compatible
=
"atmel,at91sam9rl-pwm"
;
compatible
=
"atmel,at91sam9rl-pwm"
;
reg
=
<
0xf8034000
0x300
>;
reg
=
<
0xf8034000
0x300
>;
...
...
arch/arm/boot/dts/at91sam9rl.dtsi
View file @
eca6f172
...
@@ -70,6 +70,11 @@ adc_op_clk: adc_op_clk{
...
@@ -70,6 +70,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x10000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9x5.dtsi
View file @
eca6f172
...
@@ -72,6 +72,11 @@ adc_op_clk: adc_op_clk{
...
@@ -72,6 +72,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x8000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9xe.dtsi
0 → 100644
View file @
eca6f172
/*
*
at91sam9xe
.
dtsi
-
Device
Tree
Include
file
for
AT91SAM9XE
family
SoC
*
*
Copyright
(
C
)
2015
Atmel
,
*
2015
Alexandre
Belloni
<
alexandre
.
Belloni
@
free
-
electrons
.
com
>
*
*
This
file
is
dual
-
licensed
:
you
can
use
it
either
under
the
terms
*
of
the
GPL
or
the
X11
license
,
at
your
option
.
Note
that
this
dual
*
licensing
only
applies
to
this
file
,
and
not
this
project
as
a
*
whole
.
*
*
a
)
This
file
is
free
software
;
you
can
redistribute
it
and
/
or
*
modify
it
under
the
terms
of
the
GNU
General
Public
License
as
*
published
by
the
Free
Software
Foundation
;
either
version
2
of
the
*
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
file
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
;
without
even
the
implied
warranty
of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
Or
,
alternatively
,
*
*
b
)
Permission
is
hereby
granted
,
free
of
charge
,
to
any
person
*
obtaining
a
copy
of
this
software
and
associated
documentation
*
files
(
the
"Software"
),
to
deal
in
the
Software
without
*
restriction
,
including
without
limitation
the
rights
to
use
,
*
copy
,
modify
,
merge
,
publish
,
distribute
,
sublicense
,
and
/
or
*
sell
copies
of
the
Software
,
and
to
permit
persons
to
whom
the
*
Software
is
furnished
to
do
so
,
subject
to
the
following
*
conditions
:
*
*
The
above
copyright
notice
and
this
permission
notice
shall
be
*
included
in
all
copies
or
substantial
portions
of
the
Software
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
,
WITHOUT
WARRANTY
OF
ANY
KIND
,
*
EXPRESS
OR
IMPLIED
,
INCLUDING
BUT
NOT
LIMITED
TO
THE
WARRANTIES
*
OF
MERCHANTABILITY
,
FITNESS
FOR
A
PARTICULAR
PURPOSE
AND
*
NONINFRINGEMENT
.
IN
NO
EVENT
SHALL
THE
AUTHORS
OR
COPYRIGHT
*
HOLDERS
BE
LIABLE
FOR
ANY
CLAIM
,
DAMAGES
OR
OTHER
LIABILITY
,
*
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
TORT
OR
OTHERWISE
,
ARISING
*
FROM
,
OUT
OF
OR
IN
CONNECTION
WITH
THE
SOFTWARE
OR
THE
USE
OR
*
OTHER
DEALINGS
IN
THE
SOFTWARE
.
*/
#
include
"at91sam9260.dtsi"
/
{
model
=
"Atmel AT91SAM9XE family SoC"
;
compatible
=
"atmel,at91sam9xe"
,
"atmel,at91sam9260"
;
sram0
:
sram
@
002f
f000
{
status
=
"disabled"
;
};
sram1
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x4000
>;
};
};
arch/arm/boot/dts/ethernut5.dts
View file @
eca6f172
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
Licensed
under
GPLv2
.
*
Licensed
under
GPLv2
.
*/
*/
/
dts
-
v1
/;
/
dts
-
v1
/;
#
include
"at91sam9
260
.dtsi"
#
include
"at91sam9
xe
.dtsi"
/
{
/
{
model
=
"Ethernut 5"
;
model
=
"Ethernut 5"
;
...
...
arch/arm/boot/dts/sama5d3.dtsi
View file @
eca6f172
...
@@ -78,6 +78,11 @@ adc_op_clk: adc_op_clk{
...
@@ -78,6 +78,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x20000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -214,7 +219,20 @@ isi: isi@f0034000 {
...
@@ -214,7 +219,20 @@ isi: isi@f0034000 {
compatible
=
"atmel,at91sam9g45-isi"
;
compatible
=
"atmel,at91sam9g45-isi"
;
reg
=
<
0xf0034000
0x4000
>;
reg
=
<
0xf0034000
0x4000
>;
interrupts
=
<
37
IRQ_TYPE_LEVEL_HIGH
5
>;
interrupts
=
<
37
IRQ_TYPE_LEVEL_HIGH
5
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
pinctrl_isi_data_0_7
>;
clocks
=
<&
isi_clk
>;
clock
-
names
=
"isi_clk"
;
status
=
"disabled"
;
status
=
"disabled"
;
port
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
};
};
sfr
:
sfr
@
f0038000
{
compatible
=
"atmel,sama5d3-sfr"
,
"syscon"
;
reg
=
<
0xf0038000
0x60
>;
};
};
mmc1
:
mmc
@
f8000000
{
mmc1
:
mmc
@
f8000000
{
...
@@ -545,7 +563,7 @@ pinctrl_i2c2: i2c2-0 {
...
@@ -545,7 +563,7 @@ pinctrl_i2c2: i2c2-0 {
};
};
isi
{
isi
{
pinctrl_isi
:
isi
-
0
{
pinctrl_isi
_data_0_7
:
isi
-
0
-
data
-
0
-
7
{
atmel
,
pins
=
atmel
,
pins
=
<
AT91_PIOA
16
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA16
periph
C
ISI_D0
,
conflicts
with
LCDDAT16
*/
<
AT91_PIOA
16
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA16
periph
C
ISI_D0
,
conflicts
with
LCDDAT16
*/
AT91_PIOA
17
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA17
periph
C
ISI_D1
,
conflicts
with
LCDDAT17
*/
AT91_PIOA
17
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA17
periph
C
ISI_D1
,
conflicts
with
LCDDAT17
*/
...
@@ -557,13 +575,19 @@ AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA22 periph C ISI_D6, conflicts
...
@@ -557,13 +575,19 @@ AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA22 periph C ISI_D6, conflicts
AT91_PIOA
23
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA23
periph
C
ISI_D7
,
conflicts
with
LCDDAT23
,
PWML1
*/
AT91_PIOA
23
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA23
periph
C
ISI_D7
,
conflicts
with
LCDDAT23
,
PWML1
*/
AT91_PIOC
30
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC30
periph
C
ISI_PCK
,
conflicts
with
UTXD0
*/
AT91_PIOC
30
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC30
periph
C
ISI_PCK
,
conflicts
with
UTXD0
*/
AT91_PIOA
31
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA31
periph
C
ISI_HSYNC
,
conflicts
with
TWCK0
,
UTXD1
*/
AT91_PIOA
31
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA31
periph
C
ISI_HSYNC
,
conflicts
with
TWCK0
,
UTXD1
*/
AT91_PIOA
30
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PA30
periph
C
ISI_VSYNC
,
conflicts
with
TWD0
,
URXD1
*/
AT91_PIOA
30
AT91_PERIPH_C
AT91_PINCTRL_NONE
>;
/*
PA30
periph
C
ISI_VSYNC
,
conflicts
with
TWD0
,
URXD1
*/
AT91_PIOC
29
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC29
periph
C
ISI_PD8
,
conflicts
with
URXD0
,
PWMFI2
*/
};
pinctrl_isi_data_8_9
:
isi
-
0
-
data
-
8
-
9
{
atmel
,
pins
=
<
AT91_PIOC
29
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC29
periph
C
ISI_PD8
,
conflicts
with
URXD0
,
PWMFI2
*/
AT91_PIOC
28
AT91_PERIPH_C
AT91_PINCTRL_NONE
>;
/*
PC28
periph
C
ISI_PD9
,
conflicts
with
SPI1_NPCS3
,
PWMFI0
*/
AT91_PIOC
28
AT91_PERIPH_C
AT91_PINCTRL_NONE
>;
/*
PC28
periph
C
ISI_PD9
,
conflicts
with
SPI1_NPCS3
,
PWMFI0
*/
};
};
pinctrl_isi_pck_as_mck
:
isi_pck_as_mck
-
0
{
pinctrl_isi_data_10_11
:
isi
-
0
-
data
-
10
-
11
{
atmel
,
pins
=
atmel
,
pins
=
<
AT91_PIOD
31
AT91_PERIPH_B
AT91_PINCTRL_NONE
>;
/*
PD31
periph
B
ISI_MCK
*/
<
AT91_PIOC
27
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC27
periph
C
ISI_PD10
,
conflicts
with
SPI1_NPCS2
,
TWCK1
*/
AT91_PIOC
26
AT91_PERIPH_C
AT91_PINCTRL_NONE
>;
/*
PC26
periph
C
ISI_PD11
,
conflicts
with
SPI1_NPCS1
,
TWD1
*/
};
};
};
};
...
...
arch/arm/boot/dts/sama5d3xcm.dtsi
View file @
eca6f172
...
@@ -122,6 +122,7 @@ leds {
...
@@ -122,6 +122,7 @@ leds {
d2 {
d2 {
label = "d2";
label = "d2";
gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
linux,default-trigger = "heartbeat";
};
};
};
};
};
};
arch/arm/boot/dts/sama5d3xmb.dtsi
View file @
eca6f172
...
@@ -52,6 +52,29 @@ wm8904: wm8904@1a {
...
@@ -52,6 +52,29 @@ wm8904: wm8904@1a {
};
};
};
};
i2c1: i2c@f0018000 {
ov2640: camera@0x30 {
compatible = "ovti,ov2640";
reg = <0x30>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck1_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
/* use pck1 for the master clock of ov2640 */
clocks = <&pck1>;
clock-names = "xvclk";
assigned-clocks = <&pck1>;
assigned-clock-rates = <25000000>;
port {
ov2640_0: endpoint {
remote-endpoint = <&isi_0>;
bus-width = <8>;
};
};
};
};
usart1: serial@f0020000 {
usart1: serial@f0020000 {
dmas = <0>, <0>; /* Do not use DMA for usart1 */
dmas = <0>, <0>; /* Do not use DMA for usart1 */
pinctrl-names = "default";
pinctrl-names = "default";
...
@@ -60,8 +83,12 @@ usart1: serial@f0020000 {
...
@@ -60,8 +83,12 @@ usart1: serial@f0020000 {
};
};
isi: isi@f0034000 {
isi: isi@f0034000 {
pinctrl-names = "default";
port {
pinctrl-0 = <&pinctrl_isi &pinctrl_isi_pck_as_mck &pinctrl_isi_power &pinctrl_isi_reset>;
isi_0: endpoint {
remote-endpoint = <&ov2640_0>;
bus-width = <8>;
};
};
};
};
mmc1: mmc@f8000000 {
mmc1: mmc@f8000000 {
...
@@ -117,12 +144,17 @@ pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
...
@@ -117,12 +144,17 @@ pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
<AT91_PIOD 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD30 periph B */
<AT91_PIOD 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD30 periph B */
};
};
pinctrl_isi_reset: isi_reset-0 {
pinctrl_pck1_as_isi_mck: pck1_as_isi_mck-0 {
atmel,pins =
<AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD31 periph B ISI_MCK */
};
pinctrl_sensor_reset: sensor_reset-0 {
atmel,pins =
atmel,pins =
<AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE24 gpio */
<AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE24 gpio */
};
};
pinctrl_
isi_power: isi
_power-0 {
pinctrl_
sensor_power: sensor
_power-0 {
atmel,pins =
atmel,pins =
<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
};
};
...
...
arch/arm/boot/dts/sama5d4.dtsi
View file @
eca6f172
...
@@ -103,6 +103,11 @@ adc_op_clk: adc_op_clk{
...
@@ -103,6 +103,11 @@ adc_op_clk: adc_op_clk{
};
};
};
};
ns_sram
:
sram
@
00210000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00210000
0x10000
>;
};
ahb
{
ahb
{
compatible
=
"simple-bus"
;
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
#
address
-
cells
=
<
1
>;
...
@@ -870,6 +875,11 @@ i2c2: i2c@f8024000 {
...
@@ -870,6 +875,11 @@ i2c2: i2c@f8024000 {
status
=
"disabled"
;
status
=
"disabled"
;
};
};
sfr
:
sfr
@
f8028000
{
compatible
=
"atmel,sama5d4-sfr"
,
"syscon"
;
reg
=
<
0xf8028000
0x60
>;
};
mmc1
:
mmc
@
fc000000
{
mmc1
:
mmc
@
fc000000
{
compatible
=
"atmel,hsmci"
;
compatible
=
"atmel,hsmci"
;
reg
=
<
0xfc000000
0x600
>;
reg
=
<
0xfc000000
0x600
>;
...
...
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