Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp148262pxk; Wed, 9 Sep 2020 01:17:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8njKPUKM+2Qd7W2fc4hj5GUcimFrVoOdB+oxWAPI1e8IAM9qXFiBUXhsc7ti9PzGdKLPI X-Received: by 2002:a50:ab59:: with SMTP id t25mr2803078edc.364.1599639455876; Wed, 09 Sep 2020 01:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599639455; cv=none; d=google.com; s=arc-20160816; b=Nf7BLkS+Z8fL2uOTj1EFFttKT3qHIT1eiTP8AgQkdd08hi2sCj63wxWeuoAMHRWahz /fjgAk/nkQfOFbpwk10LPSRiiX1nRZ9YIQ6/gTaxAxy8SY1S6f3yvz65smFlAqlki5rm olF/KB6EwuGUn+KCKJg0Xmw/jmbkgp9TEnTP7WkpS59LaTsRFBtGGS5xCyEFyy5McBaS j406g2RiFvy8YEHy0klDiauLrHjyHF7KSa+AGryGydoJ0bgjqQ3QzAfVmMydWrMIBSc2 N9nmvzTPbqXviMyldfQbYDkw+nhWu1iGH5mD+rmECnbtzykuxIPgm9EvGcsNGMjb/rUF ATbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=3oz9E+wONrzUTZU79l0WpeVQcrmJpZqKnrl07vYkL+g=; b=iVs05S/L24OSXeoJEieO3aKbYpVmuf641j0LNHn8bQ4zaTs2tw0Oo2RBeZrqJXxxhK zKdi/5uMpbCJdGiPBR0m6/C6NblXfkYyvMBCyP6spVY6hC2QWx6wGH1SZhVkQrAQUlxs f18g2ZLvFa8S6LN0QUBsuGFoArt4lYpc0JpzBlAA4fSy6kKzG2J/yNcoND9aZs0JTtDa ctXpK6x3FkfnQHmXBtdWy/AwJ7JEeaW3q8hV+OKuFg9KJCfdyAQ+s9K03DJE69Zcowph N7ogsANBZMvP/lNqk2iHEhHGSzJm0ylcmpM78x9NdINcRBb1C94W4p9FQcAFKbEns3NI BksQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b="Gop3FjV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si1070015edw.144.2020.09.09.01.17.12; Wed, 09 Sep 2020 01:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b="Gop3FjV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729129AbgIIIOf (ORCPT + 99 others); Wed, 9 Sep 2020 04:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbgIIIOa (ORCPT ); Wed, 9 Sep 2020 04:14:30 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D4E9C061755 for ; Wed, 9 Sep 2020 01:14:30 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id kk9so969588pjb.2 for ; Wed, 09 Sep 2020 01:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3oz9E+wONrzUTZU79l0WpeVQcrmJpZqKnrl07vYkL+g=; b=Gop3FjV/+uMnAIYjTwuHk9mfpqIV/1ElZWNwys1AKUXB331HpDTbOHFEjvVlklQ6ah voPmW3BE/2PUFLx6vbWSATCv3K1L3QieKXr5JeKT8/Po1PwEJ5f/MQMF1P0K6dlDrc5T giu1rWaAaVgB8fNtx5gNRj/r/iRP2f5YRFBKY= 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:mime-version :content-transfer-encoding; bh=3oz9E+wONrzUTZU79l0WpeVQcrmJpZqKnrl07vYkL+g=; b=cGVES9nm+6lGw9lU8dNHpqvXwMfiguN3cyMSfty3onTLz/uojLpKG9hDA0PTPTFyUx LleXv0kB1lqa5wddsXzt/nfdB8W/rQbG7/2mDm3GN/TiGdiKD54GMHduJ+dZRNNGwVT4 iBCzWx4cnAi0Kznv1+e5i+vA/pZFuFHNolO676bwSn7mn6cFnTJzANqxA9YpsAanLuRk F+nLyNCm9ogC6vv8FbcD7byqVbMeIIgkgXxW4bzl210DlysNQUoI+Upo8tWbdWdwxUxq T63EiaIZKABCJAWlvsmA8AUjD0GTjDK90AT6iRvMKf5djTIspsyUHTiOoneKInYx2HSj I8qA== X-Gm-Message-State: AOAM530tlq6BIYoc6KoZnvk3qxOiPmE3iGiWN/PL4NrOfsdwdFwcy5LG 4D+ffZUi0EUtERhz1yeI8pMwPg== X-Received: by 2002:a17:90a:b64:: with SMTP id 91mr2530834pjq.93.1599639267650; Wed, 09 Sep 2020 01:14:27 -0700 (PDT) Received: from kafuu-chino.c.googlers.com.com (105.219.229.35.bc.googleusercontent.com. [35.229.219.105]) by smtp.googlemail.com with ESMTPSA id s9sm1439672pgm.40.2020.09.09.01.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 01:14:27 -0700 (PDT) From: Pi-Hsun Shih Cc: Pi-Hsun Shih , Rob Herring , Matthias Brugger , Eddie Huang , Erin Lo , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] arm64: dts: mt8183-kukui: add scp node Date: Wed, 9 Sep 2020 16:14:22 +0800 Message-Id: <20200909081422.2412795-1-pihsun@chromium.org> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add scp node to mt8183-kukui Fixes: 0d5e41709f76 ("arm64: dts: mt8183: add scp node") Signed-off-by: Pi-Hsun Shih --- Change since v1: * Add Fixes tag. --- .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index f0a070535b34..85f7c33ba446 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -90,6 +90,18 @@ pp3300_alw: regulator6 { regulator-max-microvolt = <3300000>; }; + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + scp_mem_reserved: scp_mem_region { + compatible = "shared-dma-pool"; + reg = <0 0x50000000 0 0x2900000>; + no-map; + }; + }; + max98357a: codec0 { compatible = "maxim,max98357a"; sdmode-gpios = <&pio 175 0>; @@ -524,6 +536,13 @@ pins_clk { }; }; + scp_pins: scp { + pins_scp_uart { + pinmux = , + ; + }; + }; + spi0_pins: spi0 { pins_spi{ pinmux = , @@ -651,6 +670,17 @@ pins_wifi_wakeup { }; }; +&scp { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&scp_pins>; + + cros_ec { + compatible = "google,cros-ec-rpmsg"; + mtk,rpmsg-name = "cros-ec-rpmsg"; + }; +}; + &soc_data { status = "okay"; }; -- 2.28.0.526.ge36021eeef-goog