From patchwork Thu Apr 18 10:49:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 1924911 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-60500-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VKvg81qYDz1yPv for ; Thu, 18 Apr 2024 20:49:56 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 735841C20FFC for ; Thu, 18 Apr 2024 10:49:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39B1315D5D1; Thu, 18 Apr 2024 10:49:50 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EA4715D5A6 for ; Thu, 18 Apr 2024 10:49:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713437390; cv=none; b=VE/ofmP/U72dMrhdbB5qdt/MuXx3PVHzJGzzx2BAnXWG8CEi2rqxjIck7VUksVUG36eJbYi1L6MzPj5YkzRmHmC7rC/ap/RNRgjWyAIQVSCPBjiYjm0gQimMbki/3DIoSAfL/uCVQmFBu+u4CV39QuH2bkbCAdOfmVaRSRMUMHQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713437390; c=relaxed/simple; bh=opLM3QcKdXQUrzPJMiT/HboRpdIvBiZ3xNW1cxbTDnE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=iiqiHLNTzvEOhhurGnNet7kFiGj7Rk3O64gd3dnSP2ZOSKjY/628z8y10be333HP6jszdUnipDvJrBT9VdcExYyrIllZ8hauc6TpuMrzWQUnxNXdw9MGMPJURIWDF/yvFOgCaMktwPeC3FhC4CHfS5hcrdjT+dLTqsu2iaW6c2c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 44EE4339; Thu, 18 Apr 2024 03:50:15 -0700 (PDT) Received: from donnerap.arm.com (donnerap.manchester.arm.com [10.32.100.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 354923F792; Thu, 18 Apr 2024 03:49:46 -0700 (PDT) From: Andre Przywara To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, Piotr Oniszczuk Subject: [PATCH v2 0/2] arm64: dts: allwinner: Add Tanix TX1 support Date: Thu, 18 Apr 2024 11:49:40 +0100 Message-Id: <20240418104942.1556914-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 v2 just removes the premature OPP header inclusion, and adds tags, otherwise it's the same as the previous post. Based on sunxi/for-next. ================== Tanix TX1 is a tiny TV box (60% of a credit card) with an Allwinner H313 SoC. This seems to be the same as the H616, just the "bad bin" version, limited to 1.3 GHz. The box has no Ethernet or SD card slot, which makes booting from it somewhat interesting: Pressing the hidden FEL button and using a USB-A to USB-A cable to upload code from a host PC is one way to run mainline. The box features a minimal set of peripherals: one USB port, 8 or 16GB of eMMC, an HDMI port and an (unsupported) SCI S9082H WiFi chip. Patch 1 adds the DT binding for the board compatible, I refrained from using the H313 name here, since it seems to be functionally identical to the H616. Patch 2 adds the devicetree. There is a blue and a red LED, both connected to the same GPIO pin, but with different polarities, so it's only either one of them enabled. I did not find a way to describe this in DT, so I omitted the red LED. Please have a look! Cheers, Andre Changelog v1 .. v2: - add tags - remove premature opp.dtsi inclusion Andre Przywara (2): dt-bindings: arm: sunxi: document Tanix TX1 name arm64: dts: allwinner: Add Tanix TX1 support .../devicetree/bindings/arm/sunxi.yaml | 5 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-h313-tanix-tx1.dts | 183 ++++++++++++++++++ 3 files changed, 189 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h313-tanix-tx1.dts