Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp370472imn; Mon, 25 Jul 2022 19:51:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tSKHhVvykXDOb5faiyRWEEmu69Bh7w4VQ47VXzgEH31b0hgbaGQO78gSHzFScwVLK0l1ak X-Received: by 2002:aa7:c9d3:0:b0:43a:67b9:6eea with SMTP id i19-20020aa7c9d3000000b0043a67b96eeamr15953574edt.94.1658803866836; Mon, 25 Jul 2022 19:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658803866; cv=none; d=google.com; s=arc-20160816; b=SM88mOXetdxflodSONhKIt62TEa2maHPnavZ9xR3ePbc9BXoKKYREOXLPflUAVGxq+ 80xc0bfw06oRCfdsMqdXu/JK5zd75JijRLEqutso0jrU8hQSjooHAeAcldICC+EtkN5D tBaRQMIgxNyeJ+FzvilKe3j5MHHVKgLHQvI50ozxjqZhMTQgyI1+WIU2jlbhuRZblHMY x0s5QQjY136W5XRNjPO/jryXyleB9vIrhinYNOC4vBao73nu7XiEmnE9tfb0154LVZ25 uu0is/ov9K42J7PzIsJgU32O9w9226ZjKi0UN62xkUwREc5uRE5aZPxtDZ6PgH4otxu1 hG8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1Q2AiZ4320hRKg9CWHrInAg+jUuh5Enpk9ZNTGKSuEU=; b=ECxFm7dYW+NU35ADH034RNZmokzbYebwxzgahChS4yPZw2SZzkWCCeFFL691uF/7vI kSXON6E9aJgNxEtkEcXz7MjUfnyHLJO/JjC+pLXdCQO4j6tigHFVV+BSCDMct6hv1/Jw Hfw3b1EqrFawaqBDTyBLbW56zVGa3HnXebt7zlDFLbsj23t1okDDnCaWEU/xKlCk3Bzh WTmB8Wxax11vm91uLzqm+cCzaBcmk2TDokYI1icu4tKsBeXFg/p1zbrRsguAYGP8flgo 0Y4JszksdiiPBQgm6hOj3j9NbOq96B1R6HRIGo5FTsyZzrwRmNlJlRv4SjJyZwFXZfT+ KY6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a056402190900b0043c2c173d78si2906572edz.452.2022.07.25.19.50.42; Mon, 25 Jul 2022 19:51:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236204AbiGZCbo (ORCPT + 99 others); Mon, 25 Jul 2022 22:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbiGZCbn (ORCPT ); Mon, 25 Jul 2022 22:31:43 -0400 Received: from mail-m121145.qiye.163.com (mail-m121145.qiye.163.com [115.236.121.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D218248DF for ; Mon, 25 Jul 2022 19:31:41 -0700 (PDT) Received: from amadeus-VLT-WX0.lan (unknown [113.118.189.34]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 0819D80008D; Tue, 26 Jul 2022 10:31:39 +0800 (CST) From: Chukun Pan To: Heiko Stuebner Cc: Michael Riesch , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH] arm64: dts: rockchip: add RTC1 to rock3a Date: Tue, 26 Jul 2022 10:30:46 +0800 Message-Id: <20220726023046.5876-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaTkJNVhhNGE0aTUlKTUhJGVUTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVUhPWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pww6Lgw4Sj06Ek42SAlWTxxO EjEKCzZVSlVKTU5DQ0tJTUJCTE1NVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVUhPWVdZCAFZQUlPSEI3Bg++ X-HM-Tid: 0a8238587c2cb03akuuu0819d80008d X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree node for hym8563 rtc to Radxa ROCK3 Model A board. Signed-off-by: Chukun Pan --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 3ce7eb05defc..aaf68c69e86b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -422,6 +422,23 @@ codec { }; }; +&i2c5 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + interrupt-parent = <&gpio0>; + interrupts = ; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "rtcic_32kout"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + wakeup-source; + }; +}; + &i2s1_8ch { rockchip,trcm-sync-tx-only; status = "okay"; @@ -454,6 +471,12 @@ eth_phy_rst: eth_phy_rst { }; }; + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + leds { led_user_en: led_user_en { rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; -- 2.25.1