All of lore.kernel.org
 help / color / mirror / Atom feed
From: tyler@opensourcefoundries.com (tyler at opensourcefoundries.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral
Date: Tue,  5 Dec 2017 14:27:06 -0800	[thread overview]
Message-ID: <20171205222707.11302-6-tyler@opensourcefoundries.com> (raw)
In-Reply-To: <20171205222707.11302-1-tyler@opensourcefoundries.com>

From: Tyler Baker <tyler@opensourcefoundries.com>

Add a PCIe device tree node to enable PCIe support.

Signed-off-by: Tyler Baker <tyler@opensourcefoundries.com>
---
 arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
index 67aa4b7..7f45fa2 100644
--- a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
+++ b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
@@ -79,6 +79,12 @@
 		>;
 	};
 
+	pinctrl_pcie: pciegrp {
+		fsl,pins = <
+			MX7D_PAD_EPDC_BDR1__GPIO2_IO29		0x34 /* PCIe RST */
+		>;
+	};
+
 	pinctrl_uart2: uart2grp {
 		fsl,pins = <
 			MX7D_PAD_LCD_ENABLE__UART2_DCE_TX	0x79 /* P7-12 */
@@ -119,6 +125,13 @@
 	};
 };
 
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie>;
+	reset-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
+	status = "okay";
+};
+
 &uart2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart2>;
-- 
2.9.3

WARNING: multiple messages have this Message-ID (diff)
From: tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org
To: shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	fabio.estevam-3arQi8VN3Tc@public.gmane.org,
	Tyler Baker
	<tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org>
Subject: [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral
Date: Tue,  5 Dec 2017 14:27:06 -0800	[thread overview]
Message-ID: <20171205222707.11302-6-tyler@opensourcefoundries.com> (raw)
In-Reply-To: <20171205222707.11302-1-tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org>

From: Tyler Baker <tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org>

Add a PCIe device tree node to enable PCIe support.

Signed-off-by: Tyler Baker <tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org>
---
 arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
index 67aa4b7..7f45fa2 100644
--- a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
+++ b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
@@ -79,6 +79,12 @@
 		>;
 	};
 
+	pinctrl_pcie: pciegrp {
+		fsl,pins = <
+			MX7D_PAD_EPDC_BDR1__GPIO2_IO29		0x34 /* PCIe RST */
+		>;
+	};
+
 	pinctrl_uart2: uart2grp {
 		fsl,pins = <
 			MX7D_PAD_LCD_ENABLE__UART2_DCE_TX	0x79 /* P7-12 */
@@ -119,6 +125,13 @@
 	};
 };
 
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie>;
+	reset-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
+	status = "okay";
+};
+
 &uart2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart2>;
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: tyler@opensourcefoundries.com
To: shawnguo@kernel.org, festevam@gmail.com, kernel@pengutronix.de
Cc: robh+dt@kernel.org, mark.rutland@arm.com,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, fabio.estevam@nxp.com,
	Tyler Baker <tyler@opensourcefoundries.com>
Subject: [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral
Date: Tue,  5 Dec 2017 14:27:06 -0800	[thread overview]
Message-ID: <20171205222707.11302-6-tyler@opensourcefoundries.com> (raw)
In-Reply-To: <20171205222707.11302-1-tyler@opensourcefoundries.com>

From: Tyler Baker <tyler@opensourcefoundries.com>

Add a PCIe device tree node to enable PCIe support.

Signed-off-by: Tyler Baker <tyler@opensourcefoundries.com>
---
 arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
index 67aa4b7..7f45fa2 100644
--- a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
+++ b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts
@@ -79,6 +79,12 @@
 		>;
 	};
 
+	pinctrl_pcie: pciegrp {
+		fsl,pins = <
+			MX7D_PAD_EPDC_BDR1__GPIO2_IO29		0x34 /* PCIe RST */
+		>;
+	};
+
 	pinctrl_uart2: uart2grp {
 		fsl,pins = <
 			MX7D_PAD_LCD_ENABLE__UART2_DCE_TX	0x79 /* P7-12 */
@@ -119,6 +125,13 @@
 	};
 };
 
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie>;
+	reset-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
+	status = "okay";
+};
+
 &uart2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart2>;
-- 
2.9.3

  parent reply	other threads:[~2017-12-05 22:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 22:27 [PATCH v1 0/6] ARM: dts: introduce Compulab IoT Gateway tyler at opensourcefoundries.com
2017-12-05 22:27 ` tyler
2017-12-05 22:27 ` tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf
2017-12-05 22:27 ` [PATCH v1 1/6] ARM: dts: imx7d-sbc-iot: add initial iot gateway dts tyler at opensourcefoundries.com
2017-12-05 22:27   ` tyler
2017-12-10 15:10   ` Fabio Estevam
2017-12-10 15:10     ` Fabio Estevam
2017-12-10 15:10     ` Fabio Estevam
2017-12-05 22:27 ` [PATCH v1 2/6] ARM: dts: imx7d-cl-som: add nodes for usbh, and usbotg2 tyler at opensourcefoundries.com
2017-12-05 22:27   ` tyler
2017-12-05 22:27   ` tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf
2017-12-10 15:14   ` Fabio Estevam
2017-12-10 15:14     ` Fabio Estevam
2017-12-05 22:27 ` [PATCH v1 3/6] ARM: dts: imx7s: add dma support tyler at opensourcefoundries.com
2017-12-05 22:27   ` tyler
2017-12-10 15:15   ` Fabio Estevam
2017-12-10 15:15     ` Fabio Estevam
2017-12-10 15:15     ` Fabio Estevam
2017-12-05 22:27 ` [PATCH v1 4/6] ARM: dts: imx7s: add node and supplies for vdd1p2 tyler at opensourcefoundries.com
2017-12-05 22:27   ` tyler
2017-12-10 15:20   ` Fabio Estevam
2017-12-10 15:20     ` Fabio Estevam
2017-12-10 15:20     ` Fabio Estevam
2017-12-05 22:27 ` tyler at opensourcefoundries.com [this message]
2017-12-05 22:27   ` [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral tyler
2017-12-05 22:27   ` tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf
2017-12-10 15:20   ` Fabio Estevam
2017-12-10 15:20     ` Fabio Estevam
2017-12-10 15:20     ` Fabio Estevam
2017-12-05 22:27 ` [PATCH v1 6/6] ARM: dts: imx7s: add usb hsic phy domain tyler at opensourcefoundries.com
2017-12-05 22:27   ` tyler
2017-12-10 15:23   ` Fabio Estevam
2017-12-10 15:23     ` Fabio Estevam
2017-12-10 15:23     ` Fabio Estevam

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=20171205222707.11302-6-tyler@opensourcefoundries.com \
    --to=tyler@opensourcefoundries.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.