Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
eca6f172
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
eca6f172
编写于
1月 16, 2015
作者:
N
Nicolas Ferre
浏览文件
操作
浏览文件
下载
差异文件
Merge tag 'at91-dt' into at91-3.20-cleanup
上级
bd873732
4dd32e6d
变更
17
显示空白变更内容
内联
并排
Showing
17 changed file
with
227 addition
and
13 deletion
+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
未找到文件。
Documentation/devicetree/bindings/arm/atmel-at91.txt
浏览文件 @
eca6f172
...
...
@@ -24,6 +24,7 @@ compatible: must be one of:
o "atmel,at91sam9g45"
o "atmel,at91sam9n12"
o "atmel,at91sam9rl"
o "atmel,at91sam9xe"
* "atmel,sama5" for SoCs using a Cortex-A5, shall be extended with the specific
SoC family:
o "atmel,sama5d3" shall be extended with the specific SoC compatible:
...
...
@@ -136,3 +137,19 @@ Example:
compatible = "atmel,at91sam9260-rstc";
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
浏览文件 @
eca6f172
...
...
@@ -66,6 +66,11 @@
};
};
sram
:
sram
@
00200000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00200000
0x4000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -356,6 +361,13 @@
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
{
compatible
=
"atmel,at91rm9200-tcb"
;
reg
=
<
0xfffa0000
0x100
>;
...
...
arch/arm/boot/dts/at91rm9200ek.dts
浏览文件 @
eca6f172
...
...
@@ -77,6 +77,10 @@
dbgu
:
serial
@
fffff200
{
status
=
"okay"
;
};
rtc
:
rtc
@
fffffe00
{
status
=
"okay"
;
};
};
usb0
:
ohci
@
00300000
{
...
...
arch/arm/boot/dts/at91sam9260.dtsi
浏览文件 @
eca6f172
...
...
@@ -69,6 +69,11 @@
};
};
sram0
:
sram
@
002f
f000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x002ff000
0x2000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9261.dtsi
浏览文件 @
eca6f172
...
...
@@ -60,6 +60,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x28000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9263.dtsi
浏览文件 @
eca6f172
...
...
@@ -62,6 +62,16 @@
};
};
sram0
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x14000
>;
};
sram1
:
sram
@
00500000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x4000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -294,7 +304,7 @@
reg
=
<
17
>;
};
ac9
1
_clk
:
ac97_clk
{
ac9
7
_clk
:
ac97_clk
{
#
clock
-
cells
=
<
0
>;
reg
=
<
18
>;
};
...
...
arch/arm/boot/dts/at91sam9g20.dtsi
浏览文件 @
eca6f172
...
...
@@ -16,6 +16,15 @@
reg
=
<
0x20000000
0x08000000
>;
};
sram0
:
sram
@
002f
f000
{
status
=
"disabled"
;
};
sram1
:
sram
@
002f
c000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x002fc000
0x8000
>;
};
ahb
{
apb
{
i2c0
:
i2c
@
fffac000
{
...
...
arch/arm/boot/dts/at91sam9g45.dtsi
浏览文件 @
eca6f172
...
...
@@ -74,6 +74,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x10000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -1287,7 +1292,6 @@
compatible
=
"atmel,at91rm9200-ohci"
,
"usb-ohci"
;
reg
=
<
0x00700000
0x100000
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
//
TODO
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clock
-
names
=
"usb_clk"
,
"ohci_clk"
,
"hclk"
,
"uhpck"
;
status
=
"disabled"
;
...
...
@@ -1297,7 +1301,6 @@
compatible
=
"atmel,at91sam9g45-ehci"
,
"usb-ehci"
;
reg
=
<
0x00800000
0x100000
>;
interrupts
=
<
22
IRQ_TYPE_LEVEL_HIGH
2
>;
//
TODO
clocks
=
<&
usb
>,
<&
uhphs_clk
>,
<&
uhphs_clk
>,
<&
uhpck
>;
clock
-
names
=
"usb_clk"
,
"ehci_clk"
,
"hclk"
,
"uhpck"
;
status
=
"disabled"
;
...
...
arch/arm/boot/dts/at91sam9n12.dtsi
浏览文件 @
eca6f172
...
...
@@ -64,6 +64,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x8000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -893,6 +898,13 @@
status
=
"disabled"
;
};
rtc
@
fffffeb0
{
compatible
=
"atmel,at91rm9200-rtc"
;
reg
=
<
0xfffffeb0
0x40
>;
interrupts
=
<
1
IRQ_TYPE_LEVEL_HIGH
7
>;
status
=
"disabled"
;
};
pwm0
:
pwm
@
f8034000
{
compatible
=
"atmel,at91sam9rl-pwm"
;
reg
=
<
0xf8034000
0x300
>;
...
...
arch/arm/boot/dts/at91sam9rl.dtsi
浏览文件 @
eca6f172
...
...
@@ -70,6 +70,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x10000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9x5.dtsi
浏览文件 @
eca6f172
...
...
@@ -72,6 +72,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x8000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/at91sam9xe.dtsi
0 → 100644
浏览文件 @
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
浏览文件 @
eca6f172
...
...
@@ -6,7 +6,7 @@
*
Licensed
under
GPLv2
.
*/
/
dts
-
v1
/;
#
include
"at91sam9
260
.dtsi"
#
include
"at91sam9
xe
.dtsi"
/
{
model
=
"Ethernut 5"
;
...
...
arch/arm/boot/dts/sama5d3.dtsi
浏览文件 @
eca6f172
...
...
@@ -78,6 +78,11 @@
};
};
sram
:
sram
@
00300000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00300000
0x20000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -214,7 +219,20 @@
compatible
=
"atmel,at91sam9g45-isi"
;
reg
=
<
0xf0034000
0x4000
>;
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"
;
port
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
};
};
sfr
:
sfr
@
f0038000
{
compatible
=
"atmel,sama5d3-sfr"
,
"syscon"
;
reg
=
<
0xf0038000
0x60
>;
};
mmc1
:
mmc
@
f8000000
{
...
...
@@ -545,7 +563,7 @@
};
isi
{
pinctrl_isi
:
isi
-
0
{
pinctrl_isi
_data_0_7
:
isi
-
0
-
data
-
0
-
7
{
atmel
,
pins
=
<
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
*/
...
...
@@ -557,13 +575,19 @@
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_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_PIOC
29
AT91_PERIPH_C
AT91_PINCTRL_NONE
/*
PC29
periph
C
ISI_PD8
,
conflicts
with
URXD0
,
PWMFI2
*/
AT91_PIOA
30
AT91_PERIPH_C
AT91_PINCTRL_NONE
>;
/*
PA30
periph
C
ISI_VSYNC
,
conflicts
with
TWD0
,
URXD1
*/
};
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
*/
};
pinctrl_isi_pck_as_mck
:
isi_pck_as_mck
-
0
{
pinctrl_isi_data_10_11
:
isi
-
0
-
data
-
10
-
11
{
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
浏览文件 @
eca6f172
...
...
@@ -122,6 +122,7 @@
d2 {
label = "d2";
gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
linux,default-trigger = "heartbeat";
};
};
};
arch/arm/boot/dts/sama5d3xmb.dtsi
浏览文件 @
eca6f172
...
...
@@ -52,6 +52,29 @@
};
};
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 {
dmas = <0>, <0>; /* Do not use DMA for usart1 */
pinctrl-names = "default";
...
...
@@ -60,8 +83,12 @@
};
isi: isi@f0034000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_isi &pinctrl_isi_pck_as_mck &pinctrl_isi_power &pinctrl_isi_reset>;
port {
isi_0: endpoint {
remote-endpoint = <&ov2640_0>;
bus-width = <8>;
};
};
};
mmc1: mmc@f8000000 {
...
...
@@ -117,12 +144,17 @@
<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 =
<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 =
<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
};
...
...
arch/arm/boot/dts/sama5d4.dtsi
浏览文件 @
eca6f172
...
...
@@ -103,6 +103,11 @@
};
};
ns_sram
:
sram
@
00210000
{
compatible
=
"mmio-sram"
;
reg
=
<
0x00210000
0x10000
>;
};
ahb
{
compatible
=
"simple-bus"
;
#
address
-
cells
=
<
1
>;
...
...
@@ -870,6 +875,11 @@
status
=
"disabled"
;
};
sfr
:
sfr
@
f8028000
{
compatible
=
"atmel,sama5d4-sfr"
,
"syscon"
;
reg
=
<
0xf8028000
0x60
>;
};
mmc1
:
mmc
@
fc000000
{
compatible
=
"atmel,hsmci"
;
reg
=
<
0xfc000000
0x600
>;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录