1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /* Copyright (c) 2021 Tianrui Wei <tianrui-wei@outlook.com> */
5 * This dts is for a dual core instance of OpenPiton+Ariane built
6 * to run on a Digilent Genesys 2 FPGA at 66.67MHz. These files
7 * are automatically generated by the OpenPiton build system and
8 * this configuration may not be what you need if your configuration
9 * is different from the below.
17 compatible = "openpiton,riscv64";
20 stdout-path = "uart0:115200";
31 timebase-frequency = <520835>;
38 compatible = "openhwgroup,cva6", "riscv";
39 riscv,isa = "rv64imafdc";
40 mmu-type = "riscv,sv39";
42 // HLIC - hart local interrupt controller
43 CPU0_intc: interrupt-controller {
44 #interrupt-cells = <1>;
46 compatible = "riscv,cpu-intc";
54 compatible = "openhwgroup,cva6", "riscv";
55 riscv,isa = "rv64imafdc";
56 mmu-type = "riscv,sv39";
58 // HLIC - hart local interrupt controller
59 CPU1_intc: interrupt-controller {
60 #interrupt-cells = <1>;
62 compatible = "riscv,cpu-intc";
70 compatible = "fixed-clock";
72 clock-frequency = <66667000>;
78 device_type = "memory";
79 reg = < 0x00000000 0x80000000 0x00000000 0x40000000 >;
85 compatible = "openpiton,chipset", "simple-bus";
88 uart0: uart@fff0c2c000 {
89 compatible = "ns16550", "openpiton,ns16550";
90 reg = < 0x000000ff 0xf0c2c000 0x00000000 0x000d4000 >;
91 interrupt-parent = <&PLIC0>;
94 // regs are spaced on 8 bit boundary
97 eth: ethernet@fff0d00000 {
98 compatible = "xlnx,xps-ethernetlite-1.00.a", "openpiton,ethernet";
99 device_type = "network";
100 reg = < 0x000000ff 0xf0d00000 0x00000000 0x00100000 >;
101 interrupt-parent = <&PLIC0>;
103 phy-handle = <&phy0>;
105 xlnx,include-global-buffers = <0x1>;
106 xlnx,include-internal-loopback = <0x0>;
107 xlnx,include-mdio = <0x1>;
108 xlnx,rx-ping-pong = <0x1>;
109 xlnx,s-axi-id-width = <0x1>;
110 xlnx,tx-ping-pong = <0x1>;
111 xlnx,use-internal = <0x0>;
112 axi_ethernetlite_0_mdio: mdio {
113 #address-cells = <1>;
116 compatible = "ethernet-phy-id001C.C915";
117 device_type = "ethernet-phy";
123 sdhci_0: sdhci@f000000000 {
125 compatible = "openpiton,piton-mmc", "openpiton,mmc";
126 reg = < 0x000000f0 0x00000000 0x00000000 0x00300000 >;
130 compatible = "sifive,clint0", "openpiton,clint";
131 interrupts-extended = < &CPU0_intc 3
135 reg = < 0x000000ff 0xf1020000 0x00000000 0x000c0000 >;
139 PLIC0: plic@fff1100000 {
141 #interrupt-cells = <1>;
142 compatible = "sifive,plic-1.0.0", "openpiton,plic";
143 interrupt-controller;
144 interrupts-extended = < &CPU0_intc 11
148 reg = < 0x000000ff 0xf1100000 0x00000000 0x04000000 >;
149 riscv,max-priority = <7>;