Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3880293rwb; Sun, 30 Jul 2023 19:02:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlGtPU1+K1dfMgCqo2CDUJmMg/B81CBNPmkwHCHjhTBfgIK+pSn/MBnH+L69Y9kxbPJ24Yr3 X-Received: by 2002:aa7:d70a:0:b0:51e:65d:1f6c with SMTP id t10-20020aa7d70a000000b0051e065d1f6cmr6898894edq.9.1690768946730; Sun, 30 Jul 2023 19:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690768946; cv=none; d=google.com; s=arc-20160816; b=SHfPOuBrzVcHoCGZok5bCEcR73TW4zZjVJmLFSC2tFTUE1/xP0WGnamoIxA9ZRSnhc JFKUQPNFlxp3L+u+8wh3Ut0ynCk4pdOa8LjZ4jfbLQOP17czeAjXiktL0hdFIYOwSMWw nqRf+MyUneJIlFB2NCG0r9UIEZtytqSvaf1bCzYeQDSy5AXNUMHCkue9JiIxamBFdzhU 5HUOI3pXwKiSeoUndbGXeMNRPVxQs9fvgg6pnYCIjMcaD6A/txZjbMR76IYZK5kIvHbc fKJsy4ckXDN2Ia1ADZEflQWriJ143PXStmqJPuPE6g3glTGLmGkBzJTNY3YJZMGYLatj 62+Q== 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=fv6/DmmK8sd0E6lduSnP1auGUUXeR9JPnsDxAlAzBTA=; fh=nvt2fN7UnqEO9kn1OY1RExFwWKEspZcEqiYnO1gdBwU=; b=nHf13vK0EZbn8up22FBO7TArvtvfRPmcA17BnNDWUC9t6tfWlhe53dXv10Cj2QF6uP fAzxJEQXkpLXfJSU2K0iU9B3d5HcsU0Id8uZs6QlLUQeQIPVz3GYYq5cOO/deP54+8hY ifLbbO4ynquLbLSxJqqZ6jUH2unE+4jTsGcQDBzKKonMXno/VIPay7diJHBGSoA/kdt8 bxJ9xHGS1qON6WFVYypNYLL4edorDMmUfLxvSOZ+MLaYzy9X0qiAx+DbUss71gaPMOiJ zSUduCVvo3CeJiu7LMqOs23h0j/7DskDWKjQDgOFtZtq6ya/AwKm0V/tClY74EyQl56M 8TWg== 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=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j26-20020a50ed1a000000b0052220448d66si3005784eds.283.2023.07.30.19.02.02; Sun, 30 Jul 2023 19:02:26 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbjGaBS0 (ORCPT + 99 others); Sun, 30 Jul 2023 21:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjGaBSY (ORCPT ); Sun, 30 Jul 2023 21:18:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 218FD1A2; Sun, 30 Jul 2023 18:18:22 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ECB4B1650; Sun, 30 Jul 2023 18:19:04 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D92FC3F5A1; Sun, 30 Jul 2023 18:18:19 -0700 (PDT) From: Andre Przywara To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] sunxi: Orange Pi Zero 3 DT support Date: Mon, 31 Jul 2023 02:17:22 +0100 Message-Id: <20230731011725.7228-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.35.8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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. 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 -- 2.35.8