powerpc/microwatt: Add Ethernet to device tree
authorJoel Stanley <joel@jms.id.au>
Thu, 26 Aug 2021 12:26:51 +0000 (21:56 +0930)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Aug 2021 14:56:53 +0000 (00:56 +1000)
The liteeth network device is used in the Microwatt soc.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210826122653.3236867-2-joel@jms.id.au
arch/powerpc/boot/dts/microwatt.dts

index 974abbd..65b270a 100644 (file)
                        fifo-size = <16>;
                        interrupts = <0x10 0x1>;
                };
+
+               ethernet@8020000 {
+                       compatible = "litex,liteeth";
+                       reg = <0x8021000 0x100
+                               0x8020800 0x100
+                               0x8030000 0x2000>;
+                       reg-names = "mac", "mido", "buffer";
+                       litex,rx-slots = <2>;
+                       litex,tx-slots = <2>;
+                       litex,slot-size = <0x800>;
+                       interrupts = <0x11 0x1>;
+               };
        };
 
        chosen {