| /* |
| * Copyright (c) 2020 Cobham Gaisler AB |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #include "skeleton.dtsi" |
| #include <dt-bindings/gpio/gpio.h> |
| |
| / { |
| cpus { |
| #address-cells = <1>; |
| #size-cells = <0>; |
| |
| cpu0: cpu@0 { |
| compatible = "gaisler,leon3"; |
| reg = <0>; |
| }; |
| }; |
| |
| dram: ram@30000000 { |
| /* tightly coupled data RAM */ |
| reg = <0x30000000 0x00010000>; |
| }; |
| |
| iram: ram@31000000 { |
| /* tightly coupled instruction RAM */ |
| reg = <0x31000000 0x00020000>; |
| }; |
| |
| soc { |
| #address-cells = <1>; |
| #size-cells = <1>; |
| compatible = "gaisler,gr716-soc", "simple-bus"; |
| ranges; |
| interrupt-parent = <&irqmp>; |
| |
| irqmp: irqmp0@80002000 { |
| compatible = "gaisler,irqmp"; |
| reg = <0x80002000 0x400>; |
| eirq = <1>; |
| interrupt-controller; |
| #interrupt-cells = <1>; |
| }; |
| |
| timer0: gptimer@80003000 { |
| compatible = "gaisler,gptimer"; |
| interrupts = <9>; |
| reg = <0x80003000 0x100>; |
| }; |
| |
| uart0: apbuart@80300000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <24>; |
| reg = <0x80300000 0x100>; |
| status = "disabled"; |
| }; |
| |
| uart1: apbuart@80301000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <25>; |
| reg = <0x80301000 0x100>; |
| status = "disabled"; |
| }; |
| |
| uart2: apbuart@80302000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <3>; |
| reg = <0x80302000 0x100>; |
| status = "disabled"; |
| }; |
| |
| uart3: apbuart@80303000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <5>; |
| reg = <0x80303000 0x100>; |
| status = "disabled"; |
| }; |
| |
| uart4: apbuart@80304000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <6>; |
| reg = <0x80304000 0x100>; |
| status = "disabled"; |
| }; |
| |
| uart5: apbuart@80305000 { |
| compatible = "gaisler,apbuart"; |
| interrupts = <7>; |
| reg = <0x80305000 0x100>; |
| status = "disabled"; |
| }; |
| |
| spim0: spi@fff00100 { |
| compatible = "gaisler,spimctrl"; |
| reg = <0xfff00100 0x100>; |
| interrupts = <2 0>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| status = "disabled"; |
| }; |
| |
| spim1: spi@fff00200 { |
| compatible = "gaisler,spimctrl"; |
| reg = <0xfff00200 0x100>; |
| interrupts = <2 0>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| status = "disabled"; |
| }; |
| |
| gpio0: gpio@8030c000 { |
| interrupts = <17>; |
| reg = <0x8030c000 0x1000>; |
| compatible = "gaisler,grgpio"; |
| gpio-controller; |
| #gpio-cells = <2>; |
| status = "disabled"; |
| }; |
| |
| gpio1: gpio@8030d000 { |
| interrupts = <16>; |
| reg = <0x8030d000 0x1000>; |
| compatible = "gaisler,grgpio"; |
| gpio-controller; |
| #gpio-cells = <2>; |
| status = "disabled"; |
| }; |
| }; |
| }; |