]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: octeon: mrvl, cn73xx.dtsi: Add ethernet (BGX) and SMI DT nodes
authorStefan Roese <sr@denx.de>
Thu, 7 Apr 2022 07:11:49 +0000 (09:11 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 01:38:21 +0000 (03:38 +0200)
Add the Octeon ethernet (BGX) and SMI DT node to the dtsi file.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/dts/mrvl,cn73xx.dtsi

index 2a17f7a6a63ea7f08205caa17bae78b6107517ff..77f3548a326aadb652dec210eeb731ebbb35d1fc 100644 (file)
                                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";
+               };
        };
 };