From patchwork Sat Sep 27 04:58:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4988881 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DAA789FB83 for ; Sat, 27 Sep 2014 05:03:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E67C2022A for ; Sat, 27 Sep 2014 05:03:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC54C20270 for ; Sat, 27 Sep 2014 05:03:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750975AbaI0FDq (ORCPT ); Sat, 27 Sep 2014 01:03:46 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:56607 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbaI0FDp (ORCPT ); Sat, 27 Sep 2014 01:03:45 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCJ00I5XNE81TD0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 27 Sep 2014 14:03:44 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 39.F9.11124.F2546245; Sat, 27 Sep 2014 14:03:44 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-44-5426452ffe00 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 57.9E.09430.F2546245; Sat, 27 Sep 2014 14:03:43 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NCJ00HUDNDYOEA0@mmp2.samsung.com>; Sat, 27 Sep 2014 14:03:43 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, tomasz.figa@gmail.com, robh+dt@kernel.org, linux@arm.linux.org.uk, naushad@samsung.com, Pankaj Dubey Subject: [PATCH 2/2] arm: dts: exynos3250: add device node support for serial2 and serial3 Date: Sat, 27 Sep 2014 10:28:48 +0530 Message-id: <1411793928-32692-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1411793928-32692-1-git-send-email-pankaj.dubey@samsung.com> References: <1411793928-32692-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsWyRsSkTtfAVS3E4PFBVoveBVfZLDY9vsZq MeP8PiaL25d5LT4d/c9qsWjrF3aL1r1H2C1W7frD6MDh0dLcw+axc9Zddo9NqzrZPDYvqffo 27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujJNfcgoahSpeHfjG2MC4jq+LkZNDQsBEomH9TxYI W0ziwr31bF2MXBxCAksZJT4e2cEIU/R/7gmoxHRGiX9zjzCDJIQEJjBJrLtRDWKzCehKPHk/ FyjOwSEi4C2x/JoiSD2zwDxGiQUL/zGB1AgLxEicvHYJbBuLgKrEiZX3WEFsXgEPidb3M9lA eiUEFCTmTLIBCXMKeEo0nFrIArHKQ2Lt0jXsIDMlBJaxS9zf+oERYo6AxLfJh1ggemUlNh1g hrhZUuLgihssExiFFzAyrGIUTS1ILihOSi8y0itOzC0uzUvXS87P3cQIDPnT/5717WC8ecD6 E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XXtgVsUarfqoXjGFNXnJYR8MJ0ULHFo3eU/45IamoFud wkV6YWZl1kXH30ZoJX7hstrz+sfm+783LtOW988P7mD6tLtVRDnukctyJSWW4oxEQy3mouJE AJ1I7Jm+AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/exynos3250.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi index 47b92c1..9887bba 100644 --- a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi @@ -97,6 +97,27 @@ samsung,pin-drv = <0>; }; + uart2_data: uart2-data { + samsung,pins = "gpa1-0", "gpa1-1"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + + uart2_fctl: uart2-fctl { + samsung,pins = "gpa1-2", "gpa1-3"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + + uart3_data: uart3-data { + samsung,pins = "gpa1-4", "gpa1-5"; + samsung,pin-function = <2>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + i2c2_bus: i2c2-bus { samsung,pins = "gpa0-6", "gpa0-7"; samsung,pin-function = <3>; diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 9de1252..aaeb321 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -41,6 +41,8 @@ i2c7 = &i2c_7; serial0 = &serial_0; serial1 = &serial_1; + serial2 = &serial_2; + serial3 = &serial_3; }; cpus { @@ -346,6 +348,28 @@ status = "disabled"; }; + serial_2: serial@13820000 { + compatible = "samsung,exynos4210-uart"; + reg = <0x13820000 0x100>; + interrupts = <0 111 0>; + clocks = <&cmu CLK_UART2>, <&cmu CLK_SCLK_UART2>; + clock-names = "uart", "clk_uart_baud0"; + pinctrl-names = "default"; + pinctrl-0 = <&uart2_data &uart2_fctl>; + status = "disabled"; + }; + + serial_3: serial@13830000 { + compatible = "samsung,exynos4210-uart"; + reg = <0x13830000 0x100>; + interrupts = <0 112 0>; + clocks = <&cmu CLK_UART3>, <&cmu CLK_SCLK_UART3>; + clock-names = "uart", "clk_uart_baud0"; + pinctrl-names = "default"; + pinctrl-0 = <&uart3_data>; + status = "disabled"; + }; + i2c_0: i2c@13860000 { #address-cells = <1>; #size-cells = <0>;