net: hisilicon: updates HNS config and documents
updates the bindings documents and dtsi file according to the review comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring <robh@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: yankejian <yankejian@huawei.com> Signed-off-by: huangdaode <huangdaode@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
edc9b4272e
commit
6d08f61787
2 changed files with 4 additions and 6 deletions
|
@ -12,7 +12,7 @@ Example:
|
||||||
mdio@803c0000 {
|
mdio@803c0000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
compatible = "hisilicon,mdio","hisilicon,hns-mdio";
|
compatible = "hisilicon,hns-mdio","hisilicon,mdio";
|
||||||
reg = <0x0 0x803c0000 0x0 0x10000>;
|
reg = <0x0 0x803c0000 0x0 0x10000>;
|
||||||
|
|
||||||
ethernet-phy@0 {
|
ethernet-phy@0 {
|
||||||
|
|
|
@ -13,14 +13,12 @@ soc0: soc@000000000 {
|
||||||
reg = <0x0 0x803c0000 0x0 0x10000
|
reg = <0x0 0x803c0000 0x0 0x10000
|
||||||
0x0 0x80000000 0x0 0x10000>;
|
0x0 0x80000000 0x0 0x10000>;
|
||||||
|
|
||||||
soc0_phy4: ethernet-phy@4 {
|
soc0_phy0: ethernet-phy@0 {
|
||||||
reg = <0x0>;
|
reg = <0x0>;
|
||||||
device_type = "ethernet-phy";
|
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
};
|
};
|
||||||
soc0_phy5: ethernet-phy@5 {
|
soc0_phy1: ethernet-phy@1 {
|
||||||
reg = <0x1>;
|
reg = <0x1>;
|
||||||
device_type = "ethernet-phy";
|
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -37,7 +35,7 @@ soc0: soc@000000000 {
|
||||||
0x0 0xc7000000 0x0 0x60000
|
0x0 0xc7000000 0x0 0x60000
|
||||||
>;
|
>;
|
||||||
|
|
||||||
phy-handle = <0 0 0 0 &soc0_phy4 &soc0_phy5 0 0>;
|
phy-handle = <0 0 0 0 &soc0_phy0 &soc0_phy1 0 0>;
|
||||||
interrupts = <
|
interrupts = <
|
||||||
/* [14] ge fifo err 8 / xge 6**/
|
/* [14] ge fifo err 8 / xge 6**/
|
||||||
149 0x4 150 0x4 151 0x4 152 0x4
|
149 0x4 150 0x4 151 0x4 152 0x4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue