提交 844e4498 编写于 作者: M Marcin Wojtas 提交者: David S. Miller

ARM: dts: armada-375: Update network description to match schema

Update the PP2 ethernet ports subnodes' names to match
schema enforced by the marvell,pp2.yaml contents.

Add new required properties ('reg') which contains information
about the port ID, keeping 'port-id' ones for backward
compatibility.
Signed-off-by: NMarcin Wojtas <mw@semihalf.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2994bf77
...@@ -178,6 +178,8 @@ ...@@ -178,6 +178,8 @@
/* Network controller */ /* Network controller */
ethernet: ethernet@f0000 { ethernet: ethernet@f0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "marvell,armada-375-pp2"; compatible = "marvell,armada-375-pp2";
reg = <0xf0000 0xa000>, /* Packet Processor regs */ reg = <0xf0000 0xa000>, /* Packet Processor regs */
<0xc0000 0x3060>, /* LMS regs */ <0xc0000 0x3060>, /* LMS regs */
...@@ -187,15 +189,17 @@ ...@@ -187,15 +189,17 @@
clock-names = "pp_clk", "gop_clk"; clock-names = "pp_clk", "gop_clk";
status = "disabled"; status = "disabled";
eth0: eth0 { eth0: ethernet-port@0 {
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
port-id = <0>; reg = <0>;
port-id = <0>; /* For backward compatibility. */
status = "disabled"; status = "disabled";
}; };
eth1: eth1 { eth1: ethernet-port@1 {
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
port-id = <1>; reg = <1>;
port-id = <1>; /* For backward compatibility. */
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册