All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Cc: Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>,
	Tom Rini <trini@konsulko.com>,
	Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Subject: [PATCH 4/6] MIPS: malta: add DT bindings for PCI host controller
Date: Tue,  6 Jul 2021 16:22:20 +0200	[thread overview]
Message-ID: <20210706142222.497569-5-daniel.schwierzeck@gmail.com> (raw)
In-Reply-To: <20210706142222.497569-1-daniel.schwierzeck@gmail.com>

Add DT binding for GT64120 and MSC01 PCI controllers. Only
GT64120 is enabled by default to support Qemu. The MSC01 node
will be dynamically enabled by Malta board code dependent
on the plugged core card.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---

 arch/mips/dts/mti,malta.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/mips/dts/mti,malta.dts b/arch/mips/dts/mti,malta.dts
index d339229c2a..ef47a340bb 100644
--- a/arch/mips/dts/mti,malta.dts
+++ b/arch/mips/dts/mti,malta.dts
@@ -29,4 +29,32 @@
 			u-boot,dm-pre-reloc;
 		};
 	};
+
+	pci0@1bd00000 {
+		compatible = "mips,pci-msc01";
+		device_type = "pci";
+		reg = <0x1bd00000 0x2000>;
+
+		#address-cells = <3>;
+		#size-cells = <2>;
+		bus-range = <0x0 0x0>;
+		ranges = <0x01000000 0 0x00000000 0x00000000 0 0x800000		/* I/O */
+			  0x02000000 0 0x10000000 0xb0000000 0 0x10000000	/* MEM */>;
+
+		status = "disabled";
+	};
+
+	pci0@1be00000 {
+		compatible = "marvell,pci-gt64120";
+		device_type = "pci";
+		reg = <0x1be00000 0x2000>;
+
+		#address-cells = <3>;
+		#size-cells = <2>;
+		bus-range = <0x0 0x0>;
+		ranges = <0x01000000 0 0x00000000 0x00000000 0 0x20000		/* I/O */
+			  0x02000000 0 0x10000000 0x10000000 0 0x8000000	/* MEM */>;
+
+		status = "okay";
+	};
 };
-- 
2.32.0


  parent reply	other threads:[~2021-07-06 14:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 14:22 [PATCH 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck
2021-07-06 14:22 ` [PATCH 1/6] dm: pci: add option to map virtual system memory base address Daniel Schwierzeck
2021-07-09  7:11   ` Stefan Roese
2021-07-06 14:22 ` [PATCH 2/6] pci: gt64120: convert to driver model Daniel Schwierzeck
2021-07-08 22:31   ` Simon Glass
2021-07-06 14:22 ` [PATCH 3/6] pci: msc01: " Daniel Schwierzeck
2021-07-08 22:31   ` Simon Glass
2021-07-06 14:22 ` Daniel Schwierzeck [this message]
2021-07-06 14:22 ` [PATCH 5/6] MIPS: malta: add support for PCI " Daniel Schwierzeck
2021-07-11  0:00   ` Simon Glass
2021-07-13  1:17     ` Daniel Schwierzeck
2021-07-13 20:17       ` Simon Glass
2021-07-06 14:22 ` [PATCH 6/6] MIPS: malta: enable " Daniel Schwierzeck
2021-07-15 18:53 ` [PATCH v2 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 1/6] dm: pci: add option to map virtual system memory base address Daniel Schwierzeck
2021-07-20 18:33     ` Simon Glass
2021-07-15 18:53   ` [PATCH v2 2/6] pci: gt64120: convert to driver model Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 3/6] pci: msc01: " Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 4/6] MIPS: malta: add DT bindings for PCI host controller Daniel Schwierzeck
2021-07-15 18:54   ` [PATCH v2 5/6] MIPS: malta: add support for PCI driver model Daniel Schwierzeck
2021-07-15 18:54   ` [PATCH v2 6/6] MIPS: malta: enable " Daniel Schwierzeck
2021-07-18 18:42   ` [PATCH v2 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210706142222.497569-5-daniel.schwierzeck@gmail.com \
    --to=daniel.schwierzeck@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.