From patchwork Thu Jun 21 19:09:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10480481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 06D6B60383 for ; Thu, 21 Jun 2018 19:14:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB38028F7E for ; Thu, 21 Jun 2018 19:14:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDA2A29046; Thu, 21 Jun 2018 19:14:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 78C6528F7E for ; Thu, 21 Jun 2018 19:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1uL2KnuoW/ChPakXaCEEm6/V3rxV1gUuPLgsEJps2Ys=; b=tdRO93Uw3fUYRT lSosz23hNuDWpxgZQYzFM8Lfg5rPNNCff3VpdcfUhXmARDV/TDHsITl7pBm1QXc/5UdaPXzq0d29s 8EJAc+WetWj2VjUXdRXidxuQjKgMa0rDKLKM06Xh0xV39vkhXy1Auf0ji6hcawx0UOtr7zYVaTRBC 1neWnZ0qYvKREx3vwutCs2s5AGX9oPIw3TKyrxvnHnW2DtKEN/0lwhXDS9JMSB2abMkX1ZUkgVr6l 1a3DbYJlSADMwsN7a03VIDpOIirstYuWlFf4leeO2tWyr+pp4p/YO0R+9n3moMe2o5Rc+r4R20BrT v2MUYPztxWntrYrFgNUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW52Q-00086b-2B; Thu, 21 Jun 2018 19:14:34 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW4ya-0006GG-FR for linux-arm-kernel@lists.infradead.org; Thu, 21 Jun 2018 19:10:38 +0000 Received: by mail-lf0-x242.google.com with SMTP id n24-v6so5908935lfh.3 for ; Thu, 21 Jun 2018 12:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SNz8nlVDqilVmA28R7vdJQIe4zhv2tnGYJmTOxbNMhw=; b=NMEEnibACz3xPoSCGVGWID8TtXwyUmE00q7aO/nPdhVWt3MjgFERFjr3oLv+B04Yrj ODgOLGCUN9WR+nterNkc976rqh1DIkjoN7HdW3V89LDYsyPfilgGktaKnvGQbhJjl01S dbzBwBvTO2jmRfY2VK2XYf0Gfnn8KMMw3S0z1g9nUZEqbQNdUgwwzQVuyy+EUYTZJRpZ TDlpWal8J3uHnCaz/SdHUQFcJAFtih/2gQgUM6zcAIu/ZuUDKkxn6Z7vn1Nn3oLFETsy mF+Xx9FdI0LEp+dL67VPKvvrM4c8+iuoCH7a5gl+JoYlvAaBNkfkMDuj9O80YXYV03od 3/LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SNz8nlVDqilVmA28R7vdJQIe4zhv2tnGYJmTOxbNMhw=; b=Xt/CAGDvqf5+2Lt6lhclj1EbZ3j/W2KF1vRMVfo8XcVE3Apecw5lTjTWH1qZmgJN7c 423ODUxc2CtXEBtPrQUtzaXO/rTlt71Vs5CO240LPlVEVwy7ifzFATL7Pqhd78wUIcG9 Qu3zPF9aSSHcdkaK9nvo7pQHRreiwhBe8DeDxXB2dQlkl9UpMRRrYGsAwIKbcb2bqWW8 0Tjo3HIPCISPGvSmoE9vu7kL81D8WzfR2akhf1tgiQDbMQZrHWPw69pQJG+vCQ7R0h4v HvKKgJJB2X/v90CxNjK0GaiQaqb50DxEv4/YIZFNwuJA5Sm1qQw4DmIuHHMfTlpusXO3 /bAg== X-Gm-Message-State: APt69E2kpHOQTlpb+X9XtZfrcZMgVpZmi64PASJe9QBMu5MsR30CsLv0 mI1Q6Nbhx74okcBD91NUplk= X-Google-Smtp-Source: ADUXVKJZmdVqIJ9zhogDXh97xZ8VSWHiIKEKr4qfJ1OQQPJO5p/fEhOgoapfWy6sspSYmpjOoP3XzA== X-Received: by 2002:a2e:21c7:: with SMTP id h68-v6mr17492560lji.108.1529608230298; Thu, 21 Jun 2018 12:10:30 -0700 (PDT) Received: from localhost.localdomain (user-94-254-170-61.play-internet.pl. [94.254.170.61]) by smtp.googlemail.com with ESMTPSA id u3-v6sm988036lji.4.2018.06.21.12.10.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jun 2018 12:10:29 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: kgene@kernel.org, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk Subject: [PATCH 6/7] ARM: dts: s5pv210: Add initial DTS config for SGH-T959P phone Date: Thu, 21 Jun 2018 21:09:58 +0200 Message-Id: <1529608199-5583-7-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529608199-5583-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1529608199-5583-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180621_121036_523976_EA4D76BD X-CRM114-Status: GOOD ( 14.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, xc-racer2@live.ca, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pawel.mikolaj.chmiel@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Bakker Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s5pv210-fascinate4g.dts | 40 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 arch/arm/boot/dts/s5pv210-fascinate4g.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 522ebdca1d3d..d00e995875bb 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -846,6 +846,7 @@ dtb-$(CONFIG_ARCH_S3C64XX) += \ s3c6410-smdk6410.dtb dtb-$(CONFIG_ARCH_S5PV210) += \ s5pv210-aquila.dtb \ + s5pv210-fascinate4g.dtb \ s5pv210-galaxys.dtb \ s5pv210-goni.dtb \ s5pv210-smdkc110.dtb \ diff --git a/arch/arm/boot/dts/s5pv210-fascinate4g.dts b/arch/arm/boot/dts/s5pv210-fascinate4g.dts new file mode 100644 index 000000000000..37967f57c7b7 --- /dev/null +++ b/arch/arm/boot/dts/s5pv210-fascinate4g.dts @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; +#include +#include +#include +#include +#include "s5pv210-aries.dtsi" + +/ { + model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; + compatible = "samsung,fascinate4g", "samsung,aries", "samsung,s5pv210"; + + chosen { + bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk1p1 rw rootwait ignore_loglevel earlyprintk"; + }; + + gpio-keys { + compatible = "gpio-keys"; + + power { + label = "power"; + gpios = <&gph2 6 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + vol-down { + label = "volume_down"; + gpios = <&gph3 2 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + vol-up { + label = "volume_up"; + gpios = <&gph3 1 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +};