mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 05:07:46 -04:00
arm64: dts: hip06: Fix no reg property warning
Warning (unit_address_vs_reg): Node /soc/ethernet@4 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@5 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /soc/ethernet@1 has a unit name, but no reg property Fix warning when build with W=1. Cc: Kejian Yan <yankejian@huawei.com> Cc: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
@@ -508,7 +508,7 @@ port@5 {
|
||||
};
|
||||
};
|
||||
|
||||
eth0: ethernet@4{
|
||||
eth0: ethernet-4{
|
||||
compatible = "hisilicon,hns-nic-v2";
|
||||
ae-handle = <&dsaf0>;
|
||||
port-idx-in-ae = <4>;
|
||||
@@ -517,7 +517,7 @@ eth0: ethernet@4{
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
eth1: ethernet@5{
|
||||
eth1: ethernet-5{
|
||||
compatible = "hisilicon,hns-nic-v2";
|
||||
ae-handle = <&dsaf0>;
|
||||
port-idx-in-ae = <5>;
|
||||
@@ -526,7 +526,7 @@ eth1: ethernet@5{
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
eth2: ethernet@0{
|
||||
eth2: ethernet-0{
|
||||
compatible = "hisilicon,hns-nic-v2";
|
||||
ae-handle = <&dsaf0>;
|
||||
port-idx-in-ae = <0>;
|
||||
@@ -535,7 +535,7 @@ eth2: ethernet@0{
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
eth3: ethernet@1{
|
||||
eth3: ethernet-1{
|
||||
compatible = "hisilicon,hns-nic-v2";
|
||||
ae-handle = <&dsaf0>;
|
||||
port-idx-in-ae = <1>;
|
||||
|
||||
Reference in New Issue
Block a user