Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp394830rdb; Thu, 5 Oct 2023 08:56:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYkr+RDN7juLDVtLXvipsDi3dFkYzArPv7zQiIV07NcyiBzU2BDR5hMZm0RtcQ+Em8yUzX X-Received: by 2002:a05:6358:9196:b0:14f:9904:9d6e with SMTP id j22-20020a056358919600b0014f99049d6emr6245503rwa.31.1696521381514; Thu, 05 Oct 2023 08:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521381; cv=none; d=google.com; s=arc-20160816; b=0ZqQKmuQSKmZ2bvGucyVa9gw7DzwVlt2LjOGH4wDeETiGcYGMh/poEcyRooBj+JLYY S2ksdxVQh2VzQDSgRQ8lnSAlmuzqToZuYu1zCMx5nwi7cKguVQ7GSo33+RUj5VKIDu1W MSsWdhXicYnZk/a0NFKx/GkvGKRuP9h0wIhvGRiQaKkU/T5l6lrcXVfvlD67Tr2Dd05D iEQC2k1Erpft9XOXlOfgyghX6U5GQ4TnaxUqIM20iK68LhW8d0ieXdgb53N/v3iaxPGr c+4euRmPwqSWzag8gSpQujOqzfllj56IA+0KYv/UamZeh28nYkKvy8pmf25vM8GtoekU icYA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=djv/zTCmEEO0N9ZJ0kPB68viw9nxhWIGHqi+5kw6/nk=; fh=3IHEzIQvq3y6q5JQwsI67qbn4Gpc8nFoUO9wZPxuCoY=; b=HJTRCSmY45COeG+BGdXRbtsyn5VMcpJC+BeigMgnWJaygE+Qgr9w4+HAmwea5XADmR uaV6bWIyw8FJRVPKswvC9zoLWieTjrjMolChjSsWqFrujbanBDzuYrfRBivmLVKZMj+R sZxgVAc6nP+7BwYflB+fnQHJQjJE7E9poD1SfEEOZ4P2mkA7SC5MMGCAVju/QPy8f/mg JTslzctSDK2leKOiamt4TzHDKwcIKrcyD/0epNpYxpXln+T2GJUY3SEh6Mzp5LZdbk5B bwC5PWN8Eyim1tSTTPc2japy9zcblxqAOzVhzQe+qpt7acmMR+C2CnM0zoUrkOxkZZz1 5Lug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=mxjIvrbW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ip10-20020a17090b314a00b00263eb5054f2si1955120pjb.105.2023.10.05.08.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=mxjIvrbW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4561E8415028; Thu, 5 Oct 2023 08:55:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236361AbjJEPwz (ORCPT + 99 others); Thu, 5 Oct 2023 11:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234298AbjJEPvF (ORCPT ); Thu, 5 Oct 2023 11:51:05 -0400 X-Greylist: delayed 878 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 05 Oct 2023 07:09:27 PDT Received: from forward203c.mail.yandex.net (forward203c.mail.yandex.net [178.154.239.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C568B47B5; Thu, 5 Oct 2023 07:09:27 -0700 (PDT) Received: from forward103c.mail.yandex.net (forward103c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d103]) by forward203c.mail.yandex.net (Yandex) with ESMTP id DCDB465257; Thu, 5 Oct 2023 16:54:49 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:6e01:0:640:627f:0]) by forward103c.mail.yandex.net (Yandex) with ESMTP id 4C57E60118; Thu, 5 Oct 2023 16:54:17 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 5sYS4WpDR8c0-c59Uhkbc; Thu, 05 Oct 2023 16:54:16 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6tel.net; s=mail; t=1696514056; bh=djv/zTCmEEO0N9ZJ0kPB68viw9nxhWIGHqi+5kw6/nk=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=mxjIvrbWDeQZsZfQoZxIAayHgrDIZBpf/35k7buCmGNqzgA1wms/0ZYX33Ym9XHmP TYWEQzWj9cfX6nPeiV05eP2L6h263aubX3vkAPPjLbCCyb5l5GR4fMWGml3EujhLZm iMN34tW9If/TvZtdJMXz4R80jSIM4Rq43htSKp0w= Authentication-Results: mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net; dkim=pass header.i=@6tel.net From: Muhammed Efe Cetin To: d-gole@ti.com Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, efectn@6tel.net, heiko@sntech.de, jonas@kwiboo.se, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, megi@xff.cz, robh+dt@kernel.org, sebastian.reichel@collabora.com Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Add Orange Pi 5 Date: Thu, 5 Oct 2023 16:54:04 +0300 Message-ID: <20231005135405.257495-1-efectn@6tel.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230928105137.5ljhuoxjc7et5thw@dhruva> References: <20230928105137.5ljhuoxjc7et5thw@dhruva> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:55:12 -0700 (PDT) Hello, On 28.09.2023 13:51, Dhruva Gole wrote: > Hi, > > On Aug 21, 2023 at 18:47:59 +0300, Muhammed Efe Cetin wrote: >> Add initial support for OPi5 that includes support for USB2, PCIe2, Sata, >> Sdmmc, SPI Flash, PMIC. >> >> Signed-off-by: Muhammed Efe Cetin >> Reviewed-by: Ondřej Jirman >> --- >> arch/arm64/boot/dts/rockchip/Makefile | 1 + >> .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 673 ++++++++++++++++++ >> 2 files changed, 674 insertions(+) >> create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts >> > ... > > Can you provide some sort of documentation on how I can build and boot > the kernel on this board? I was unable to use the upstream arm64 > defconfig with this exact series applied to boot the board. What was wrong when you tried to compile & boot the board? Can you provide some logs? > >> + >> +&i2c6 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&i2c6m3_xfer>; >> + status = "okay"; >> + >> + hym8563: rtc@51 { >> + compatible = "haoyu,hym8563"; >> + reg = <0x51>; >> + #clock-cells = <0>; >> + clock-output-names = "hym8563"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&hym8563_int>; >> + interrupt-parent = <&gpio0>; >> + interrupts = ; >> + wakeup-source; > > Are you able to actually use rtc as a wakeup source? I tried this > on a downstream kernel that I mention below.. > > rtcwake -s 10 -m mem > > didn't actually seem to wake the device from deepsleep after 10 seconds. > Do you know what other pins I can use as wakeup sources? No, i've not tried it before. > >> + }; >> +}; >> + >> +&mdio1 { >> + rgmii_phy1: ethernet-phy@1 { >> + compatible = "ethernet-phy-ieee802.3-c22"; > > Just wondering, can you please give some logs of the board with eth > working? The image that I have from opi seems to fail eth? As in I am > not able to see any ip address. here are the logs: > > https://gist.github.com/DhruvaG2000/eda2762e35013c8d5ac9f37e818103a3 Unfortunately the board is not near me currently. However, i was able to use GMAC ethernet in both the upstreram and downstream kernels. Did you try any images other than Orange Pi ones? > > ... >