diff options
author | Joel Stanley <joel@jms.id.au> | 2021-08-26 21:56:51 +0930 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-27 00:56:53 +1000 |
commit | 602d0f96563c2e0b8e1ddb22ac46bf7f58480d64 (patch) | |
tree | 95e533d18785d360b895d616fe6890cdb477da99 /arch/powerpc/boot/dts/microwatt.dts | |
parent | 8149238ffd210875f5a77e3c654bb59b58da35e3 (diff) | |
download | linux-stable-602d0f96563c2e0b8e1ddb22ac46bf7f58480d64.tar.gz linux-stable-602d0f96563c2e0b8e1ddb22ac46bf7f58480d64.tar.bz2 linux-stable-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/dts/microwatt.dts')
-rw-r--r-- | arch/powerpc/boot/dts/microwatt.dts | 12 |
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 { |