From 6a9e2947495dc2832f78954c6bcf99236bb7e0c3 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 7 Apr 2022 09:11:49 +0200 Subject: [PATCH] mips: octeon: mrvl, cn73xx.dtsi: Add ethernet (BGX) and SMI DT nodes Add the Octeon ethernet (BGX) and SMI DT node to the dtsi file. Signed-off-by: Stefan Roese --- arch/mips/dts/mrvl,cn73xx.dtsi | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/mips/dts/mrvl,cn73xx.dtsi b/arch/mips/dts/mrvl,cn73xx.dtsi index 2a17f7a6a6..77f3548a32 100644 --- a/arch/mips/dts/mrvl,cn73xx.dtsi +++ b/arch/mips/dts/mrvl,cn73xx.dtsi @@ -267,5 +267,40 @@ interrupts = <0x6c010 4>; }; }; + + /* SMI1 */ + smi1: mdio@1180000003880 { + compatible = "cavium,octeon-3860-mdio"; + reg = <0x11800 0x00003880 0x0 0x40>; + #address-cells = <1>; + #size-cells = <0>; + }; + + /* BGX 0 */ + bgx0: ethernet-mac-nexus@11800e0000000 { + compatible = "cavium,octeon-7890-bgx"; + reg = <0x11800 0xe0000000 0x0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + /* BGX 1 */ + bgx1: ethernet-mac-nexus@11800e1000000 { + compatible = "cavium,octeon-7890-bgx"; + reg = <0x11800 0xe1000000 0x0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + /* BGX 2*/ + bgx2: ethernet-mac-nexus@11800e2000000 { + compatible = "cavium,octeon-7890-bgx"; + reg = <0x11800 0xe2000000 0x0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; }; -- 2.39.5