Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759520AbbKTJx0 (ORCPT ); Fri, 20 Nov 2015 04:53:26 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:43023 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162271AbbKTJvT (ORCPT ); Fri, 20 Nov 2015 04:51:19 -0500 From: Jisheng Zhang To: , , , , , , , CC: , , , Jisheng Zhang Subject: [PATCH 2/2] arm64: dts: berlin4ct: enable all i2c nodes for the STB board Date: Fri, 20 Nov 2015 17:47:01 +0800 Message-ID: <1448012821-7413-3-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1448012821-7413-1-git-send-email-jszhang@marvell.com> References: <1448012821-7413-1-git-send-email-jszhang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-11-20_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1511200175 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1604 Lines: 76 Enable all i2c nodes for the Marvell berlin BG4CT STB board. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct-stb.dts | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/berlin4ct-stb.dts b/arch/arm64/boot/dts/marvell/berlin4ct-stb.dts index 348c37e..9e8e2e0 100644 --- a/arch/arm64/boot/dts/marvell/berlin4ct-stb.dts +++ b/arch/arm64/boot/dts/marvell/berlin4ct-stb.dts @@ -61,6 +61,56 @@ }; }; +&avio_pinctrl { + twsi1_pmux: twsi1-pmux { + groups = "TX_EDDC_SCL", "TX_EDDC_SDA"; + function = "tx_eddc"; + }; +}; + +&i2c0 { + status = "okay"; + pinctrl-0 = <&twsi0_pmux>; + pinctrl-names = "default"; +}; + +&i2c1 { + status = "okay"; + pinctrl-0 = <&twsi1_pmux>; + pinctrl-names = "default"; +}; + +&i2c2 { + status = "okay"; + pinctrl-0 = <&twsi2_pmux>; + pinctrl-names = "default"; +}; + +&i2c3 { + status = "okay"; + pinctrl-0 = <&twsi3_pmux>; + pinctrl-names = "default"; +}; + +&soc_pinctrl { + twsi0_pmux: twsi0-pmux { + groups = "TW0_SCL", "TW0_SDA"; + function = "tw0"; + }; +}; + +&system_pinctrl { + twsi2_pmux: twsi2-pmux { + groups = "SM_TW2_SCL", "SM_TW2_SDA"; + function = "tw2"; + }; + + twsi3_pmux: twsi3-pmux { + groups = "SM_TW3_SCL", "SM_TW3_SDA"; + function = "tw3"; + }; +}; + &uart0 { status = "okay"; }; -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/