Skip to content

Commit 6d08f61

Browse files
yankejiandavem330
authored andcommitted
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>
1 parent edc9b42 commit 6d08f61

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Example:
1212
mdio@803c0000 {
1313
#address-cells = <1>;
1414
#size-cells = <0>;
15-
compatible = "hisilicon,mdio","hisilicon,hns-mdio";
15+
compatible = "hisilicon,hns-mdio","hisilicon,mdio";
1616
reg = <0x0 0x803c0000 0x0 0x10000>;
1717

1818
ethernet-phy@0 {

arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ soc0: soc@000000000 {
1313
reg = <0x0 0x803c0000 0x0 0x10000
1414
0x0 0x80000000 0x0 0x10000>;
1515

16-
soc0_phy4: ethernet-phy@4 {
16+
soc0_phy0: ethernet-phy@0 {
1717
reg = <0x0>;
18-
device_type = "ethernet-phy";
1918
compatible = "ethernet-phy-ieee802.3-c22";
2019
};
21-
soc0_phy5: ethernet-phy@5 {
20+
soc0_phy1: ethernet-phy@1 {
2221
reg = <0x1>;
23-
device_type = "ethernet-phy";
2422
compatible = "ethernet-phy-ieee802.3-c22";
2523
};
2624
};
@@ -37,7 +35,7 @@ soc0: soc@000000000 {
3735
0x0 0xc7000000 0x0 0x60000
3836
>;
3937

40-
phy-handle = <0 0 0 0 &soc0_phy4 &soc0_phy5 0 0>;
38+
phy-handle = <0 0 0 0 &soc0_phy0 &soc0_phy1 0 0>;
4139
interrupts = <
4240
/* [14] ge fifo err 8 / xge 6**/
4341
149 0x4 150 0x4 151 0x4 152 0x4

0 commit comments

Comments
 (0)