Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2283555pxb; Mon, 11 Jan 2021 06:02:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxxs3iDoBYee9kLPPDeYYpCZb3B7w4cayb7QHf5Mn1bzyMoA1Ij5YpFYmZIQp0qae26cm7 X-Received: by 2002:a17:906:158c:: with SMTP id k12mr11129502ejd.119.1610373766261; Mon, 11 Jan 2021 06:02:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610373766; cv=none; d=google.com; s=arc-20160816; b=wcSGM3/pe/j0eFfJ0RTV04D7JbuLQUSBSv9CGU208W0jnqeTebrzJ9bIPpR4t03s7j xgQbkZL0Q33IGtIanMesILabHOuM9X4Qp5LKAMOeVaXWtzvFGvwXFS0SKkdcXWGTPZ5o hhSChyHt1dNsxvnKC4IW2mwkioWAjdG3nF/NqEro3ls+9IRzHXbK/tIwh4+8x8PBolLJ uUH7yoUJdq2U4rXyz2aT4vFvSA8iVSiHHI9PeJxzByx5wie5LJi+BFmskjE5E4F3sZJT j7TCE57zD3uc5MVY+Yhs3E8DJXIqaemNImcuY9lBd74+WCcuAgsfyXaSYj2y6Mu8Mq97 7fwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Y+oG+xNm9xP+x0Bd2rZ9vn+P0+PwuwT6nvWBSD6Nz98=; b=SdjWAw8sCbSA0wZdQFrRUEQSXev/3Yy8oeKbCwx34pGdVFLI5eCbjMnsdNBAG0nd4f 5krxk8fQmUJkkYeP8mfyukaeEpSVVi/GWZyX6oIKXBXtw849IdnHxdUXeI6r/FXDvRrh 2YoR2W6z+EFv/F+fyyWjwM09jtIDSvVFYvsFiJBH83x9vreCOUp32zOn5+tHFqVEh3Y6 Vii96TSOXTeZeam6/0zmKdeL4AFCWJokWH0haZaGftiEumlAvVnUsCwggIoF+bh9UWIB Pwn3CBft/BW+D1O/v5hW6N3FdZXQ9DTNiF1+FHp+vHD5UoXVOR1BoQkyrIvWzwu6ZWZl cdwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ej1ljIbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si6552306eja.372.2021.01.11.06.02.19; Mon, 11 Jan 2021 06:02:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ej1ljIbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388204AbhAKN7Y (ORCPT + 99 others); Mon, 11 Jan 2021 08:59:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388153AbhAKN7S (ORCPT ); Mon, 11 Jan 2021 08:59:18 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E21EEC061786; Mon, 11 Jan 2021 05:58:37 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id t16so16559408wra.3; Mon, 11 Jan 2021 05:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Y+oG+xNm9xP+x0Bd2rZ9vn+P0+PwuwT6nvWBSD6Nz98=; b=ej1ljIbtahWMaGXTQNV9pI+UlDz+JM+ZZrdSUlnKqTdv7A15XmfHu75mqT/bnbCBxm mv3MSo78U0qjwGkbEqyVzv11PXj+p5h4fN6MCY0649LWbj8b0rjKf4lM+uWj5gJQPJPr 6UsaWjAUNa5iz+yByAoCG3T8JKVu+C78QnGrjV2y/cjFx1AomkF9b/+P2g1DWbwlSbvR LgLl7EuO5nXnhzL+bO/CAvFEUBz4yJ8ucl3q7r6+NrHiHsGfJxlXKhuVryc71Z1qY9Oh 9tftHFp4sgdIzf3ePzxShqkcoJsQgautCst1j1EZaidgxOWhQNUhye9y4uhFVewf97dQ dckg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Y+oG+xNm9xP+x0Bd2rZ9vn+P0+PwuwT6nvWBSD6Nz98=; b=Tu/U0Hz9H3vfU32Xalzu9Vr4cembt7Zi/u2ug0Nejkkb8ifVBik21P/Gz2UN4ptjGE d61FINxIES2a6icNIJgsJrkYtrtNt/dPlcRuQb/OPfmd6E8w9uTeSPOLg0aRQ17nqxOf noculMkU5osdQj8oVYexU1XOgFtL1bWpOUTbEJ6enrSUEIGt/yqc/X/IRU38EkUFwNkt vLI+9+5o2QaqYvdmmT9ZsmnDqGFYhIckUu5XqzznyNCttM0MiSAHYkSMxKBnGyfkUdaP LsmItqKqC+GOcE3GNF9TCvWpZLtfxUar3zc82CIDpQpVgCQf0aFW+xeubyjZQZU98dm+ CALw== X-Gm-Message-State: AOAM532igy/mpMFNPVZV5nXd/HSn4gBJL0OIZ+n2m7tVc0uULOEjlrPO wVPY+eBDQxhYt8eR5+6sAP0= X-Received: by 2002:a5d:43ce:: with SMTP id v14mr16366742wrr.342.1610373516733; Mon, 11 Jan 2021 05:58:36 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id u66sm22543950wmg.30.2021.01.11.05.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 05:58:36 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt Subject: [PATCH] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to ODROID-N2 dtsi Date: Mon, 11 Jan 2021 13:58:31 +0000 Message-Id: <20210111135831.2218-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the onboard pcf8563 rtc hardware on ODROID N2/N2+ boards via the common dtsi. Also add aliases to ensure vrtc does not claim /dev/rtc0. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 39a09661c5f6..b78be3e6974d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -13,6 +13,8 @@ aliases { serial0 = &uart_AO; ethernet0 = ðmac; + rtc0 = &rtc; + rtc1 = &vrtc; }; dioo2133: audio-amplifier-0 { @@ -478,6 +480,18 @@ linux,rc-map-name = "rc-odroid"; }; +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; + + rtc: rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + wakeup-source; + }; +}; + &pwm_ab { pinctrl-0 = <&pwm_a_e_pins>; pinctrl-names = "default"; -- 2.17.1