1f81cc5acSFilip Kokosinski// SPDX-License-Identifier: GPL-2.0 2f81cc5acSFilip Kokosinski/* 3f81cc5acSFilip Kokosinski * LiteX-based System on Chip 4f81cc5acSFilip Kokosinski * 5f81cc5acSFilip Kokosinski * Copyright (C) 2019 Antmicro <www.antmicro.com> 6f81cc5acSFilip Kokosinski */ 7f81cc5acSFilip Kokosinski 8f81cc5acSFilip Kokosinski/dts-v1/; 9f81cc5acSFilip Kokosinski/ { 10f81cc5acSFilip Kokosinski compatible = "opencores,or1ksim"; 11f81cc5acSFilip Kokosinski #address-cells = <1>; 12f81cc5acSFilip Kokosinski #size-cells = <1>; 13f81cc5acSFilip Kokosinski interrupt-parent = <&pic>; 14f81cc5acSFilip Kokosinski 15f81cc5acSFilip Kokosinski aliases { 16f81cc5acSFilip Kokosinski serial0 = &serial0; 17f81cc5acSFilip Kokosinski }; 18f81cc5acSFilip Kokosinski 19f81cc5acSFilip Kokosinski chosen { 20f81cc5acSFilip Kokosinski bootargs = "console=liteuart"; 21f81cc5acSFilip Kokosinski }; 22f81cc5acSFilip Kokosinski 23f81cc5acSFilip Kokosinski memory@0 { 24f81cc5acSFilip Kokosinski device_type = "memory"; 25f81cc5acSFilip Kokosinski reg = <0x00000000 0x10000000>; 26f81cc5acSFilip Kokosinski }; 27f81cc5acSFilip Kokosinski 28f81cc5acSFilip Kokosinski cpus { 29f81cc5acSFilip Kokosinski #address-cells = <1>; 30f81cc5acSFilip Kokosinski #size-cells = <0>; 31f81cc5acSFilip Kokosinski cpu@0 { 32f81cc5acSFilip Kokosinski compatible = "opencores,or1200-rtlsvn481"; 33f81cc5acSFilip Kokosinski reg = <0>; 34f81cc5acSFilip Kokosinski clock-frequency = <100000000>; 35f81cc5acSFilip Kokosinski }; 36f81cc5acSFilip Kokosinski }; 37f81cc5acSFilip Kokosinski 38f81cc5acSFilip Kokosinski pic: pic { 39f81cc5acSFilip Kokosinski compatible = "opencores,or1k-pic"; 40f81cc5acSFilip Kokosinski #interrupt-cells = <1>; 41f81cc5acSFilip Kokosinski interrupt-controller; 42f81cc5acSFilip Kokosinski }; 43f81cc5acSFilip Kokosinski 44*7851155aSJoel Stanley serial0: serial@e0006800 { 45f81cc5acSFilip Kokosinski device_type = "serial"; 46f81cc5acSFilip Kokosinski compatible = "litex,liteuart"; 47*7851155aSJoel Stanley reg = <0xe0006800 0x100>; 48f81cc5acSFilip Kokosinski }; 49f81cc5acSFilip Kokosinski 50f81cc5acSFilip Kokosinski soc_ctrl0: soc_controller@e0000000 { 51f81cc5acSFilip Kokosinski compatible = "litex,soc-controller"; 52f81cc5acSFilip Kokosinski reg = <0xe0000000 0xc>; 53f81cc5acSFilip Kokosinski status = "okay"; 54f81cc5acSFilip Kokosinski }; 55f81cc5acSFilip Kokosinski}; 56