Skip to content

Commit ea99102

Browse files
Yisen.Zhuang\(Zhuangyuzeng\)davem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a1ecde2 commit ea99102

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ soc0: soc@000000000 {
2424
};
2525

2626
dsaf0: dsa@c7000000 {
27+
#address-cells = <1>;
28+
#size-cells = <0>;
2729
compatible = "hisilicon,hns-dsaf-v1";
2830
mode = "6port-16rss";
2931
interrupt-parent = <&mbigen_dsa>;
@@ -124,20 +126,20 @@ soc0: soc@000000000 {
124126
dma-coherent;
125127

126128
port@0 {
127-
port-id = <0>;
129+
reg = <0>;
128130
serdes-syscon = <&serdes_ctrl0>;
129131
};
130132
port@1 {
131-
port-id = <1>;
133+
reg = <1>;
132134
serdes-syscon = <&serdes_ctrl0>;
133135
};
134136
port@4 {
135-
port-id = <4>;
137+
reg = <4>;
136138
phy-handle = <&soc0_phy0>;
137139
serdes-syscon = <&serdes_ctrl1>;
138140
};
139141
port@5 {
140-
port-id = <5>;
142+
reg = <5>;
141143
phy-handle = <&soc0_phy1>;
142144
serdes-syscon = <&serdes_ctrl1>;
143145
};

0 commit comments

Comments
 (0)