summaryrefslogtreecommitdiff
path: root/src/mainboard/lowrisc/nexys4ddr/devicetree.cb
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2016-10-25 19:11:07 -0700
committerRonald G. Minnich <rminnich@gmail.com>2016-10-28 21:09:06 +0200
commit66bea528cfde9dea3d84ca571b7cca94964850c4 (patch)
tree85ec37cf2e6b423fbdf1511c84dad389aa96ea08 /src/mainboard/lowrisc/nexys4ddr/devicetree.cb
parentaa75cdc1b2e887f0dbc47b4e1cdbcad6a4972f8b (diff)
riscv: add the lowrisc/nexys4ddr mainboard
This was tested at the coreboot meeting in Berlin. The uart programming may still not be right but when used with the lowrisc bitstream for the board we were able to load and start linux, although it does not yet get far due to PTE version issues with lowrisc. Change-Id: Ia1de1a92762631c9d7bb3d41b04f95296144caa3 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/17132 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lowrisc/nexys4ddr/devicetree.cb')
-rw-r--r--src/mainboard/lowrisc/nexys4ddr/devicetree.cb20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/lowrisc/nexys4ddr/devicetree.cb b/src/mainboard/lowrisc/nexys4ddr/devicetree.cb
new file mode 100644
index 0000000000..e857276d5f
--- /dev/null
+++ b/src/mainboard/lowrisc/nexys4ddr/devicetree.cb
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2016 Google, Inc.
+##
+## This software is licensed under the terms of the GNU General Public
+## License version 2, as published by the Free Software Foundation, and
+## may be copied, distributed, and modified under those terms.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+
+chip soc/ucb/riscv
+ device cpu_cluster 0 on end
+ chip drivers/generic/generic # I2C0 controller
+ device i2c 6 on end # Fake component for testing
+ end
+end