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 9904DC4828F for ; Sun, 4 Feb 2024 10:11:25 +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: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:In-Reply-To:References: List-Owner; bh=Q2l54oLVxUJXBysi+eAoCgjrybfLqgKo/zMz0MIfCPc=; b=OVvq1uSLwa9hl/ N599oOVCcA4XLivIBt14BNDd3dAdBtn9ZlBTnUuoBEfnrtU7VFbvJwTwCowjqpALLQ0Z8YXaG+k7g nrji345MJZxhNb75qSbQzAVelByI57kq3dUtqRMYXbDu52pC94aD+KtkwS6fAacxrHQUT1WujVNON 4piCwvhUGiPpY+r0O/kjrJ/oE/u0rIoFyOa3Zs++r55LI696q4CY+ae+VVN5MRWGZtfNrsNHMUYD0 vZyNWva37PbgFj7Z4dq5iKLi2kdpUEr4p2drSwnXBI3ZCYIcapfVi/WdCGintaJ4fnlZ+YiLkuVdU HOFdcshuSr1f71OuNNUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWZSz-00000000Yce-3FSf; Sun, 04 Feb 2024 10:11:13 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWZSx-00000000Yb4-1IUe for linux-arm-kernel@lists.infradead.org; Sun, 04 Feb 2024 10:11:12 +0000 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 D385B1FB; Sun, 4 Feb 2024 02:11:48 -0800 (PST) Received: from e110479.fosdem.net (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7A8C63F762; Sun, 4 Feb 2024 02:11:04 -0800 (PST) From: Andre Przywara To: Jernej Skrabec , Chen-Yu Tsai , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng Subject: [PATCH v2 0/2] arm64: dts: allwinner: Add BananaPi M4 Berry Date: Sun, 4 Feb 2024 11:10:52 +0100 Message-Id: <20240204101054.152012-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240204_021111_415988_7A7FE6EA X-CRM114-Status: GOOD ( 18.99 ) 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 Minor update of the series, addressing the comments from Jernej and Krzysztof (thanks for the review!), for a changelog see below. ============================================== The BananaPi M4 Berry is a development board with the Allwinner H618 SoC. It comes with 2GB DRAM and 8GB eMMC flash, with the usual suspects like HDMI, SD card, GPIO headers. There are four USB ports connected via an on-board hub chip, and a Gigabit Ethernet socket. Also there is a USB WiFi chip soldered on the board. More details: https://linux-sunxi.org/Sinovoip_Banana_Pi_M4_Berry I don't have this board, so this is a "call for testing". One thing to consider: - The USB WiFi chip has a CHIP_EN pin, which can turn the chip off. It is pulled up by a resistor, so works out of the box, but is also connected to a GPIO (PC2), so the chip can be disabled or reset via this pin. Since this is a USB device, we don't have a DT node to announce this pin. Any ideas how this should be handled? At the moment I ignore it, but it could also be modelled as a USB VBUS regulator for USB port 1, to which it is connected. When testing this, please have a look at: - Does the eMMC work in HS200 mode? The vendor DT described that as a 3.3V controlled eMMC only, but clearly the schematic uses 1.8V, which allows faster transfer modes. "hdparm -t" should suffice for a quick test. - Do USB full-speed (aka USB v1.1) peripherals like keyboard or mouse work on the USB ports? I disabled the OHCI node, since the hub should not need this, but it would be good to double check. - Similarly the USB WiFi chip probably doesn't need USB 1.1 modes, so please check this still works. Apart from the missing audio and video support (which are due to missing bindings for the H616/H618 SoC), most of the peripherals are supported. Patch 1/2 adds the board compatible string to the bindings, patch 2/2 adds the actual .dts file. Please have a look! Changelog v1 .. v2: - rename 5V regulator node - rename switch node - remove unused USB2 port - Add ACK on patch 1 Andre Przywara (2): dt-bindings: arm: sunxi: document BananaPi M4 Berry board name arm64: dts: allwinner: h618: add BananaPi M4 Berry board .../devicetree/bindings/arm/sunxi.yaml | 5 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h618-bananapi-m4-berry.dts | 223 ++++++++++++++++++ 3 files changed, 229 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-berry.dts -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel