Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6331993rwl; Tue, 4 Apr 2023 10:58:09 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMCXT2lwReVegh3mYEQeijneat/nLzKNfWl6vpi7qfnzOY7F7eHYnEdx7+vBuOLn5seyfm X-Received: by 2002:a17:90b:1d83:b0:234:b8cb:512b with SMTP id pf3-20020a17090b1d8300b00234b8cb512bmr3570032pjb.30.1680631088765; Tue, 04 Apr 2023 10:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680631088; cv=none; d=google.com; s=arc-20160816; b=VbCGiqlyzVCtlK2Hm/CS9WjOdWBCcP3CXrT0vmJFKaLOGWuW3lYNhskWe/akNkIGPu 1oablUj6FmbGllR0H4uLarAfG+zxOW0profs88F16mU2KUW2BLnjvJj9G6L/IR6/CHXn ytj0QGA26Dn0DmGZTZhVDTfmQZu47Ue2JNjzWF0bx2lLZSR+H99FsgIzkHcWcEsGmtmx p+1xD5VkdiFWh5WyiiuUaiTq2weAbPCllZKBnoIJG0EFap6GpuwZH/mTXk3bGXBQPieP YKv2xVzJFl6dnhMwf4VWVmXbagbIP4Au7B1vQHWH3VngU3PnzFjlk4R6Y1I7dXdJuTfi Norg== 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:dkim-signature; bh=5gAEJfEUD64/OGOFm7+jdoq5/h02aaFC/zxMAoU50eM=; b=AojuPoFTNFN1Pb6CxG/jM01egLhN781UKverLQYJkvss4jFeC2W0HrzMTAvHIoXsps KPHVHijOqLCp+w9jQUSCSZ5t/9ZFMNeV+uzBbqOhxCAkGxZC0NM3rKmx+RCZ7yWd9q4B btWvjoavSQ7vCsZ9/GkgrItQBmtgGwhwE/r/wdZUIHlOy1ia7E8YOGAnbrsJ9wH459rY Q9IK35+HJbSPm3wg2hjr0kqZSVMp2W9OC673s1vDlMcFpeTzdR/BRIdrlGOxP5oUPFaK YVkgLlyXhvaD4nH7VJo1KP3D9QO0AIdAKcQ2W0HvFTaISxO3+SCBwFQqRvZR6Dpa1bPk MB3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dF06nkY6; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a17090aa88f00b00234362da27bsi14809417pjq.127.2023.04.04.10.57.57; Tue, 04 Apr 2023 10:58:08 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=dF06nkY6; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234267AbjDDRmA (ORCPT + 99 others); Tue, 4 Apr 2023 13:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231348AbjDDRl7 (ORCPT ); Tue, 4 Apr 2023 13:41:59 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54552B4; Tue, 4 Apr 2023 10:41:58 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id D8B84660316F; Tue, 4 Apr 2023 18:41:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680630117; bh=eFM2DUmpK4asUDysohdMR8TB/pdKK8LNKe1onXMI9bA=; h=From:To:Cc:Subject:Date:From; b=dF06nkY6DUIwqs6bK/i6huSbsWUJnRAQzdGsSgZ9Lij0bIyX/5pJuOnBfoATxes1f 0V6qIt/tE42Owec+9MZN4pypNXcazIegoFDsDa/W25Tyga2aK1IUphv5uHSF2MyUdA 2k/e3M7BaMgesqF3luOqyCPH7bXb0y5zoizPYw852OJf12iUy1IhillZzBUbx9sWAr D66skznvlg8tzGansrW8ZNE7JLZ5I9d+4c/PFP5sxVZ58vXYWNdpaTjsJPwj/dE2TH IXQ8Uf18ys/RC9WpyPerbfmjcrcnnmollE4cz890q7Bm/Qmn33Uir76Gd9+wPqVINR MbXxrKloJfchw== From: Shreeya Patel To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Shreeya Patel , Christopher Obbard Subject: [PATCH v2] arm64: dts: rockchip: Enable RTC support for Rock 5B Date: Tue, 4 Apr 2023 23:11:21 +0530 Message-Id: <20230404174121.38727-1-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 DT node to enable RTC support for Rock 5B board. Signed-off-by: Shreeya Patel Reviewed-by: Christopher Obbard --- .../boot/dts/rockchip/rk3588-rock-5b.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 95805cb0adfa..fcb5af09e49b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -27,6 +27,31 @@ vcc5v0_sys: vcc5v0-sys-regulator { }; }; +&i2c6 { + status = "okay"; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio0>; + interrupts = ; + wakeup-source; + }; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &sdhci { bus-width = <8>; no-sdio; -- 2.30.2