0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * LiteX-based System on Chip
0004 *
0005 * Copyright (C) 2019 Antmicro <www.antmicro.com>
0006 */
0007
0008 /dts-v1/;
0009 / {
0010 compatible = "opencores,or1ksim";
0011 #address-cells = <1>;
0012 #size-cells = <1>;
0013 interrupt-parent = <&pic>;
0014
0015 aliases {
0016 serial0 = &serial0;
0017 };
0018
0019 chosen {
0020 bootargs = "console=liteuart";
0021 };
0022
0023 memory@0 {
0024 device_type = "memory";
0025 reg = <0x00000000 0x10000000>;
0026 };
0027
0028 cpus {
0029 #address-cells = <1>;
0030 #size-cells = <0>;
0031 cpu@0 {
0032 compatible = "opencores,or1200-rtlsvn481";
0033 reg = <0>;
0034 clock-frequency = <100000000>;
0035 };
0036 };
0037
0038 pic: pic {
0039 compatible = "opencores,or1k-pic";
0040 #interrupt-cells = <1>;
0041 interrupt-controller;
0042 };
0043
0044 serial0: serial@e0006800 {
0045 device_type = "serial";
0046 compatible = "litex,liteuart";
0047 reg = <0xe0006800 0x100>;
0048 };
0049
0050 soc_ctrl0: soc_controller@e0000000 {
0051 compatible = "litex,soc-controller";
0052 reg = <0xe0000000 0xc>;
0053 status = "okay";
0054 };
0055
0056 ethernet@e0001000 {
0057 compatible = "litex,liteeth";
0058 reg = <0xe0001000 0x7c>,
0059 <0xe0001800 0x0a>,
0060 <0x80000000 0x2000>;
0061 reg-names = "mac", "mdio", "buffer";
0062 interrupts = <2>;
0063 };
0064 };