From patchwork Mon May 13 14:27:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Barsanti X-Patchwork-Id: 3093 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4B28D414B2 for ; Mon, 13 May 2024 16:28:23 +0200 (CEST) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-51f8aadbf04sf4369418e87.0 for ; Mon, 13 May 2024 07:28:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715610502; cv=pass; d=google.com; s=arc-20160816; b=gh0ghQ/0gE2vs+JyK+xi7zA6PQJqIoFO+gzRc+lWNnVZDAtiUaAvRFyfxCI0WdCmQ2 ULtkxPhyF08jAtgc2hcGV24hSflMTjHl1dsqcqyLbB8alx1mZoF3CkaXuHSj1MZgoxJA EbsdWw/L3Orkm6QxyA1l8tg47QUXfzqnZnlejtmjTiIO8kljiySJ8EYR9J1ctOxcpsIb uQQkfpd1hd3XVvaMqK8hsVRdqh8Tj6uLsVniAUWmhdZVoPCfIK2qp0eZ662pOPhuz3kG VpRmfC689veAF0Dn7Fnz8+AnQXb3jaAS5H+mXSHt09yi0SsulGkHgWTwkt+B5zjhRP4L Jfww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=/BK8omsXaGZnPhB+BPS2ZZ+LbokWnao9WJiNSqMhLoo=; fh=3IbY0wUasGu7CseR07PMaebXwg1I7RBxTBrbqJdGPCQ=; b=dYCXn77gGWsFRS/4yZoYqYLOTn6/bgyOxJK3gn61pAsl39ZbX3OYdqjVb0pco1cyir vuKMvBEPm8Zdd795QiV+EOuQm2VE7ICfbC061H3d/xf6be/Kx2bRQeyC4zvRzElvGdYa 9occTrONuPG2v3RHhWLDI/ic6qt3k+IqT/ZFWVA5/9Kd/bD4NqujlEkn8hXWo9cC1k1i B/YYDuvFUndVZhjvsWEnNvQ1TNLM133Gxlu/m8upo5NSmKEwxOjM2NxnGKNoPKs9mqnw AAzZq9Fu4PMsIM4Xb0SVYa6jO/uuxKNudRiplfu+pbg21YpAp6f3J9WMQWcn9rQPZT28 Mmrg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="VEc/D4CM"; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1715610502; x=1716215302; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/BK8omsXaGZnPhB+BPS2ZZ+LbokWnao9WJiNSqMhLoo=; b=RuUJS8soanOwh1q5ELSWjHTe/SJIGIsAXfjDc9bbsVXslOs0dBM7wReXnFzuLgXotn xtzuko2ctQW0ggoHw//Fn+QhpWTCZk3ghVLyjz9CaIHeZIifIUOYphF3gzfQY+3z1zMF eyVtPCioQTxUCXOuzNpZE+/OrZICcQivK2Bec= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715610502; x=1716215302; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/BK8omsXaGZnPhB+BPS2ZZ+LbokWnao9WJiNSqMhLoo=; b=DC4YNCzDgSzFUssWlAEm3i2g69cI9IBYN/hnbMmmXG+blojG1pJ/gIpWThIjK8v7sI 2KFo0fmRNpm4EJXhDKQIxU2xdTlAIXAE+F4CAxAYWvZrM4EsKpJW1lgL1GlS8BSCj2Lc EO2J2RmU7a5FcPclne9AgHePly+GRSY/Cm9kqvGDdH3+xS2Z/e8gnM4eDS3xsSR7ajsv VWHnJW/wSEWo1dGlX7VBHtGqH6FgQXYxnl/487gD5skDgV3BQdKllWmnFbnYEGxpTDiG 1jDIyTnSZttdrjspo927N8R3drj9YOwSDgPA1CiR81eBX7ouNcXWbPKPSTL5PNBL2j94 t17g== X-Forwarded-Encrypted: i=2; AJvYcCUyr5NdIZH7k1TCrr7nRU7ETih7GlxJPXkUicIMa+3LlVZ+qrCIjN8y8VT40f2wkRPxrEnf7mkzVEI4/gG0IuOxXwIcU8at1mkKgqQUe1gngW+F3/4WS7sl9dZkfw== X-Gm-Message-State: AOJu0Yzk4NtFCN6euUE8K5B5v83HKn7nHCjE3FszF/vazwUHg6TmgMOg GwgkvCZfZ5FS50r7X6Nj+5x0ZW+oeQmNfo+/HfQ5sWjRWyEU8sBgvBl/KdCr85sevQ== X-Google-Smtp-Source: AGHT+IGDdHS0eLxpLQkupHRGZ9ADeoqQeNRkF97+3XbG6l4q6xXXBVLjveC4ZnYWS2QVHA8c+3/bww== X-Received: by 2002:ac2:4858:0:b0:51d:b2a:5f7d with SMTP id 2adb3069b0e04-5220fe799b0mr6015366e87.48.1715610502095; Mon, 13 May 2024 07:28:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4016:b0:572:7d08:6046 with SMTP id 4fb4d7f45d1cf-57332e48979ls38170a12.0.-pod-prod-04-eu; Mon, 13 May 2024 07:28:21 -0700 (PDT) X-Received: by 2002:a17:906:2b94:b0:a5a:412b:93ef with SMTP id a640c23a62f3a-a5a412b945bmr439861266b.7.1715610500582; Mon, 13 May 2024 07:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715610500; cv=none; d=google.com; s=arc-20160816; b=hzaB4yRqfp6s4mVEO80YalwMRkQEar19Lwyam8njk9wdheVf5nKyK5jcdnnrwAANN+ 84kRfjUEJjGJ8ALLL8S2wzvoM0Dq/P1D522fTDxPJxiF++VM3uFCDcsRJPlmIMk8HLSp uG2Agyn3gnINkwbxWdYfkMOp14XlYR6V9se3tpB1b3RnqHStDZkmz0ZBmVAOUb2YW/jP 4B349BdkEfkTur0aQcCSlxTCrraeQ9PTUuVuWW+Rrca6EU0zdVYt1IQL/4byphcegXGM uzBU/46bpRUqeNYZSGTLGbzKUsfxxIM9Tl+9StWw7hlIeI3d99p5P4p5fS+BpUJbU4iC ktoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=YEzVIg6Qqazb4o40SSU9fg5MmyHnPg+pLcPZwXoFCFw=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=wy7tD6iEAHZVHi4YTm+w/RY/VYciRI+W+yRU4xMI1vO1z2O5p2ZtTta/vxUYX9UEJp 7oekD9qhpTyD3qniRYMVCxyawoGzddScfFreBem3Ua5UK7Ms+yeGdhOVdtF7rFWZwhrA DQIayurpuG4smhD23j8huSIX6gDQ44Utahxlz0Oh+BcI+Bmq19340b2sBTo9I4xN55Yb NCeeTcsy0nTpU4CW94XO9qaMa+6U2zj3JlcUJ64hnN4V3wktT9F/9roIiUPPC29Ky2K2 oV8+BeyH5mOij/peGZyqq+b0YrKPD9Z1eUEJXrAeWkNxtcwssIepZ/XCdNY8HRQPJgc8 EkKQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="VEc/D4CM"; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a5a17826b0bsor271781166b.2.2024.05.13.07.28.20 for (Google Transport Security); Mon, 13 May 2024 07:28:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:3743:b0:a59:a7b7:2b8b with SMTP id a640c23a62f3a-a5a2d53b1a9mr673000966b.10.1715610500090; Mon, 13 May 2024 07:28:20 -0700 (PDT) Received: from localhost.localdomain (i116103.upc-i.chello.nl. [62.195.116.103]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01517sm602569366b.157.2024.05.13.07.28.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:28:19 -0700 (PDT) From: Patrick Barsanti To: linux-amarula@amarulasolutions.com Subject: [PATCH 06/10] arm64: dts: imx8mp-icore-mx8mp-ctouch2-of10: add external RTC Date: Mon, 13 May 2024 16:27:43 +0200 Message-Id: <20240513142747.238064-6-patrick.barsanti@amarulasolutions.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> References: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: patrick.barsanti@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="VEc/D4CM"; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Dario Binacchi Upstream-Status: Pending Signed-off-by: Dario Binacchi --- .../imx8mp-icore-mx8mp-ctouch2-of10.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts index 4e861d8038bb..80dd79f146b0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts @@ -110,6 +110,18 @@ &flexcan2 { status = "okay"; }; +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; + + pcf8563: rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; +}; + &lcdif2 { status = "okay"; }; @@ -218,6 +230,13 @@ MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x154 >; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2 + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2 + >; + }; + pinctrl_pmic: pmicgrp { fsl,pins = < MX8MP_IOMUXC_NAND_CE0_B__GPIO3_IO01 0x41