提交 7d4b95ae 编写于 作者: B Becky Bruce 提交者: Paul Mackerras

[PATCH] documentation/powerpc: add bus-frequency property to SOC node

Updated SOC node definition in documentation to include bus-frequency
property. Also extended mdio example to match specification.
Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
Signed-off-by: NKumar Gala <galak@gate.crashing.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 f9b4045d
...@@ -880,6 +880,10 @@ address which can extend beyond that limit. ...@@ -880,6 +880,10 @@ address which can extend beyond that limit.
- device_type : Should be "soc" - device_type : Should be "soc"
- ranges : Should be defined as specified in 1) to describe the - ranges : Should be defined as specified in 1) to describe the
translation of SOC addresses for memory mapped SOC registers. translation of SOC addresses for memory mapped SOC registers.
- bus-frequency: Contains the bus frequency for the SOC node.
Typically, the value of this field is filled in by the boot
loader.
Recommended properties: Recommended properties:
...@@ -919,6 +923,7 @@ SOC. ...@@ -919,6 +923,7 @@ SOC.
device_type = "soc"; device_type = "soc";
ranges = <00000000 e0000000 00100000> ranges = <00000000 e0000000 00100000>
reg = <e0000000 00003000>; reg = <e0000000 00003000>;
bus-frequency = <0>;
} }
...@@ -1170,6 +1175,8 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1170,6 +1175,8 @@ platforms are moved over to use the flattened-device-tree model.
mdio@24520 { mdio@24520 {
reg = <24520 20>; reg = <24520 20>;
device_type = "mdio";
compatible = "gianfar";
ethernet-phy@0 { ethernet-phy@0 {
...... ......
...@@ -1317,6 +1324,7 @@ not necessary as they are usually the same as the root node. ...@@ -1317,6 +1324,7 @@ not necessary as they are usually the same as the root node.
device_type = "soc"; device_type = "soc";
ranges = <00000000 e0000000 00100000> ranges = <00000000 e0000000 00100000>
reg = <e0000000 00003000>; reg = <e0000000 00003000>;
bus-frequency = <0>;
mdio@24520 { mdio@24520 {
reg = <24520 20>; reg = <24520 20>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册