Commit 218afd68 authored by Yisen.Zhuang\(Zhuangyuzeng\)'s avatar Yisen.Zhuang\(Zhuangyuzeng\) Committed by David S. Miller

dts: hisi: update hns dst for separating dsaf dev support

Because debug dsaf port was separated from service dsaf port, this patch
updates the related configurations of hns dts, changes it to match with
the new binding files. This also removes enet nodes which don't exist in
d02 board.
Signed-off-by: default avatarYisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c132cdcc
...@@ -28,13 +28,13 @@ dsaf0: dsa@c7000000 { ...@@ -28,13 +28,13 @@ dsaf0: dsa@c7000000 {
mode = "6port-16rss"; mode = "6port-16rss";
interrupt-parent = <&mbigen_dsa>; interrupt-parent = <&mbigen_dsa>;
reg = <0x0 0xC0000000 0x0 0x420000 reg = <0x0 0xc5000000 0x0 0x890000
0x0 0xC2000000 0x0 0x300000
0x0 0xc5000000 0x0 0x890000
0x0 0xc7000000 0x0 0x60000 0x0 0xc7000000 0x0 0x60000
>; >;
phy-handle = <0 0 0 0 &soc0_phy0 &soc0_phy1 0 0>; reg-names = "ppe-base","dsaf-base";
subctrl-syscon = <&dsaf_subctrl>;
reset-field-offset = <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
...@@ -122,68 +122,56 @@ dsaf0: dsa@c7000000 { ...@@ -122,68 +122,56 @@ dsaf0: dsa@c7000000 {
buf-size = <4096>; buf-size = <4096>;
desc-num = <1024>; desc-num = <1024>;
dma-coherent; dma-coherent;
};
eth0: ethernet@0{ port@0 {
compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>;
port-id = <0>; port-id = <0>;
local-mac-address = [00 00 00 01 00 58]; serdes-syscon = <&serdes_ctrl0>;
status = "disabled";
dma-coherent;
}; };
eth1: ethernet@1{ port@1 {
compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>;
port-id = <1>; port-id = <1>;
status = "disabled"; serdes-syscon = <&serdes_ctrl0>;
dma-coherent;
}; };
eth2: ethernet@2{ port@4 {
compatible = "hisilicon,hns-nic-v1"; port-id = <4>;
ae-handle = <&dsaf0>; phy-handle = <&soc0_phy0>;
port-id = <2>; serdes-syscon = <&serdes_ctrl1>;
local-mac-address = [00 00 00 01 00 5a]; };
status = "disabled"; port@5 {
dma-coherent; port-id = <5>;
phy-handle = <&soc0_phy1>;
serdes-syscon = <&serdes_ctrl1>;
}; };
eth3: ethernet@3{
compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>;
port-id = <3>;
local-mac-address = [00 00 00 01 00 5b];
status = "disabled";
dma-coherent;
}; };
eth4: ethernet@4{
eth0: ethernet@0{
compatible = "hisilicon,hns-nic-v1"; compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>; ae-handle = <&dsaf0>;
port-id = <4>; port-idx-in-ae = <0>;
local-mac-address = [00 00 00 01 00 5c]; local-mac-address = [00 00 00 01 00 58];
status = "disabled"; status = "disabled";
dma-coherent; dma-coherent;
}; };
eth5: ethernet@5{ eth1: ethernet@1{
compatible = "hisilicon,hns-nic-v1"; compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>; ae-handle = <&dsaf0>;
port-id = <5>; port-idx-in-ae = <1>;
local-mac-address = [00 00 00 01 00 5d]; local-mac-address = [00 00 00 01 00 59];
status = "disabled"; status = "disabled";
dma-coherent; dma-coherent;
}; };
eth6: ethernet@6{ eth2: ethernet@4{
compatible = "hisilicon,hns-nic-v1"; compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>; ae-handle = <&dsaf0>;
port-id = <6>; port-idx-in-ae = <4>;
local-mac-address = [00 00 00 01 00 5e]; local-mac-address = [00 00 00 01 00 5a];
status = "disabled"; status = "disabled";
dma-coherent; dma-coherent;
}; };
eth7: ethernet@7{ eth3: ethernet@5{
compatible = "hisilicon,hns-nic-v1"; compatible = "hisilicon,hns-nic-v1";
ae-handle = <&dsaf0>; ae-handle = <&dsaf0>;
port-id = <7>; port-idx-in-ae = <5>;
local-mac-address = [00 00 00 01 00 5f]; local-mac-address = [00 00 00 01 00 5b];
status = "disabled"; status = "disabled";
dma-coherent; dma-coherent;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment