|
| 1 | +/* |
| 2 | + * Copyright (c) 2019 Lexmark International, Inc. |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + * |
| 6 | + */ |
| 7 | + |
| 8 | +#include <mem.h> |
| 9 | +#include <arm/armv7-r.dtsi> |
| 10 | +#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | + |
| 12 | +/ { |
| 13 | + soc { |
| 14 | + interrupt-parent = <&gic>; |
| 15 | + |
| 16 | + gic: interrupt-controller@f9010000 { |
| 17 | + compatible = "arm,gic"; |
| 18 | + reg = <0xf9010000 0x1000>, |
| 19 | + <0xf9020000 0x100>; |
| 20 | + interrupt-controller; |
| 21 | + #interrupt-cells = <3>; |
| 22 | + interrupt-parent = <&core_intc 0>; |
| 23 | + label = "GIC"; |
| 24 | + status = "okay"; |
| 25 | + }; |
| 26 | + |
| 27 | + flash0: flash@c0000000 { |
| 28 | + compatible = "soc-nv-flash"; |
| 29 | + reg = <0xc0000000 DT_SIZE_K(64)>; |
| 30 | + }; |
| 31 | + |
| 32 | + sram0: memory@0 { |
| 33 | + compatible = "mmio-sram"; |
| 34 | + reg = <0 DT_SIZE_K(256)>; |
| 35 | + }; |
| 36 | + |
| 37 | + uart0: uart@ff000000 { |
| 38 | + compatible = "xlnx,xuartps"; |
| 39 | + reg = <0xff000000 0x4c>; |
| 40 | + status = "disabled"; |
| 41 | + interrupts = <21 0 IRQ_TYPE_LEVEL>; |
| 42 | + interrupt-names = "irq_0"; |
| 43 | + label = "UART_0"; |
| 44 | + }; |
| 45 | + |
| 46 | + ttc0: timer@ff110000 { |
| 47 | + compatible = "cdns,ttc"; |
| 48 | + status = "disabled"; |
| 49 | + interrupts = <36 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 50 | + <37 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 51 | + <38 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>; |
| 52 | + interrupt-names = "irq_0", "irq_1", "irq_2"; |
| 53 | + reg = <0xff110000 0x1000>; |
| 54 | + label = "ttc0"; |
| 55 | + }; |
| 56 | + |
| 57 | + ttc1: timer@ff120000 { |
| 58 | + compatible = "cdns,ttc"; |
| 59 | + status = "disabled"; |
| 60 | + interrupts = <39 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 61 | + <40 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 62 | + <41 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>; |
| 63 | + interrupt-names = "irq_0", "irq_1", "irq_2"; |
| 64 | + reg = <0xff120000 0x1000>; |
| 65 | + label = "ttc1"; |
| 66 | + }; |
| 67 | + |
| 68 | + ttc2: timer@ff130000 { |
| 69 | + compatible = "cdns,ttc"; |
| 70 | + status = "disabled"; |
| 71 | + interrupts = <42 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 72 | + <43 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 73 | + <44 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>; |
| 74 | + interrupt-names = "irq_0", "irq_1", "irq_2"; |
| 75 | + reg = <0xff130000 0x1000>; |
| 76 | + label = "ttc2"; |
| 77 | + }; |
| 78 | + |
| 79 | + ttc3: timer@ff140000 { |
| 80 | + compatible = "cdns,ttc"; |
| 81 | + status = "disabled"; |
| 82 | + interrupts = <45 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 83 | + <46 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>, |
| 84 | + <47 IRQ_DEFAULT_PRIORITY IRQ_TYPE_LEVEL>; |
| 85 | + interrupt-names = "irq_0", "irq_1", "irq_2"; |
| 86 | + reg = <0xff140000 0x1000>; |
| 87 | + label = "ttc3"; |
| 88 | + }; |
| 89 | + }; |
| 90 | +}; |
0 commit comments