From patchwork Thu Jan 2 20:58:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 855110 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B142F1A2543; Thu, 2 Jan 2025 20:59:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851544; cv=none; b=hV08xgz5/GNseY6DVA/psrcvGM66W+2ht/DBi83b2SkO3krafRU4yDsmxsQXHQKNnfcjA4PUC5IGgutiuz5D5z53W8z+SO8ExOk3dTovMUccl9CyHxYe+rCaEcQv1aIlRDha2TRr0l49qmT8OpJv34YItzZtqp8UUb1mITWiJNA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851544; c=relaxed/simple; bh=pmcXzPGWNkwKDTowcYr2CkrLly8C98ecWjmCsGnSc+I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W64Gz+US/ah29EuO9KxmnHzdi/ddxHPpPT92lDyADV0wvZ3Sxf/QokNLNuEVTXU87IXD6bCnSNZ+lAzXcAag3UN0TGgGd1VHrr/J0V9jfK9qLvMcfhy3dk41327h2GZ4f+VQ7AVAOrNCA5TZJD4xhYG5A0RW7r/90S/Th8B3pa0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nowaCw8v; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nowaCw8v" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5d4e2aa7ea9so21375085a12.2; Thu, 02 Jan 2025 12:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735851541; x=1736456341; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sBnqxBdA04NC/VPNVOL2IprXPii/fgtDRyZ/Qqd6qg4=; b=nowaCw8vMOiwvx1SQwq+rW6tRof25Pp4fb2/WqP+aQn+udQScovwe7+hMVum+vot0+ aa9VZNayVhhGEcOvUawS+DZA4zUNrgSal4ZB+W+XWoPpNUTEKpiKoDJfO+f+OsrQu/nx DpNkIOmPUtG30LQjsQDkgoUo4/sk+aUJKYgcncOuivWkubjZtHmOumfBxIqLIewt7u/w kmp8aD+LokPV6bkgdzq6ObJsLRMURBDOHLCuTEsnEIyOOq6+yWq/CKidFMZo7Z72B8U7 gdIeTrFbXFzfKFSoqjeIN7NXudd+YNwdpD3fATbIG9dXAC+W55ATVbd74mf2ifCoUSK8 y8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735851541; x=1736456341; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sBnqxBdA04NC/VPNVOL2IprXPii/fgtDRyZ/Qqd6qg4=; b=B8/z5wuf/9g3pGgFjXebzXMujZmmOCS3+nDmDTuT1peoUGqpJpDjcPLvO9ZZLuYDJs /te/V0nLU7PezVz1q2gq5Tgvzm2zWpjzbttgYVX7yv+er5jRqyb+/nkpr3C1OByvDWsk TcKEaRZBDaBuwStjSYCHY5QS5J2MjRwc4BD4TgWF3LDbUxMe4lQoh/sZ3z54mp+qM0f0 Mzaytu/CMkjSgVthjuL6Nb9mGluoUPJwpm5mA0/KEsTFVgqMrYmNOWiyvwHsoVLxmV4B slkTxDJPx8OAEAXDjyBbC1/fY1KkuVxFhLtKIXsJQ98XH8is4LU1V18hWP0ZbUxz8Ank cR2Q== X-Forwarded-Encrypted: i=1; AJvYcCU11OYCZK9P2iKVcx4Lj4sl/qR3LJvZcx72TW30kjMhrzMOo52v/bOzsrWpQl1iVg/dcB805M8B6o43ecph@vger.kernel.org, AJvYcCW6JCryHijQ/RJ0YdpwFvfVdQOln5hp1DZzohxhnQMoQ0U+1+L1XZLNLx4qCJXIaaLHvmGCAci8CdHmiJv0nBakNWs=@vger.kernel.org, AJvYcCWuRP+dA1bx4/n9X58GuppTaEOors+HeYHoIaAWjTH9wwbZ8w/9woXlY2KmWfGksusntAAiBsQUoq4r@vger.kernel.org X-Gm-Message-State: AOJu0Yxjvga1Tgc4bveUa8H1VvV4pagp2aPcKno9E7RDn8tPD3oJWNqn V6aBJIiw5XmstsVGeAKepwNt1i+9S13lEvf2gwJQp8TwOzrRXwtT X-Gm-Gg: ASbGncvD0c20B5sg2DEQoAcHhFPOMzlhzG1wuORxr8tEy9iO+eAGijjo9eYFCxQ8FcG A+jHHEC6724xmr8s/gktsjXrcIjMPLkS3i4sDDRjnX/tdIvyXINt9dpAFy3/KmWV1l0AshkCHYk Wcdt9ibaTL7tVQ0F4hhZTlbDFC4cOBPCSlPCyznGORaVT/LW2mebIGYgh7jRP0aBv7j5r7vJIuB XoMBNw2hWFx7+5HgzqMqPmaYLeADxgIqYInVSBQDVgLrDrHK/ZuXmgCIEAwNcchxteYW3Hx/y5X esTag9KMW5M= X-Google-Smtp-Source: AGHT+IF3MmqnoF7IbEFavv53iFCaciUlpugsImCEl91cDLF+CSq63GBmgDJVIz4qbLmGReThikaRNw== X-Received: by 2002:a05:6402:34ca:b0:5d2:d72a:77e4 with SMTP id 4fb4d7f45d1cf-5d81de38bd2mr49286444a12.28.1735851540889; Thu, 02 Jan 2025 12:59:00 -0800 (PST) Received: from ivaylo-T580.. (85-118-76-61.mtel.net. [85.118.76.61]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80676f397sm19231026a12.22.2025.01.02.12.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 12:59:00 -0800 (PST) From: Ivaylo Ivanov To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/5] dt-bindings: mmc: samsung, exynos-dw-mshc: add specific compatible for exynos8895 Date: Thu, 2 Jan 2025 22:58:42 +0200 Message-ID: <20250102205846.223955-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> References: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add samsung,exynos8895-dw-mshc-smu specific compatible to the bindings documentation. Since Samsung, as usual, likes reusing devices from older designs, use the samsung,exynos7-dw-mshc-smu compatible. Signed-off-by: Ivaylo Ivanov --- .../devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml index 5fe65795f..ef2d1d7c9 100644 --- a/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml @@ -29,6 +29,7 @@ properties: - samsung,exynos5433-dw-mshc-smu - samsung,exynos7885-dw-mshc-smu - samsung,exynos850-dw-mshc-smu + - samsung,exynos8895-dw-mshc-smu - const: samsung,exynos7-dw-mshc-smu reg: From patchwork Thu Jan 2 20:58:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 854801 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 640E31B6D0B; Thu, 2 Jan 2025 20:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851546; cv=none; b=FQQoZW12tMEgAkZC5zgwHtx7gfJsXr62tXOg+pqDrUh5UrufExk6ArLioF+JmbEe+QJ7zUvnYUCm/UQ7202MDMHq5K1W7yngMGs1yQ7kTwZJhf5HEEIM84rgB1UawKjO0noTu+589nZKEuJ/aqrFPpDpjBBjuXxPhwyR99UZ37w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851546; c=relaxed/simple; bh=mcpMOgTXufd6BmfbvFw4DDSbcLG53qyUtL75A+s6dz8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WYowgIwkNPnEQJZkGfPXDo+611yE/EJg0hpG+enL58Cy+gsRMC+jrvfya2tKa5XZyxJUxSLkElpFSkVNEIoONsNrfw26jkjVfUz3Xcq2EBajXaF/wyES0cH1kEJoXwGfF9g7f/phxVQ7DxRPSlCeaM35LajiED9c42novQYYwOk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=P0PIhDFk; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P0PIhDFk" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-aa6b4cc7270so1669132766b.0; Thu, 02 Jan 2025 12:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735851543; x=1736456343; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CCu8j5qgaYDYPnaPdDgFFNsAqlm/hMgJljoqnUl2UNc=; b=P0PIhDFkMeDbdlu701dQP32j/WRmKBUL7Fbpo1uqfY0Eg8uzkSzk6glhqYHU0FwDhT lLLF2FcJpy8a3WttBfVamUqVia6pfn/+thnWMeN1SmS0Onhlmpux6c6ZoEq8iw/pGyUE 4MA72JW7vJPQ8nKEZcKyF8epYjCpNWAJ1Ie84bLyMKB+Cgl0RXPrAT0+Yi7PkjQiGOw2 KCqCGfCUcnm7hng7WTZo1a8APi8yu922eJ+3e8KdwZDecB8T9p20qRw9cyYXBquw7C6T XE0GOG6XtcOKHau/GgL4DM8Z/iSVXvEmKxCD5y/TTMyYyE1xDnXfkwTZ38pCzHb4NS+f 6RyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735851543; x=1736456343; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CCu8j5qgaYDYPnaPdDgFFNsAqlm/hMgJljoqnUl2UNc=; b=hrAum7olrsLjoL0bLKUJJYamEVDdRl8nDwleimt7Epei9LOzMJfDIeHFlZBQAWuYOc b6UrGomGXU/xv9vBuZSIEu/AKc8sHY57lVoa3tNUt7XHHYRyir523p84rr3AHjdBE3Ti IpdnhRRj66C9DwbD1jm82/UkFh5CfetEuwhVOsT6FMclux0zTk11eQ1i1tosFq50kV3J sOfjKMh7WIyyaDTTsymeUoh/nYJh/nFPIw/DUfBm9TB+tZ3V29IAezWup0alPZkWfyZF T38kiIH9su2C0xPzyVRJhFHDMMdr4YDb5zPU1Ds76yLKlQ4ifDyMu5EBCT16ldyTCGhg 5XPA== X-Forwarded-Encrypted: i=1; AJvYcCV4AewCANTFpHZA2eumbbxFPQVhamUZOgtQsLJugtQPRhSvuejafeQJgjDCfGtjRqbzTk1Zu/KvmpqMZRKc@vger.kernel.org, AJvYcCWbjtI0N1c+0cbdN7LePI4FISBC+Ght8U8qV48qHiEKIRx66XsomPga8Y7evIMkaf4okAUUVpx5OpH7@vger.kernel.org, AJvYcCXZNFmbRlGcNdDJmFLuFQOzNitfCqhcRDpdlAzsZBTZ3safHBEUgUBGHHznopOSmzNV3wKAsPm1ZjZW8U6Pu9szx9s=@vger.kernel.org X-Gm-Message-State: AOJu0Yzq5jSLXzKfx8lPelQ149osJ+ezi0cwcxfWH90X1QJEtZ+TQWKm ajDesDYhOV4a+vxEDPPsXdqQ+OFV/+RSVrmwOmow7awBvQIXBH0T X-Gm-Gg: ASbGncv4yOqdOEbrBOwgOUliBTAQEBqTZvLU38HEHz7ZsGhmu+sI84JJvqjUwev8N26 klRvNtXzzcaQRmVRIhZggfD+afNHZzin8ntMeDGukcU9Xvh8ZylEt4T5N5onKBNXKSP8zD88vHc mAkZ5olEArZDRAN+a9Kd8OxAJ59IVjr/Ojv/LA7SrBDSU284d41Mbu6G85hgAzz2kKhwPbiX0KK /wOg+CFSyAabnYduSIXqXGoiml4KAFDYilFBg/FcDWPgN4943AO+g+SICT3h9MDE8se+nhWSf0e IcxsN0Teo6I= X-Google-Smtp-Source: AGHT+IFzm80w4v7MGq7RShD43UwRC9a0uGe878X9IA/tQscJ5YnfdRRUF6GIlk32S2NPBCyvya6QAQ== X-Received: by 2002:a05:6402:540b:b0:5d6:48ef:c19f with SMTP id 4fb4d7f45d1cf-5d81de1c28fmr111938896a12.29.1735851542509; Thu, 02 Jan 2025 12:59:02 -0800 (PST) Received: from ivaylo-T580.. (85-118-76-61.mtel.net. [85.118.76.61]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80676f397sm19231026a12.22.2025.01.02.12.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 12:59:02 -0800 (PST) From: Ivaylo Ivanov To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/5] arm64: dts: exynos8895: add syscon nodes for peric0/1 and fsys0/1 Date: Thu, 2 Jan 2025 22:58:43 +0200 Message-ID: <20250102205846.223955-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> References: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add syscon nodes for peric0/1, typically used for USI, and fsys0/1, typically used for PCI. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 4fb9be850..5302a8c1b 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -228,6 +228,12 @@ cmu_peric0: clock-controller@10400000 { "usi1", "usi2", "usi3"; }; + syscon_peric0: syscon@10420000 { + compatible = "samsung,exynos8895-peric0-sysreg", "syscon"; + reg = <0x10420000 0x2000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_SYSREG_PERIC0_PCLK>; + }; + serial_0: serial@10430000 { compatible = "samsung,exynos8895-uart"; reg = <0x10430000 0x100>; @@ -273,6 +279,12 @@ cmu_peric1: clock-controller@10800000 { "usi10", "usi11", "usi12", "usi13"; }; + syscon_peric1: syscon@10820000 { + compatible = "samsung,exynos8895-peric1-sysreg", "syscon"; + reg = <0x10820000 0x2000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK>; + }; + serial_1: serial@10830000 { compatible = "samsung,exynos8895-uart"; reg = <0x10830000 0x100>; @@ -380,6 +392,12 @@ cmu_fsys0: clock-controller@11000000 { "ufs", "usbdrd30"; }; + syscon_fsys0: syscon@11020000 { + compatible = "samsung,exynos8895-fsys0-sysreg", "syscon"; + reg = <0x11020000 0x2000>; + clocks = <&cmu_fsys0 CLK_GOUT_FSYS0_SYSREG_FSYS0_PCLK>; + }; + pinctrl_fsys0: pinctrl@11050000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11050000 0x1000>; @@ -398,6 +416,12 @@ cmu_fsys1: clock-controller@11400000 { clock-names = "oscclk", "bus", "pcie", "ufs", "mmc"; }; + syscon_fsys1: syscon@11420000 { + compatible = "samsung,exynos8895-fsys1-sysreg", "syscon"; + reg = <0x11420000 0x2000>; + clocks = <&cmu_fsys1 CLK_GOUT_FSYS1_SYSREG_FSYS1_PCLK>; + }; + pinctrl_fsys1: pinctrl@11430000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11430000 0x1000>; From patchwork Thu Jan 2 20:58:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 855109 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B3BE1BBBEB; Thu, 2 Jan 2025 20:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851549; cv=none; b=dx9dgN3GJfFc7NPrOMArhxmeuIFNErNV3SnjC8Go/JY0kbsPeIow9Xrca/hoeJPGhjAvp+MgRMjWd4sunPw1I4L/hvUkFzqxcxJ8tUt23cU96Q90zfI3LxM6fFm6W2unc/ynW5K/yvqOkbZrOrT+AtBFYgF2eRh8MGr9IB0nt/g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851549; c=relaxed/simple; bh=/MJMh1zJqN8ptvpg4gFfdmm36/GdRk7SQtJ3x800bR4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B38IxqxGPEWVyJSw5Qgs6YRfWJp5XIrl/vkfd0r75loDH4c4fFx/Lwt4f9uqyYG2MlPDrcwDfH2fcB4Bexl8skqJGXdvB4s5qtKAafFzH1yPEhuM1DVfOC44FGx1CYFOwBQ8omg86gJ/G028I51DRDxvjVogvMVfT3MyfaO7Lng= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gXqP8p4J; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gXqP8p4J" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5d7e527becaso19225851a12.3; Thu, 02 Jan 2025 12:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735851545; x=1736456345; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ejXmXIpH2iJoF6DJo9Ei45ZtlSJBkN6hpTqqK5l0PTI=; b=gXqP8p4JBGguUL47zc82EPKwtrq3ZxoHl7a4xHR1tYQTFWA3C2+BJRRYV0wZ8zv0C9 P+sJZw0KMi7UFW8txPnwtOrPk4cpcE3b8Vj0LeBd6am170ObU7xbg/Z67lXieyY4KtPn waDz5Zr3ciMQZ6k/rWrWZaokltLr8jDsGF100OlBkAUIjH50NAoTZOmbpIs2lgpC9qrS nuBAX32iIQBVQYYVSIqU+HBZfBqd60dIHikFeUp60kxw/nkhDWJyRGkDXqS+t8VVba2s iGXfQ6voHrgZvMafbMvC+ug/zQbvbjHaQczf700dWI/w2RWin/AGeueEB1PLiuuDoFUN lvmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735851545; x=1736456345; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ejXmXIpH2iJoF6DJo9Ei45ZtlSJBkN6hpTqqK5l0PTI=; b=nTYU4Y+w/NyKKttBkVj/gxK6QldVdns0RzDSLHBB0ULNdsoj3+tHMOAxFyIUr1PANi gLJnfl/lDik4NpauWsDwKr6pBrK3Gd/GIu/Ewm8qgPFrUFCpBZbs7ANfLCiPE/v4cB8s ZQfSXMIeivHD5FQggVG0bB7NqmggVa99n98ItgZO2lhsHuymarj5pFEgnNA87f1idtyG 9guc6feVYZiB2EnPhzgAWSBzLgJeNBU3EJTGHjkXoejCtim1/INOV2I2urqW2LN0YEwr GYyW1LczLOh3T8YqnqjB1S2Xd5cnytQw1C9u1tfkxO0eM4SH6WfGNhiYZ64Lwg7h3HIy weWg== X-Forwarded-Encrypted: i=1; AJvYcCUcXBg3qxzrh/Gyvy8J2aAH8uB1kWNAX/l3OvSOHeRLiuELAEzH/slm2bAyHl1UfLzwAjiizIux9w6BU/l7M3MoaE4=@vger.kernel.org, AJvYcCV0WJRQwaI6LVQBfHffC8YO6CGUxeCfJtiTOe5BnSkPTEVEmWvZAzsD0nA4vjgcg9cfPMyE5QkrXvjJ@vger.kernel.org, AJvYcCX/BM3gGV20ZTZ9aSf09Zbuj+z2V0292hJR6KVbUf0vy7B2WdOQUZr6VPc/QcScO76Wfsux1dbN/guYqf7j@vger.kernel.org X-Gm-Message-State: AOJu0YzxLw1g7DyV/Pv86yHg+zIzbv/JAve3wJx8q4Jjy8U5DSsj385Z tpzjYSXDe/FgyKH3S95R6oZs9Pxq0Q+6i2C2gw6ikMUcD5/hgN5r6Foyjw== X-Gm-Gg: ASbGnct6xJ52yn5EfkG/Cwo2KOZaqeN8e+YD6shIB9dvH+3HE9RWAOhfb4ldE65uDA3 7lafDCTEn+AawUFQOhLwFdpviGaPmbiB1rzAgkMTM52f1AWLPxyAcMB3QYRdHFxvHg20sy87yy+ eyBcVHHE4oc76z96RdnOBNWBCn0DNn8C2rPDYGd8N/33QDXG1AsCE3osh6SJr6iAmgjJ/BtTJZv 2wgP/Yu9rJ8basePZ42sjnlah//OBffaOsUL7udHHerzFFeG/ymqy3Wz2cYGezz18DlMpSt/upP 3k9ROoUk4wM= X-Google-Smtp-Source: AGHT+IEWJmPrMZbonPEGPs43wGc0SnNh2vdnLjxfU7kDXYCkNl4katYVsLEhtleryAMzLB/j/HTx3w== X-Received: by 2002:a05:6402:1588:b0:5d3:ba42:e9e3 with SMTP id 4fb4d7f45d1cf-5d81dd9ce81mr114169921a12.13.1735851544446; Thu, 02 Jan 2025 12:59:04 -0800 (PST) Received: from ivaylo-T580.. (85-118-76-61.mtel.net. [85.118.76.61]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80676f397sm19231026a12.22.2025.01.02.12.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 12:59:03 -0800 (PST) From: Ivaylo Ivanov To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/5] arm64: dts: exynos8895: define all usi nodes Date: Thu, 2 Jan 2025 22:58:44 +0200 Message-ID: <20250102205846.223955-4-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> References: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Universal Serial Interface (USI) supports three types of serial interface such as UART, SPI and I2C. USIv1 can be configured to enable either one or two of these protocols simultaneously in select combinations. Define all the USI nodes from the PERIC blocks (USI0-13), in all their possible configurations. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 868 +++++++++++++++++++++ 1 file changed, 868 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 5302a8c1b..f5551832a 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -247,6 +247,254 @@ serial_0: serial@10430000 { status = "disabled"; }; + usi0: usi@10440000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10440000 0x11000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric0 0x1000>; + status = "disabled"; + + hsi2c_5: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c5_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_2: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart2_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_2: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi2_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_6: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI00_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c6_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi1: usi@10460000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10460000 0x11000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric0 0x1004>; + status = "disabled"; + + hsi2c_7: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c5_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_3: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart3_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_3: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi3_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_8: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI01_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c8_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi2: usi@10480000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10480000 0x11000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric0 0x1008>; + status = "disabled"; + + hsi2c_9: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c9_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_4: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart4_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_4: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi4_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_10: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI02_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c10_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi3: usi@104a0000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x104a0000 0x11000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric0 0x100c>; + status = "disabled"; + + hsi2c_11: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c11_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_5: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart5_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_5: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi5_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_12: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_USI03_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c12_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; @@ -298,6 +546,626 @@ serial_1: serial@10830000 { status = "disabled"; }; + usi4: usi@10840000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10840000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1008>; + status = "disabled"; + + hsi2c_13: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c13_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_6: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart6_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_6: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi6_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_14: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI04_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c14_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi5: usi@10860000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10860000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x100c>; + status = "disabled"; + + hsi2c_15: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c15_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_7: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart7_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_7: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi7_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_16: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI05_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c16_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi6: usi@10880000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10880000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1010>; + status = "disabled"; + + hsi2c_17: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c17_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_8: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart8_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_8: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi8_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_18: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI06_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c18_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi7: usi@108a0000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x108a0000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1014>; + status = "disabled"; + + hsi2c_19: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c19_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_9: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart9_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_9: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi9_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_20: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI07_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c20_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi8: usi@108c0000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x108c0000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1018>; + status = "disabled"; + + hsi2c_21: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_SCLK_USI>; + clock-names = "hsi2c", "hsi2c_pclk"; + interrupts = ; + pinctrl-0 = <&hsi2c21_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_10: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart10_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_10: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi10_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_22: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI08_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c22_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi9: usi@108e0000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x108e0000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x101c>; + status = "disabled"; + + hsi2c_23: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c23_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_11: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart11_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_11: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi11_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_24: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI09_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c24_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi10: usi@10900000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10900000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1020>; + status = "disabled"; + + hsi2c_25: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c25_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_12: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart12_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_12: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi12_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_26: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI10_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c26_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi11: usi@10920000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10920000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1024>; + status = "disabled"; + + hsi2c_27: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c27_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_13: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart13_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_13: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi13_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_28: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI11_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c28_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi12: usi@10940000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10940000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x1028>; + status = "disabled"; + + hsi2c_29: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c29_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_14: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart14_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_14: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi14_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_30: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI12_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c30_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + + usi13: usi@10960000 { + compatible = "samsung,exynos8895-usi"; + ranges = <0x0 0x10960000 0x11000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_SCLK_USI>; + clock-names = "pclk", "ipclk"; + #address-cells = <1>; + #size-cells = <1>; + samsung,sysreg = <&syscon_peric1 0x102c>; + status = "disabled"; + + hsi2c_31: i2c@0 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x0 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c31_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + serial_15: serial@0 { + compatible = "samsung,exynos8895-uart"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_SCLK_USI>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-0 = <&uart15_bus>; + pinctrl-names = "default"; + samsung,uart-fifosize = <64>; + status = "disabled"; + }; + + spi_15: spi@0 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_SCLK_USI>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi15_bus>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + hsi2c_32: i2c@10000 { + compatible = "samsung,exynos8895-hsi2c"; + reg = <0x10000 0x1000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_USI13_I_SCLK_USI>; + clock-names = "hsi2c"; + interrupts = ; + pinctrl-0 = <&hsi2c32_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>; From patchwork Thu Jan 2 20:58:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 854800 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F3D11B85C2; Thu, 2 Jan 2025 20:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851549; cv=none; b=mPqL1mWrrnyIEvkbGF1I2DsJMqSf8LlTotRrv8FZSusQboL3E56PDz4NCNmlTtzvZggHJ/wxWpPka8glqT6DILust4Vj16kwj7mgQ0llz3Dwb4Ftz0UI+BVtGyh97i2dwcoTCBMfz97Qa6KgdnhWOQdywY/Z93H2BMKc+TGmlro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851549; c=relaxed/simple; bh=5oBeA63bMtgvAF9jDfxcZaQhEOXDLSwpI3wleR10eTo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oTzbpAdjbfaYmQ0IWCcX8kAt2yujnm0drvzGDQlHAGE8LxoLZevu5gcxjQEVvnWgqJJNAYna6t1KqJjNkVC0RZywOsjhDUGwyLGGdWto6aXgO18khYIriUYOnVaSkxkwLER7EwJdw2I3kPdL2cn5cW4BrRh+Fja752RRyGj1kM8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XyLO9/nM; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XyLO9/nM" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5d7e3f1fc01so23451700a12.2; Thu, 02 Jan 2025 12:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735851546; x=1736456346; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ud7PsJsut6RiZUie7gXQBvGk8UPj/heMFBlNIkw2jkE=; b=XyLO9/nMrLnGnR/s5U84FMYKd2zRqPUOwRyBlM8ZvroHrbS6dUiimN6Y2+ney6z0F/ 6RVNpZgQ/MaiF+YnruTsKEnvNxyFrovM+rkz2WEXEIvPCDGkQtXfXFpSibWYTpD+vyD6 WcVZGizayrigrDtQdd3si+ESrks275gM+0ef8/rCVxTHWIzT2iDlC5u/MmUNRNEYifzp cKyhv2xHQzMOllgZ2KzmwumfgM+/88aV6uBh5X3kUhmD4p292wc/SMI44Nq+LFhEGIHF Rxv+OCFaDHft+E0mGdPaIZ8DhpkkbaVW8vlOhBKKbtxMhGyBzcy5eWds7rgj2DEKucOg L7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735851546; x=1736456346; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ud7PsJsut6RiZUie7gXQBvGk8UPj/heMFBlNIkw2jkE=; b=d3g2r4ytqOmTvQgf6qRpOdghsS0Z+9bK0Zmnftx4keqHiNXPLP3Bq08gkm6wQmFiik 3cV7Yk7Tr+2csZ4jziS1mHo779I/RtNcauWq3A3A2vs3r+V1/oGZygQD4b/z/PDu0Jil kBp8IM1feQDndmkFzmoML5YyTj7zX/DXX6OiRB3KsmiLGUkDMHixVPHicySAyJQN64ml mZPjyLBq5u7DnO395xQGnGxP+OPEqXwmqWHCRZc1pAW0prPnJkx9dIl5vA8OxkWHFYxZ AR1BrauAwlKfMXj4Ln+mH5Ckpl/CBFDA2qvJZ5LeAgmYp1sQ1umeopbMjibDlvJcWpS9 LPPQ== X-Forwarded-Encrypted: i=1; AJvYcCVdfBpBTKJFm/Qaiqq6beQUd74Ar/6dAvbz9owOm1E+EfQFqnhKEmj90n1XRrgeTEBqvldCIt6hJ4M+crc2@vger.kernel.org, AJvYcCX1ex+vwbj5WBnLvLUz/EgHb6HqAqX8ahjlVrxgqT4aCa/z3+jF7UZfUeRHwoGVne8bF3yqHVRkKcftkDNUEqgOyog=@vger.kernel.org, AJvYcCXtzKJxPgn0Pv1by/GtGdDgJqBXwYREMhYqzhJoJ5hDJfV4Xo8AYOI06ZTRh8awZhBBcv2/WH8+oFr0@vger.kernel.org X-Gm-Message-State: AOJu0YzLUM7zggMHqsfsviDNuCpPOgZfO4UXGAlo2RhS0eeHMwYH4v3L siEngdnfCRH1HK+lpDD3gt08YHv1Oabaut9rjGNlRbYK6vobU7r2 X-Gm-Gg: ASbGncvOjh7Wmp0blTUb97/NO4M/eO3CE2G+9PKRmQ1ZVpu5r+aysUatq12B8pZaCGr rNajAjPYPCOuuSQAf8qSISrujbYIx0vbKMLUjYJdo52ZIeujZV1ldTgAM6Mzz/1+HPouP20GVQw AK5OMf3TrqzehZrHLNbiO604Lu3hlOwdT/WigP38l2VRT/MGc02ZQ9zbVkTcDP/vW0vkYvrragE Wgi59bRjLjIbeDrbcXGb/9KKTm4zcE8skBWBUzY3rRyWKsAfjESMl9oA6DYgC4+Wgu6fy2DbUDq M2e0Lw+mLRQ= X-Google-Smtp-Source: AGHT+IE4jMJcKrz5vfMV9R5af6veXwOvNy+Ggg5xTG8Bq48eb3GvnXf01/g7KbEfw7Z1ZhMWSK9TUA== X-Received: by 2002:a05:6402:354b:b0:5d3:cfd0:8d3f with SMTP id 4fb4d7f45d1cf-5d81ddfd82bmr40759079a12.24.1735851546217; Thu, 02 Jan 2025 12:59:06 -0800 (PST) Received: from ivaylo-T580.. (85-118-76-61.mtel.net. [85.118.76.61]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80676f397sm19231026a12.22.2025.01.02.12.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 12:59:05 -0800 (PST) From: Ivaylo Ivanov To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/5] arm64: dts: exynos8895: add a node for mmc Date: Thu, 2 Jan 2025 22:58:45 +0200 Message-ID: <20250102205846.223955-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> References: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add an MMC node in order to allow devices with that SoC to make use of it. It's typically used as a secondary storage option for SD cards. In the vendor kernels, it's labelled as mmc_2, but since there don't seem to be any other blocks, treat it as the only MMC. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index f5551832a..537d3eae0 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -1296,6 +1296,20 @@ pinctrl_fsys1: pinctrl@11430000 { interrupts = ; }; + mmc: mmc@11500000 { + compatible = "samsung,exynos8895-dw-mshc-smu", + "samsung,exynos7-dw-mshc-smu"; + reg = <0x11500000 0x2000>; + clocks = <&cmu_fsys1 CLK_GOUT_FSYS1_MMC_CARD_I_ACLK>, + <&cmu_fsys1 CLK_GOUT_FSYS1_MMC_CARD_SDCLKIN>; + clock-names = "biu", "ciu"; + fifo-depth = <64>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + pinctrl_abox: pinctrl@13e60000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x13e60000 0x1000>; From patchwork Thu Jan 2 20:58:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 855108 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDD681BD517; Thu, 2 Jan 2025 20:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851551; cv=none; b=sxCX9iBuyBZUk+N3Qt8nCVVWc6OE7mCZW2TdifLYZzRrqYwKffntyT87St2YeuPUpqAf+4TEpoQnpHwg+9y5fN+i04xBIfqwScKK0GW9lTJcE4JnjEwe6YAZw+xYJ1tmeFOR/+ggShNsIuNbeLVDgvqMZ83iJhVi7I4YrckZTJM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735851551; c=relaxed/simple; bh=El6oZPYP9raNBx64p7bNSOLOYIgZnqdc+g0mtZU9hNI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O5md/Re3ibBJhQRzhIVbjF5giLLc1A2uNV8wxkZNfmkexok5rXWeOdEfiMlDKDKFWt8YDGCu1bEt8WA0YGFLw3PH576Lt6/xTSjxOfqDolbhFmKu20wouhnGjjEc64DA/S3aQLAb4BjsdBMPIwDn8DgHLKNrrN2QI0npd5SW3Gg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ASl02YyT; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ASl02YyT" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d3d14336f0so502507a12.3; Thu, 02 Jan 2025 12:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735851548; x=1736456348; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+y73nUcbBkfcVEEE7f2hhwMMuuJMYtvWJsQ+Bwiwlis=; b=ASl02YyTR8r7Owxw5p8Ao5Bk2jV0FOktRThMBcKBWgk/qihlKxUum8nsYsff5twPul eb47mEAA5lRfCVPj5QOlGkkiLx1aq84W1FUUKksqmqFM3hxIWQPZkpf49+WBNklp8Wwb dZOb+5nqoLV063YwxCp2dssLRaBA+Jp4lDiu7PlbcuOL5AI+N7EgN9WcrDVydm0d+BOm cCM9akxlW5jTg33uBKA58Dog8llTwQ/upzXw0Bfznx7N7UPt7cSA4JJ3khHO3UEeJ+0E 7kITtt461IJsa6ope4dBN4So1QCmB4nW+NLS6uwpENnhYTohfJCtBMogiQIVYLQ7l/EQ H6fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735851548; x=1736456348; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+y73nUcbBkfcVEEE7f2hhwMMuuJMYtvWJsQ+Bwiwlis=; b=MZ306jtyazVTdijdrJ0UrT/ZxTUKYxAkuHZPlO2AqvKCBORsEOiEEa3IyaZVno0QIb RqoMLhxVLW0E94oLssnZtIVVMJwcvari64EJJdixbF8tRQDt6x30eXowP4JcKkqCBbv7 kuOcQidJ33reu12zlC0WYfan4qAXS2oDhvH2b8ipXGMIkhpCTWJu6oopaO9sVApAQo1D kwtQ9d5NHI5h2ZpQOv/wpVc5r7Tx0khC+a5x5vrD/xaJ/sYQr7BvZaPXDXk2r3e4eUVf MG7Qesyg2ZSUVWqGv5DYYaHkx5K4I/EOORAk3+MNYTeGf460qwfMCyO/slZ4XEbMS2tA 5yAQ== X-Forwarded-Encrypted: i=1; AJvYcCURce6Kp9ZFDiYh3IsJlo9I2nvipd+SD/Er/mH6MSJSTa6r0PiexXswrtrVbyznvoc/sk2eXvdihO9e@vger.kernel.org, AJvYcCWFfrh/JcwgeUdcGsSwCFY0pIlpVqO66AuLLxB7wTpvNptrRIyMCucP4ZrE1nyVu2dgG1EJR7p4lJKm+JxC@vger.kernel.org, AJvYcCWk2HHaFFczj1jnMrgYikfAvolINQD7eRqFWWB166ishkF7u7QhlVOQg4/nCel3Yu0js0JKjfkBInSixy6qjAXRl5k=@vger.kernel.org X-Gm-Message-State: AOJu0YxhOPnQftt+cSJxG9Iuc4GC+fyAfeNTIkAL7EUgjBWk8aJdNt7h lYL3aNNANz2B7ydA+R8YGa2P/Kh2CEcrKTfU9dhRFyFjLv+0hmUU X-Gm-Gg: ASbGnctlBZw3+Y+EF4Xy8wjeHlrm6Yqr+CumxyN0hQOFwlnulHrYHjmgcwpab1so6vr 2LR7ggn9k7tHzMUBoBag06QrRs7As/EhOMTs+GqmpCiV+an6xjSC70lDnfgBcqlduILqJsHAmBT yeXhjClnnZcjuSvcyrzWcHYrblEMN93cEyRhAlqb8Fkb0DO2+Z59Tr/2DQ1Lp5FCVUEoAediWwK sSShReA2+PKOirb0puNISAcSixRgNyfgN5e1pqBrkCuKOtL+5ABXjoUWX9d4oUwe5OG5aQGs80j HGbFFejh7gQ= X-Google-Smtp-Source: AGHT+IEqlGR7cLKfiAb4iCKtSruswOwU1yNrvzRiMPDUKtmOOlw4jmo4JyXYCEib8UgWqzIe5UpKDQ== X-Received: by 2002:a05:6402:518f:b0:5d0:b51c:8478 with SMTP id 4fb4d7f45d1cf-5d81dd7f300mr40558577a12.12.1735851547982; Thu, 02 Jan 2025 12:59:07 -0800 (PST) Received: from ivaylo-T580.. (85-118-76-61.mtel.net. [85.118.76.61]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80676f397sm19231026a12.22.2025.01.02.12.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 12:59:07 -0800 (PST) From: Ivaylo Ivanov To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Jaehoon Chung Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/5] arm64: dts: exynos: exynos8895-dreamlte: enable support for microSD storage Date: Thu, 2 Jan 2025 22:58:46 +0200 Message-ID: <20250102205846.223955-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> References: <20250102205846.223955-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Enable MMC for the Samsung Galaxy S8, used as external microSD card storage. Since the main PMIC is currently not supported, assume the required regulators are enabled by the previous bootloader. Signed-off-by: Ivaylo Ivanov --- .../boot/dts/exynos/exynos8895-dreamlte.dts | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts index 3a376ab2b..11aed89a3 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts +++ b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts @@ -16,6 +16,10 @@ / { compatible = "samsung,dreamlte", "samsung,exynos8895"; chassis-type = "handset"; + aliases { + mmc0 = &mmc; + }; + chosen { #address-cells = <2>; #size-cells = <1>; @@ -89,12 +93,47 @@ wink-key { wakeup-source; }; }; + + reg_sd_vmmc: regulator-1 { + compatible = "regulator-fixed"; + gpio = <&gpb1 1 GPIO_ACTIVE_HIGH>; + regulator-name = "sdcard-vmmc"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-boot-on; + enable-active-high; + }; }; &oscclk { clock-frequency = <26000000>; }; +&mmc { + assigned-clocks = <&cmu_top CLK_MOUT_CMU_FSYS1_MMC_CARD>; + assigned-clock-parents = <&cmu_top CLK_FOUT_SHARED4_PLL>; + + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4>; + pinctrl-names = "default"; + + bus-width = <4>; + card-detect-delay = <200>; + cd-gpios = <&gpa1 5 GPIO_ACTIVE_LOW>; + clock-frequency = <50000000>; + disable-wp; + sd-uhs-sdr50; + sd-uhs-sdr104; + + /* TODO: Update once PMIC is implemented */ + vmmc-supply = <®_sd_vmmc>; + + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-ddr-timing = <1 2>; + samsung,dw-mshc-sdr-timing = <0 3>; + + status = "okay"; +}; + &pinctrl_alive { key_power: key-power-pins { samsung,pins = "gpa2-4";