From mboxrd@z Thu Jan 1 00:00:00 1970 From: tyler@opensourcefoundries.com (tyler at opensourcefoundries.com) Date: Tue, 5 Dec 2017 14:27:06 -0800 Subject: [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral In-Reply-To: <20171205222707.11302-1-tyler@opensourcefoundries.com> References: <20171205222707.11302-1-tyler@opensourcefoundries.com> Message-ID: <20171205222707.11302-6-tyler@opensourcefoundries.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Tyler Baker Add a PCIe device tree node to enable PCIe support. Signed-off-by: Tyler Baker --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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 Message-ID: <20171205222707.11302-6-tyler@opensourcefoundries.com> References: <20171205222707.11302-1-tyler@opensourcefoundries.com> Return-path: In-Reply-To: <20171205222707.11302-1-tyler-yzvPICuk2AAEdKtRPRuaE5USO3DlRtUf@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@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 List-Id: devicetree@vger.kernel.org From: Tyler Baker Add a PCIe device tree node to enable PCIe support. Signed-off-by: Tyler Baker --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865AbdLEW21 (ORCPT ); Tue, 5 Dec 2017 17:28:27 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:45890 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbdLEW1Y (ORCPT ); Tue, 5 Dec 2017 17:27:24 -0500 X-Google-Smtp-Source: AGs4zMYlpt+JoXOfryjnzk1kM2GAZIUQM3LWm0fJPa/3FY9qlOCFwAIluhqG06lQKKOvD36oV4HV2w== 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 Subject: [PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral Date: Tue, 5 Dec 2017 14:27:06 -0800 Message-Id: <20171205222707.11302-6-tyler@opensourcefoundries.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171205222707.11302-1-tyler@opensourcefoundries.com> References: <20171205222707.11302-1-tyler@opensourcefoundries.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tyler Baker Add a PCIe device tree node to enable PCIe support. Signed-off-by: Tyler Baker --- 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