From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: [PATCH/RFC 10/12] ARM: shmobile: koelsch dts: Add overlay for SCIF5 on EXIO C Date: Tue, 12 May 2015 19:37:13 +0200 Message-ID: <1431452235-11692-11-git-send-email-geert+renesas@glider.be> References: <1431452235-11692-1-git-send-email-geert+renesas@glider.be> Return-path: In-Reply-To: <1431452235-11692-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org To: Simon Horman , Magnus Damm Cc: Pantelis Antoniou , linux-sh@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven List-Id: devicetree@vger.kernel.org Provide access to SCIF5 on EXIO Connector C. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ec2abfe19329b791..655a967b0566a3d1 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -676,6 +676,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ r8a7791-koelsch-exio-a-scifb0.dtbo \ r8a7791-koelsch-exio-a-scifb1.dtbo \ r8a7791-koelsch-exio-c-scif3.dtbo \ + r8a7791-koelsch-exio-c-scif5.dtbo \ endif endif diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso new file mode 100644 index 0000000000000000..37ec7006e1174a37 --- /dev/null +++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso @@ -0,0 +1,60 @@ +/* + * Device Tree Overlay for SCIF5 on r8a7791/Koelsch EXIO Connector C + * + * Copyright (C) 2015 Glider bvba + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + * + * Pinout: + * - RXD = EXIO Connector C pin 39 + * - TXD = EXIO Connector C pin 37 + * + * Notes: + * - As these pins are shared with SDHI2, the latter is disabled first. + */ + +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target-path = "/aliases"; + + __overlay__ { + /* serial5 = &scif5; */ + serial5 = "/serial@e6ee8000"; + }; + }; + + fragment@1 { + target = <&pfc>; + + __overlay__ { + scif5_pins: serial5 { + renesas,groups = "scif5_data_b"; + renesas,function = "scif5"; + }; + }; + }; + + fragment@2 { + target = <&sdhi2>; + + __overlay__ { + status = "disabled"; + }; + }; + + fragment@3 { + target = <&scif5>; + + __overlay__ { + pinctrl-0 = <&scif5_pins>; + pinctrl-names = "default"; + + status = "okay"; + }; + }; +}; -- 1.9.1