aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2021-08-26 21:56:51 +0930
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-27 00:56:53 +1000
commit602d0f96563c2e0b8e1ddb22ac46bf7f58480d64 (patch)
tree95e533d18785d360b895d616fe6890cdb477da99 /arch/powerpc/boot
parentpowerpc: Redefine HMT_xxx macros as empty on PPC32 (diff)
downloadlinux-dev-602d0f96563c2e0b8e1ddb22ac46bf7f58480d64.tar.xz
linux-dev-602d0f96563c2e0b8e1ddb22ac46bf7f58480d64.zip
powerpc/microwatt: Add Ethernet to device tree
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
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/microwatt.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/microwatt.dts b/arch/powerpc/boot/dts/microwatt.dts
index 974abbdda249..65b270a90f94 100644
--- a/arch/powerpc/boot/dts/microwatt.dts
+++ b/arch/powerpc/boot/dts/microwatt.dts
@@ -127,6 +127,18 @@
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 {