Lines Matching +full:loongson +full:- +full:1 +full:c
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2023 Loongson Technology Corporation Limited
6 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/clock/loongson,ls2k-clk.h>
12 #address-cells = <2>;
13 #size-cells = <2>;
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "loongson,la264";
27 ref_100m: clock-ref-100m {
28 compatible = "fixed-clock";
29 #clock-cells = <0>;
30 clock-frequency = <100000000>;
31 clock-output-names = "ref_100m";
34 cpuintc: interrupt-controller {
35 compatible = "loongson,cpu-interrupt-controller";
36 #interrupt-cells = <1>;
37 interrupt-controller;
40 thermal-zones {
41 cpu-thermal {
42 polling-delay-passive = <1000>;
43 polling-delay = <5000>;
44 thermal-sensors = <&tsensor 0>;
47 cpu-alert {
53 cpu-crit {
63 compatible = "simple-bus";
69 #address-cells = <2>;
70 #size-cells = <2>;
74 #size-cells = <1>;
75 #address-cells = <2>;
76 ranges = <1 0x0 0x0 0x16400000 0x4000>;
79 clk: clock-controller@1fe10400 {
80 compatible = "loongson,ls2k0500-clk";
82 #clock-cells = <1>;
84 clock-names = "ref_100m";
87 dma-controller@1fe10c00 {
88 compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
90 interrupt-parent = <&eiointc>;
93 #dma-cells = <1>;
97 dma-controller@1fe10c10 {
98 compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
100 interrupt-parent = <&eiointc>;
103 #dma-cells = <1>;
107 dma-controller@1fe10c20 {
108 compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
110 interrupt-parent = <&eiointc>;
113 #dma-cells = <1>;
117 dma-controller@1fe10c30 {
118 compatible = "loongson,ls2k0500-apbdma", "loongson,ls2k1000-apbdma";
120 interrupt-parent = <&eiointc>;
123 #dma-cells = <1>;
127 liointc0: interrupt-controller@1fe11400 {
128 compatible = "loongson,liointc-2.0";
131 reg-names = "main", "isr0";
133 interrupt-controller;
134 #interrupt-cells = <2>;
135 interrupt-parent = <&cpuintc>;
137 interrupt-names = "int0";
139 loongson,parent_int_map = <0xffffffff>, /* int0 */
145 liointc1: interrupt-controller@1fe11440 {
146 compatible = "loongson,liointc-2.0";
149 reg-names = "main", "isr0";
151 interrupt-controller;
152 #interrupt-cells = <2>;
153 interrupt-parent = <&cpuintc>;
155 interrupt-names = "int2";
157 loongson,parent_int_map = <0x00000000>, /* int0 */
163 eiointc: interrupt-controller@1fe11600 {
164 compatible = "loongson,ls2k0500-eiointc";
166 interrupt-controller;
167 #interrupt-cells = <1>;
168 interrupt-parent = <&cpuintc>;
172 gmac0: ethernet@1f020000 {
173 compatible = "snps,dwmac-3.70a";
175 interrupt-parent = <&liointc0>;
177 interrupt-names = "macirq";
181 gmac1: ethernet@1f030000 {
182 compatible = "snps,dwmac-3.70a";
184 interrupt-parent = <&liointc0>;
186 interrupt-names = "macirq";
190 sata: sata@1f040000 {
191 compatible = "snps,spear-ahci";
193 interrupt-parent = <&eiointc>;
198 ehci0: usb@1f050000 {
199 compatible = "generic-ehci";
201 interrupt-parent = <&eiointc>;
206 ohci0: usb@1f058000 {
207 compatible = "generic-ohci";
209 interrupt-parent = <&eiointc>;
214 tsensor: thermal-sensor@1fe11500 {
215 compatible = "loongson,ls2k0500-thermal", "loongson,ls2k1000-thermal";
217 interrupt-parent = <&liointc0>;
219 #thermal-sensor-cells = <1>;
222 uart0: serial@1ff40800 {
225 clock-frequency = <100000000>;
226 interrupt-parent = <&eiointc>;
228 no-loopback-test;
232 i2c0: i2c@1ff48000 {
233 compatible = "loongson,ls2k-i2c";
235 interrupt-parent = <&eiointc>;
240 i2c@1ff48800 {
241 compatible = "loongson,ls2k-i2c";
243 interrupt-parent = <&eiointc>;
248 i2c@1ff49000 {
249 compatible = "loongson,ls2k-i2c";
251 interrupt-parent = <&eiointc>;
256 i2c@1ff49800 {
257 compatible = "loongson,ls2k-i2c";
259 interrupt-parent = <&eiointc>;
264 i2c@1ff4a000 {
265 compatible = "loongson,ls2k-i2c";
267 interrupt-parent = <&eiointc>;
272 i2c@1ff4a800 {
273 compatible = "loongson,ls2k-i2c";
275 interrupt-parent = <&eiointc>;
280 pmc: power-management@1ff6c000 {
281 compatible = "loongson,ls2k0500-pmc", "syscon";
283 interrupt-parent = <&eiointc>;
285 loongson,suspend-address = <0x0 0x1c000500>;
287 syscon-reboot {
288 compatible = "syscon-reboot";
293 syscon-poweroff {
294 compatible = "syscon-poweroff";
302 rtc0: rtc@1ff6c100 {
303 compatible = "loongson,ls2k0500-rtc", "loongson,ls7a-rtc";
305 interrupt-parent = <&eiointc>;
310 pcie@1a000000 {
311 compatible = "loongson,ls2k-pci";
314 #address-cells = <3>;
315 #size-cells = <2>;
317 bus-range = <0x0 0x5>;
323 #address-cells = <3>;
324 #size-cells = <2>;
326 interrupt-parent = <&eiointc>;
327 #interrupt-cells = <1>;
328 interrupt-map-mask = <0x0 0x0 0x0 0x0>;
329 interrupt-map = <0x0 0x0 0x0 0x0 &eiointc 81>;
333 pcie@1,0 {
335 #address-cells = <3>;
336 #size-cells = <2>;
338 interrupt-parent = <&eiointc>;
339 #interrupt-cells = <1>;
340 interrupt-map-mask = <0x0 0x0 0x0 0x0>;
341 interrupt-map = <0x0 0x0 0x0 0x0 &eiointc 82>;