Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1699557rdb; Sun, 8 Oct 2023 22:41:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqH2FyZ3VAzinRcx+3HzvaRiewtbI9EfabVzGEyr9L9MMYMmw+jLJQWAm+V91WPzfDRBvU X-Received: by 2002:a17:90b:3109:b0:26b:36a4:feeb with SMTP id gc9-20020a17090b310900b0026b36a4feebmr15292678pjb.8.1696830084048; Sun, 08 Oct 2023 22:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696830084; cv=none; d=google.com; s=arc-20160816; b=A0tVkoLG1l9VKynaVvgoTCSziCykNvHdC3hwzOrFhOehqR20OCzLkDVJM1xduN0hO/ GlIVk3iey5Y1prCuPMYeE7UH9nnQT6DperOl6gwV9Ff/NLWn0ZIqXIsxgnYr8xeB8knI 4v8CFEp0iXnc0cR9ijKYs4zyC866y4RnBVk59K3YfNKHy9mpWy4qHAB+Ce4uOgwTlkSF Y6c89Rizyp8y9TuRNTg6+AIBM6TcZgVr6k6iVf95ziK7F9zFUxf29Vd0EZwqUsUkv2N2 rBB3H9cs8fRgxAYq1u7q9eaN92XlBpKGLfGP2lXLUMrocSPiA2vgBNGuBdn7SWXOEx7p s0Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uH1s6pUcj06GVFmMzVsYyW292JwkPCIrAGTeZPFkZrI=; fh=WukEzKe+LxW81atZTHPuHJhC1A21e6yILPNxa7Fwe+s=; b=eWltEb7TeLl1RYjsw2IeijXAPaWift3JjjWrxTndH8E0d4FyDLqVol2eYVZL7f5FuS +yzHBmRDuHp/bFDJNh51FDdXAfhpLsVAmCq4ek+qbX4et4mT6LP5yidYge5AMmfvLqss lrKLvsdbww2KD1kIA4hQquga+2oMIJHF3waBAUnCXVlRtTbKKWmZ1BEJUJWmu5lNiea5 6VXuqkymAJcS7xdNCdOYNtK8zw2XV2qlcHo/HXGsuy7j769j8A9fmcFSOabbcqt5HlkL Xg41wpNrGFHWA2lNLCD8QzOhiSWYHznV5UPL0tZuP8SFvddFQCGade3qCxLsUCtyJ2Gd 5YbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KHDtihLb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m17-20020a637d51000000b005649cee422esi9362821pgn.464.2023.10.08.22.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 22:41:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KHDtihLb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4F418804A487; Sun, 8 Oct 2023 22:41:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345116AbjJIFlK (ORCPT + 99 others); Mon, 9 Oct 2023 01:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345049AbjJIFlI (ORCPT ); Mon, 9 Oct 2023 01:41:08 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13D959E; Sun, 8 Oct 2023 22:41:05 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3995eZMZ056348; Mon, 9 Oct 2023 00:40:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696830035; bh=uH1s6pUcj06GVFmMzVsYyW292JwkPCIrAGTeZPFkZrI=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=KHDtihLb5/nkre8mGz6ZsxjQbhIUSuhMoNmGdRCaSURHNnGDmJfE9XnTxjQ/fvnbh CEJhh/zcFr75PmyqL83NaZRSuXfwJr+Tq7AjJ8Rh2yeQiEPnyM/d4Zym3JYhoS7Fqi 20qH3sZbn2o/eT/M1hYtTeCCtvmJdBC+PvZtWq64= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3995eZF2018233 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 Oct 2023 00:40:35 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 9 Oct 2023 00:40:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 9 Oct 2023 00:40:35 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3995eYQV043957; Mon, 9 Oct 2023 00:40:35 -0500 Date: Mon, 9 Oct 2023 11:10:34 +0530 From: Dhruva Gole To: Muhammed Efe Cetin CC: , , , , , , , , , , Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Add Orange Pi 5 Message-ID: <20231009054034.am2e4hcmwoworeml@dhruva> References: <20230928105137.5ljhuoxjc7et5thw@dhruva> <20231005135405.257495-1-efectn@6tel.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231005135405.257495-1-efectn@6tel.net> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Sun, 08 Oct 2023 22:41:21 -0700 (PDT) X-Spam-Level: ** Hello, On Oct 05, 2023 at 16:54:04 +0300, Muhammed Efe Cetin wrote: > 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? Umm don't have logs at hand, but I remember it didn't really reach the linux first line either, it went into sort of a bootloop just after the uboot stage. > > > > >> + > >> +&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. ah okay > > > > >> + }; > >> +}; > >> + > >> +&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? Nope, are there any other images that maybe more suitable? Please can you point me to them? > > > > > ... > > > -- Best regards, Dhruva Gole