From patchwork Sat Jun 8 19:53:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 166206 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2157631ili; Sat, 8 Jun 2019 12:54:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqztZXLH5uNYGkK8MNL6Jpz1Xvu5zTbY001PeWhFwZUz2abX3K+7cafyGpgLbtmEchZQZfqF X-Received: by 2002:a63:2a06:: with SMTP id q6mr8633552pgq.290.1560023648913; Sat, 08 Jun 2019 12:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560023648; cv=none; d=google.com; s=arc-20160816; b=y7l407dHyBnW61C0xs6133ppwOilacajW75k/Qvkw5BJzQJJjh42DqqFyqmyKHu8KN y85pz0cNEOUikVwxteMCxHlCmpaXqyt4KPPLtikw1rwvJGzE7lU9CBt8cyL8wqlNqgYP jGZprOIGeg4raUxwGbB+/yq+IYzBzaXqelcAInU0eYD2WkpTk3jyYeCvNJLTmnHDAgOj lU1L/u8pcuERRiWZ6AyXoT37SfAMiGyZIJ71pWwL+QpvmX/cqh+IDsK6AfnHqzVJBMfs hxxzkQ0RLIPV7m8IHLnSSBJDos1B6ej2ZCmT1/wJlarOcJ+E0YNrfPkEj/5Tl6335dzi Hreg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=XpMZFRZzyjrvKa6MiNS3nj5D2wr/GZuHVNnpChhgBew=; b=tqhx7Hbn+NeivQUtMKGLHP0dC3/8nDUBgQyz6Ifj38WswWGfCm36WFiUz4ru2l/tI7 mNw8T40QeOgfneRp7EB72YDpVuHW0vKEFZsa7W908fRG+3feTUgDBCkNTP4jgPn/6fIg 3Ljo+KJNyIcXxLX2zhECZH5Jb4bZKzTXgLUYQV/4NUNNAhfsYwGR/Mv4RhYs5hsoCU15 eEj77BRsRHgDMsnWnvpiNuLzmrO5kC7KqY74jzX4MZMkFFokrB2aOI4xO7aw3B+5Lfum vEO18NmKRz2vfIL5PL+KT331sliCPcecx5iKM+X9CR33onc+4q1NesYpycZ3KJnhKk4X n0cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnwLNtQS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y66si5403653pfy.197.2019.06.08.12.54.08; Sat, 08 Jun 2019 12:54:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=tnwLNtQS; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbfFHTyI (ORCPT + 8 others); Sat, 8 Jun 2019 15:54:08 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45331 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727590AbfFHTyI (ORCPT ); Sat, 8 Jun 2019 15:54:08 -0400 Received: by mail-pf1-f196.google.com with SMTP id s11so3016058pfm.12 for ; Sat, 08 Jun 2019 12:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XpMZFRZzyjrvKa6MiNS3nj5D2wr/GZuHVNnpChhgBew=; b=tnwLNtQSWIcN1GWkYya6TEicR1plRzZSpEhodiIXgdFONkHoZSMV6CN56vul1iLXg6 aatOECCTQ6kM4mlLc+7OpK023jqNzPi02mnXhH4qTeMHyVQdNGnMcFCEBwxmZS5l9EMN Z5ccLf/J2Y8D7jBYEdhO4HUXAVpkdxkXgH9qBCfRwSMqTbwt8JfQeWBKNqZZudc94g/L nSm7oMQL/qqR5gWYXJ7ePsO98hxehnFpGvWiNobjsuruf082YMIlNnwas+njWmBf+u3C scAEpJvz9Lg00u7aIk5PxfhqN+uzXL+ARfOR3MRotfO0Ouc+s96M/XJp1Vf1dMO58A0G u3dw== 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; bh=XpMZFRZzyjrvKa6MiNS3nj5D2wr/GZuHVNnpChhgBew=; b=NCpNP/Y/r0+2kbfSHY8mV5t0phkz0sM7f2TYw3NgV5/JaHIGiumVS143VOEGmRwMok r9SPBAfOgjw5/on9KtRxpwMLwN07u3bF54K5IDz7XUyNzFbliEzTH/X/PObcZOYAa+1o avhDHNpIOaPg03AzeqEAo8BS2Ch4/5owqeZgCL41kdIU3e/6EmkwJ+5be1vV5xu/KoPU 6YYYayeG/XrQ4WHVmFLXyETS8ap0fPUv7BWqVZJ07GK6W/yvvZLpRaUJtcFojZsfOi88 G3ZWyPiQ0yFgYj0Xnfz57lhOoPSU1lmpfSUpPHwL6WztJa2OVIHHmuhwz4RnKYjOgXfz e0aA== X-Gm-Message-State: APjAAAXrRP/n69hLK+K9rbiFSrtogHLsdiG4iT8GfAiWhIhDzJKn9HvP iW4Wi1B2WMD2kMpcA14Tj+Z7 X-Received: by 2002:a63:84c1:: with SMTP id k184mr6683151pgd.7.1560023647269; Sat, 08 Jun 2019 12:54:07 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7185:fba9:ec1e:ad07:23ac:d3ee]) by smtp.gmail.com with ESMTPSA id b35sm6034377pjc.15.2019.06.08.12.53.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 12:54:06 -0700 (PDT) From: Manivannan Sadhasivam To: ulf.hansson@linaro.org, afaerber@suse.de, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.liau@actions-semi.com, linux-actions@lists.infradead.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 4/7] arm64: dts: actions: Add uSD and eMMC support for Bubblegum96 Date: Sun, 9 Jun 2019 01:23:14 +0530 Message-Id: <20190608195317.6336-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> References: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add uSD and eMMC support for Bubblegum96 board based on Actions Semi Owl SoC. SD0 is connected to uSD slot and SD2 is connected to eMMC. Since there is no PMIC support added yet, fixed regulator has been used as a regulator node. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/actions/s900-bubblegum-96.dts | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index 732daaa6e9d3..3b596d72de25 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -13,6 +13,9 @@ aliases { serial5 = &uart5; + mmc0 = &mmc0; + mmc1 = &mmc1; + mmc2 = &mmc2; }; chosen { @@ -23,6 +26,14 @@ device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; }; + + reg_3p1v: regulator-3p1v { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.1V"; + regulator-min-microvolt = <3100000>; + regulator-max-microvolt = <3100000>; + regulator-always-on; + }; }; &i2c0 { @@ -241,6 +252,45 @@ bias-pull-up; }; }; + + mmc0_default: mmc0_default { + pinmux { + groups = "sd0_d0_mfp", "sd0_d1_mfp", "sd0_d2_d3_mfp", + "sd0_cmd_mfp", "sd0_clk_mfp"; + function = "sd0"; + }; + }; + + mmc2_default: mmc2_default { + pinmux { + groups = "nand0_d0_ceb3_mfp"; + function = "sd2"; + }; + }; +}; + +&mmc0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_default>; + no-sdio; + no-mmc; + no-1-8-v; + cd-gpios = <&pinctrl 120 GPIO_ACTIVE_LOW>; + bus-width = <4>; + vmmc-supply = <®_3p1v>; + vqmmc-supply = <®_3p1v>; +}; + +&mmc2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_default>; + no-sdio; + no-sd; + non-removable; + bus-width = <8>; + vmmc-supply = <®_3p1v>; }; &timer { From patchwork Sat Jun 8 19:53:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 166209 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2157949ili; Sat, 8 Jun 2019 12:54:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxb5AE8waoMy1EZ8tBnD19fbF1xGrKd5ZI93ObPmdRAHiIrtf2dvtoJjHf90CUcYWpX3fD X-Received: by 2002:a63:4d0e:: with SMTP id a14mr7658521pgb.346.1560023679107; Sat, 08 Jun 2019 12:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560023679; cv=none; d=google.com; s=arc-20160816; b=JTnZfmVMT/puSsy5S1sW1757CM9T4XIc7B2ToC0tL+O//zkCGonMQIaQHpHR3gy6Lf UJxo9in+AXRuX4TB944SnPjRpKIpeLJN3uVYxBgoxDzEfMVCcmGQmgiJdh1qDg+fdVsx 0kNCKuIEYKta6NqQWduf/MRmoIPk6D75Fsk3NUTlsjAA6XayUq2S4IBRtNnJ3k7vTqmq bd+ISyJER432TfpIVhVe/eClKYCc1TdFJr3A4E8TDciQ9s/HBZrFVhHfvk5cbFe71U09 SDFxLo/F9Mr/rtXnEjqXhW1WWHfluYgtOUOXEHbhc+Rwy/OKnVhC/3cfAbdTn3ll7xhc 5Z6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=7z7G2uIs0k+svTX+jtZAzZRGJWQLvmM8i7xrZdjKEXo=; b=TIfiuh4eJdnSUEryO5PQzdQV60qWyjEY0+YoH5U2Np3YJuZmvUTOcJpfwjt/ptllmu kc0gC72DyeWuvK4VmhIieJyU2LeawkGlGq6aIk+Prrhi7O/Efa0MGtceIy7ri0UeRFDh oyBpDb9uGE8Pwp8My2cWOOdDnb0MyvVpVAKwiKIsqwC/55lon87/F+39TUDvVw5bd2jc r7yUSBIri0ObfNokt5mjxas1yOoOCjTqnY1tqMfspnC3KxbPKWuRyLBi03plwrdVTn2f zD1Y5Kl0GZ3JIc4mJ+apKF/j+MDQayz57VBvk6Grqt/KnxNrsujMQvFpEVmTBQ/U+DGX 6IZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcJVLs2B; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si5115240plt.101.2019.06.08.12.54.38; Sat, 08 Jun 2019 12:54:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=CcJVLs2B; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727792AbfFHTyi (ORCPT + 8 others); Sat, 8 Jun 2019 15:54:38 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44508 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727791AbfFHTyi (ORCPT ); Sat, 8 Jun 2019 15:54:38 -0400 Received: by mail-pg1-f194.google.com with SMTP id n2so2891406pgp.11 for ; Sat, 08 Jun 2019 12:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7z7G2uIs0k+svTX+jtZAzZRGJWQLvmM8i7xrZdjKEXo=; b=CcJVLs2BWQiGNei2MbtI6uiXWAb/JLA3+6p0R5uSVtGdgJCJSv6yBAMuVVe2LKu7DH l8XD5lo+nX6Zp9FSjvnoirPJj3PqQ/uQLGiLqOQDi+pkGFDKwHLf+gmhd/LdE0G3uhrZ wD7nPtsQWQn9SrOei/XUq/JRIZcZ9IQ9L7BVNycYvo5T1H4bWY/UCuF6GAqag1LkXIwA u7op+FLgpMulPzwHOKMdwW0xiGNuxLft8zAh4E235mgYFprMl4try5pTiEvU2XOMdT62 XkvugA+tPg7D9SOJP8gqUJF+dr3kDnguAYW3MT2FNgYhzav+X/7lv4015xN+nLneo+4t LMZA== 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; bh=7z7G2uIs0k+svTX+jtZAzZRGJWQLvmM8i7xrZdjKEXo=; b=eGqf0Df54Wi6AttBeD/SvP9KE3jbJQi+U2Il3hmQhmHJ9drzWTmncL2sXX4T8yF+FF HtVtOXNhxmZNkeM4rryDlTYdX8CYmGulbB+XwCwWYMOiSLkUEV2CBKCP+iWfI34PJDTB 0u/3mUqBeJ8tk1rHmzsvHxwM9Iy2Clrb+jtTCzcrOZZgkk4O9RZkzqKy1u3arKATVezt g6I8QA2+ewhabHHsQ9T5LoF5QVXHCMaWILYNzk2iqLI3XjOhLqML4jE6yjdRSMeKHtUA cVnjXP22HEJ/X7ZhB2J7RT4tCBZBPJ6sFgJ/MJG3DWGmKHpInRgbpyWjy0jczkY7TiBH GcFA== X-Gm-Message-State: APjAAAWuyfBczBHv4t99NUR9t1cn1VjOWTU+wL3siGvgWSuvdm/gWCFj buAtv0o5dcTI0QzZ3X+BhR3S X-Received: by 2002:a63:cc4e:: with SMTP id q14mr8601057pgi.84.1560023677661; Sat, 08 Jun 2019 12:54:37 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7185:fba9:ec1e:ad07:23ac:d3ee]) by smtp.gmail.com with ESMTPSA id b35sm6034377pjc.15.2019.06.08.12.54.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 12:54:37 -0700 (PDT) From: Manivannan Sadhasivam To: ulf.hansson@linaro.org, afaerber@suse.de, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.liau@actions-semi.com, linux-actions@lists.infradead.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 7/7] arm64: configs: Enable Actions Semi platform in defconfig Date: Sun, 9 Jun 2019 01:23:17 +0530 Message-Id: <20190608195317.6336-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> References: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since the Actions Semi platform can now boot a distro, enable it in ARM64 defconfig. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4d583514258c..e0b5f4f8c9ff 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -29,6 +29,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y # CONFIG_COMPAT_BRK is not set CONFIG_PROFILING=y +CONFIG_ARCH_ACTIONS=y CONFIG_ARCH_AGILEX=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y