1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
---|
2 | |
---|
3 | /** |
---|
4 | * @file |
---|
5 | * |
---|
6 | * @ingroup RTEMSBSPsAArch64XilinxZynqMP |
---|
7 | * |
---|
8 | * @brief This file provides the CFC-400X device tree |
---|
9 | */ |
---|
10 | |
---|
11 | /* |
---|
12 | * Copyright (C) 2022 On-Line Applications Research Corporation (OAR) |
---|
13 | * Written by Kinsey Moore <kinsey.moore@oarcorp.com> |
---|
14 | * |
---|
15 | * Redistribution and use in source and binary forms, with or without |
---|
16 | * modification, are permitted provided that the following conditions |
---|
17 | * are met: |
---|
18 | * 1. Redistributions of source code must retain the above copyright |
---|
19 | * notice, this list of conditions and the following disclaimer. |
---|
20 | * 2. Redistributions in binary form must reproduce the above copyright |
---|
21 | * notice, this list of conditions and the following disclaimer in the |
---|
22 | * documentation and/or other materials provided with the distribution. |
---|
23 | * |
---|
24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
27 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
---|
28 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
29 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
30 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
31 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
32 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
33 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
34 | * POSSIBILITY OF SUCH DAMAGE. |
---|
35 | */ |
---|
36 | |
---|
37 | /dts-v1/; |
---|
38 | |
---|
39 | / { |
---|
40 | #address-cells = <0x02>; |
---|
41 | #size-cells = <0x02>; |
---|
42 | |
---|
43 | amba { |
---|
44 | compatible = "simple-bus"; |
---|
45 | #address-cells = <0x02>; |
---|
46 | #size-cells = <0x02>; |
---|
47 | ranges; |
---|
48 | |
---|
49 | interrupt-controller@f9010000 { |
---|
50 | compatible = "arm,gic-400"; |
---|
51 | #address-cells = <0x02>; |
---|
52 | #interrupt-cells = <0x03>; |
---|
53 | reg = <0x00 0xf9010000 0x00 0x10000>; |
---|
54 | interrupt-controller; |
---|
55 | phandle = <0x01>; |
---|
56 | }; |
---|
57 | |
---|
58 | ethernet@ff0b0000 { |
---|
59 | compatible = "cdns,gem"; |
---|
60 | status = "okay"; |
---|
61 | interrupt-parent = <0x01>; |
---|
62 | interrupts = <0x00 0x39 0x04>; |
---|
63 | reg = <0x00 0xff0b0000 0x00 0x1000>; |
---|
64 | phy-mode = "sgmii"; |
---|
65 | ref-clock-num = <0>; |
---|
66 | }; |
---|
67 | |
---|
68 | ethernet@ff0c0000 { |
---|
69 | compatible = "cdns,gem"; |
---|
70 | status = "okay"; |
---|
71 | interrupt-parent = <0x01>; |
---|
72 | interrupts = <0x00 0x3b 0x04>; |
---|
73 | reg = <0x00 0xff0c0000 0x00 0x1000>; |
---|
74 | phy-mode = "sgmii"; |
---|
75 | ref-clock-num = <1>; |
---|
76 | }; |
---|
77 | |
---|
78 | ethernet@ff0d0000 { |
---|
79 | compatible = "cdns,gem"; |
---|
80 | status = "okay"; |
---|
81 | interrupt-parent = <0x01>; |
---|
82 | interrupts = <0x00 0x3d 0x04>; |
---|
83 | reg = <0x00 0xff0d0000 0x00 0x1000>; |
---|
84 | phy-mode = "sgmii"; |
---|
85 | ref-clock-num = <2>; |
---|
86 | }; |
---|
87 | |
---|
88 | ethernet@ff0e0000 { |
---|
89 | compatible = "cdns,gem"; |
---|
90 | status = "okay"; |
---|
91 | interrupt-parent = <0x01>; |
---|
92 | interrupts = <0x00 0x3f 0x04>; |
---|
93 | reg = <0x00 0xff0e0000 0x00 0x1000>; |
---|
94 | phy-mode = "sgmii"; |
---|
95 | ref-clock-num = <3>; |
---|
96 | }; |
---|
97 | |
---|
98 | serial@800a0000 { |
---|
99 | clock-frequency = <0x189c000>; |
---|
100 | compatible = "ns16550a"; |
---|
101 | current-speed = <0x1c200>; |
---|
102 | device_type = "serial"; |
---|
103 | interrupt-parent = <0x01>; |
---|
104 | interrupts = <0x00 0x6e 0x04>; |
---|
105 | reg = <0x00 0x800a0000 0x00 0x10000>; |
---|
106 | reg-offset = <0x1000>; |
---|
107 | reg-shift = <0x02>; |
---|
108 | }; |
---|
109 | }; |
---|
110 | |
---|
111 | aliases { |
---|
112 | mgmtport = "/amba/serial@800a0000"; |
---|
113 | }; |
---|
114 | }; |
---|