Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6637827imm; Wed, 27 Jun 2018 10:41:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeH0rqGWt0mKHy5bqLQdUaLRvJmQSKPAX6OqcuGrtNVFfb2Jkt3zzaGU68hkvRZLp5HqMEY X-Received: by 2002:a62:51c4:: with SMTP id f187-v6mr6925184pfb.88.1530121261581; Wed, 27 Jun 2018 10:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530121261; cv=none; d=google.com; s=arc-20160816; b=AeQn+3vbAc4lgUk+45RocS3NC65Q8YjFujXdGsTFVfNLAYzE+j5CMFyM+Mmc14aVEK aQh46lRqvzdVs4o6oqTZ3RVa+3li2Zj1sdWi9WYrsTFQd62SvX44yvZNoWdyZ1J62S5N yvtlfICxpAcFtQd4Rud7RPdFtp6LFfGweDBDdtVdLiLpRUAS5C1L8i+d+Z2ZYppvZBrI 08mTyfc4YN2HYcXKS4xGLL+Y4YVVF4jPz1ZpwGA/bWfV7GZtymMm7D3NtwXdjfBVEUNR qw2CpAhiQNUL19vZLlRvHbLBl5wUyHV2WYp5FuwOHM2fM0Ad6h4vQfkiowPYXQPVnSrX jh8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=omdXM5someJmkLjQbCjbmMJ92kx7glPVAf/yqZD3KUY=; b=jcecXW8Sw/tjqsBkAshSXfKxR6WHYYps9nDpsnov9A6HIJ7eARdalBvX9sJUt+Ml// +o8RDSNjZ8rbWqWD306JE1/aBojMUT7EtX4X0oLN4sUkU/9ush2c0+gr3zK29ETgw9Iy r/vNkJSZgIIzGJNnn8ind0zqIYTRLQhZTXpUa1ld70gvji9PDsYea5Jk9/Hve/nysI6d 1Uvztv+lrSWDTV9JUeE5sZTg/WUxAe8BeGCKplxN0qURWBADoM7jlOCGn9ltm0tQzhar nSe0IElj1HwBAm7IxVHDO6C6ojy9uw/+yhVigG+aXnmWtteH0NSvQD3y5+hpCxRdm/D4 ICTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jfVJLa5Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6-v6si3852503pgn.493.2018.06.27.10.40.47; Wed, 27 Jun 2018 10:41:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jfVJLa5Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934867AbeF0RPB (ORCPT + 99 others); Wed, 27 Jun 2018 13:15:01 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37691 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966011AbeF0RMo (ORCPT ); Wed, 27 Jun 2018 13:12:44 -0400 Received: by mail-lj1-f194.google.com with SMTP id c11-v6so2236223lja.4; Wed, 27 Jun 2018 10:12:43 -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=omdXM5someJmkLjQbCjbmMJ92kx7glPVAf/yqZD3KUY=; b=jfVJLa5YZjUCcP/TG+yM8iXJ5M2Z90hGJmAx27BwI/J8plts/yoGh315Znxrll8wXm DZ45PBHxLV+z2UJ5MYsgBH/u5/K2MDw3UA+ooxaNcTij5LuUPIrFbp6/POqy0+k5dBKy oUXmbajdvf/zjp622GIBxvRoGgdHw5L/EkZxexiyjIMxks4DnfUSUlWCBm2L5T5lOukx qM9PaW0w7+CaMoZ7ALS8KqvJd+R63blADMZHJB/QaZVZFdXFkp7ZsweouC03rJpVLHvR F/ZqcPfi3r1dpb/50UAJDohakjXnMYyLKEa7jlh7K5N8pgCm5tQzExxVEbz4LmlXEgVU 9Lag== 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=omdXM5someJmkLjQbCjbmMJ92kx7glPVAf/yqZD3KUY=; b=Efs4M9rQNeQD3N4mmdbIMvAe3J7SbcYK58zAAooXHBYKvYhnzZa4FmLQBgYe6j++kz Nxu7JrddAP8WigT1+s1bKBmal0TXJr9MvLYBqkf5FQTSdajX31sREezoAmNvG1/YCsK0 GeMrZTauNoPguywG/ej+bVWg2es9Ubs9wEbut7nQb0GPvskhcwtl3XWDTzSViyhqkQdg bqs96BG1oi5RjwHlwD/luqcC3yaqAv6cu909bTMx7cTn5iaQg0SGaDyohNNcQfY3+Fq3 oDEYzXwspjkMMCj1dkyBfKjV+L03dfLDnBmj+lJlk9dSaZtiGTEzJlvm7HHWJ5G/ZzTO 3hWA== X-Gm-Message-State: APt69E15pDcJsDK9RoNG140CgUMUsy7H358mZiDGzozDt7NfrhDs6SM/ scXt1UQ6sO5cUg9zVxSVpks= X-Received: by 2002:a2e:8549:: with SMTP id u9-v6mr2413502ljj.10.1530119562768; Wed, 27 Jun 2018 10:12:42 -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 n9-v6sm929344lfb.7.2018.06.27.10.12.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jun 2018 10:12:42 -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 Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xc-racer2@live.ca, pawel.mikolaj.chmiel@gmail.com Subject: [PATCH v2 04/10] ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone Date: Wed, 27 Jun 2018 19:12:18 +0200 Message-Id: <1530119544-30023-5-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530119544-30023-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1530119544-30023-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Bakker This DTS file have initial support Samsung SGH-T959P phone, also known as Samsung Galaxy S 4G or fascinate4g. It belongs to Samsung Aries devices family. Initial version have support for: - sdcard - max8998 pmic and rtc - max17040 fuel gauge - gpio keys - fimd (no panel driver yet) - usb (peripherial mode) - wifi Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing commit msg - Removed duplicated and unneeded headers - Added stdout-path - Added information why we hardcode bootargs --- --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s5pv210-fascinate4g.dts | 45 +++++++++++++++++++++++++++++++ 2 files changed, 46 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..ccf761b1babf --- /dev/null +++ b/arch/arm/boot/dts/s5pv210-fascinate4g.dts @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; +#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 { + stdout-path = &uart2; + /* + * It's hard to change those parameters in stock bootloader, + * since it requires special hardware/cable. + * Let's hardocde bootargs for now, till u-boot port is finished, + * with which it should be easier. + */ + bootargs = "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 = ; + }; + }; +}; -- 2.7.4