Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753524AbcD2MwI (ORCPT ); Fri, 29 Apr 2016 08:52:08 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:32038 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752670AbcD2Mvt (ORCPT ); Fri, 29 Apr 2016 08:51:49 -0400 X-IronPort-AV: E=Sophos;i="5.24,551,1455004800"; d="scan'208";a="94071987" From: Yendapally Reddy Dhananjaya Reddy To: Linus Walleij , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Florian Fainelli , Ray Jui , Scott Branden , Pramod Kumar Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-gpio@vger.kernel.org, Yendapally Reddy Dhananjaya Reddy Subject: [PATCH v2 2/2] ARM: dts: enable pinctrl for Broadcom NS2 SoC Date: Fri, 29 Apr 2016 08:51:39 -0400 Message-Id: <1461934299-14774-3-git-send-email-yendapally.reddy@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1461934299-14774-1-git-send-email-yendapally.reddy@broadcom.com> References: <1461934299-14774-1-git-send-email-yendapally.reddy@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1278 Lines: 46 This enables the pinctrl support for Broadcom NS2 SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy Reviewed-by: Ray Jui --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 9 +++++++++ arch/arm64/boot/dts/broadcom/ns2.dtsi | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts index ce0ab84..2c98d76 100644 --- a/arch/arm64/boot/dts/broadcom/ns2-svk.dts +++ b/arch/arm64/boot/dts/broadcom/ns2-svk.dts @@ -87,3 +87,12 @@ #size-cells = <1>; }; }; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&nand_sel>; + nand_sel: nand_sel { + function = "nand"; + groups = "nand_grp"; + }; +}; diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/dts/broadcom/ns2.dtsi index 6f81c9d..e263ade3 100644 --- a/arch/arm64/boot/dts/broadcom/ns2.dtsi +++ b/arch/arm64/boot/dts/broadcom/ns2.dtsi @@ -308,6 +308,13 @@ "chimp", "port", "sdio"; }; + pinctrl: pinctrl@6501d130 { + compatible = "brcm,ns2-pinmux"; + reg = <0x6501d130 0x08>, + <0x660a0028 0x04>, + <0x660009b0 0x40>; + }; + crmu: crmu@65024000 { compatible = "syscon"; reg = <0x65024000 0x100>; -- 2.1.0