From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80FEAC001DB for ; Thu, 3 Aug 2023 21:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EqiTR4kw+NSKoczxDhDZ/UTD37TDVlmwfa8fr+iq0w8=; b=BFW6iOxJE5exT1 VKI8CMVleABiYZKUOKluQPGgtO4tj9o6erdG9nBF7A3ybQhF9I4ZadWVg/Dxnt+gLP0mCVvD4bv+i w+JNPiLckzUZ8JaO2b/8XKV/lLTkp72gia6imkwZfViV/zMMQ5/elmGwN8rF+whpGjKeHYYHz2oxl zBLwk4O74V65uQjTHCrjiJuh4Nl+ojHVg829NLFfUI2buiKmV8mFz5KoQA3FG7ZpOKxrE282WQeGU HHhSYZ3zTc2Af0i2tdAlq32IfciFBZO8feXytC5el+uAFccF/JxsVw/i7EOY8X5ZInFc1s0TS5C/e z0LikDsrtN3mddHK74gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRfYP-00Assl-1l; Thu, 03 Aug 2023 21:08:17 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRfYL-00AsrC-2V for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 21:08:15 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-317c3ac7339so937273f8f.0 for ; Thu, 03 Aug 2023 14:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691096877; x=1691701677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DV2T2OCkDPOD2y9vwdb/sVwgTjjoO8j3LsqgAxgNS4w=; b=rNblyVf9qOGCo4i1pPmmxUMzU51K2jyibaaf+9Y5one6V9+/s7RyVW6rxLXbyK1fk/ drqUfyVBWwjGhJBEoFhlWsK7FQiiue5WZ9YJRGMBeRpzkz4ck466mZ8yw8UTmUIlOydn 5U2vchkHWclmxFOvyUlOGd+YhHFh5LC8ziwpRNx6yZpm373t2q1CjwWUulnPOcrchbuq fKGRjOIymLkHnxFaNekbwOg6f02wDpfSlkuZqLX+ITu8alJx+FhPcvz1pA7cqGlTiB2G mpp+6QyBmNlbkHToTtUrkaH93c/sBUEjr8KYX5W6TGCoDiCozEQMOl8NvWf61rq5B9sr m7Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691096877; x=1691701677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DV2T2OCkDPOD2y9vwdb/sVwgTjjoO8j3LsqgAxgNS4w=; b=aqr2AqJdSO1j9OXJCIxVcSULdsLyVTvSeYqudzR6Tj+FVWOZTGbafDGWvv/KuK+/LT BSesGxvFfniEeKLRvZNyJQi7d8VYXaQZBclKOYoLXd/41QvgCPyaLKKRhLwQnyK+gvkL jqNAPEKs58APpZbhdC7n2C15YZS3Eur2dkU80fQ76oqw4xjhLbRqXdj0pn1jdRpWCZXV zZu7qPyfQknbIiwb39LmlIh/Cs2PI0JLgPl6J+GDOPOZRMEQVQRh4AgBi0gJ/CbRzBN6 cof+M/igRsHwv8n+M6lLffV85QYa6NAvFDlTXkQZXzluvmZ4oxoqJpzeGbibyp1MgAbJ xvCg== X-Gm-Message-State: ABy/qLaArT2BAJBzGZPXIx6wNhR7VKrFwCWkTmS75/BQWEGXBqb1CHKu lKdIzbr0gXhlDcKGHZtZivc= X-Google-Smtp-Source: APBJJlFbf/p8gPAXX1UNOGK+nb3Jhui7ytdP6KvPWP5G4wM44bHi2ILSW1Op3AGS0935rVyVKY5a1w== X-Received: by 2002:a5d:408a:0:b0:314:ac1:d12a with SMTP id o10-20020a5d408a000000b003140ac1d12amr8845698wrp.26.1691096876584; Thu, 03 Aug 2023 14:07:56 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id s11-20020adff80b000000b003179d5aee63sm752635wrp.91.2023.08.03.14.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 14:07:56 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Samuel Holland , Andre Przywara Cc: Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] sunxi: Orange Pi Zero 3 DT support Date: Thu, 03 Aug 2023 23:07:55 +0200 Message-ID: <3751904.kQq0lBPeGt@jernej-laptop> In-Reply-To: <20230731011725.7228-1-andre.przywara@arm.com> References: <20230731011725.7228-1-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_140813_817669_0EC56374 X-CRM114-Status: GOOD ( 19.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne ponedeljek, 31. julij 2023 ob 03:17:22 CEST je Andre Przywara napisal(a): > Hi, > > Orange Pi recently released the Orange Pi Zero 3 board, which is some > updated version of their former Zero 2 development board. Some component > changes (Motorcomm PHY instead of Realtek, different PMIC), some board > layout changes, and it ships with up to 4GB of DRAM now. The SoC is now > labelled H618 instead of H616, which apparently is the same, just with > more L2 cache. > > Split the existing OPi Zero2 DT, to allow sharing most DT nodes, then > add the binding documentation and DT for the new board. > > Linux v6.5-rc boots out of the box (the PMIC driver just made it in), > and most things work: UART, PSCI, GPIO, SPI flash, SD card, USB. > Ethernet is almost working, I get an IP address via DHCP, but no further > packets come through. Might be either a problem with the new Motorcomm > PHY driver, or some missing delay settings, I have to investigate, any > help or advice welcome. When I worked with Motorcomm PHYs, I had to add motorcomm,clk-out-frequency-hz = <125000000>; and usual reset gpio related properties. Have you tried that? In any case, it's not 100% reliable, but I don't know why. Best regards, Jernej > Also let me know if the DT split is a good idea or not, happy to roll > that back if requested. > > Cheers, > Andre > > Andre Przywara (3): > arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT > dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name > arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support > > .../devicetree/bindings/arm/sunxi.yaml | 5 + > arch/arm64/boot/dts/allwinner/Makefile | 1 + > .../allwinner/sun50i-h616-orangepi-zero2.dts | 119 +--------------- > .../allwinner/sun50i-h616-orangepi-zerox.dtsi | 131 ++++++++++++++++++ > .../allwinner/sun50i-h618-orangepi-zero3.dts | 86 ++++++++++++ > 5 files changed, 224 insertions(+), 118 deletions(-) > create mode 100644 > arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zerox.dtsi create mode > 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel