Home
last modified time | relevance | path

Searched +full:rs780e +full:- +full:pci (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/pci/
Dloongson.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/loongson.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson PCI Host Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 PCI host controller found on Loongson PCHs and SoCs.
16 - $ref: /schemas/pci/pci-bus.yaml#
21 - const: loongson,ls2k-pci
22 - const: loongson,ls7a-pci
[all …]
/Linux-v5.10/arch/mips/boot/dts/loongson/
Drs780e-pch.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 compatible = "simple-bus";
6 #address-cells = <2>;
7 #size-cells = <2>;
10 0xfd 0xfe000000 0xfd 0xfe000000 0 0x2000000 /* PCI Config Space */>;
12 pci@1a000000 {
13 compatible = "loongson,rs780e-pci";
14 device_type = "pci";
15 #address-cells = <3>;
16 #size-cells = <2>;
[all …]
/Linux-v5.10/arch/mips/loongson64/
Denv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
54 loongson_p = &(boot_p->efi.smbios.lp); in prom_init_env()
57 ((u64)loongson_p + loongson_p->system_offset); in prom_init_env()
59 ((u64)loongson_p + loongson_p->cpu_offset); in prom_init_env()
61 ((u64)loongson_p + loongson_p->irq_offset); in prom_init_env()
63 ((u64)loongson_p + loongson_p->memory_offset); in prom_init_env()
65 cpu_clock_freq = ecpu->cpu_clock_freq; in prom_init_env()
66 loongson_sysconf.cputype = ecpu->cputype; in prom_init_env()
67 switch (ecpu->cputype) { in prom_init_env()
120 loongson_sysconf.nr_cpus = ecpu->nr_cpus; in prom_init_env()
[all …]
Dnuma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <asm/mc146818-time.h>
91 __node_distances[row][col] = -1; in init_topology_matrix()
108 for (i = 0; i < loongson_memmap->nr_map; i++) { in szmem()
109 node_id = loongson_memmap->map[i].node_id; in szmem()
113 mem_type = loongson_memmap->map[i].mem_type; in szmem()
114 mem_size = loongson_memmap->map[i].mem_size; in szmem()
115 mem_start = loongson_memmap->map[i].mem_start; in szmem()
167 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
168 NODE_DATA(node)->node_spanned_pages = end_pfn - start_pfn; in node_mem_init()
[all …]
/Linux-v5.10/drivers/pci/controller/
Dpci-loongson.c1 // SPDX-License-Identifier: GPL-2.0
3 * Loongson PCI Host Controller Driver
10 #include <linux/pci.h>
13 #include "../pci.h"
38 dev->class = PCI_CLASS_BRIDGE_PCI << 8; in bridge_class_quirk()
53 pdev->mmio_always_on = 1; in system_bus_quirk()
54 pdev->non_compliant_bars = 1; in system_bus_quirk()
65 struct pci_bus *bus = dev->bus; in loongson_mrrs_quirk()
76 bridge = bus->self; in loongson_mrrs_quirk()
77 bus = bus->parent; in loongson_mrrs_quirk()
[all …]
/Linux-v5.10/arch/mips/include/asm/mach-loongson64/
Dboot_param.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 u32 mem_type; /* system memory, pci memory, pci io, etc. */
81 u32 id; /* instance id of a sensor-class */
111 u32 PIC_type; /* conform use HT or PCI to route to CPU-PIC */
114 u32 node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */
197 RS780E = 2, enumerator