Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Add PCIe driver to build.
details: https://anonhg.NetBSD.org/src/rev/c4acac49f8bf
branches: trunk
changeset: 960171:c4acac49f8bf
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Mar 10 11:03:48 2021 +0000
description:
Add PCIe driver to build.
You still need:
bcm2838pcie* at fdt? # STB PCIe host controller
in kernel config, and DTB entries like:
pci@7d500000 {
compatible = "brcm,bcm2711-pcie\0brcm,pci-plat-dev";
device_type = "pci";
#address-cells = <0x03>;
#size-cells = <0x02>;
bus-range = <0x00 0x01>;
reg = <0x00 0x7d500000 0x80000>;
ranges = <0x2000000 0x00 0xf8000000 0x06 0x00 0x00 0x4000000>;
#interrupt-cells = <0x01>;
interrupt-map = <0x00 0x00 0x00 0x01 0x01 0x00 0x8f 0x04>;
interrupt-map-mask = <0x00 0x00 0x00 0x07>;
linux,pci-domain = <0x00>;
phandle = <0x90>;
};
and
pcie0 = "/scb/pci@7d500000";
in __symbols__
diffstat:
sys/arch/arm/broadcom/files.bcm2835 | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r a2c7cdace6a2 -r c4acac49f8bf sys/arch/arm/broadcom/files.bcm2835
--- a/sys/arch/arm/broadcom/files.bcm2835 Wed Mar 10 07:23:42 2021 +0000
+++ b/sys/arch/arm/broadcom/files.bcm2835 Wed Mar 10 11:03:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.bcm2835,v 1.39 2020/03/31 12:23:17 jmcneill Exp $
+# $NetBSD: files.bcm2835,v 1.40 2021/03/10 11:03:48 mlelstv Exp $
#
# Configuration info for Broadcom BCM2835 ARM Peripherals
#
@@ -46,6 +46,11 @@
file arch/arm/broadcom/bcm2838_rng.c bcm2838rng
file dev/ic/rng200.c bcm2838rng
+# Broadcom STB PCIE host
+device bcm2838pcie: pcibus
+attach bcm2838pcie at fdt with bcm2838pcie_fdt
+file arch/arm/broadcom/bcm2838_pcie.c bcm2838pcie
+
# AUX
device bcmaux
attach bcmaux at fdt with bcmaux_fdt
Home |
Main Index |
Thread Index |
Old Index