aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/dts/bcm6368.dtsi
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-23 20:12:22 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-23 20:12:22 +0100
commit7f04d675170d255580edf77d4ff7c0adebb57609 (patch)
tree4cc1d76bc8d8497ef63c1a7b6ce68bd0d32eac9e /target/linux/bmips/dts/bcm6368.dtsi
parent851dadc257b7223f879a3733507e83cfcaae1af1 (diff)
downloadupstream-7f04d675170d255580edf77d4ff7c0adebb57609.tar.gz
upstream-7f04d675170d255580edf77d4ff7c0adebb57609.tar.bz2
upstream-7f04d675170d255580edf77d4ff7c0adebb57609.zip
bmips: add experimental PCI/PCIe support
These PCI drivers are a bit hacky and definitely not suitable for upstreaming, but hopefully we can use them as a base for developing proper upstream PCI drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/dts/bcm6368.dtsi')
-rw-r--r--target/linux/bmips/dts/bcm6368.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm6368.dtsi b/target/linux/bmips/dts/bcm6368.dtsi
index 5b5064b29e..9f59182517 100644
--- a/target/linux/bmips/dts/bcm6368.dtsi
+++ b/target/linux/bmips/dts/bcm6368.dtsi
@@ -414,6 +414,34 @@
status = "disabled";
};
+ pci: pci@10001000 {
+ compatible = "brcm,bcm6348-pci";
+ reg = <0x10001000 0x200>,
+ <0x08000000 0x10000>;
+ reg-names = "pci",
+ "pci-io";
+ #address-cells = <3>;
+ #size-cells = <2>;
+
+ device_type = "pci";
+ bus-range = <0x00 0x01>;
+ ranges = <0x2000000 0 0x30000000 0x30000000 0 0x8000000>;
+ linux,pci-probe-only = <1>;
+
+ interrupt-parent = <&periph_intc>;
+ interrupts = <BCM6368_IRQ_MPI>;
+
+ resets = <&periph_rst BCM6368_RST_MPI>;
+ reset-names = "pci";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pci>;
+
+ brcm,remap;
+
+ status = "disabled";
+ };
+
ehci: usb@10001500 {
compatible = "brcm,bcm6368-ehci", "generic-ehci";
reg = <0x10001500 0x100>;