Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
56d7b794
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
56d7b794
编写于
2月 17, 2007
作者:
K
Kumar Gala
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '85xx' into for_paulus
上级
ffd84881
23f510bc
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
386 addition
and
456 deletion
+386
-456
arch/powerpc/boot/dts/mpc8540ads.dts
arch/powerpc/boot/dts/mpc8540ads.dts
+66
-76
arch/powerpc/boot/dts/mpc8541cds.dts
arch/powerpc/boot/dts/mpc8541cds.dts
+49
-59
arch/powerpc/boot/dts/mpc8548cds.dts
arch/powerpc/boot/dts/mpc8548cds.dts
+58
-71
arch/powerpc/boot/dts/mpc8555cds.dts
arch/powerpc/boot/dts/mpc8555cds.dts
+49
-59
arch/powerpc/boot/dts/mpc8560ads.dts
arch/powerpc/boot/dts/mpc8560ads.dts
+72
-85
arch/powerpc/boot/dts/mpc8568mds.dts
arch/powerpc/boot/dts/mpc8568mds.dts
+39
-57
arch/powerpc/configs/mpc8568mds_defconfig
arch/powerpc/configs/mpc8568mds_defconfig
+25
-7
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/85xx/Kconfig
+4
-4
arch/powerpc/platforms/85xx/Makefile
arch/powerpc/platforms/85xx/Makefile
+1
-1
arch/powerpc/platforms/85xx/mpc85xx_ads.c
arch/powerpc/platforms/85xx/mpc85xx_ads.c
+3
-4
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/85xx/mpc85xx_cds.c
+3
-5
arch/powerpc/platforms/85xx/mpc85xx_mds.c
arch/powerpc/platforms/85xx/mpc85xx_mds.c
+17
-28
未找到文件。
arch/powerpc/boot/dts/mpc8540ads.dts
浏览文件 @
56d7b794
...
...
@@ -12,16 +12,14 @@
/
{
model
=
"MPC8540ADS"
;
compatible
=
"MPC85xxADS"
;
compatible
=
"MPC85
40ADS"
,
"MPC85
xxADS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8540
@
0
{
device_type
=
"cpu"
;
...
...
@@ -34,13 +32,11 @@
bus
-
frequency
=
<
0
>;
//
166
MHz
clock
-
frequency
=
<
0
>;
//
825
MHz
,
from
uboot
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
08000000
>;
//
128
M
at
0x0
};
...
...
@@ -58,7 +54,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3000
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -68,24 +64,20 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
1
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
1
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
3
{
linux
,
phandle
=
<
2452003
>;
interrupt
-
parent
=
<
40000
>;
phy3
:
ethernet
-
phy
@
3
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
37
1
>;
reg
=
<
3
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -102,8 +94,8 @@
address
=
[
00
E0
0
C
00
73
00
];
local
-
mac
-
address
=
[
00
E0
0
C
00
73
00
];
interrupts
=
<
d
2
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
0
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
0
>;
};
ethernet
@
25000
{
...
...
@@ -116,8 +108,8 @@
address
=
[
00
E0
0
C
00
73
01
];
local
-
mac
-
address
=
[
00
E0
0
C
00
73
01
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
1
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
1
>;
};
ethernet
@
26000
{
...
...
@@ -130,8 +122,8 @@
address
=
[
00
E0
0
C
00
73
02
];
local
-
mac
-
address
=
[
00
E0
0
C
00
73
02
];
interrupts
=
<
19
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
3
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
3
>;
};
serial
@
4500
{
...
...
@@ -140,7 +132,7 @@
reg
=
<
4500
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
serial
@
4600
{
...
...
@@ -149,85 +141,84 @@
reg
=
<
4600
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
pci
@
8000
{
linux
,
phandle
=
<
8000
>;
interrupt
-
map
-
mask
=
<
f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x02
*/
1000
0
0
1
40000
31
1
1000
0
0
2
40000
32
1
1000
0
0
3
40000
33
1
1000
0
0
4
40000
34
1
1000
0
0
1
&
mpic
31
1
1000
0
0
2
&
mpic
32
1
1000
0
0
3
&
mpic
33
1
1000
0
0
4
&
mpic
34
1
/*
IDSEL
0x03
*/
1800
0
0
1
40000
34
1
1800
0
0
2
40000
31
1
1800
0
0
3
40000
32
1
1800
0
0
4
40000
33
1
1800
0
0
1
&
mpic
34
1
1800
0
0
2
&
mpic
31
1
1800
0
0
3
&
mpic
32
1
1800
0
0
4
&
mpic
33
1
/*
IDSEL
0x04
*/
2000
0
0
1
40000
33
1
2000
0
0
2
40000
34
1
2000
0
0
3
40000
31
1
2000
0
0
4
40000
32
1
2000
0
0
1
&
mpic
33
1
2000
0
0
2
&
mpic
34
1
2000
0
0
3
&
mpic
31
1
2000
0
0
4
&
mpic
32
1
/*
IDSEL
0x05
*/
2800
0
0
1
40000
32
1
2800
0
0
2
40000
33
1
2800
0
0
3
40000
34
1
2800
0
0
4
40000
31
1
2800
0
0
1
&
mpic
32
1
2800
0
0
2
&
mpic
33
1
2800
0
0
3
&
mpic
34
1
2800
0
0
4
&
mpic
31
1
/*
IDSEL
0x0c
*/
6000
0
0
1
40000
31
1
6000
0
0
2
40000
32
1
6000
0
0
3
40000
33
1
6000
0
0
4
40000
34
1
6000
0
0
1
&
mpic
31
1
6000
0
0
2
&
mpic
32
1
6000
0
0
3
&
mpic
33
1
6000
0
0
4
&
mpic
34
1
/*
IDSEL
0x0d
*/
6800
0
0
1
40000
34
1
6800
0
0
2
40000
31
1
6800
0
0
3
40000
32
1
6800
0
0
4
40000
33
1
6800
0
0
1
&
mpic
34
1
6800
0
0
2
&
mpic
31
1
6800
0
0
3
&
mpic
32
1
6800
0
0
4
&
mpic
33
1
/*
IDSEL
0x0e
*/
7000
0
0
1
40000
33
1
7000
0
0
2
40000
34
1
7000
0
0
3
40000
31
1
7000
0
0
4
40000
32
1
7000
0
0
1
&
mpic
33
1
7000
0
0
2
&
mpic
34
1
7000
0
0
3
&
mpic
31
1
7000
0
0
4
&
mpic
32
1
/*
IDSEL
0x0f
*/
7800
0
0
1
40000
32
1
7800
0
0
2
40000
33
1
7800
0
0
3
40000
34
1
7800
0
0
4
40000
31
1
7800
0
0
1
&
mpic
32
1
7800
0
0
2
&
mpic
33
1
7800
0
0
3
&
mpic
34
1
7800
0
0
4
&
mpic
31
1
/*
IDSEL
0x12
*/
9000
0
0
1
40000
31
1
9000
0
0
2
40000
32
1
9000
0
0
3
40000
33
1
9000
0
0
4
40000
34
1
9000
0
0
1
&
mpic
31
1
9000
0
0
2
&
mpic
32
1
9000
0
0
3
&
mpic
33
1
9000
0
0
4
&
mpic
34
1
/*
IDSEL
0x13
*/
9800
0
0
1
40000
34
1
9800
0
0
2
40000
31
1
9800
0
0
3
40000
32
1
9800
0
0
4
40000
33
1
9800
0
0
1
&
mpic
34
1
9800
0
0
2
&
mpic
31
1
9800
0
0
3
&
mpic
32
1
9800
0
0
4
&
mpic
33
1
/*
IDSEL
0x14
*/
a000
0
0
1
40000
33
1
a000
0
0
2
40000
34
1
a000
0
0
3
40000
31
1
a000
0
0
4
40000
32
1
a000
0
0
1
&
mpic
33
1
a000
0
0
2
&
mpic
34
1
a000
0
0
3
&
mpic
31
1
a000
0
0
4
&
mpic
32
1
/*
IDSEL
0x15
*/
a800
0
0
1
40000
32
1
a800
0
0
2
40000
33
1
a800
0
0
3
40000
34
1
a800
0
0
4
40000
31
1
>;
interrupt
-
parent
=
<
40000
>;
a800
0
0
1
&
mpic
32
1
a800
0
0
2
&
mpic
33
1
a800
0
0
3
&
mpic
34
1
a800
0
0
4
&
mpic
31
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
08
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
80000000
80000000
0
20000000
...
...
@@ -241,8 +232,7 @@
device_type
=
"pci"
;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
...
...
arch/powerpc/boot/dts/mpc8541cds.dts
浏览文件 @
56d7b794
...
...
@@ -12,16 +12,14 @@
/
{
model
=
"MPC8541CDS"
;
compatible
=
"MPC85xxCDS"
;
compatible
=
"MPC85
41CDS"
,
"MPC85
xxCDS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8541
@
0
{
device_type
=
"cpu"
;
...
...
@@ -34,13 +32,11 @@
bus
-
frequency
=
<
0
>;
//
166
MHz
clock
-
frequency
=
<
0
>;
//
825
MHz
,
from
uboot
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
08000000
>;
//
128
M
at
0x0
};
...
...
@@ -58,7 +54,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3000
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -68,17 +64,14 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -94,8 +87,8 @@
reg
=
<
24000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
00
];
interrupts
=
<
d
2
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
0
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
0
>;
};
ethernet
@
25000
{
...
...
@@ -107,8 +100,8 @@
reg
=
<
25000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
01
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
1
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
1
>;
};
serial
@
4500
{
...
...
@@ -117,7 +110,7 @@
reg
=
<
4500
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
serial
@
4600
{
...
...
@@ -126,57 +119,56 @@
reg
=
<
4600
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
pci
@
8000
{
linux
,
phandle
=
<
8000
>;
pci1
:
pci
@
8000
{
interrupt
-
map
-
mask
=
<
1f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x10
*/
08000
0
0
1
40000
30
1
08000
0
0
2
40000
31
1
08000
0
0
3
40000
32
1
08000
0
0
4
40000
33
1
08000
0
0
1
&
mpic
30
1
08000
0
0
2
&
mpic
31
1
08000
0
0
3
&
mpic
32
1
08000
0
0
4
&
mpic
33
1
/*
IDSEL
0x11
*/
08800
0
0
1
40000
30
1
08800
0
0
2
40000
31
1
08800
0
0
3
40000
32
1
08800
0
0
4
40000
33
1
08800
0
0
1
&
mpic
30
1
08800
0
0
2
&
mpic
31
1
08800
0
0
3
&
mpic
32
1
08800
0
0
4
&
mpic
33
1
/*
IDSEL
0x12
(
Slot
1
)
*/
09000
0
0
1
40000
30
1
09000
0
0
2
40000
31
1
09000
0
0
3
40000
32
1
09000
0
0
4
40000
33
1
09000
0
0
1
&
mpic
30
1
09000
0
0
2
&
mpic
31
1
09000
0
0
3
&
mpic
32
1
09000
0
0
4
&
mpic
33
1
/*
IDSEL
0x13
(
Slot
2
)
*/
09800
0
0
1
40000
31
1
09800
0
0
2
40000
32
1
09800
0
0
3
40000
33
1
09800
0
0
4
40000
30
1
09800
0
0
1
&
mpic
31
1
09800
0
0
2
&
mpic
32
1
09800
0
0
3
&
mpic
33
1
09800
0
0
4
&
mpic
30
1
/*
IDSEL
0x14
(
Slot
3
)
*/
0
a000
0
0
1
40000
32
1
0
a000
0
0
2
40000
33
1
0
a000
0
0
3
40000
30
1
0
a000
0
0
4
40000
31
1
0
a000
0
0
1
&
mpic
32
1
0
a000
0
0
2
&
mpic
33
1
0
a000
0
0
3
&
mpic
30
1
0
a000
0
0
4
&
mpic
31
1
/*
IDSEL
0x15
(
Slot
4
)
*/
0
a800
0
0
1
40000
33
1
0
a800
0
0
2
40000
30
1
0
a800
0
0
3
40000
31
1
0
a800
0
0
4
40000
32
1
0
a800
0
0
1
&
mpic
33
1
0
a800
0
0
2
&
mpic
30
1
0
a800
0
0
3
&
mpic
31
1
0
a800
0
0
4
&
mpic
32
1
/*
Bus
1
(
Tundra
Bridge
)
*/
/*
IDSEL
0x12
(
ISA
bridge
)
*/
19000
0
0
1
40000
30
1
19000
0
0
2
40000
31
1
19000
0
0
3
40000
32
1
19000
0
0
4
40000
33
1
>;
interrupt
-
parent
=
<
40000
>;
19000
0
0
1
&
mpic
30
1
19000
0
0
2
&
mpic
31
1
19000
0
0
3
&
mpic
32
1
19000
0
0
4
&
mpic
33
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
08
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
80000000
80000000
0
20000000
...
...
@@ -200,21 +192,20 @@
compatible
=
"chrp,iic"
;
big
-
endian
;
interrupts
=
<
1
>;
interrupt
-
parent
=
<
8000
>;
interrupt
-
parent
=
<
&
pci1
>;
};
};
pci
@
9000
{
linux
,
phandle
=
<
9000
>;
interrupt
-
map
-
mask
=
<
f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x15
*/
a800
0
0
1
40000
3
b
1
a800
0
0
2
40000
3
b
1
a800
0
0
3
40000
3
b
1
a800
0
0
4
40000
3
b
1
>;
interrupt
-
parent
=
<
40000
>;
a800
0
0
1
&
mpic
3
b
1
a800
0
0
2
&
mpic
3
b
1
a800
0
0
3
&
mpic
3
b
1
a800
0
0
4
&
mpic
3
b
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
09
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
a0000000
a0000000
0
20000000
...
...
@@ -228,8 +219,7 @@
device_type
=
"pci"
;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
...
...
arch/powerpc/boot/dts/mpc8548cds.dts
浏览文件 @
56d7b794
...
...
@@ -12,16 +12,14 @@
/
{
model
=
"MPC8548CDS"
;
compatible
=
"MPC85xxCDS"
;
compatible
=
"MPC85
48CDS"
,
"MPC85
xxCDS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8548
@
0
{
device_type
=
"cpu"
;
...
...
@@ -34,13 +32,11 @@
bus
-
frequency
=
<
0
>;
//
166
MHz
clock
-
frequency
=
<
0
>;
//
825
MHz
,
from
uboot
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
08000000
>;
//
128
M
at
0x0
};
...
...
@@ -58,7 +54,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3000
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -68,32 +64,26 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
2
{
linux
,
phandle
=
<
2452002
>;
interrupt
-
parent
=
<
40000
>;
phy2
:
ethernet
-
phy
@
2
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
2
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
3
{
linux
,
phandle
=
<
2452003
>;
interrupt
-
parent
=
<
40000
>;
phy3
:
ethernet
-
phy
@
3
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
3
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -109,8 +99,8 @@
reg
=
<
24000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
00
];
interrupts
=
<
d
2
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
0
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
0
>;
};
ethernet
@
25000
{
...
...
@@ -122,10 +112,11 @@
reg
=
<
25000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
01
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
1
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
1
>;
};
/*
eTSEC
3
/
4
are
currently
broken
ethernet
@
26000
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
...
...
@@ -135,11 +126,10 @@
reg
=
<
26000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
02
];
interrupts
=
<
f
2
10
2
11
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
2452001
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy2
>;
};
/*
eTSEC
4
is
currently
broken
ethernet
@
27000
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
...
...
@@ -149,8 +139,8 @@
reg
=
<
27000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
03
];
interrupts
=
<
15
2
16
2
17
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
2452001
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy3
>;
};
*/
...
...
@@ -160,7 +150,7 @@
reg
=
<
4500
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
serial
@
4600
{
...
...
@@ -169,57 +159,56 @@
reg
=
<
4600
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
pci
@
8000
{
linux
,
phandle
=
<
8000
>;
pci1
:
pci
@
8000
{
interrupt
-
map
-
mask
=
<
1f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x10
*/
08000
0
0
1
40000
30
1
08000
0
0
2
40000
31
1
08000
0
0
3
40000
32
1
08000
0
0
4
40000
33
1
08000
0
0
1
&
mpic
30
1
08000
0
0
2
&
mpic
31
1
08000
0
0
3
&
mpic
32
1
08000
0
0
4
&
mpic
33
1
/*
IDSEL
0x11
*/
08800
0
0
1
40000
30
1
08800
0
0
2
40000
31
1
08800
0
0
3
40000
32
1
08800
0
0
4
40000
33
1
08800
0
0
1
&
mpic
30
1
08800
0
0
2
&
mpic
31
1
08800
0
0
3
&
mpic
32
1
08800
0
0
4
&
mpic
33
1
/*
IDSEL
0x12
(
Slot
1
)
*/
09000
0
0
1
40000
30
1
09000
0
0
2
40000
31
1
09000
0
0
3
40000
32
1
09000
0
0
4
40000
33
1
09000
0
0
1
&
mpic
30
1
09000
0
0
2
&
mpic
31
1
09000
0
0
3
&
mpic
32
1
09000
0
0
4
&
mpic
33
1
/*
IDSEL
0x13
(
Slot
2
)
*/
09800
0
0
1
40000
31
1
09800
0
0
2
40000
32
1
09800
0
0
3
40000
33
1
09800
0
0
4
40000
30
1
09800
0
0
1
&
mpic
31
1
09800
0
0
2
&
mpic
32
1
09800
0
0
3
&
mpic
33
1
09800
0
0
4
&
mpic
30
1
/*
IDSEL
0x14
(
Slot
3
)
*/
0
a000
0
0
1
40000
32
1
0
a000
0
0
2
40000
33
1
0
a000
0
0
3
40000
30
1
0
a000
0
0
4
40000
31
1
0
a000
0
0
1
&
mpic
32
1
0
a000
0
0
2
&
mpic
33
1
0
a000
0
0
3
&
mpic
30
1
0
a000
0
0
4
&
mpic
31
1
/*
IDSEL
0x15
(
Slot
4
)
*/
0
a800
0
0
1
40000
33
1
0
a800
0
0
2
40000
30
1
0
a800
0
0
3
40000
31
1
0
a800
0
0
4
40000
32
1
0
a800
0
0
1
&
mpic
33
1
0
a800
0
0
2
&
mpic
30
1
0
a800
0
0
3
&
mpic
31
1
0
a800
0
0
4
&
mpic
32
1
/*
Bus
1
(
Tundra
Bridge
)
*/
/*
IDSEL
0x12
(
ISA
bridge
)
*/
19000
0
0
1
40000
30
1
19000
0
0
2
40000
31
1
19000
0
0
3
40000
32
1
19000
0
0
4
40000
33
1
>;
interrupt
-
parent
=
<
40000
>;
19000
0
0
1
&
mpic
30
1
19000
0
0
2
&
mpic
31
1
19000
0
0
3
&
mpic
32
1
19000
0
0
4
&
mpic
33
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
08
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
80000000
80000000
0
20000000
...
...
@@ -243,21 +232,20 @@
compatible
=
"chrp,iic"
;
big
-
endian
;
interrupts
=
<
1
>;
interrupt
-
parent
=
<
8000
>;
interrupt
-
parent
=
<
&
pci1
>;
};
};
pci
@
9000
{
linux
,
phandle
=
<
9000
>;
interrupt
-
map
-
mask
=
<
f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x15
*/
a800
0
0
1
40000
3
b
1
a800
0
0
2
40000
3
b
1
a800
0
0
3
40000
3
b
1
a800
0
0
4
40000
3
b
1
>;
interrupt
-
parent
=
<
40000
>;
a800
0
0
1
&
mpic
3
b
1
a800
0
0
2
&
mpic
3
b
1
a800
0
0
3
&
mpic
3
b
1
a800
0
0
4
&
mpic
3
b
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
09
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
a0000000
a0000000
0
20000000
...
...
@@ -271,8 +259,7 @@
device_type
=
"pci"
;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
...
...
arch/powerpc/boot/dts/mpc8555cds.dts
浏览文件 @
56d7b794
...
...
@@ -12,16 +12,14 @@
/
{
model
=
"MPC8555CDS"
;
compatible
=
"MPC85xxCDS"
;
compatible
=
"MPC85
55CDS"
,
"MPC85
xxCDS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8555
@
0
{
device_type
=
"cpu"
;
...
...
@@ -34,13 +32,11 @@
bus
-
frequency
=
<
0
>;
//
166
MHz
clock
-
frequency
=
<
0
>;
//
825
MHz
,
from
uboot
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
08000000
>;
//
128
M
at
0x0
};
...
...
@@ -58,7 +54,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3000
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -68,17 +64,14 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
0
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -94,8 +87,8 @@
reg
=
<
24000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
00
];
interrupts
=
<
0
d
2
0
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
0
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
0
>;
};
ethernet
@
25000
{
...
...
@@ -107,8 +100,8 @@
reg
=
<
25000
1000
>;
local
-
mac
-
address
=
[
00
E0
0
C
00
73
01
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
1
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
1
>;
};
serial
@
4500
{
...
...
@@ -117,7 +110,7 @@
reg
=
<
4500
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
serial
@
4600
{
...
...
@@ -126,57 +119,56 @@
reg
=
<
4600
100
>;
//
reg
base
,
size
clock
-
frequency
=
<
0
>;
//
should
we
fill
in
in
uboot
?
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
pci
@
8000
{
linux
,
phandle
=
<
8000
>;
pci1
:
pci
@
8000
{
interrupt
-
map
-
mask
=
<
1f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x10
*/
08000
0
0
1
40000
30
1
08000
0
0
2
40000
31
1
08000
0
0
3
40000
32
1
08000
0
0
4
40000
33
1
08000
0
0
1
&
mpic
30
1
08000
0
0
2
&
mpic
31
1
08000
0
0
3
&
mpic
32
1
08000
0
0
4
&
mpic
33
1
/*
IDSEL
0x11
*/
08800
0
0
1
40000
30
1
08800
0
0
2
40000
31
1
08800
0
0
3
40000
32
1
08800
0
0
4
40000
33
1
08800
0
0
1
&
mpic
30
1
08800
0
0
2
&
mpic
31
1
08800
0
0
3
&
mpic
32
1
08800
0
0
4
&
mpic
33
1
/*
IDSEL
0x12
(
Slot
1
)
*/
09000
0
0
1
40000
30
1
09000
0
0
2
40000
31
1
09000
0
0
3
40000
32
1
09000
0
0
4
40000
33
1
09000
0
0
1
&
mpic
30
1
09000
0
0
2
&
mpic
31
1
09000
0
0
3
&
mpic
32
1
09000
0
0
4
&
mpic
33
1
/*
IDSEL
0x13
(
Slot
2
)
*/
09800
0
0
1
40000
31
1
09800
0
0
2
40000
32
1
09800
0
0
3
40000
33
1
09800
0
0
4
40000
30
1
09800
0
0
1
&
mpic
31
1
09800
0
0
2
&
mpic
32
1
09800
0
0
3
&
mpic
33
1
09800
0
0
4
&
mpic
30
1
/*
IDSEL
0x14
(
Slot
3
)
*/
0
a000
0
0
1
40000
32
1
0
a000
0
0
2
40000
33
1
0
a000
0
0
3
40000
30
1
0
a000
0
0
4
40000
31
1
0
a000
0
0
1
&
mpic
32
1
0
a000
0
0
2
&
mpic
33
1
0
a000
0
0
3
&
mpic
30
1
0
a000
0
0
4
&
mpic
31
1
/*
IDSEL
0x15
(
Slot
4
)
*/
0
a800
0
0
1
40000
33
1
0
a800
0
0
2
40000
30
1
0
a800
0
0
3
40000
31
1
0
a800
0
0
4
40000
32
1
0
a800
0
0
1
&
mpic
33
1
0
a800
0
0
2
&
mpic
30
1
0
a800
0
0
3
&
mpic
31
1
0
a800
0
0
4
&
mpic
32
1
/*
Bus
1
(
Tundra
Bridge
)
*/
/*
IDSEL
0x12
(
ISA
bridge
)
*/
19000
0
0
1
40000
30
1
19000
0
0
2
40000
31
1
19000
0
0
3
40000
32
1
19000
0
0
4
40000
33
1
>;
interrupt
-
parent
=
<
40000
>;
19000
0
0
1
&
mpic
30
1
19000
0
0
2
&
mpic
31
1
19000
0
0
3
&
mpic
32
1
19000
0
0
4
&
mpic
33
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
08
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
80000000
80000000
0
20000000
...
...
@@ -200,21 +192,20 @@
compatible
=
"chrp,iic"
;
big
-
endian
;
interrupts
=
<
1
>;
interrupt
-
parent
=
<
8000
>;
interrupt
-
parent
=
<
&
pci1
>;
};
};
pci
@
9000
{
linux
,
phandle
=
<
9000
>;
interrupt
-
map
-
mask
=
<
f800
0
0
7
>;
interrupt
-
map
=
<
/*
IDSEL
0x15
*/
a800
0
0
1
40000
3
b
1
a800
0
0
2
40000
3
b
1
a800
0
0
3
40000
3
b
1
a800
0
0
4
40000
3
b
1
>;
interrupt
-
parent
=
<
40000
>;
a800
0
0
1
&
mpic
3
b
1
a800
0
0
2
&
mpic
3
b
1
a800
0
0
3
&
mpic
3
b
1
a800
0
0
4
&
mpic
3
b
1
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
09
2
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
a0000000
a0000000
0
20000000
...
...
@@ -228,8 +219,7 @@
device_type
=
"pci"
;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
...
...
arch/powerpc/boot/dts/mpc8560ads.dts
浏览文件 @
56d7b794
...
...
@@ -12,16 +12,14 @@
/
{
model
=
"MPC8560ADS"
;
compatible
=
"MPC85xxADS"
;
compatible
=
"MPC85
60ADS"
,
"MPC85
xxADS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8560
@
0
{
device_type
=
"cpu"
;
...
...
@@ -34,13 +32,11 @@
bus
-
frequency
=
<
13
ab6680
>;
clock
-
frequency
=
<
312
c8040
>;
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
10000000
>;
};
...
...
@@ -57,33 +53,28 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
1
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
35
1
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
2
{
linux
,
phandle
=
<
2452002
>;
interrupt
-
parent
=
<
40000
>;
phy2
:
ethernet
-
phy
@
2
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
37
1
>;
reg
=
<
2
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
3
{
linux
,
phandle
=
<
2452003
>;
interrupt
-
parent
=
<
40000
>;
phy3
:
ethernet
-
phy
@
3
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
37
1
>;
reg
=
<
3
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -97,8 +88,8 @@
reg
=
<
24000
1000
>;
address
=
[
00
00
0
C
00
00
FD
];
interrupts
=
<
d
2
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
0
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
0
>;
};
ethernet
@
25000
{
...
...
@@ -110,12 +101,11 @@
reg
=
<
25000
1000
>;
address
=
[
00
00
0
C
00
01
FD
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
1
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
1
>;
};
pci
@
8000
{
linux
,
phandle
=
<
8000
>;
#
interrupt
-
cells
=
<
1
>;
#
size
-
cells
=
<
2
>;
#
address
-
cells
=
<
3
>;
...
...
@@ -127,96 +117,94 @@
interrupt
-
map
=
<
/*
IDSEL
0x2
*/
1000
0
0
1
40000
31
1
1000
0
0
2
40000
32
1
1000
0
0
3
40000
33
1
1000
0
0
4
40000
34
1
1000
0
0
1
&
mpic
31
1
1000
0
0
2
&
mpic
32
1
1000
0
0
3
&
mpic
33
1
1000
0
0
4
&
mpic
34
1
/*
IDSEL
0x3
*/
1800
0
0
1
40000
34
1
1800
0
0
2
40000
31
1
1800
0
0
3
40000
32
1
1800
0
0
4
40000
33
1
1800
0
0
1
&
mpic
34
1
1800
0
0
2
&
mpic
31
1
1800
0
0
3
&
mpic
32
1
1800
0
0
4
&
mpic
33
1
/*
IDSEL
0x4
*/
2000
0
0
1
40000
33
1
2000
0
0
2
40000
34
1
2000
0
0
3
40000
31
1
2000
0
0
4
40000
32
1
2000
0
0
1
&
mpic
33
1
2000
0
0
2
&
mpic
34
1
2000
0
0
3
&
mpic
31
1
2000
0
0
4
&
mpic
32
1
/*
IDSEL
0x5
*/
2800
0
0
1
40000
32
1
2800
0
0
2
40000
33
1
2800
0
0
3
40000
34
1
2800
0
0
4
40000
31
1
2800
0
0
1
&
mpic
32
1
2800
0
0
2
&
mpic
33
1
2800
0
0
3
&
mpic
34
1
2800
0
0
4
&
mpic
31
1
/*
IDSEL
12
*/
6000
0
0
1
40000
31
1
6000
0
0
2
40000
32
1
6000
0
0
3
40000
33
1
6000
0
0
4
40000
34
1
6000
0
0
1
&
mpic
31
1
6000
0
0
2
&
mpic
32
1
6000
0
0
3
&
mpic
33
1
6000
0
0
4
&
mpic
34
1
/*
IDSEL
13
*/
6800
0
0
1
40000
34
1
6800
0
0
2
40000
31
1
6800
0
0
3
40000
32
1
6800
0
0
4
40000
33
1
6800
0
0
1
&
mpic
34
1
6800
0
0
2
&
mpic
31
1
6800
0
0
3
&
mpic
32
1
6800
0
0
4
&
mpic
33
1
/*
IDSEL
14
*/
7000
0
0
1
40000
33
1
7000
0
0
2
40000
34
1
7000
0
0
3
40000
31
1
7000
0
0
4
40000
32
1
7000
0
0
1
&
mpic
33
1
7000
0
0
2
&
mpic
34
1
7000
0
0
3
&
mpic
31
1
7000
0
0
4
&
mpic
32
1
/*
IDSEL
15
*/
7800
0
0
1
40000
32
1
7800
0
0
2
40000
33
1
7800
0
0
3
40000
34
1
7800
0
0
4
40000
31
1
7800
0
0
1
&
mpic
32
1
7800
0
0
2
&
mpic
33
1
7800
0
0
3
&
mpic
34
1
7800
0
0
4
&
mpic
31
1
/*
IDSEL
18
*/
9000
0
0
1
40000
31
1
9000
0
0
2
40000
32
1
9000
0
0
3
40000
33
1
9000
0
0
4
40000
34
1
9000
0
0
1
&
mpic
31
1
9000
0
0
2
&
mpic
32
1
9000
0
0
3
&
mpic
33
1
9000
0
0
4
&
mpic
34
1
/*
IDSEL
19
*/
9800
0
0
1
40000
34
1
9800
0
0
2
40000
31
1
9800
0
0
3
40000
32
1
9800
0
0
4
40000
33
1
9800
0
0
1
&
mpic
34
1
9800
0
0
2
&
mpic
31
1
9800
0
0
3
&
mpic
32
1
9800
0
0
4
&
mpic
33
1
/*
IDSEL
20
*/
a000
0
0
1
40000
33
1
a000
0
0
2
40000
34
1
a000
0
0
3
40000
31
1
a000
0
0
4
40000
32
1
a000
0
0
1
&
mpic
33
1
a000
0
0
2
&
mpic
34
1
a000
0
0
3
&
mpic
31
1
a000
0
0
4
&
mpic
32
1
/*
IDSEL
21
*/
a800
0
0
1
40000
32
1
a800
0
0
2
40000
33
1
a800
0
0
3
40000
34
1
a800
0
0
4
40000
31
1
>;
a800
0
0
1
&
mpic
32
1
a800
0
0
2
&
mpic
33
1
a800
0
0
3
&
mpic
34
1
a800
0
0
4
&
mpic
31
1
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
interrupts
=
<
8
0
>;
bus
-
range
=
<
0
0
>;
ranges
=
<
02000000
0
80000000
80000000
0
20000000
01000000
0
00000000
e2000000
0
01000000
>;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
#
interrupt
-
cells
=
<
2
>;
reg
=
<
40000
201
00
>;
reg
=
<
40000
400
00
>;
built
-
in
;
device_type
=
"open-pic"
;
};
cpm
@
e0000000
{
linux
,
phandle
=
<
e0000000
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
#
interrupt
-
cells
=
<
2
>;
...
...
@@ -227,13 +215,12 @@
command
-
proc
=
<
919
c0
>;
brg
-
frequency
=
<
9
d5b340
>;
pic
@
90
c00
{
linux
,
phandle
=
<
90
c00
>;
cpmpic
:
pic
@
90
c00
{
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
#
interrupt
-
cells
=
<
2
>;
interrupts
=
<
1
e
0
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
reg
=
<
90
c00
80
>;
built
-
in
;
device_type
=
"cpm-pic"
;
...
...
@@ -250,7 +237,7 @@
tx
-
clock
=
<
1
>;
current
-
speed
=
<
1
c200
>;
interrupts
=
<
28
8
>;
interrupt
-
parent
=
<
90
c00
>;
interrupt
-
parent
=
<
&
cpmpic
>;
};
scc
@
91
a20
{
...
...
@@ -264,7 +251,7 @@
tx
-
clock
=
<
2
>;
current
-
speed
=
<
1
c200
>;
interrupts
=
<
29
8
>;
interrupt
-
parent
=
<
90
c00
>;
interrupt
-
parent
=
<
&
cpmpic
>;
};
fcc
@
91320
{
...
...
@@ -278,8 +265,8 @@
rx
-
clock
=
<
15
>;
tx
-
clock
=
<
16
>;
interrupts
=
<
21
8
>;
interrupt
-
parent
=
<
90
c00
>;
phy
-
handle
=
<
245200
2
>;
interrupt
-
parent
=
<
&
cpmpic
>;
phy
-
handle
=
<
&
phy
2
>;
};
fcc
@
91340
{
...
...
@@ -293,8 +280,8 @@
rx
-
clock
=
<
17
>;
tx
-
clock
=
<
18
>;
interrupts
=
<
22
8
>;
interrupt
-
parent
=
<
90
c00
>;
phy
-
handle
=
<
245200
3
>;
interrupt
-
parent
=
<
&
cpmpic
>;
phy
-
handle
=
<
&
phy
3
>;
};
};
};
...
...
arch/powerpc/boot/dts/mpc8568mds.dts
浏览文件 @
56d7b794
...
...
@@ -16,16 +16,14 @@
/
{
model
=
"MPC8568EMDS"
;
compatible
=
"MPC85xxMDS"
;
compatible
=
"MPC85
68EMDS"
,
"MPC85
xxMDS"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
linux
,
phandle
=
<
100
>;
cpus
{
#
cpus
=
<
1
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
linux
,
phandle
=
<
200
>;
PowerPC
,
8568
@
0
{
device_type
=
"cpu"
;
...
...
@@ -38,13 +36,11 @@
bus
-
frequency
=
<
0
>;
clock
-
frequency
=
<
0
>;
32
-
bit
;
linux
,
phandle
=
<
201
>;
};
};
memory
{
device_type
=
"memory"
;
linux
,
phandle
=
<
300
>;
reg
=
<
00000000
10000000
>;
};
...
...
@@ -67,7 +63,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3000
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -76,7 +72,7 @@
compatible
=
"fsl-i2c"
;
reg
=
<
3100
100
>;
interrupts
=
<
1
b
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
dfsrr
;
};
...
...
@@ -86,32 +82,26 @@
device_type
=
"mdio"
;
compatible
=
"gianfar"
;
reg
=
<
24520
20
>;
linux
,
phandle
=
<
24520
>;
ethernet
-
phy
@
0
{
linux
,
phandle
=
<
2452000
>;
interrupt
-
parent
=
<
40000
>;
phy0
:
ethernet
-
phy
@
0
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
31
1
>;
reg
=
<
0
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
1
{
linux
,
phandle
=
<
2452001
>;
interrupt
-
parent
=
<
40000
>;
phy1
:
ethernet
-
phy
@
1
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
32
1
>;
reg
=
<
1
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
2
{
linux
,
phandle
=
<
2452002
>;
interrupt
-
parent
=
<
40000
>;
phy2
:
ethernet
-
phy
@
2
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
31
1
>;
reg
=
<
2
>;
device_type
=
"ethernet-phy"
;
};
ethernet
-
phy
@
3
{
linux
,
phandle
=
<
2452003
>;
interrupt
-
parent
=
<
40000
>;
phy3
:
ethernet
-
phy
@
3
{
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
32
1
>;
reg
=
<
3
>;
device_type
=
"ethernet-phy"
;
...
...
@@ -127,8 +117,8 @@
reg
=
<
24000
1000
>;
mac
-
address
=
[
00
00
00
00
00
00
];
interrupts
=
<
d
2
e
2
12
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
2
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
2
>;
};
ethernet
@
25000
{
...
...
@@ -140,8 +130,8 @@
reg
=
<
25000
1000
>;
mac
-
address
=
[
00
00
00
00
00
00
];
interrupts
=
<
13
2
14
2
18
2
>;
interrupt
-
parent
=
<
40000
>;
phy
-
handle
=
<
245200
3
>;
interrupt
-
parent
=
<
&
mpic
>;
phy
-
handle
=
<
&
phy
3
>;
};
serial
@
4500
{
...
...
@@ -150,7 +140,7 @@
reg
=
<
4500
100
>;
clock
-
frequency
=
<
0
>;
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
serial
@
4600
{
...
...
@@ -159,7 +149,7 @@
reg
=
<
4600
100
>;
clock
-
frequency
=
<
0
>;
interrupts
=
<
1
a
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
};
crypto
@
30000
{
...
...
@@ -168,15 +158,14 @@
compatible
=
"talitos"
;
reg
=
<
30000
f000
>;
interrupts
=
<
1
d
2
>;
interrupt
-
parent
=
<
40000
>;
interrupt
-
parent
=
<
&
mpic
>;
num
-
channels
=
<
4
>;
channel
-
fifo
-
len
=
<
18
>;
exec
-
units
-
mask
=
<
000000f
e
>;
descriptor
-
types
-
mask
=
<
012
b0ebf
>;
};
pic
@
40000
{
linux
,
phandle
=
<
40000
>;
mpic
:
pic
@
40000
{
clock
-
frequency
=
<
0
>;
interrupt
-
controller
;
#
address
-
cells
=
<
0
>;
...
...
@@ -192,8 +181,7 @@
device_type
=
"par_io"
;
num
-
ports
=
<
7
>;
ucc_pin
@
01
{
linux
,
phandle
=
<
e010001
>;
pio1
:
ucc_pin
@
01
{
pio
-
map
=
<
/*
port
pin
dir
open_drain
assignment
has_irq
*/
4
0
a
1
0
2
0
/*
TxD0
*/
...
...
@@ -220,8 +208,7 @@
4
13
1
0
2
0
/*
GTX_CLK
*/
1
1f
2
0
3
0
>;
/*
GTX125
*/
};
ucc_pin
@
02
{
linux
,
phandle
=
<
e010002
>;
pio2
:
ucc_pin
@
02
{
pio
-
map
=
<
/*
port
pin
dir
open_drain
assignment
has_irq
*/
5
0
a
1
0
2
0
/*
TxD0
*/
...
...
@@ -277,7 +264,7 @@
compatible
=
"fsl_spi"
;
reg
=
<
4
c0
40
>;
interrupts
=
<
2
>;
interrupt
-
parent
=
<
80
>;
interrupt
-
parent
=
<
&
qeic
>;
mode
=
"cpu"
;
};
...
...
@@ -286,7 +273,7 @@
compatible
=
"fsl_spi"
;
reg
=
<
500
40
>;
interrupts
=
<
1
>;
interrupt
-
parent
=
<
80
>;
interrupt
-
parent
=
<
&
qeic
>;
mode
=
"cpu"
;
};
...
...
@@ -297,12 +284,12 @@
device
-
id
=
<
1
>;
reg
=
<
2000
200
>;
interrupts
=
<
20
>;
interrupt
-
parent
=
<
80
>;
interrupt
-
parent
=
<
&
qeic
>;
mac
-
address
=
[
00
04
9f
00
23
23
];
rx
-
clock
=
<
0
>;
tx
-
clock
=
<
19
>;
phy
-
handle
=
<
21200
0
>;
pio
-
handle
=
<
e01000
1
>;
phy
-
handle
=
<
&
qe_phy
0
>;
pio
-
handle
=
<
&
pio
1
>;
};
ucc
@
3000
{
...
...
@@ -312,12 +299,12 @@
device
-
id
=
<
2
>;
reg
=
<
3000
200
>;
interrupts
=
<
21
>;
interrupt
-
parent
=
<
80
>;
interrupt
-
parent
=
<
&
qeic
>;
mac
-
address
=
[
00
11
22
33
44
55
];
rx
-
clock
=
<
0
>;
tx
-
clock
=
<
14
>;
phy
-
handle
=
<
21200
1
>;
pio
-
handle
=
<
e01000
2
>;
phy
-
handle
=
<
&
qe_phy
1
>;
pio
-
handle
=
<
&
pio
2
>;
};
mdio
@
2120
{
...
...
@@ -329,33 +316,29 @@
/*
These
are
the
same
PHYs
as
on
*
gianfar
's MDIO bus */
ethernet-phy@00 {
linux,phandle = <212000>;
interrupt-parent = <40000>;
qe_phy0: ethernet-phy@00 {
interrupt-parent = <&mpic>;
interrupts = <31 1>;
reg = <0>;
device_type = "ethernet-phy";
interface = <6>; //ENET_1000_GMII
};
ethernet-phy@01 {
linux,phandle = <212001>;
interrupt-parent = <40000>;
qe_phy1: ethernet-phy@01 {
interrupt-parent = <&mpic>;
interrupts = <32 1>;
reg = <1>;
device_type = "ethernet-phy";
interface = <6>;
};
ethernet-phy@02 {
linux,phandle = <212002>;
interrupt-parent = <40000>;
qe_phy2: ethernet-phy@02 {
interrupt-parent = <&mpic>;
interrupts = <31 1>;
reg = <2>;
device_type = "ethernet-phy";
interface = <6>; //ENET_1000_GMII
};
ethernet-phy@03 {
linux,phandle = <212003>;
interrupt-parent = <40000>;
qe_phy3: ethernet-phy@03 {
interrupt-parent = <&mpic>;
interrupts = <32 1>;
reg = <3>;
device_type = "ethernet-phy";
...
...
@@ -363,8 +346,7 @@
};
};
qeic@80 {
linux,phandle = <80>;
qeic: qeic@80 {
interrupt-controller;
device_type = "qeic";
#address-cells = <0>;
...
...
@@ -373,7 +355,7 @@
built-in;
big-endian;
interrupts = <1e 2 1e 2>; //high:30 low:30
interrupt-parent = <
40000
>;
interrupt-parent = <
&mpic
>;
};
};
...
...
arch/powerpc/configs/mpc8568mds_defconfig
浏览文件 @
56d7b794
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.20
-rc5
#
Wed Feb 7 23:54:25
2007
# Linux kernel version: 2.6.20
#
Sat Feb 17 16:26:53
2007
#
# CONFIG_PPC64 is not set
CONFIG_PPC32=y
...
...
@@ -34,9 +34,9 @@ CONFIG_DEFAULT_UIMAGE=y
# CONFIG_PPC_83xx is not set
CONFIG_PPC_85xx=y
# CONFIG_PPC_86xx is not set
# CONFIG_PPC_8xx is not set
# CONFIG_40x is not set
# CONFIG_44x is not set
# CONFIG_8xx is not set
# CONFIG_E200 is not set
CONFIG_85xx=y
CONFIG_E500=y
...
...
@@ -63,6 +63,7 @@ CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
...
...
@@ -130,7 +131,7 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
# CONFIG_MPC8540_ADS is not set
# CONFIG_MPC8560_ADS is not set
# CONFIG_MPC85xx_CDS is not set
CONFIG_MPC85
68
_MDS=y
CONFIG_MPC85
xx
_MDS=y
CONFIG_MPC85xx=y
CONFIG_PPC_INDIRECT_PCI_BE=y
CONFIG_MPIC=y
...
...
@@ -162,6 +163,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_PROC_DEVICETREE=y
# CONFIG_CMDLINE_BOOL is not set
# CONFIG_PM is not set
...
...
@@ -171,6 +173,7 @@ CONFIG_ISA_DMA_API=y
#
# Bus options
#
CONFIG_ZONE_DMA=y
# CONFIG_MPIC_WEIRD is not set
# CONFIG_PPC_I8259 is not set
CONFIG_PPC_INDIRECT_PCI=y
...
...
@@ -216,6 +219,7 @@ CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
...
...
@@ -301,6 +305,7 @@ CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
#
...
...
@@ -341,7 +346,6 @@ CONFIG_BLK_DEV_INITRD=y
#
# Misc devices
#
# CONFIG_TIFM_CORE is not set
#
# ATA/ATAPI/MFM/RLL support
...
...
@@ -543,6 +547,7 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
...
...
@@ -698,6 +703,7 @@ CONFIG_FIRMWARE_EDID=y
# HID Devices
#
CONFIG_HID=y
# CONFIG_HID_DEBUG is not set
#
# USB support
...
...
@@ -759,6 +765,10 @@ CONFIG_HID=y
# DMA Devices
#
#
# Auxiliary Display support
#
#
# Virtualization
#
...
...
@@ -896,7 +906,8 @@ CONFIG_BITREVERSE=y
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_PLIST=y
CONFIG_IOMAP_COPY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
#
# Instrumentation Support
...
...
@@ -914,6 +925,7 @@ CONFIG_ENABLE_MUST_CHECK=y
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
...
...
@@ -922,7 +934,6 @@ CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
...
...
@@ -932,6 +943,8 @@ CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_DEBUG_LIST is not set
CONFIG_FORCED_INLINING=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
CONFIG_DEBUGGER=y
# CONFIG_XMON is not set
# CONFIG_BDI_SWITCH is not set
...
...
@@ -943,6 +956,8 @@ CONFIG_PPC_EARLY_DEBUG=y
# CONFIG_PPC_EARLY_DEBUG_RTAS_CONSOLE is not set
# CONFIG_PPC_EARLY_DEBUG_MAPLE is not set
# CONFIG_PPC_EARLY_DEBUG_ISERIES is not set
# CONFIG_PPC_EARLY_DEBUG_PAS_REALMODE is not set
# CONFIG_PPC_EARLY_DEBUG_BEAT is not set
#
# Security options
...
...
@@ -970,8 +985,10 @@ CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
...
...
@@ -985,6 +1002,7 @@ CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
#
...
...
arch/powerpc/platforms/85xx/Kconfig
浏览文件 @
56d7b794
...
...
@@ -23,12 +23,12 @@ config MPC85xx_CDS
help
This option enables support for the MPC85xx CDS board
config MPC85
68
_MDS
bool "Freescale MPC85
68
MDS"
config MPC85
xx
_MDS
bool "Freescale MPC85
xx
MDS"
select DEFAULT_UIMAGE
# select QUICC_ENGINE
help
This option enables support for the MPC85
68
MDS board
This option enables support for the MPC85
xx
MDS board
endchoice
...
...
@@ -47,7 +47,7 @@ config MPC85xx
bool
select PPC_UDBG_16550
select PPC_INDIRECT_PCI
default y if MPC8540_ADS || MPC85xx_CDS || MPC8560_ADS || MPC85
68
_MDS
default y if MPC8540_ADS || MPC85xx_CDS || MPC8560_ADS || MPC85
xx
_MDS
config PPC_INDIRECT_PCI_BE
bool
...
...
arch/powerpc/platforms/85xx/Makefile
浏览文件 @
56d7b794
...
...
@@ -5,4 +5,4 @@ obj-$(CONFIG_PPC_85xx) += misc.o pci.o
obj-$(CONFIG_MPC8540_ADS)
+=
mpc85xx_ads.o
obj-$(CONFIG_MPC8560_ADS)
+=
mpc85xx_ads.o
obj-$(CONFIG_MPC85xx_CDS)
+=
mpc85xx_cds.o
obj-$(CONFIG_MPC85
68_MDS)
+=
mpc8568
_mds.o
obj-$(CONFIG_MPC85
xx_MDS)
+=
mpc85xx
_mds.o
arch/powerpc/platforms/85xx/mpc85xx_ads.c
浏览文件 @
56d7b794
...
...
@@ -272,10 +272,9 @@ static void mpc85xx_ads_show_cpuinfo(struct seq_file *m)
*/
static
int
__init
mpc85xx_ads_probe
(
void
)
{
/* We always match for now, eventually we should look at the flat
dev tree to ensure this is the board we are suppose to run on
*/
return
1
;
unsigned
long
root
=
of_get_flat_dt_root
();
return
of_flat_dt_is_compatible
(
root
,
"MPC85xxADS"
);
}
define_machine
(
mpc85xx_ads
)
{
...
...
arch/powerpc/platforms/85xx/mpc85xx_cds.c
浏览文件 @
56d7b794
...
...
@@ -291,11 +291,9 @@ static void mpc85xx_cds_show_cpuinfo(struct seq_file *m)
*/
static
int
__init
mpc85xx_cds_probe
(
void
)
{
/* We always match for now, eventually we should look at
* the flat dev tree to ensure this is the board we are
* supposed to run on
*/
return
1
;
unsigned
long
root
=
of_get_flat_dt_root
();
return
of_flat_dt_is_compatible
(
root
,
"MPC85xxCDS"
);
}
define_machine
(
mpc85xx_cds
)
{
...
...
arch/powerpc/platforms/85xx/mpc85
68
_mds.c
→
arch/powerpc/platforms/85xx/mpc85
xx
_mds.c
浏览文件 @
56d7b794
...
...
@@ -8,7 +8,7 @@
* Yin Olivia <Hong-hua.Yin@freescale.com>
*
* Description:
* MPC85
68E MDS PB
board specific routines.
* MPC85
xx MDS
board specific routines.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
...
...
@@ -69,14 +69,13 @@ unsigned long isa_mem_base = 0;
* Setup the architecture
*
*/
static
void
__init
mpc85
68
_mds_setup_arch
(
void
)
static
void
__init
mpc85
xx
_mds_setup_arch
(
void
)
{
struct
device_node
*
np
;
static
u8
*
bcsr_regs
=
NULL
;
if
(
ppc_md
.
progress
)
ppc_md
.
progress
(
"mpc85
68
_mds_setup_arch()"
,
0
);
ppc_md
.
progress
(
"mpc85
xx
_mds_setup_arch()"
,
0
);
np
=
of_find_node_by_type
(
NULL
,
"cpu"
);
if
(
np
!=
NULL
)
{
...
...
@@ -144,26 +143,26 @@ static void __init mpc8568_mds_setup_arch(void)
#endif
/* CONFIG_QUICC_ENGINE */
}
static
struct
of_device_id
mpc85
68
_ids
[]
=
{
static
struct
of_device_id
mpc85
xx
_ids
[]
=
{
{
.
type
=
"soc"
,
},
{
.
compatible
=
"soc"
,
},
{
.
type
=
"qe"
,
},
{},
};
static
int
__init
mpc85
68
_publish_devices
(
void
)
static
int
__init
mpc85
xx
_publish_devices
(
void
)
{
if
(
!
machine_is
(
mpc85
68
_mds
))
if
(
!
machine_is
(
mpc85
xx
_mds
))
return
0
;
/* Publish the QE devices */
of_platform_bus_probe
(
NULL
,
mpc85
68
_ids
,
NULL
);
of_platform_bus_probe
(
NULL
,
mpc85
xx
_ids
,
NULL
);
return
0
;
}
device_initcall
(
mpc85
68
_publish_devices
);
device_initcall
(
mpc85
xx
_publish_devices
);
static
void
__init
mpc85
68
_mds_pic_init
(
void
)
static
void
__init
mpc85
xx
_mds_pic_init
(
void
)
{
struct
mpic
*
mpic
;
struct
resource
r
;
...
...
@@ -206,7 +205,6 @@ static void __init mpc8568_mds_pic_init(void)
mpic_init
(
mpic
);
#ifdef CONFIG_QUICC_ENGINE
np
=
of_find_node_by_type
(
NULL
,
"qeic"
);
if
(
!
np
)
...
...
@@ -217,27 +215,18 @@ static void __init mpc8568_mds_pic_init(void)
#endif
/* CONFIG_QUICC_ENGINE */
}
static
int
__init
mpc8568_mds_probe
(
void
)
static
int
__init
mpc85xx_mds_probe
(
void
)
{
char
*
model
=
of_get_flat_dt_prop
(
of_get_flat_dt_root
(),
"model"
,
NULL
);
if
(
model
==
NULL
)
return
0
;
if
(
strcmp
(
model
,
"MPC8568EMDS"
))
return
0
;
DBG
(
"MPC8568EMDS found
\n
"
);
unsigned
long
root
=
of_get_flat_dt_root
();
return
1
;
return
of_flat_dt_is_compatible
(
root
,
"MPC85xxMDS"
)
;
}
define_machine
(
mpc8568_mds
)
{
.
name
=
"MPC8568E MDS"
,
.
probe
=
mpc8568_mds_probe
,
.
setup_arch
=
mpc8568_mds_setup_arch
,
.
init_IRQ
=
mpc8568_mds_pic_init
,
define_machine
(
mpc85xx_mds
)
{
.
name
=
"MPC85xx MDS"
,
.
probe
=
mpc85xx_mds_probe
,
.
setup_arch
=
mpc85xx_mds_setup_arch
,
.
init_IRQ
=
mpc85xx_mds_pic_init
,
.
get_irq
=
mpic_get_irq
,
.
restart
=
mpc85xx_restart
,
.
calibrate_decr
=
generic_calibrate_decr
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录