mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
dts: hisi: update hns dst for changing property port-id to reg
Indexes should generally be avoided. This patch changes property port-id to reg in dsaf port node. Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a1ecde2c6f
commit
ea991027ef
1 changed files with 6 additions and 4 deletions
|
@ -24,6 +24,8 @@ soc0: soc@000000000 {
|
||||||
};
|
};
|
||||||
|
|
||||||
dsaf0: dsa@c7000000 {
|
dsaf0: dsa@c7000000 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
compatible = "hisilicon,hns-dsaf-v1";
|
compatible = "hisilicon,hns-dsaf-v1";
|
||||||
mode = "6port-16rss";
|
mode = "6port-16rss";
|
||||||
interrupt-parent = <&mbigen_dsa>;
|
interrupt-parent = <&mbigen_dsa>;
|
||||||
|
@ -124,20 +126,20 @@ soc0: soc@000000000 {
|
||||||
dma-coherent;
|
dma-coherent;
|
||||||
|
|
||||||
port@0 {
|
port@0 {
|
||||||
port-id = <0>;
|
reg = <0>;
|
||||||
serdes-syscon = <&serdes_ctrl0>;
|
serdes-syscon = <&serdes_ctrl0>;
|
||||||
};
|
};
|
||||||
port@1 {
|
port@1 {
|
||||||
port-id = <1>;
|
reg = <1>;
|
||||||
serdes-syscon = <&serdes_ctrl0>;
|
serdes-syscon = <&serdes_ctrl0>;
|
||||||
};
|
};
|
||||||
port@4 {
|
port@4 {
|
||||||
port-id = <4>;
|
reg = <4>;
|
||||||
phy-handle = <&soc0_phy0>;
|
phy-handle = <&soc0_phy0>;
|
||||||
serdes-syscon = <&serdes_ctrl1>;
|
serdes-syscon = <&serdes_ctrl1>;
|
||||||
};
|
};
|
||||||
port@5 {
|
port@5 {
|
||||||
port-id = <5>;
|
reg = <5>;
|
||||||
phy-handle = <&soc0_phy1>;
|
phy-handle = <&soc0_phy1>;
|
||||||
serdes-syscon = <&serdes_ctrl1>;
|
serdes-syscon = <&serdes_ctrl1>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue