1/* 2 * Copyright (c) 2020 Cobham Gaisler AB 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "skeleton.dtsi" 8 9/ { 10 cpus { 11 #address-cells = <1>; 12 #size-cells = <0>; 13 14 cpu0: cpu@0 { 15 compatible = "gaisler,leon3"; 16 reg = <0>; 17 }; 18 }; 19 20 ram0: memory@40000000 { 21 compatible = "mmio-sram"; 22 reg = <0x40000000 0x40000000>; 23 }; 24 25 soc { 26 #address-cells = <1>; 27 #size-cells = <1>; 28 compatible = "gaisler,leon3-soc", "simple-bus"; 29 ranges; 30 interrupt-parent = <&irqmp>; 31 32 irqmp: irqmp0@80000200 { 33 compatible = "gaisler,irqmp"; 34 reg = <0x80000200 0x100>; 35 eirq = <0>; 36 interrupt-controller; 37 #interrupt-cells = <1>; 38 }; 39 40 timer0: gptimer@80000300 { 41 compatible = "gaisler,gptimer"; 42 interrupts = <8>; 43 reg = <0x80000300 0x100>; 44 }; 45 46 uart0: apbuart@80000100 { 47 compatible = "gaisler,apbuart"; 48 interrupts = <2>; 49 reg = <0x80000100 0x100>; 50 status = "disabled"; 51 }; 52 }; 53}; 54