1// SPDX-License-Identifier: GPL-2.0
2
3/ {
4	bus@10000000 {
5		compatible = "simple-bus";
6		#address-cells = <2>;
7		#size-cells = <2>;
8		ranges = <0 0x10000000 0 0x10000000 0 0x10000000
9				0 0x40000000 0 0x40000000 0 0x40000000
10				0xfd 0xfe000000 0xfd 0xfe000000  0 0x2000000 /* PCI Config Space */>;
11
12		pci@1a000000 {
13			compatible = "loongson,rs780e-pci";
14			device_type = "pci";
15			#address-cells = <3>;
16			#size-cells = <2>;
17
18			reg = <0 0x1a000000 0 0x02000000>;
19
20			ranges = <0x01000000 0 0x00004000 0 0x18004000 0 0x0000c000>,
21				 <0x02000000 0 0x40000000 0 0x40000000 0 0x40000000>;
22		};
23
24		isa {
25			compatible = "isa";
26			#address-cells = <2>;
27			#size-cells = <1>;
28			ranges = <1 0 0 0x18000000 0x4000>;
29
30			rtc0: rtc@70 {
31				compatible = "motorola,mc146818";
32				reg = <1 0x70 0x8>;
33				interrupts = <8>;
34				interrupt-parent = <&htpic>;
35			};
36
37			acpi@800 {
38				compatible = "loongson,rs780e-acpi";
39				reg = <1 0x800 0x100>;
40			};
41		};
42	};
43};
44