summaryrefslogtreecommitdiff
path: root/arch/openrisc/boot/dts/or1klitex.dts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 11:03:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 11:03:00 -0700
commit603eefda5fcf8f9dab3ae253e677abb285f6f3bc (patch)
tree70e7f7e6338c3117b58f30a2a19b81bb6a5216de /arch/openrisc/boot/dts/or1klitex.dts
parent50ddcdb2635c82e195a2557341d759c5b9419bf1 (diff)
parent1955d843efc3b5cf3ab4878986a87ad4972ff4e1 (diff)
Merge tag 'for-linus' of git://github.com/openrisc/linux
Pull OpenRISC updates from Stafford Horne: "A few cleanups and compiler warning fixes for OpenRISC. Also, this includes dts and defconfig updates to enable Ethernet on OpenRISC/Litex FPGA SoC's now that the LiteEth driver has gone upstream" * tag 'for-linus' of git://github.com/openrisc/linux: openrisc/litex: Update defconfig openrisc/litex: Add ethernet device openrisc/litex: Update uart address openrisc: Fix compiler warnings in setup openrisc: rename or32 code & comments to or1k openrisc: don't printk() unconditionally
Diffstat (limited to 'arch/openrisc/boot/dts/or1klitex.dts')
-rw-r--r--arch/openrisc/boot/dts/or1klitex.dts13
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/openrisc/boot/dts/or1klitex.dts b/arch/openrisc/boot/dts/or1klitex.dts
index 3f9867aa3844..91c7173c50e6 100644
--- a/arch/openrisc/boot/dts/or1klitex.dts
+++ b/arch/openrisc/boot/dts/or1klitex.dts
@@ -41,10 +41,10 @@
interrupt-controller;
};
- serial0: serial@e0002000 {
+ serial0: serial@e0006800 {
device_type = "serial";
compatible = "litex,liteuart";
- reg = <0xe0002000 0x100>;
+ reg = <0xe0006800 0x100>;
};
soc_ctrl0: soc_controller@e0000000 {
@@ -52,4 +52,13 @@
reg = <0xe0000000 0xc>;
status = "okay";
};
+
+ ethernet@e0001000 {
+ compatible = "litex,liteeth";
+ reg = <0xe0001000 0x7c>,
+ <0xe0001800 0x0a>,
+ <0x80000000 0x2000>;
+ reg-names = "mac", "mdio", "buffer";
+ interrupts = <2>;
+ };
};