15def4c47SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 25def4c47SEmmanuel Vadot/* 35def4c47SEmmanuel Vadot * LiteX-based System on Chip 45def4c47SEmmanuel Vadot * 55def4c47SEmmanuel Vadot * Copyright (C) 2019 Antmicro <www.antmicro.com> 65def4c47SEmmanuel Vadot */ 75def4c47SEmmanuel Vadot 85def4c47SEmmanuel Vadot/dts-v1/; 95def4c47SEmmanuel Vadot/ { 105def4c47SEmmanuel Vadot compatible = "opencores,or1ksim"; 115def4c47SEmmanuel Vadot #address-cells = <1>; 125def4c47SEmmanuel Vadot #size-cells = <1>; 135def4c47SEmmanuel Vadot interrupt-parent = <&pic>; 145def4c47SEmmanuel Vadot 155def4c47SEmmanuel Vadot aliases { 165def4c47SEmmanuel Vadot serial0 = &serial0; 175def4c47SEmmanuel Vadot }; 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadot chosen { 205def4c47SEmmanuel Vadot bootargs = "console=liteuart"; 215def4c47SEmmanuel Vadot }; 225def4c47SEmmanuel Vadot 235def4c47SEmmanuel Vadot memory@0 { 245def4c47SEmmanuel Vadot device_type = "memory"; 255def4c47SEmmanuel Vadot reg = <0x00000000 0x10000000>; 265def4c47SEmmanuel Vadot }; 275def4c47SEmmanuel Vadot 285def4c47SEmmanuel Vadot cpus { 295def4c47SEmmanuel Vadot #address-cells = <1>; 305def4c47SEmmanuel Vadot #size-cells = <0>; 315def4c47SEmmanuel Vadot cpu@0 { 325def4c47SEmmanuel Vadot compatible = "opencores,or1200-rtlsvn481"; 335def4c47SEmmanuel Vadot reg = <0>; 345def4c47SEmmanuel Vadot clock-frequency = <100000000>; 355def4c47SEmmanuel Vadot }; 365def4c47SEmmanuel Vadot }; 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot pic: pic { 395def4c47SEmmanuel Vadot compatible = "opencores,or1k-pic"; 405def4c47SEmmanuel Vadot #interrupt-cells = <1>; 415def4c47SEmmanuel Vadot interrupt-controller; 425def4c47SEmmanuel Vadot }; 435def4c47SEmmanuel Vadot 44*354d7675SEmmanuel Vadot serial0: serial@e0006800 { 455def4c47SEmmanuel Vadot device_type = "serial"; 465def4c47SEmmanuel Vadot compatible = "litex,liteuart"; 47*354d7675SEmmanuel Vadot reg = <0xe0006800 0x100>; 485def4c47SEmmanuel Vadot }; 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadot soc_ctrl0: soc_controller@e0000000 { 515def4c47SEmmanuel Vadot compatible = "litex,soc-controller"; 525def4c47SEmmanuel Vadot reg = <0xe0000000 0xc>; 535def4c47SEmmanuel Vadot status = "okay"; 545def4c47SEmmanuel Vadot }; 55*354d7675SEmmanuel Vadot 56*354d7675SEmmanuel Vadot ethernet@e0001000 { 57*354d7675SEmmanuel Vadot compatible = "litex,liteeth"; 58*354d7675SEmmanuel Vadot reg = <0xe0001000 0x7c>, 59*354d7675SEmmanuel Vadot <0xe0001800 0x0a>, 60*354d7675SEmmanuel Vadot <0x80000000 0x2000>; 61*354d7675SEmmanuel Vadot reg-names = "mac", "mdio", "buffer"; 62*354d7675SEmmanuel Vadot interrupts = <2>; 63*354d7675SEmmanuel Vadot }; 645def4c47SEmmanuel Vadot}; 65