Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2419554imm; Thu, 21 Jun 2018 12:13:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ0odjLDwruWvgC8dG9jSCZh0erTTY8tDGzhfwT88KxcL0gn+Cj9QvUTgqtSE9VGtbJJlns X-Received: by 2002:a65:4a92:: with SMTP id b18-v6mr23215842pgu.107.1529608435405; Thu, 21 Jun 2018 12:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529608435; cv=none; d=google.com; s=arc-20160816; b=IyMNd4DU9nxrwmMi8y6VhcVTz1JLSpy+m2i4SXyc0tORJSCPk64cVfAEp0GVwV6JfD Q43KUZegXvQNhXUgGANM9qZif1zFMHBzMisu+SXwefOuHKWW9XeNpXs2HkpyO+PbgrRj cjdvZ5/i5lAy44YEbgAhxyGcnhV7apyPC9yrLjgV1fGceE50oMUzPxyyNiPLyqZC1pq3 G+Hxz/xnlkOaegGJE9FPARO4dzZW/yzqCZLndcE/UHE3M2uaKmDZEhtwKVCQPE4AWkqT EafDLMO9HeQTV/T0Xz7FhbZrJxpM8upC0RO1SmXzPz6YBVZH1aAzbePpUAiVR6lbdXZz emCw== 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=AUAkPz/9MzwOVBmZQmeZi7tDiklyss4IEehpahJ33iw=; b=lY+pnqub9swkXqXHmM9huFjQMc0gj8aswaCwOFxywaQ2q1VqZYU+gkRCvwfncrtToh 8ksrP5PzDyD9e1kfwGyyTvOcOlTfPAiKr8WQFUd4RdSW8W2Sp+Vv/8sHyFhQa3o5Mat9 9mPpOC3XQ1S11acIvUzTByEMM90UvUguxNwUoS0Dj1Q/gBrL7KPeD7WVhDVaDfuDAg23 rFSEVkDCNg46pBG7rHlqZ18s7Wz1o/DYJXC11IiBmIr8+uTLnRQWuQDfr2Taew+OPYhL X7hSWgjuVyP3pY6eKlLArS3M1YeCIHkEbQi3oWrNu8kJFiJK6wdfuODFk95uU6T8lclI s10A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pba78wPb; 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 89-v6si5461309plc.428.2018.06.21.12.13.40; Thu, 21 Jun 2018 12:13:55 -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=Pba78wPb; 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 S933478AbeFUTL2 (ORCPT + 99 others); Thu, 21 Jun 2018 15:11:28 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:47078 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265AbeFUTK1 (ORCPT ); Thu, 21 Jun 2018 15:10:27 -0400 Received: by mail-lf0-f68.google.com with SMTP id m4-v6so4434855lfj.13; Thu, 21 Jun 2018 12:10:26 -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=AUAkPz/9MzwOVBmZQmeZi7tDiklyss4IEehpahJ33iw=; b=Pba78wPbtgOInfp5PPuY+EsR0brwYNUBniEDLuhVLub5+qflyklF3TceMBmJpNPPnQ OhP37yA+Yt4YX8ZaKYfUTU5v4abYCiW3bivvvT9Q+8oveyEZX3dCd8YPPu3LmtHNu+mO mCGR0GXs0MpEnUFVfNU8zDxQUbrz2i7iKhCZu9NlHDyic567qbf0xP9ZshSCE27ODoTj 1d9QG1z3P/WW7jEpjfcVu8TcD2h9dYpQUOpI8iXyW3/YgmA5/NYV2gf8VqUtoHs7PYy/ nGPgWX/u7g1+0+mNv0DEut8zlPxYYI1UXKJOAqiwpoFQRVlOkWrN2YBHvbWfZk6HMUoK gFUw== 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=AUAkPz/9MzwOVBmZQmeZi7tDiklyss4IEehpahJ33iw=; b=LK45Ud5UgYV7wa8OdycIzkC41F3Zex/wDQxBTEg9XmUGEFlTpp3aBmOPmNYZVRHrNy P5UpkZwWZKFUBVxwKoqq9IZqQXw8zFxRwKg0tdn9tFmWzAJADHbBM+ibZ6nG//R3mgz7 /hgyrrJ7F3vlqeKY6r8ENwQkf6fRRAQO7cELEsyDCzVwEa4WLnTmYztINZRU5aMvpWhT np/MgQnH+kOr2M5Pbl62SI/kYnq4A36dGQOtWARMZ0BK9mVbHUv2Tj988d+uhBVG1luD /HWJWW1aBcOLZxhQhYntumha0OzqSQ4x8ip0sQEH/hKZcyPQACsctI2r9XsyY5XKtNHu EAww== X-Gm-Message-State: APt69E0or98VPZSLYexKuOZvxn4kR6yv/vdBQNr4iEtXgdgVDPXaQkqm ggZjJEoS67YGm2MiYXjSM2M= X-Received: by 2002:a19:e21b:: with SMTP id z27-v6mr11594110lfg.119.1529608225426; Thu, 21 Jun 2018 12:10:25 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jun 2018 12:10:24 -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 3/7] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone. Date: Thu, 21 Jun 2018 21:09:55 +0200 Message-Id: <1529608199-5583-4-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 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 Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s5pv210-galaxys.dts | 72 +++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 arch/arm/boot/dts/s5pv210-galaxys.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7e2424957809..522ebdca1d3d 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-galaxys.dtb \ s5pv210-goni.dtb \ s5pv210-smdkc110.dtb \ s5pv210-smdkv210.dtb \ diff --git a/arch/arm/boot/dts/s5pv210-galaxys.dts b/arch/arm/boot/dts/s5pv210-galaxys.dts new file mode 100644 index 000000000000..d435032541a9 --- /dev/null +++ b/arch/arm/boot/dts/s5pv210-galaxys.dts @@ -0,0 +1,72 @@ +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; +#include +#include +#include +#include +#include "s5pv210-aries.dtsi" + +/ { + model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; + compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210"; + + chosen { + bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk2p1 rw rootwait ignore_loglevel earlyprintk"; + }; + + nand_pwrseq: nand-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&massmemory_en>; + }; + + 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 1 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + vol-up { + label = "volume_up"; + gpios = <&gph3 2 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + home { + label = "home"; + gpios = <&gph3 5 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + }; +}; + +&pinctrl0 { + massmemory_en: massmemory-en { + samsung,pins = "gpj2-7"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&sdhci0 { + bus-width = <4>; + non-removable; + mmc-pwrseq = <&nand_pwrseq>; + pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>; + pinctrl-names = "default"; + status = "okay"; +}; -- 2.7.4