From patchwork Wed Aug 7 09:08:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 818170 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 9DFDD1C9DE2; Wed, 7 Aug 2024 09:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021756; cv=none; b=uJQRAd+X6GgzsK9VULqyayA+DhGbhKtMuP7cmlCEpu5r3iijFywO/t6KQ3HyJKMZJScsJHstZRfJoqzRM3rtrxL9GOh29AVwg30B8XnenVnYmHoJXXEgkl67ngBVkLXENyVTvqGxqhkKYiqv+vA3Ik+psw7bnTyNfxQzH3zxC+U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021756; c=relaxed/simple; bh=X7Xv+DGFOrGeA8UjWg/KHhlN0fIfygeRXB0K877bKVE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h4CdGZH3pF9a2oEXZi1FLxOE8SPl4WrEbKUEGjMAc4SrXxVI3soamX2MeByQqjb+DmkOd0IJHjSa6Jgn0kM4BrDzzEYcYwNhCCrDHcur3QHinitEc/piASqkifAvgIOXadfsz/MzMSHnSn6UYR7gdnPhzqdRVuKo3DjqU5CpwVs= 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=esjxEbAv; arc=none smtp.client-ip=209.85.128.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="esjxEbAv" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-428141be2ddso10565225e9.2; Wed, 07 Aug 2024 02:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021753; x=1723626553; 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=CMHASFFm7n1fgyIaBm3TJS/QNjIvFojbcRZtCPlVMiU=; b=esjxEbAveQx9wi78Vja6pLjHaJDee6xz5qSKOYHqqoUm7xtEt65q7lyI4dkEbznQ0d MQ20EoJs84+BcFSA3pmFTrQ7nE8uA6Sn3920DG3E/t6h2h8SFqdy5ZTnYk909/urTtjl PjiCzLB8L0sh9OP2hQMNEdsOvufDXXy0yuW3cBns6XKz74BW/W5sgcwcSnEZMZ5R2owd xpM7peU0qfzioU/xFl/3gBb5HYbyYtiJMs8oHZiXWC7JZb29oy/whWH2inKj1tHditSc 9YlchqCkY9BExwfaabUm9k+JCF2+2QWni+fAIEbSbp2GkY/k8LbddctGcOGxKk4JQmxw 3AVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021753; x=1723626553; 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=CMHASFFm7n1fgyIaBm3TJS/QNjIvFojbcRZtCPlVMiU=; b=S13fY4T+Hrg0GMPJb/ZwRixYCHt3qWaMkXHF7bjLM/l9MxyPoLNZObNvVUhlix1e49 7vMsk7KxjCDHhsla6GZby9tG3dTp7w9NJE3AvYfhCHa3adWW6YvrysiIpZMtXB7PJNqN xMkPF+kFZs1NLfHtmA9rNAlqdYo9U8gg4K+ng/LeRp2GgJHi+2Q/Pdh00TU6oE5uXeXl SI7KvrCGm7V6faMyo4sGTsDgyRt8S5J/IZ3cBhx9L+FMCT7r7EL03tubx9tgCCvRumP7 7WvAP4wbuqpd3nVBBZPEWXIv0pDgQIAcaKRefPEskR7qmItEcUwWzkuAr5hlk/y96iIU bk8Q== X-Forwarded-Encrypted: i=1; AJvYcCWNP7QX3Mlyr5+j7TBrvYzfgU1RJPR66paLv1gES6aa+rb33yfi9i8yD/L0YJHNH7iVL/XPcTSWhJOUlDCLVRTuWePrO1cv8M1ZVZjUsgZU2dCT+F8wpeGyAAGdQ3jLBwA2OTtt3jCdupTOMceyhf3+UvHDRPmlYFXQ8WWRCTvxzuExqgc= X-Gm-Message-State: AOJu0YzTCKC/OUXw74RehVy5IYOtYFL3eU9f/eGPa7Q6ptS1siTSOx4C 3pABSxGQhUMoy8jRjfEGdK6/1ccF76EqbIvV2OPYwk7I2yZB5hf4 X-Google-Smtp-Source: AGHT+IE2aksSyfeDNo85hEOYerr1ryMHXngXrMWc3cGK4L1JQv2P2DF6u+qdb81ofX/P/mzF6OKekw== X-Received: by 2002:a05:600c:524c:b0:426:5ef5:bcb1 with SMTP id 5b1f17b1804b1-428e6af80aamr115901905e9.6.1723021752580; Wed, 07 Aug 2024 02:09:12 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:12 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M2 Date: Wed, 7 Aug 2024 12:08:49 +0300 Message-Id: <20240807090858.356366-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a compatible for the Samsung Mongoose M2, found in exynos8895. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index f308ff6c3..76df786ae 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -188,6 +188,7 @@ properties: - nvidia,tegra132-denver - nvidia,tegra186-denver - nvidia,tegra194-carmel + - samsung,mongoose-m2 - qcom,krait - qcom,kryo - qcom,kryo240 From patchwork Wed Aug 7 09:08:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 817505 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 DAFEC1CB317; Wed, 7 Aug 2024 09:09:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021757; cv=none; b=fJac3Eeco713BfkzEa14AC9Izq3++vss2ZClSkdEeNF5yQHDhPXiCm5tvJ55NlOknb6qpAHYP2+q9NcOk0U4mVCtXgFkZadEhMGox/5UUUtu+rA49wOQ6sSsuQU/Ds6PEjOA0SjiFqdTClRF/p9YQCHv5lt+M3FctE6cTSutc8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021757; c=relaxed/simple; bh=jZ0OlPFzndEtCjjw+ok1vNdnwb3hzi1iDyj0FdTNykc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JsV2u/2aTu9oxN58uhWlHMPk4g75D0cBdjdiUFmvDL1XxMa1n76fuTLMBetyvoRMgHrS9aXAjmhnGlyXM7a3N3ExwwRfUoboIaUQOQhm+mdR74Ro0EBYWwMHcSO8G5OqYfwFWCFU1wFY5VHcUCTOn3tw5Kj7HRRZdIK5Hy7mMSY= 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=AYGO9jln; arc=none smtp.client-ip=209.85.128.44 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="AYGO9jln" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4257d5fc9b7so14757665e9.2; Wed, 07 Aug 2024 02:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021754; x=1723626554; 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=CgddiJuAJeHLG6VgSnhOl+X5C5KvFbVs0eJ2zYji8yM=; b=AYGO9jlnHCiGb52oEIDYitisfK3UPcYiMUTz/bbtgxWMRNurp5YrS8DvwTad3QoLJE F/YAtGrH41M0dxS46VpTJ1PASc81+Pj7wuVLeLromn8tOqOy0QFVZXFz2fu8LLbSSiYN p/wgRXvi+n08WCAW8H6NGu9R4SZJkhfm+vAdPdBBUHd8pgfN+PM8IDQSXSiasSiQrtoZ pug7AZa50JSf3xzor/NIs/efl8xIpCPS3nY1mRlKn9VvYfsLmx+vsZjRh/OISW7UQW8g TssUfXN/k6kIsTeJlgwsoeHMmKMuagghogw6qwCysnLQ7bOX42QOJjGAKx1ddI+7e6MR p4HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021754; x=1723626554; 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=CgddiJuAJeHLG6VgSnhOl+X5C5KvFbVs0eJ2zYji8yM=; b=ulmaUUmffdfQVt7fA9R0E4iUEERg9ltEQGZ0+jBrOvmwkJkTvxECNlmP4BdBoIwntp 05UvukX5n6THxjvDAsurvOXQ/hKY0oqgWlxS7qyvGOExwQywR5viUfsORmJn37hcxzLU h5EjW03/bsb12VPmDZC5zCXmVvhO3XCktSGNnb2/1O62eWYTtNsV5/ns5f5+QLZSbxEE gA2VdReNwPRiwhk64MYa6xsgFPgfRytkoseMewUhKSFj0QdGXGmz82QbKj5e6Y093a9q nzLNyaN1GLIt7BjCHgk4nwL4ecJk8jdoPl/DXuGrD+tSppvuMdI65Cg6mvJHnzhjQU9T nozw== X-Forwarded-Encrypted: i=1; AJvYcCVmdIDy8XFTLi/FY38qIaEabFawIEzke+2yGZsctv1mCkBtJPfWc4nDNLBN+PilMX+8a3wahvUwgHdZQ4ofZd95azfx2iAZmFZXq/MKGLLxT7MtGTUVpM6b2bc9t+xtJrGBVJiZKGHO+P9SSo6dSFAaFgcAb8XKB8yCiReNHPZJqlS0kWs= X-Gm-Message-State: AOJu0YzAbXx+aVtr4UNJjMGPsoTy0rdyuQ0oeyDgEYYrFyn21t3qWwl8 ILIyuhuRNFO9UN0KbcGuMjo0n1xvyjWUkmsTJuU3xUPYTaMmqQGe X-Google-Smtp-Source: AGHT+IFY5kYptyvuicJFawuvjdp5LpaWIq8c1XNuH9hPIkJQejmu932/4A2W2hohPcvL8V8qxYN3zw== X-Received: by 2002:a05:600c:154c:b0:426:62c5:4731 with SMTP id 5b1f17b1804b1-428e6b7ea40mr162786115e9.29.1723021754104; Wed, 07 Aug 2024 02:09:14 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:13 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: add exynos8895 compatible Date: Wed, 7 Aug 2024 12:08:50 +0300 Message-Id: <20240807090858.356366-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add "samsung,exynos8895-chipid" compatible string to binding document. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 780ccb5ee..c50ee587d 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -23,6 +23,7 @@ properties: - items: - enum: - samsung,exynos7885-chipid + - samsung,exynos8895-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid - const: samsung,exynos850-chipid From patchwork Wed Aug 7 09:08:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 818169 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 6D8011CCB31; Wed, 7 Aug 2024 09:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021759; cv=none; b=RRyNP8YyNr4V8hyj7YHLSZYB4VHyQ/w/nj+yrnhzey0JCH2h4bSJCAuc0CZA2jmo+fElqqQeNtdt9K0ABxh3u3nF1ek32Fa6yzmr85jtGd/o5ONLMG+8uH/kJ+Rjl0aXtnZ8wJCgakGEgHrXhGSxTLsplIKBQ/cAFqqWKPzDn+E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021759; c=relaxed/simple; bh=vI0RIdSJ1znKAHvXqswxUlyowH7YZS3p7igsNCuLn0w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Eu5QJ+vEjmjp6hzZREG9tHXXNm4AnnNJb7MIMiklt2e5ERbtdmxJEb3Zu+vMwiW/NcdtGUBUQrdUnZHeaJVd/F0eElZOVcC13NJaXn78B1xkivrEj/U5amCmS65nK4UJ283S9ZbHmgCrAxrxf0qT3SQ38n0n+1WyzO1yJkjbY30= 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=HxRs8kPR; arc=none smtp.client-ip=209.85.208.179 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="HxRs8kPR" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2ef27bfd15bso15863491fa.2; Wed, 07 Aug 2024 02:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021755; x=1723626555; 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=mxlRfq1HATSvQDl8g9hY9l8C4ar35ZDezyMHRtFeRHg=; b=HxRs8kPRV/vwPLzXl1NFboXVxtOYpgzAPoULeQaWrKc8sa7DbzmzvoiBoeHenzLeDf 9X7kfk11heevSfXrWtQXn9jLiEXBboEjovkgFaHErlx1nD1UpynQ8DysM3LxgML32rS9 Wp71f2AOmvs2XczaewuU9bCp+tisHm1fUzYRFqCE+lznQQPcQbLFCkIKOOej/yD635N7 B/0O6IpTkjzKRWzgX0/Es/YFhz+CqsOC1faAxs5cNfWhYWmBksdQ5tSgCZdW3wUGXzv9 5jxCyWb1OkSmoYCLe6zWOlUWsufmnst4RddsO+T0D2fKrxUxRgCtk+6kOcDjPRRsXqPI hwsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021755; x=1723626555; 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=mxlRfq1HATSvQDl8g9hY9l8C4ar35ZDezyMHRtFeRHg=; b=paFQRMVRHRAEkeghb6qokhyvHItyxSoxQxvSVl1ilA5SwHXzZsxGBNble4KtB+rKMt gQxJV+K6BMX2v5+h4TPiUlcsBkVhD6M2DV9qukIHNZpBtaq3i1Jw/NE5FJtZlGs+okIb y3gHPsMCS22zrw+xlx/K5xqtV1b5Dmfxh6c9Bm4sEfzXyHcn9a907GjFkZ/vwwV41Tfg /j7ovGs/Y2pRM3I3zbv77eYGxsQ1JIIFwBCJJKlNIZsCkUJUSU1gl8I6COGEjRs4MF5Q E6CFbHBabznys50GcaShDfOmcmp8NjlC4b0gOdeSRMthCYckzbKeQ+FI0aR4edtArZqD 1yUg== X-Forwarded-Encrypted: i=1; AJvYcCW8dgQdnNYDzwlm6/0hVO56Ha5Ps/slnfewO32tErNqUK/ei3M6DIPKhpiqGyAgZt76NSnYMydU+ctdTodbnDaD3mTONOYU6Ia/7IhqkZ0/FAMmx7RpeGZQKQfDU1TvNPDm7/ASsxL+xobqcAjAtl5Ts7WcEqcV8nu38+9BoTWTqRZTMqg= X-Gm-Message-State: AOJu0Yzlim0MQQZP0/cCFg1fjhYgPJrngff/557T2Nlljs2NMCLQcsE+ SEl6TTheiA+Cxrjyzo2pNAPICPhaPRDuFyGimP6UC7xFVNGi2r0m X-Google-Smtp-Source: AGHT+IEswZtq/7m7X5I0dzQSodMqJIkQ98Tj1xC2lHaUy2fSyxPi0oiv0jUwDqnr0oKz2LJCsGYJNw== X-Received: by 2002:a2e:720a:0:b0:2ee:7dfe:d99c with SMTP id 38308e7fff4ca-2f15ab0c434mr128065641fa.31.1723021755339; Wed, 07 Aug 2024 02:09:15 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:14 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/10] soc: samsung: exynos-chipid: add exynos8895 SoC support Date: Wed, 7 Aug 2024 12:08:51 +0300 Message-Id: <20240807090858.356366-4-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add EXYNOS8895 information to soc_ids tables. This SoC product id is "0xE8895000". Signed-off-by: Ivaylo Ivanov --- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index b1118d377..2f794cee8 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -57,6 +57,7 @@ static const struct exynos_soc_id { { "EXYNOS7420", 0xE7420000 }, /* Compatible with: samsung,exynos850-chipid */ { "EXYNOS7885", 0xE7885000 }, + { "EXYNOS8895", 0xE8895000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, From patchwork Wed Aug 7 09:08:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 817504 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 B147C1D0DDC; Wed, 7 Aug 2024 09:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021760; cv=none; b=NhalQaZBeGEOSyt0er1DlFcgr2+/v+t2xpD47yVfE4JZ1Ueo4P8RtmO70QjRRpjSBsCr9wV0QpGdLNkVRcjXj4t9heiaqROdRnGrojjNORlXi7Kc/x53i8t5yxTy62753Xokp3STqilb5FseVHJYdVXiLkovafrOi7kyEEFRsws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021760; c=relaxed/simple; bh=BACZp2t3koNpk0Kx5baIyUrgPL9GxILVFw3r67ukXfA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=casb4URIIGfod0oCGJ7K8zt6W6foXeiFOravyZ6Ye1IKcCN5oXbwTi0njSFS+qU0OsGEp5uYHk3qugvJcESHlI8AqdizNp/biidmt2G8fPD1wZ1cKBFlU4wcPe7zh+lIZwPb8lQXrwHyJcA4eEgWTmVUJkNmvtJbg24nhHWCrlw= 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=d2qD2O+k; arc=none smtp.client-ip=209.85.208.174 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="d2qD2O+k" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2ef2d96164aso16539141fa.3; Wed, 07 Aug 2024 02:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021757; x=1723626557; 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=I+rRgxOmYLi2N4XWgCIbZjKsFXKXkm9CvD8Sxq31aYg=; b=d2qD2O+kTs12QfQtn+lIpVEPTBpV6Ji2HMigOSSV2HWXf9hWU7+oUwqGRs8bnQUvKy zJk3d1vf2S7XNk6O3JDTjqKls4fm1Nde/LbByMgcadupu1Vrxg/DsWyfr1u7rcDrdTjT 45+kFVpGPWCndHAK+vMs+yhSyfWgkRKKj+kQP2S5gq0kq5GqWBdCUpH/KpLauOCoJHRF kQJ1Qkts/DBkz/aUAswrhUNwy+U7V7cObTiAgU1VeQKZro/MNdaR1vbtKV9wUco+lkVS Mg4GQGZ+M8guHejCr6h1iVzHnuXu/A+konttP6oVphqLxM0Q5BlJJN+cMXubT4OvVPCA ZbVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021757; x=1723626557; 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=I+rRgxOmYLi2N4XWgCIbZjKsFXKXkm9CvD8Sxq31aYg=; b=vA3UFZFZkMAyJpgLWh0xhM7IeIfSeqi6ow8N8P4VKrxNxLpPHtUx3vmmqarMpQmoDK FDhXtk2HI+hjaI6mlsgQAh6NLTHVE8otu6TOLHCDtDR9BYc26yX4VNHwh1JbM0e27tOl tXRaEqFmfC2yPSjTKWukFC4L9so31jfou+yIwwy0VkCkYji2SW7BTUAugMrVV0kAQXSx 55b7AbBnAGIAxDN+bNBctdB+5sq/bmvyU9+uZuHROUv80jm9oo0COVqzN8+bGhsn7B2O a7RDhTVuzs1dyYyMLXLf56v+3HzdZNZiifIIAiIeYMTKcY/dfApdLLkaFm9o+KSVIsZQ oazA== X-Forwarded-Encrypted: i=1; AJvYcCV9BdgPhjFwp7rw0O6gJW9TX6eFjCySVH0nLPwMNw2ug4xVa9CEElqBn3fJHi37ZKMAmu1GSonRqdVj@vger.kernel.org, AJvYcCW+fxLsQxc4vq8Sg+j+bcopplI5IOaYHIrqtCe3VTfPNGUvLJW7Mp1e3p5TmSvQGj+OdBgfTLg539YTgedx@vger.kernel.org, AJvYcCXCt1EuwcUzJwC6JgKTBItS5kEjZfcp1aGAOHESlV6sIgpBLMfg68d3nN74YCtCOPiUfxcncpNSqSzMoA==@vger.kernel.org X-Gm-Message-State: AOJu0Yx0pG6WWCtR5B4T2hb6F3BsKgnl+MJeXziMv+MfbYshiNzkyEFJ 91mxXaaXo17ZwYHgf3Wsi2NtcFH66jOBWFpOOySabHEZ0J1UqyLt X-Google-Smtp-Source: AGHT+IHZj/qaVwBeUYEqoaOt4fPwTRtmjTIhR7CIMvfEavPnT6SbjpTOmBnJhDXNtvBimqFUiwAygQ== X-Received: by 2002:a2e:3002:0:b0:2f0:2833:efaa with SMTP id 38308e7fff4ca-2f15aac3960mr115280051fa.25.1723021756645; Wed, 07 Aug 2024 02:09:16 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:16 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos8895 SoC Date: Wed, 7 Aug 2024 12:08:52 +0300 Message-Id: <20240807090858.356366-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add compatible for Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov --- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 242dd13c2..a2af2c88a 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -53,6 +53,7 @@ properties: - samsung,exynos7-pinctrl - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl + - samsung,exynos8895-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl - tesla,fsd-pinctrl From patchwork Wed Aug 7 09:08:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 818168 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 3BF891D1741; Wed, 7 Aug 2024 09:09:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021762; cv=none; b=cjyqB3p/nn3sonYg5zRpnuSx60sd1G0zShIjrYKeW1SbJP4WThahExxz0slJckxh0taydqjoDeM2mh8NMgFDhrNHVW3chVoedInEMwZNZ85+atZoPrZI4JDi02j8WZR4KV6lVdJentknpcGCdXj9e/AMl6xi0fg74RqkBfpKd6Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021762; c=relaxed/simple; bh=Ps/ngxPdD2E1caQw1B5fJzSUmchuUrFlYrEy/iKWhbg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AGp9iY3Ka5SINmS/+pTU15/LCs2gFDHOmiXPmjJ3+ABbBNow5Z4wg5bvFAdh5VQnOWusN53BQnl0h886f8eoJOLG70inxTde2wklbJ7iRUwYAIxfYL02uJTP+niGUZNQo95IZKWS55sE0gf0I30e5Mpi82Vwaqt3XdwPwkJOqj4= 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=jFo/f+qr; arc=none smtp.client-ip=209.85.128.47 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="jFo/f+qr" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4280bca3960so11210635e9.3; Wed, 07 Aug 2024 02:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021759; x=1723626559; 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=DpOR1yEEo9T7o54nBi7OPU1qWueiNJ1G/1IxzwZ9XpM=; b=jFo/f+qrG87cA1VurtALFDfTM1kQ/R39+o/fKER0mkuyry9vVx4MA+4p4OpzEpvgjt BnBb4sk39pMHoBGV1vFFAv6GXIy9FP9xI8nvji1InOt1CYLFtTXrGjxBuPwvtrJckl3x LsNdWo+JQVVzYZiYmdH47SIOJDISf3YorTTPO7ebxZDB0/nfZcnz4g4KFAt4FPb72sCr ICGDfr/NTRC+ii02Qp5ncbqk3EL3yuPiFp1jRpG2eEoRSnM5/FcBo/k9ff+hdE7QQtLK L5hQPvVdm/1JxcBzWjwheG+QYPgysoPb4iI6l7I9IUuLzW+15lB4VH0bkPWcBl0UextO V42Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021759; x=1723626559; 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=DpOR1yEEo9T7o54nBi7OPU1qWueiNJ1G/1IxzwZ9XpM=; b=FtrkGRq8MzpSmnzrbQIkGafbnYO3AFaPMsk8sS4MyoILTt0Qvr5ufbrEgOWXOrHczM qefk+Kul3dwzV7tMG3C4sZoGQYnQeUsd1juLj5ZNm07+q2ybZTyoOCm8wYUMFJQzFGHq ojfLz/nHfHtGC7s1u72opkYgotw/cuTBwnIb07dFgHVfhyXgRhfMEAR9+giofeOpWYul xAmFDMUhmwFSMXC4olgZqGObR6JjeMoqzSMC+53gcLhfufJrteGVXHGc15dOSKzRXkG/ 5fV8PsPCgL4k1DmLU37NzFBJGhjVzKrjIgDLC8uneFui/GSZR1Or9DXn0rU3rUq/0Sg6 ZLhg== X-Forwarded-Encrypted: i=1; AJvYcCWVeICdqf2lMscifIaMli19N4Sb/WCy8dD/EKfscm5KG9Gm4swlg4h87nsy4kRPMlgYMBFOXXcvBohGdWYALNSdP8OdpklCDAs2zuasB47LnlL/puMzeSDwHxl40Kayecs4vA6pWqenul/CWM8Xf+fSaw5RHQBXVYB+/JSeKAKP5jtp8ic= X-Gm-Message-State: AOJu0Yywv0jFhjL6KrOlviH9Kzf7M3LUZwW5Ai133MTWPXr5Mq3yr1hp x1G3ReHoeZ7rBmfzXVfyGPpWD43YOWx6UgFGHU1SdzbDvcf4FNw7Kzf2BAzp X-Google-Smtp-Source: AGHT+IHdvsaWIsKEEUFQyYhMi/rV270dr8FZiTkHkxGYyFx2KDA4A3aEB9MQ/k8F7+yep81PfSIyig== X-Received: by 2002:a05:600c:4e8e:b0:426:6667:5c42 with SMTP id 5b1f17b1804b1-428e6ae27eamr118579485e9.4.1723021758349; Wed, 07 Aug 2024 02:09:18 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:17 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/10] pinctrl: samsung: Add exynos8895 SoC pinctrl configuration Date: Wed, 7 Aug 2024 12:08:53 +0300 Message-Id: <20240807090858.356366-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add support for the pin-controller found on the Exynos8895 SoC used in Samsung Galaxy S8 and S8 Plus phones. Signed-off-by: Ivaylo Ivanov --- .../pinctrl/samsung/pinctrl-exynos-arm64.c | 137 ++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-exynos.h | 10 ++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 4 files changed, 150 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index 5480e0884..0d5d14cf0 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -58,6 +58,15 @@ static const struct samsung_pin_bank_type exynos850_bank_type_alive = { .reg_offset = { 0x00, 0x04, 0x08, 0x0c, }, }; +/* + * Bank type for non-alive type. Bit fields: + * CON: 4, DAT: 1, PUD: 2, DRV: 3, CONPDN: 2, PUDPDN: 2 + */ +static const struct samsung_pin_bank_type exynos8895_bank_type_off = { + .fld_width = { 4, 1, 2, 3, 2, 2, }, + .reg_offset = { 0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, }, +}; + /* Pad retention control code for accessing PMU regmap */ static atomic_t exynos_shared_retention_refcnt; @@ -866,6 +875,134 @@ const struct samsung_pinctrl_of_match_data exynosautov920_of_data __initconst = .num_ctrl = ARRAY_SIZE(exynosautov920_pin_ctrl), }; +/* pin banks of exynos8895 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks0[] __initconst = { + EXYNOS_PIN_BANK_EINTW(8, 0x020, "gpa0", 0x00), + EXYNOS_PIN_BANK_EINTW(8, 0x040, "gpa1", 0x04), + EXYNOS_PIN_BANK_EINTW(8, 0x060, "gpa2", 0x08), + EXYNOS_PIN_BANK_EINTW(8, 0x080, "gpa3", 0x0c), + EXYNOS_PIN_BANK_EINTW(7, 0x0A0, "gpa4", 0x24), +}; + +/* pin banks of exynos8895 pin-controller 1 (ABOX) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks1[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gph0", 0x00), + EXYNOS_PIN_BANK_EINTG(7, 0x020, "gph1", 0x04), + EXYNOS_PIN_BANK_EINTG(4, 0x040, "gph3", 0x08), +}; + +/* pin banks of exynos8895 pin-controller 2 (VTS) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks2[] __initconst = { + EXYNOS_PIN_BANK_EINTG(3, 0x000, "gph2", 0x00), +}; + +/* pin banks of exynos8895 pin-controller 3 (FSYS0) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks3[] __initconst = { + EXYNOS8895_PIN_BANK_EINTG(3, 0x000, "gpi0", 0x00), + EXYNOS8895_PIN_BANK_EINTG(8, 0x020, "gpi1", 0x04), +}; + +/* pin banks of exynos8895 pin-controller 4 (FSYS1) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks4[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gpj1", 0x00), + EXYNOS_PIN_BANK_EINTG(7, 0x020, "gpj0", 0x04), +}; + +/* pin banks of exynos8895 pin-controller 5 (BUSC) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks5[] __initconst = { + EXYNOS_PIN_BANK_EINTG(2, 0x000, "gpb2", 0x00), +}; + +/* pin banks of exynos8895 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks6[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gpd0", 0x00), + EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpd1", 0x04), + EXYNOS_PIN_BANK_EINTG(4, 0x040, "gpd2", 0x08), + EXYNOS_PIN_BANK_EINTG(5, 0x060, "gpd3", 0x0C), + EXYNOS_PIN_BANK_EINTG(4, 0x080, "gpb1", 0x10), + EXYNOS_PIN_BANK_EINTG(8, 0x0A0, "gpe7", 0x14), + EXYNOS_PIN_BANK_EINTG(8, 0x0C0, "gpf1", 0x18), +}; + +/* pin banks of exynos8895 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks7[] __initconst = { + EXYNOS_PIN_BANK_EINTG(3, 0x000, "gpb0", 0x00), + EXYNOS_PIN_BANK_EINTG(5, 0x020, "gpc0", 0x04), + EXYNOS_PIN_BANK_EINTG(5, 0x040, "gpc1", 0x08), + EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpc2", 0x0C), + EXYNOS_PIN_BANK_EINTG(8, 0x080, "gpc3", 0x10), + EXYNOS_PIN_BANK_EINTG(4, 0x0A0, "gpk0", 0x14), + EXYNOS_PIN_BANK_EINTG(8, 0x0C0, "gpe5", 0x18), + EXYNOS_PIN_BANK_EINTG(8, 0x0e0, "gpe6", 0x1C), + EXYNOS_PIN_BANK_EINTG(8, 0x100, "gpe2", 0x20), + EXYNOS_PIN_BANK_EINTG(8, 0x120, "gpe3", 0x24), + EXYNOS_PIN_BANK_EINTG(8, 0x140, "gpe4", 0x28), + EXYNOS_PIN_BANK_EINTG(4, 0x160, "gpf0", 0x2C), + EXYNOS_PIN_BANK_EINTG(8, 0x180, "gpe1", 0x30), + EXYNOS_PIN_BANK_EINTG(2, 0x1A0, "gpg0", 0x34), +}; + +static const struct samsung_pin_ctrl exynos8895_pin_ctrl[] __initconst = { + { + /* pin-controller instance 0 Alive data */ + .pin_banks = exynos8895_pin_banks0, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks0), + .eint_gpio_init = exynos_eint_gpio_init, + .eint_wkup_init = exynos_eint_wkup_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 1 ABOX data */ + .pin_banks = exynos8895_pin_banks1, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks1), + }, { + /* pin-controller instance 2 VTS data */ + .pin_banks = exynos8895_pin_banks2, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + }, { + /* pin-controller instance 3 FSYS0 data */ + .pin_banks = exynos8895_pin_banks3, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks3), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 4 FSYS1 data */ + .pin_banks = exynos8895_pin_banks4, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 5 BUSC data */ + .pin_banks = exynos8895_pin_banks5, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos8895_pin_banks6, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos8895_pin_banks7, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, +}; + +const struct samsung_pinctrl_of_match_data exynos8895_of_data __initconst = { + .ctrl = exynos8895_pin_ctrl, + .num_ctrl = ARRAY_SIZE(exynos8895_pin_ctrl), +}; + /* * Pinctrl driver data for Tesla FSD SoC. FSD SoC includes three * gpio/pin-mux/pinconfig controllers. diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.h b/drivers/pinctrl/samsung/pinctrl-exynos.h index 305cb1d31..7b7ff7ffe 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos.h +++ b/drivers/pinctrl/samsung/pinctrl-exynos.h @@ -141,6 +141,16 @@ .name = id \ } +#define EXYNOS8895_PIN_BANK_EINTG(pins, reg, id, offs) \ + { \ + .type = &exynos8895_bank_type_off, \ + .pctl_offset = reg, \ + .nr_pins = pins, \ + .eint_type = EINT_TYPE_GPIO, \ + .eint_offset = offs, \ + .name = id \ + } + #define EXYNOSV920_PIN_BANK_EINTG(pins, reg, id, con_offs, mask_offs, pend_offs) \ { \ .type = &exynos850_bank_type_off, \ diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 623df65a5..ea3214897 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1409,6 +1409,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos7885_of_data }, { .compatible = "samsung,exynos850-pinctrl", .data = &exynos850_of_data }, + { .compatible = "samsung,exynos8895-pinctrl", + .data = &exynos8895_of_data }, { .compatible = "samsung,exynosautov9-pinctrl", .data = &exynosautov9_of_data }, { .compatible = "samsung,exynosautov920-pinctrl", diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h index d50ba6f07..f18877f2f 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.h +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h @@ -363,6 +363,7 @@ extern const struct samsung_pinctrl_of_match_data exynos5433_of_data; extern const struct samsung_pinctrl_of_match_data exynos7_of_data; extern const struct samsung_pinctrl_of_match_data exynos7885_of_data; extern const struct samsung_pinctrl_of_match_data exynos850_of_data; +extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data; extern const struct samsung_pinctrl_of_match_data fsd_of_data; From patchwork Wed Aug 7 09:08:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 817503 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 F22EF1D1F5D; Wed, 7 Aug 2024 09:09:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021763; cv=none; b=h/Neykbs8eXj+35HH2EG+Sq//IW1qBbpXGs8hFEyFxSIguN2XKjJEzmUneF740q1YLH/bQC1M5+q37/rA2RMwnVxIfyGkLrUi7FZrsGYwlxGUPVvhHOMx7gA0MGT9PodvtxTLEpMXNM/OUA8hAcxLzCiEfWn9XXG7JWdut37Kr8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021763; c=relaxed/simple; bh=5FtdJwBNy44CCAGPZp3r+pvpx0fO17ueQEvlT6PqzIs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Qgit5IzfJZ8Fyt0YAng4vWbpIhkpVCmaPqziwwW6y/wjoi6roYGWyXGe78fhDnhQNRyTDHKTfyEnH9uS12f4MWgQZzJs0XiwRiSBHy5FGDMulbbJmWW7Kl/vq2j5jn/toYVJJiL9yDNPqeRy0UcGbxOZW+7pXGQ2dvMlGCCPKno= 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=fiZOovEv; arc=none smtp.client-ip=209.85.208.169 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="fiZOovEv" Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2f136e23229so16348951fa.1; Wed, 07 Aug 2024 02:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021760; x=1723626560; 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=1w/3GixTR0u4eiWFnTsGuL6Zt1CcVf1mK0qeoNVvXt8=; b=fiZOovEv7vgEt/lb9KiiqkB+g4+rmIjqF1t2NKJD7hBCgbU03/5AAmF7tq4a8yggqd ane4oIyhOleFTkX7yY3VNNDWlW/MUCcaEWQfmOlBgCnkZmpMKFyUKyJnGaweDLh5vQxI vNOo6v213jx5N4C6EbJafrY6s26pbhXEu9EWBLCWnzFpLDzb8QdyK1RNnONoWUxq17LF Nuk8rFRz41aO+d5Gg8g2wAFF9x/aTQR31en6fboZGp/8C+Ydyyr7Zv/+Ypn8G5BYVgBb 1DUBP5j2SLogwEvwLE1PJuZTA1ip0Bz068yl3MKLjYZ3SNHjfls3Pt5SVOW8B8/CF08J GxhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021760; x=1723626560; 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=1w/3GixTR0u4eiWFnTsGuL6Zt1CcVf1mK0qeoNVvXt8=; b=fYROnMY/4AVRUUJD2D04N0DxTL+ROLnyQxDrDj+0ke3xAJqUEtX06i1AhiafZ3dYCr SvXrmcuQ83SxY/6B6+vn8lMW3sCGFmZg0Bycj0UhsNbBWWF3ZjHLn0mmqkub3p8oOXX5 v8JIgBvYTaQBLWFElKeQwpoqch4rFok37pDREU5R5/N71LxqjICyY7rMUbsULa92kibx LlvtbFcyF9QXfdI6PLUXMSDrkBTj4/jS9gz1b5nsVk3KrVkCusa3KLqfituBL2QYp1XB 5/83MzeV1uNlV8iIB0PhvL4WHceHzE+L4Lq1XpnsnqeOJ+BlaLFCI+DCjlyJX4IaRS0e EiUQ== X-Forwarded-Encrypted: i=1; AJvYcCXtmn0lnK4goh05aAmbG+ewoFZIPRznFDYQWPdV6jyNJusRNeUqsj1j8GCuZC5ml0frzdcV3HZn43deNQBkohyCxMD6I0C/QBdDDBEwsIAd8v1oGrG/ddf1QG5mUs7X1ZAOGi+JYa4AeDnKAm7HlnfjXwEuvCPN23ruEoDlkcCkt0FvjGY= X-Gm-Message-State: AOJu0Yz9Ocwkj6DcKzZuY0+AF/xPqyVmSx4aF29bd81vTVi+vkQ4XpTm zWCTEjKkiZRP/a5k+uLlD+10lAyRy5fnYSm9UUzETVvVVJFsOk1T/5+hZmz+ X-Google-Smtp-Source: AGHT+IHTFuqmCkX60HqEXOugSbgQh+FkoCaxOC10srFEOqPUlWUXBEBNGhtU9EJjKDxs9LuKUeVXNw== X-Received: by 2002:a2e:9816:0:b0:2ef:1b64:531b with SMTP id 38308e7fff4ca-2f15ab38068mr118412331fa.42.1723021759798; Wed, 07 Aug 2024 02:09:19 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:19 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/10] dt-bindings: pinctrl: samsung: add exynos8895-wakeup-eint compatible Date: Wed, 7 Aug 2024 12:08:54 +0300 Message-Id: <20240807090858.356366-7-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a dedicated compatible for exynos8895. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index 4dfb49b0e..91516fedc 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -42,6 +42,7 @@ properties: - samsung,exynos5433-wakeup-eint - samsung,exynos7885-wakeup-eint - samsung,exynos850-wakeup-eint + - samsung,exynos8895-wakeup-eint - const: samsung,exynos7-wakeup-eint - items: - enum: From patchwork Wed Aug 7 09:08:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 818167 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 F1ED51C9EDB; Wed, 7 Aug 2024 09:09:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021764; cv=none; b=BlXIRpuXPs7ztXjrg6BwX73dCdztXwpD9Lff2YI+lW2uHyKrnPpmiQmFypBu5hBgQOFxseF7ZuX8cv+c1OlYBes+YN6ha4m+ficNeaaYaUk69ugUMpREHqlEm8XgC/JbYSj41W1GZTKY53JuV6UV3004fUqTZ21KElrQOIo+ZHc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021764; c=relaxed/simple; bh=8/uWEwUofH0wVFvSrr5zwcOGvndIpj5DuLKZcYn3bew=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DshaJXRrQ3TPNZez7VtHYwG5+/jOPUE7Fj5swNgNLoDvp1mErul3UDI2athhMNfCylolerqnFRUuj2nhOJbzgMVv4KSMqdD7QAQFLZSuT01AbN7899G3iU/KmbKRvpBW1VWOAKRptJKVnYhK1tRG7PM0sxX3NXqv1Bms9QnAZ5g= 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=G+6j+mKF; arc=none smtp.client-ip=209.85.128.41 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="G+6j+mKF" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-428243f928cso10362075e9.3; Wed, 07 Aug 2024 02:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021761; x=1723626561; 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=mv9ErE3PI85nZC8EiP12E/7wPOyJSmRoE64Ycmzcljo=; b=G+6j+mKF+ZvC8dIWzaIXhwddvlXKn+7gFZdN3rHtkYskoLO8/xoS/m/3sa+w63PkoU Xh70aeMp6/zXaolzOsG3Ebm6lQjdPSFl3HUr1ylblSVsl2LWQUTa8DJq/nnbkpycP3i+ zTcMwR2JnnVWhoEzp7C61xXRKadnf2tz0sTOWbCOEEijapF38m91lwwOJPzb/PN0jD/+ 1TjI7PC0T4bl3NChJqqZ1Ue4HN39M+BtL0xitytkcJirn4GRgvnaEikM/CHPPKg7D9jb ui30QrBRw5xmSVZZqtKplUGVcv9hNTBI7/euf7lSvOQ/ouxlvn6uda8m7ZxORwotq6Wq LwJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021761; x=1723626561; 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=mv9ErE3PI85nZC8EiP12E/7wPOyJSmRoE64Ycmzcljo=; b=uzeJWNp975OLp47Z/9JeEswxH2L9MVSnSXjsNcF9wBLswBkBGEK/G9DKfRG1WzQ/Nm ezWu1jaanwbm/DXa71GSqy2zUCKokBfUhu6OZlFMUXE/mjdpLZ6fS4/t+mBGosrKWNPI 5oZhWWFLKdsoWmogN285PRP2T01e77VeH3wbtRrCjP3FAhysqKoaH26DZ7C6a1gPkP7G Ak9OcIhTzd3C2sDZhQRXn386UtHIr/o+94743RSuf3igDx5s/osAb5BF09ZLoLyj2qSd j+2FBUQ9c6xzrr3kR1o3rqd3Wlm0yLmzx+ywOBU7YDQVFU8D7z1oHKur88kAhI+RcrL8 P3lQ== X-Forwarded-Encrypted: i=1; AJvYcCWXYJnTW4CVXXV3Fy//IagToEuiivPTXUp09b9PgeCR/HadnFwNXNo+pCvanKRAiCHHjM0czXi95oBnzFCT07nVLVNO6qq/SzErCzE8hN5R2ZIrCNjXMPWYa9o33sYg6BcUiyYbt4L/p6NHazn0EaPJdIkz58ldUG2M0ZuQIJU6OqdDv/I= X-Gm-Message-State: AOJu0Yy4O+oU1MNURhbtgBAH5vhRsVhGEu7m18XbHNRvuH5GVuhfK0mA D+lH7CxM6uRiL40GRR2rc0t6/KZZPhXkV4kKjDgHRoUnCsUAMNFB X-Google-Smtp-Source: AGHT+IEr7l6xqFKtie1zq/7KOfHmazHxw5ijBAJrBoyZFRP3L2jvRRg9so96ETZwsv4Kzat6VEQmEg== X-Received: by 2002:a05:600c:5787:b0:426:602d:a243 with SMTP id 5b1f17b1804b1-428e6b04a2dmr113192275e9.16.1723021761220; Wed, 07 Aug 2024 02:09:21 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:20 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos8895 compatible Date: Wed, 7 Aug 2024 12:08:55 +0300 Message-Id: <20240807090858.356366-8-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add exynos8895-pmu compatible to the bindings documentation. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 15fcd8f1d..5c4ba6c65 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -53,6 +53,7 @@ properties: - items: - enum: - samsung,exynos7885-pmu + - samsung,exynos8895-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu From patchwork Wed Aug 7 09:08:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 818166 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 6786A1D2F56; Wed, 7 Aug 2024 09:09:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021767; cv=none; b=Gq7ge7DRufVtxdIDZnKt9qfgkW1n9j7tJpEwu8PaB5G/6+V0pNBYgeCHI/iId06nWJubBvg1roWe/rAU5vITppvlXDJ0/a2AmvCQpYsxW/+fhp/F5LbuEj1upZfstZAQEf9rJKeSaj7MJqMXPZlFf4Y44aMRjdziOzbUmpQg65A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021767; c=relaxed/simple; bh=AYoWOwd01xzH4jMCk/YMDpadz2eNwpD9iXeNfEkZap8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aX8X1674fej4Hk0sB+za/XTQcEV2X45CRKSEaTYG1RkAyv5G7Q2U2XyJXh4T7jVfZknJWItZkjEfdZaWCfiK21ZidpdNz8RZfLO5ia298m/fHM7gFKHu8INv99GHiRBdJpsiC022fYL/WAa7Dab8ArZAiCPgqvxNvl/wQ18vo3Y= 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=D+/kZCgx; arc=none smtp.client-ip=209.85.128.47 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="D+/kZCgx" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4266f3e0df8so10371235e9.2; Wed, 07 Aug 2024 02:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021763; x=1723626563; 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=EDhiXiu/OR0mfjLHDe7PlQsvn9CZwyKU2g8OxcG/rwc=; b=D+/kZCgx1HGBWGac+yUWdTHnlYLv+CAtKeX9JvYG4QJjKsPHZhcz8p6aMqOCCL3WGH uIho1lEjOhVarSS+pEaTyxY8HG0txXM5iprB634CMEPSfSYSVycnL7oWe1r0bgVP7g94 iiMfxz9BEKgYOkAE1+x9reReKgslrzFord+xt0WLwDDuca7e2gL+aXw5/e+zTyzM+KiP 2SAyzNxWe/wAHNFJrLPvII53Jvi6SLWmmL9qWTTgGQV5pZGWqfRmDWiBBrMgNBE/Ksnn c4RkGyd5dCLp7ejR0yjjbvBPLMitBU+Nj/TvKfV3sE2Gzr5KsIMDDpIKn1kh9RXG0dhB M4ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021763; x=1723626563; 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=EDhiXiu/OR0mfjLHDe7PlQsvn9CZwyKU2g8OxcG/rwc=; b=R4T1NrR2oI4ZGSphOgnULneziKNRz3c7+G+9xOfjqRaPHqVgWF3WfkwTJVCw7Rz3cm M7BZDmU5r3y2N4fbOeYwLiR316v0I4VlWIcQPoqTVWl4HsLXUanceMzqGIEhcT13m+8O tY2v20kfy4Rb6T1XzT4LLwSSB9iUrjLd0hLFKTLj97f7NcKc7opLUR1+Gda5R/OD5Hkp SOF1uer4d1TmBHum8AkQ5omlYrhSWxTXLqak2EO2vXw28+mWv/VaGjA+RYX9sQG5eiY2 1umXf420Nbig5eZEgEljfWvsAUu3K92vBuDGlRqh+O3/EvknuHBfttNZFrFiTYVoZOvq aPpg== X-Forwarded-Encrypted: i=1; AJvYcCWB4O8cVIjn6zaAAXxhWRJJY1CblJuTAjTuTwXl/yImsXEaME2KoV9rtP3bgtreNaXTgUyFR3N3iNARJZU0KAChNnDXmtMCWCwzbs7qhiaJgwLglTb0nbTHiWTzS/6cZsn4cEDtfYt9t0glOKVeSeTOVJdvKh04zsfjLOkVNr/kALFK4UU= X-Gm-Message-State: AOJu0YxJR7FmIQjBWOxUkOnQxKUs40kPCvSTVYG1Uc54wwN+piyJoW8d wL1gfxChpX83I/sRlohfTvMmNWHvy5h1auAt4pYDW/TU+MIsDrKy X-Google-Smtp-Source: AGHT+IHf2TgRDn7H47ASGof5PFXNBiTO7QqWd3FFXe358i7zEO7rWeWDTZfbHF74aplSX83KbFS0eQ== X-Received: by 2002:a05:600c:5102:b0:427:d72a:6c26 with SMTP id 5b1f17b1804b1-428e6af2e18mr122802765e9.6.1723021762554; Wed, 07 Aug 2024 02:09:22 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:22 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/10] arm64: dts: exynos: Add initial support for exynos8895 SoC Date: Wed, 7 Aug 2024 12:08:56 +0300 Message-Id: <20240807090858.356366-9-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Exynos 8895 SoC is an ARMv8 mobile SoC found in the Samsung Galaxy S8 (dreamlte), S8 Plus (dream2lte), Note 8 (greatlte) and the Meizu 15 Plus (m1891). Add minimal support for that SoC, including: - All 8 cores via PSCI - ChipID - Generic ARMV8 Timer - Enumarate all pinctrl nodes Further platform support will be added over time. Signed-off-by: Ivaylo Ivanov --- .../boot/dts/exynos/exynos8895-pinctrl.dtsi | 1378 +++++++++++++++++ arch/arm64/boot/dts/exynos/exynos8895.dtsi | 253 +++ 2 files changed, 1631 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos8895.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi new file mode 100644 index 000000000..1dcb61e2e --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi @@ -0,0 +1,1378 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung's Exynos 8895 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +#include +#include "exynos-pinctrl.h" + +&pinctrl_alive { + gpa0: gpa0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + }; + + gpa1: gpa1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <3>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + }; + + gpa2: gpa2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa3: gpa3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa4: gpa4 { + gpio-controller; + #gpio-cells = <2>; + }; + + bt_hostwake: bt-hostwake { + samsung,pins = "gpa2-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + uart1_bus: uart1-bus { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart1_default: uart1-default { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + uart1_btsleep: uart1-btsleep { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pcie_wake: pcie_wake { + samsung,pins = "gpa3-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + wlan_host_wake: wlan_host_wake{ + samsung,pins = "gpa0-7"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; +}; + +&pinctrl_abox { + gph0: gph0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph3: gph3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gph2: gph2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys0 { + gpi0: gpi0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + gpi1: gpi1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + ufs_rst_n: ufs-rst-n { + samsung,pins = "gpi0-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + }; + + ufs_refclk_out: ufs-refclk-out { + samsung,pins = "gpi0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + }; +}; + +&pinctrl_fsys1 { + gpj1: gpj1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + gpj0: gpj0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + sd2_clk: sd2-clk { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_cmd: sd2-cmd { + samsung,pins = "gpj0-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_bus1: sd2-bus-width1 { + samsung,pins = "gpj0-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_bus4: sd2-bus-width4 { + samsung,pins = "gpj0-3", "gpj0-4", "gpj0-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + /* For Drive strength swapping */ + sd2_clk_fast_slew_rate_1x: sd2-clk_fast_slew_rate_1x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_2x: sd2-clk_fast_slew_rate_2x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_3x: sd2-clk_fast_slew_rate_3x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_4x: sd2-clk_fast_slew_rate_4x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pcie0_clkreq: pcie0_clkreq { + samsung,pins = "gpj1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + pcie0_clkreq_output: pcie0_clkreq_output { + samsung,pins = "gpj1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + samsung,pin-val = <1>; + }; + + pcie0_perst: pcie0_perst { + samsung,pins = "gpj1-2"; + samsung,pin-function = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + cfg_wlanen: cfg-wlanen { + samsung,pins = "gpj1-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + pcie1_clkreq: pcie1_clkreq { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + pcie1_clkreq_output: pcie1_clkreq_output { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + samsung,pin-val = <1>; + }; + + pcie1_perst: pcie1_perst { + samsung,pins = "gpj1-6"; + samsung,pin-function = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + bt_en: bt-en { + samsung,pins ="gpj1-7"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + bt_btwake: bt-btwake { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; +}; + +&pinctrl_busc { + gpb2: gpb2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + hsi2c0_bus: hsi2c0-bus { + samsung,pins = "gpb2-1", "gpb2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + speedy_bus: speedy-bus { + samsung,pins = "gpb2-0"; + samsung,pin-function = ; + samsung,pin-con-pdn = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&pinctrl_peric0 { + gpd0: gpd0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd1: gpd1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd2: gpd2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd3: gpd3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe7: gpe7 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf1: gpf1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + uart0_bus: uart0-bus { + samsung,pins = "gpd0-7", "gpd0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart2_bus_single: uart2-bus-single { + samsung,pins = "gpd1-3", "gpd1-2", "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart2_bus_dual: uart2-bus-dual { + samsung,pins = "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart3_bus_single: uart3-bus-single { + samsung,pins = "gpd1-7", "gpd1-6", "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart3_bus_dual: uart3-bus-dual { + samsung,pins = "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart4_bus_single: uart4-bus-single { + samsung,pins = "gpd2-3", "gpd2-2", "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart4_bus_dual: uart4-bus-dual { + samsung,pins = "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart5_bus_single: uart5-bus-single { + samsung,pins = "gpd3-3", "gpd3-2", "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart5_bus_dual: uart5-bus-dual { + samsung,pins = "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + hsi2c5_bus: hsi2c5-bus { + samsung,pins = "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c6_bus: hsi2c6-bus { + samsung,pins = "gpd1-3", "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c7_bus: hsi2c7-bus { + samsung,pins = "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c8_bus: hsi2c8-bus { + samsung,pins = "gpd1-7", "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c9_bus: hsi2c9-bus { + samsung,pins = "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c10_bus: hsi2c10-bus { + samsung,pins = "gpd2-3", "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c11_bus: hsi2c11-bus { + samsung,pins = "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c12_bus: hsi2c12-bus { + samsung,pins = "gpd3-3", "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hs_i2c14_bus: hs-i2c14-bus { + samsung,pins = "gpe6-3", "gpe6-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_bus: spi2-bus { + samsung,pins = "gpd1-3", "gpd1-2", "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_cs: spi2-cs { + samsung,pins = "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_cs_func: spi2-cs-func { + samsung,pins = "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_bus: spi3-bus { + samsung,pins = "gpd1-7", "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_cs: spi3-cs { + samsung,pins = "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_cs_func: spi3-cs-func { + samsung,pins = "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_bus: spi4-bus { + samsung,pins = "gpd2-3", "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_cs: spi4-cs { + samsung,pins = "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_cs_func: spi4-cs-func { + samsung,pins = "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_bus: spi5-bus { + samsung,pins = "gpd3-3", "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_cs: spi5-cs { + samsung,pins = "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_cs_func: spi5-cs-func { + samsung,pins = "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pwm_tout1: pwm-tout1 { + samsung,pins = "gpd0-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + motor_rst_n: motor_rst_n { + samsung,pins = "gpe7-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + motor_mode: motor_mode { + samsung,pins = "gpf1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&pinctrl_peric1 { + gpb0: gpb0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc0: gpc0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc2: gpc2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc3: gpc3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpk0: gpk0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe5: gpe5 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe6: gpe6 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe2: gpe2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe3: gpe3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe4: gpe4 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf0: gpf0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe1: gpe1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg0: gpg0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + uart6_bus_single: uart6-bus-single { + samsung,pins = "gpe5-3", "gpe5-2", "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart6_bus_dual: uart6-bus-dual { + samsung,pins = "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart7_bus_single: uart7-bus-single { + samsung,pins = "gpe1-3", "gpe1-2", "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart7_bus_dual: uart7-bus-dual { + samsung,pins = "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart8_bus_single: uart8-bus-single { + samsung,pins = "gpe1-7", "gpe1-6", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart8_bus_dual: uart8-bus-dual { + samsung,pins = "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart9_bus_single: uart9-bus-single { + samsung,pins = "gpe2-3", "gpe2-2", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart9_bus_dual: uart9-bus-dual { + samsung,pins = "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart10_bus_single: uart10-bus-single { + samsung,pins = "gpe2-7", "gpe2-6", "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart10_bus_dual: uart10-bus-dual { + samsung,pins = "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart11_bus_single: uart11-bus-single { + samsung,pins = "gpe3-3", "gpe3-2", "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart11_bus_dual: uart11-bus-dual { + samsung,pins = "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart12_bus_single: uart12-bus-single { + samsung,pins = "gpe3-7", "gpe3-6", "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart12_bus_dual: uart12-bus-dual { + samsung,pins = "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart13_bus_single: uart13-bus-single { + samsung,pins = "gpe4-3", "gpe4-2", "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart13_bus_dual: uart13-bus-dual { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart14_bus_single: uart14-bus-single { + samsung,pins = "gpe4-7", "gpe4-6", "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart14_bus_dual: uart14-bus-dual { + samsung,pins = "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart15_bus_single: uart15-bus-single { + samsung,pins = "gpe5-7", "gpe5-6", "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart15_bus_dual: uart15-bus-dual { + samsung,pins = "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + hsi2c1_bus: hsi2c1-bus { + samsung,pins = "gpc2-1", "gpc2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c1_bus_in: hsi2c1-bus-in { + samsung,pins = "gpc2-1", "gpc2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c2_bus: hsi2c2-bus { + samsung,pins = "gpc2-3", "gpc2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c2_bus_in: hsi2c2-bus-in { + samsung,pins = "gpc2-3", "gpc2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c3_bus: hsi2c3-bus { + samsung,pins = "gpc2-5", "gpc2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c3_bus_in: hsi2c3-bus-in { + samsung,pins = "gpc2-5", "gpc2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c4_bus: hsi2c4-bus { + samsung,pins = "gpc2-7", "gpc2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c4_bus_in: hsi2c4-bus-in { + samsung,pins = "gpc2-7", "gpc2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c13_bus: hsi2c13-bus { + samsung,pins = "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c14_bus: hsi2c14-bus { + samsung,pins = "gpe5-3", "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c15_bus: hsi2c15-bus { + samsung,pins = "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c16_bus: hsi2c16-bus { + samsung,pins = "gpe1-3", "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c17_bus: hsi2c17-bus { + samsung,pins = "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c18_bus: hsi2c18-bus { + samsung,pins = "gpe1-7", "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c19_bus: hsi2c19-bus { + samsung,pins = "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c20_bus: hsi2c20-bus { + samsung,pins = "gpe2-3", "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c21_bus: hsi2c21-bus { + samsung,pins = "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c22_bus: hsi2c22-bus { + samsung,pins = "gpe2-7", "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c23_bus: hsi2c23-bus { + samsung,pins = "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c24_bus: hsi2c24-bus { + samsung,pins = "gpe3-3", "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c25_bus: hsi2c25-bus { + samsung,pins = "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c26_bus: hsi2c26-bus { + samsung,pins = "gpe3-7", "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c27_bus: hsi2c27-bus { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c27_bus_in: hsi2c27-bus-in { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c28_bus: hsi2c28-bus { + samsung,pins = "gpe4-3", "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c28_bus_in: hsi2c28-bus-in { + samsung,pins = "gpe4-3", "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c29_bus: hsi2c29-bus { + samsung,pins = "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c30_bus: hsi2c30-bus { + samsung,pins = "gpe4-7", "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c31_bus: hsi2c31-bus { + samsung,pins = "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c32_bus: hsi2c32-bus { + samsung,pins = "gpe5-7", "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_bus: spi0-bus { + samsung,pins = "gpc3-3", "gpc3-2", "gpc3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_cs: spi0-cs { + samsung,pins = "gpc3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_cs_func: spi0-cs-func { + samsung,pins = "gpc3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_bus: spi1-bus { + samsung,pins = "gpc3-7", "gpc3-6", "gpc3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_cs: spi1-cs { + samsung,pins = "gpc3-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_cs_func: spi1-cs-func { + samsung,pins = "gpc3-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_bus: spi6-bus { + samsung,pins = "gpe5-3", "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_cs: spi6-cs { + samsung,pins = "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_cs_func: spi6-cs-func { + samsung,pins = "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_bus: spi7-bus { + samsung,pins = "gpe1-3", "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_cs: spi7-cs { + samsung,pins = "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_cs_func: spi7-cs-func { + samsung,pins = "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_bus: spi8-bus { + samsung,pins = "gpe1-7", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_bus_suspend: spi8-bus-suspend { + samsung,pins = "gpe1-7", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; /* INPUT */ + samsung,pin-pud = ; /* DOWN */ + samsung,pin-drv = ; + }; + + spi8_cs: spi8-cs { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_cs_func: spi8-cs-func { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_cs_func_suspend: spi8-cs-func-suspend { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; /* INPUT */ + samsung,pin-pud = ; /* DOWN */ + samsung,pin-drv = ; + }; + + spi9_bus: spi9-bus { + samsung,pins = "gpe2-3", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_cs: spi9-cs { + samsung,pins = "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_cs_func: spi9-cs-func { + samsung,pins = "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_idle: spi9-idle { + samsung,pins = "gpe2-3", "gpe2-2", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_bus: spi10-bus { + samsung,pins = "gpe2-7", "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_cs: spi10-cs { + samsung,pins = "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_cs_func: spi10-cs-func { + samsung,pins = "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_bus: spi11-bus { + samsung,pins = "gpe3-3", "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_cs: spi11-cs { + samsung,pins = "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_cs_func: spi11-cs-func { + samsung,pins = "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_bus: spi12-bus { + samsung,pins = "gpe3-7", "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_cs: spi12-cs { + samsung,pins = "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_cs_func: spi12-cs-func { + samsung,pins = "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_bus: spi13-bus { + samsung,pins = "gpe4-3", "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_cs: spi13-cs { + samsung,pins = "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_cs_func: spi13-cs-func { + samsung,pins = "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_bus: spi14-bus { + samsung,pins = "gpe4-7", "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_cs: spi14-cs { + samsung,pins = "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_cs_func: spi14-cs-func { + samsung,pins = "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_bus: spi15-bus { + samsung,pins = "gpe5-7", "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_cs: spi15-cs { + samsung,pins = "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_cs_func: spi15-cs-func { + samsung,pins = "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + decon_f_te_on: decon_f_te_on { + samsung,pins = "gpb0-1"; + samsung,pin-function = ; + }; + + decon_f_te_off: decon_f_te_off { + samsung,pins = "gpb0-1"; + samsung,pin-function = ; + }; + + hrm_irq: hrm-irq { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hrm_irqsleep: hrm-irqsleep { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hrm_irqidle: hrm-irqidle { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi new file mode 100644 index 000000000..3ed381ee5 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -0,0 +1,253 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung's Exynos 8895 SoC device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +#include + +/ { + compatible = "samsung,exynos8895"; + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + aliases { + pinctrl0 = &pinctrl_alive; + pinctrl1 = &pinctrl_abox; + pinctrl2 = &pinctrl_vts; + pinctrl3 = &pinctrl_fsys0; + pinctrl4 = &pinctrl_fsys1; + pinctrl5 = &pinctrl_busc; + pinctrl6 = &pinctrl_peric0; + pinctrl7 = &pinctrl_peric1; + }; + + arm-a53-pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>, + <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + + cpu0: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + }; + + cpu2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + }; + + cpu3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x103>; + enable-method = "psci"; + }; + + cpu4: cpu@0 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu5: cpu@1 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x1>; + enable-method = "psci"; + }; + + cpu6: cpu@2 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x2>; + enable-method = "psci"; + }; + + cpu7: cpu@3 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x3>; + enable-method = "psci"; + }; + }; + + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_suspend = <0xc4000001>; + cpu_off = <0x84000002>; + cpu_on = <0xc4000003>; + }; + + timer { + compatible = "arm,armv8-timer"; + /* Hypervisor Virtual Timer interrupt is not wired to GIC */ + interrupts = , + , + , + ; + clock-frequency = <26000000>; + }; + + fixed-rate-clocks { + oscclk: osc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "oscclk"; + }; + }; + + soc: soc@0 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x20000000>; + + chipid@10000000 { + compatible = "samsung,exynos8895-chipid", + "samsung,exynos850-chipid"; + reg = <0x10000000 0x24>; + }; + + gic: interrupt-controller@10200000 { + compatible = "arm,gic-400"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x10201000 0x1000>, + <0x10202000 0x1000>, + <0x10204000 0x2000>, + <0x10206000 0x2000>; + interrupts = ; + }; + + pinctrl_alive: pinctrl@164b0000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x164b0000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos8895-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + interrupt-parent = <&gic>; + interrupts = ; + }; + }; + + pinctrl_abox: pinctrl@13e60000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x13e60000 0x1000>; + }; + + pinctrl_vts: pinctrl@14080000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x14080000 0x1000>; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x11050000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x11430000 0x1000>; + interrupts = ; + }; + + pinctrl_busc: pinctrl@15a30000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x15a30000 0x1000>; + interrupts = ; + }; + + pinctrl_peric0: pinctrl@104d0000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x104d0000 0x1000>; + interrupts = ; + }; + + pinctrl_peric1: pinctrl@10980000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x10980000 0x1000>; + interrupts = ; + }; + + pmu_system_controller: system-controller@16480000 { + compatible = "samsung,exynos8895-pmu", + "samsung,exynos7-pmu", "syscon"; + reg = <0x16480000 0x10000>; + }; + }; +}; + +#include "exynos8895-pinctrl.dtsi" +#include "arm/samsung/exynos-syscon-restart.dtsi" From patchwork Wed Aug 7 09:08:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 817502 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 587F41D3630; Wed, 7 Aug 2024 09:09:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021767; cv=none; b=bAGs53ksJxBZDic3uv5XLG/beOHg7dtdx6Zsr6Aelm2KxthMlqKnAWmImLerLfaRUXPa2zXfNsPbRzTfOZZTHFh4q1cBNOuBpMK/9aH3J0dmbjDzNz3SIZpSs70RpsDEI2s2OGqPnUzoGECWbLbYgu3ZkEVrMcCS7bUfom7WzRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021767; c=relaxed/simple; bh=1ciWXVYsPlELPVtp1zZbnMfNRGJcetZFdDdSLsQCcjA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XJKkAINPorXDfc5ske4eLvZJC8wZOi7F8TJfN3DO8YIZ1b7VSZOKWNYPNnPUKBee6YVSdg2rfFnAbppwF2MQY+yVXb4YstgptFGv5SiWELp5PxYvd3bDkg9hR2nWaCb92eVRZMBQkELkSjM7d4zGVzdKwHJk6Okv/l7E7Y44dZo= 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=etXJ6E4i; arc=none smtp.client-ip=209.85.128.50 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="etXJ6E4i" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4281faefea9so10163915e9.2; Wed, 07 Aug 2024 02:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021764; x=1723626564; 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=Z/Rj+FE0mEboMxqdM09FEcIsQwLQR1um0Acu+jIgSCE=; b=etXJ6E4iM8De/QAZw8ofCg0eUpyYErcrc1/kf/rDJnp7dJM9MfHKLsmNMaDxfXMXDY X4lPsnXiu4STaAR6FSjpfQSZ4Kld/bVBFMgKLyXkpq4cJ2VqMWOdKtbahqLcqaafr+PV DA+qYdJM+dyuGiRNTYjJ3P5A+gmBBgvL2gReYCrQYCtYa/IB41au8m1i8ideIhNti7EP BAuKbQUCgNHMdWGYXyKQa9TsYc2JUUHtrd7OFuKrrft/YWNcoH4DeV+IVdlMey/5kvCj q7mscns5j7Esh2svhkfpeUfg1/YCIWihLI5x/xOv4Ir3mMOsAmA5obncMb/dCOn1LHku sBaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021764; x=1723626564; 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=Z/Rj+FE0mEboMxqdM09FEcIsQwLQR1um0Acu+jIgSCE=; b=eTpydvcwgifs08ZrGscYGlvEcJzGYihlC9mwFFcUHKXMFnOr0XbJz1LHozQhNp4E0m jpJgaskANMywSqslR8IEW4h6Rp1dLykMpKnfN8RGgjb20Hz90k/29CCLruM3kpD5GPmk WRIrNUC10J6EwYU9LqabdrV3SGucEjAj+F0PKo7oekX6OMjDFxOp7FOEXK8UfrxRIva8 UpDfD64kKFfccXuSikmqREmO60GB8I+or4YRkM9QH8Owy5S7yVQ0Jpvb9JxNN8HDx3Ml H9MIOYPwpmI4xOKZcP4+NV/jL0wOlyoxWYWvIBYBsR/F29EPJt/9z8H7tAyj+qmC7A/K yqJA== X-Forwarded-Encrypted: i=1; AJvYcCUxyESdv2wN4tOYaELugGXY3br1QP0Li4lSVKZ9Odkc8pSahikajwaidRbQ/7z2FRoIDdD8NhtcV0ygSuR5pzAv6WcWswtxLpww5FSnOtBduGwawbV2BdMcCxO7Rr/puATdSR+UwuicbrEofvVybALOOLQse5dr7acEOfV5btRa7k41a4Y= X-Gm-Message-State: AOJu0Yx0xYbUazXQOfkv5nLn2QGS2ZqyzMVzWt0dJwNZorbqFBAGzo5B x9KgvEZm5KYnzRsKKglIRVGhxuWai+00JmyVrsRt9nioMoBhQIyv X-Google-Smtp-Source: AGHT+IFcsxHnYLp1KfrkmDgil6ZUZcKca5aGW31wE6RM8LStn6v6DVLljfW2Yooh+r08Vrg8wUN7/A== X-Received: by 2002:a05:600c:5111:b0:426:60d7:d299 with SMTP id 5b1f17b1804b1-428e6af1a1amr122469955e9.7.1723021763625; Wed, 07 Aug 2024 02:09:23 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:23 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 09/10] dt-bindings: arm: samsung: Document dreamlte board binding Date: Wed, 7 Aug 2024 12:08:57 +0300 Message-Id: <20240807090858.356366-10-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add binding for the Samsung Galaxy S8 (SM-G950F) board, which is based on the Samsung Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index 01dcbd8aa..49884a7ab 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -224,6 +224,12 @@ properties: - winlink,e850-96 # WinLink E850-96 - const: samsung,exynos850 + - description: Exynos8895 based boards + items: + - enum: + - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) + - const: samsung,exynos8895 + - description: Exynos Auto v9 based boards items: - enum: From patchwork Wed Aug 7 09:08:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 817501 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 6AE6C1D3654; Wed, 7 Aug 2024 09:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021768; cv=none; b=G+ix+Gv1hnUymodu7y7t6ERVru0k5SQVR/ikXwgKuv1sX339xfQtxP9p26fuitLaInXSRNWcVulfgtKvJDfx6nl/8iPo0v9+PG/Saoe6GRVCVmyCDO+c3Y2ShOSotdbysoSN4NeZShpsPrRvKUv/ik6cttj5/4FsQj1yGLZvdVQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723021768; c=relaxed/simple; bh=97Ccxqft5+2qYjuMS+fEQcoyY1/OT2j1iQRtdA8XE0I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sKemhO0Chk8mj61vn8dKGfh1OK33fudFpt1773VMcVhEoXlTkGEPIw0/hnnai61bRu+zRltaq3hKv/B1FaG2Ab3R7it6Lm5HkvzVZeTGsTDaV6lGwMpWAD29j8ce7pvYQcrLyc5i7KiV49y6k+thBF/CbvTErzIik7VPqjsWLdg= 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=ltdL/qGj; arc=none smtp.client-ip=209.85.128.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="ltdL/qGj" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-428243f928cso10362405e9.3; Wed, 07 Aug 2024 02:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021765; x=1723626565; 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=gg1JCzafwRnuNLM4FawJbv1YrB13gcXIps0MLMvkrNk=; b=ltdL/qGjHexl1k2X6a35bBaH0GLC68MyXG62QsN4mlZYAh7/nuzGHw4ZjGP443h4m3 iFcDMPIMNONEzxHl0m4h+2wYa6UHwfrBRHUP8Lah9nrSRzbmINX+XzgTdw2kKgZOSMRV +dN2TMQsvpwPwN4AToAMoLuIeKwHLDgBkzdqMqbguiJouLFj4Ms+MKqCo06IQzFmGfwl SsXf5DXpc2zXLN9QM9TML//hdK4Og20690porX/kELRGyS+6/+vM4Pp3Rp5S4eKccH7L 56NpoGWeTHIYxSoY3pWI2GZkzw3gzZ3Cv8DnjE//ORRObdFPb3wA3kgIZLkLWGMH5pEt lpbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021765; x=1723626565; 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=gg1JCzafwRnuNLM4FawJbv1YrB13gcXIps0MLMvkrNk=; b=QUBn7Fk4ze3v/0zhEsIfUaDlHtxuSGKOZcYQTZ1QVZurXPCsacIx83ERwtH8QysOXq g4nYXKICENE8lhH2Rrb8/+6O4EtoTWlk0beTuXZOQXLFHQk8xhACNgCNfBSpbjNVHYzc l07L4ekTMYlLANLmGEjixGxZsr7ZK1I4jUfRwk6K+tubrZnIiuWK6HxIKb3PxWlQUN5f 73IVhcYHRNJQrWaU2KMtAENBdX8C2pIsmcWcM8s+Lfi5FusKIz19TNkPYVrgegzJf0DX bnYm5jhAgkG56JRd5l36LnVOpcjxBpED73f+PonM8vJeBCyHWU2m98Omaj6LIDMZrysw UyfA== X-Forwarded-Encrypted: i=1; AJvYcCU5WF3rJVKFN23anZGYuAjWDoJLck8cSTW6u6t0o3cfEKDChup5Gp1HT3OOnxBXX9IhPHC40dkpFvZtUQQnp8rwGX6f+z0Gngcz3/ptOceitWOsf9RA/TTG5Ovl1rPvRnYuxqH2vxrspFbKNOCkjOsxkabcomtN19ASvBR18pnctt/nj8s= X-Gm-Message-State: AOJu0YwjRPE3tuSpQ7x6lbVKjAWorzIWor8GkM17YTA1O75EQ9R/g6yl 3H+/s31jgGYqfG0Ei4Y+Kx32zAs1yxOEtLYAVMi9ffdErAq11Fzp X-Google-Smtp-Source: AGHT+IFWeXYuTiUydd09mkEx/SJfFGEC2/gaw5qz0ISDOcvyuBj1WTQTOhlc4l+fj9ny0LdYdaJihQ== X-Received: by 2002:a05:600c:5787:b0:426:602d:a243 with SMTP id 5b1f17b1804b1-428e6b04a2dmr113193595e9.16.1723021764737; Wed, 07 Aug 2024 02:09:24 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:24 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S8 Date: Wed, 7 Aug 2024 12:08:58 +0300 Message-Id: <20240807090858.356366-11-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Samsung Galaxy S8 (SM-G950F), codenamed dreamlte, is a mobile phone from 2017. It features 4GB RAM, 64GB UFS 2.1, Exynos 8895 SoC and a 1440x2960 Super AMOLED display. This initial device tree enables SimpleFB, PSTORE and GPIO keys. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/Makefile | 1 + .../boot/dts/exynos/exynos8895-dreamlte.dts | 126 ++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index d7f2191c2..18f5a3eed 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -7,5 +7,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7-espresso.dtb \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ + exynos8895-dreamlte.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts new file mode 100644 index 000000000..5c8351b99 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts @@ -0,0 +1,126 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung Galaxy S8 (dreamlte/SM-G950F) device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +/dts-v1/; +#include "exynos8895.dtsi" +#include +#include +#include + +/ { + model = "Samsung Galaxy S8 (SM-G950F)"; + compatible = "samsung,dreamlte", "samsung,exynos8895"; + chassis-type = "handset"; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer0: framebuffer@cc000000 { + status= "okay"; + compatible = "simple-framebuffer"; + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + width = <1440>; + height = <2960>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x0 0xc0000000 0x40000000>, + <0x8 0x80000000 0x80000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + ramoops@92000000 { + compatible = "ramoops"; + reg = <0 0x92000000 0x8000>; + record-size = <0x4000>; + console-size = <0x4000>; + }; + + continuous_splash: framebuffer@cc000000 { + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&key_volup &key_voldown &key_power &key_wink>; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + /* Typically used for Bixby. Map it as a camera button for now */ + wink-key { + label = "Camera"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_volup: key-volup { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_power: key-power { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_wink: key-wink { + samsung,pins = "gpa0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};