]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc: dts: t1040: add bindings for Seville Ethernet switch
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 2 Oct 2020 13:41:05 +0000 (16:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Oct 2020 00:02:42 +0000 (17:02 -0700)
Add the description of the embedded L2 switch inside the SoC dtsi file
for NXP T1040.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi

index 315d0557eefcc062fa99cd9f575bad009daf4537..f58eb820eb5ec748eee5bf482ec5a9c6661a72c4 100644 (file)
                        status = "disabled";
                };
        };
+
+       seville_switch: ethernet-switch@800000 {
+               compatible = "mscc,vsc9953-switch";
+               reg = <0x800000 0x290000>;
+               interrupts = <26 2 0 0>;
+               interrupt-names = "xtr";
+               little-endian;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       seville_port0: port@0 {
+                               reg = <0>;
+                               status = "disabled";
+                       };
+
+                       seville_port1: port@1 {
+                               reg = <1>;
+                               status = "disabled";
+                       };
+
+                       seville_port2: port@2 {
+                               reg = <2>;
+                               status = "disabled";
+                       };
+
+                       seville_port3: port@3 {
+                               reg = <3>;
+                               status = "disabled";
+                       };
+
+                       seville_port4: port@4 {
+                               reg = <4>;
+                               status = "disabled";
+                       };
+
+                       seville_port5: port@5 {
+                               reg = <5>;
+                               status = "disabled";
+                       };
+
+                       seville_port6: port@6 {
+                               reg = <6>;
+                               status = "disabled";
+                       };
+
+                       seville_port7: port@7 {
+                               reg = <7>;
+                               status = "disabled";
+                       };
+
+                       seville_port8: port@8 {
+                               reg = <8>;
+                               phy-mode = "internal";
+                               status = "disabled";
+
+                               fixed-link {
+                                       speed = <2500>;
+                                       full-duplex;
+                               };
+                       };
+
+                       seville_port9: port@9 {
+                               reg = <9>;
+                               phy-mode = "internal";
+                               status = "disabled";
+
+                               fixed-link {
+                                       speed = <2500>;
+                                       full-duplex;
+                               };
+                       };
+               };
+       };
 };
 
 &qe {