From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C38E3494A04 for ; Wed, 29 Jul 2026 14:12:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785334361; cv=none; b=mhnirzF+NX/XYfkldpX88UtYJ98XcNZ3RwOuERDzHUGx0veUmhnEndvpYQWo0u6E5q0Vooouk16fFf3h2mQgLK8NmBrfWkBpdytIyArVAY4K0vbxuU2VI+Qi+bQzVqscXeoVCXl4nozFGTjs04/xowUsIWuORRMkbjTePclAgTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785334361; c=relaxed/simple; bh=wPPwP+eOorMJ5Dz2eWGFt/Z+17XkDaW61av0R29ucAk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gG9IqOHlbUSSKRm0e33b2nItyZWpRIrDLb+ywta603gAAPfiluMo1g6gO9x7ZaN6ieyrE0TlkJXAaDT+0aTdg/wzb5YlFyGyb1WQgYKJcJ32CIXi9dO8h+FF9OjA2aYzLbF0RyVJCunB8Gu1QEKxjBcHY0i7ZyLe2Nw63ivkGWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jw2EueeV; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jw2EueeV" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-47f97d310caso986655f8f.2 for ; Wed, 29 Jul 2026 07:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785334358; x=1785939158; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=sZt5YLqMGYmF4dq+vgkm2en+jsRgo3VE/Xyvbam/bDk=; b=jw2EueeVF8MTaM2fVsulLqscjMKoeapgbA25dKl++iUlQg9SNyJKRclLLoD7VcmsX9 YMwbg1cFYxCroyNgPoO6aZ9qZ/BS0Fp/nzYEEiWbWlMUzl6uwLryXcxU03xbDlHb6in5 2i/iRMyiam4SBwAH8I2D5C2QYtXlp+11FmaRqUEVCXqIYDahbUi7/8YtZcBkGjRRVUwv IqdzMNZFP8ZLzWhY9HTo+/JcOIUIzcPYweMAQ0nlAMgcfmhJVlA3IRexfUqUHwpsQ9lX hj1f3jrvb8bumrCtf1QfNN2R9B0vWglWSkLJxDdGwhdl60OGVLOIy4QNbp/gbn3bI+gx AinA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785334358; x=1785939158; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=sZt5YLqMGYmF4dq+vgkm2en+jsRgo3VE/Xyvbam/bDk=; b=msodFGsrPa6U8yfRIHEnUX49qxyOTu1sXBdZMcVyDv7CGAYi837rea4w/t/BcdB0A7 iZrePQieE2y1Lohe4TACWgMerZpHBIWOzMLGcbTdJeN197ke23rm1dFCPmN6sN4AdprH oXUO9YdDAb4Wc/4cGlAwxEtxIfWWK5W0/UoOu3vZFMveKSIkjhmqk5PDRWGXAREp4gly Ipngv0JqVoOMmCVmcIBD1xErd1S3aJsVydvYCtqmpYcdY4VRB9cRNWjgN/QgaekPnCTp RmmIYlgN++BI9snxz2cUrPV3AzLg3B+X47Facfk9c6X3EPooCRfq1xVRMVVtFh2BQyKS KYAw== X-Forwarded-Encrypted: i=1; AHgh+RrAkC5q6aaEa2G8F8oFaiOfVESZBgW3kjZJEsaEzZeOkBBPKc+32yQHdG0P751rkScR54x1gHz/Ivq6zKI=@vger.kernel.org X-Gm-Message-State: AOJu0YwLr1KKGJdobNarW33jgnrxso5nSRIBjlMJAcw5S81lpgQf/FAd O4Q8DpFcafFf0JfE/q9kRYc4wvlho6xS29GSHLvrhGegFe6g8ynMCCV2CoNrUU9D X-Gm-Gg: AR+sD10bHiT1/mUl32DPLVwgpsJXQCDHPY/rBnZ8EEAt7c4Q7cZV7eVntUlWbc9dr0X XWvXBCusse6ygu7CdOPniGppBncwvtr65/tT/Ajy32dM+9h5plqDHmd/A1G+Jy9q07L28svrXOB nlv3hsCawbUhq9F3LNQ0MuQjLLEtAhjdEaI9oI7BFg+sxn4dn7sf7WXplHcfZSCXFnGGQMEXqpL pw35riwLOKbJvxdrwmGy37KvL9u+YQobXMT+lvbLDThlCCazCDdUe9PXnnPnkENLrzfkLvc9qii rrtvfmgaWolJgX2Q+Lf4Hv+aSdX/L+mAmYu53DwsJnRLfLeEUriuD4D60qQuztsVE+2IyxxMTqV 8eSWfDjA5bmv0gBmEVsTGPXyCej3I5n6/akHSRjlChCQ7BH/1jQ+MKlU2qbBw4LpDdLZRimsack B1CcDKOG1IqQKy4A5yv5XY8tu7HjD13yAO23NyEh9H0FoD38QUOF4ijfahx+ecgk3y7DQ+yUGp1 6AvaNLp0HUfs9WClC56kw== X-Received: by 2002:a05:6000:2c0a:b0:47f:9464:86c3 with SMTP id ffacd0b85a97d-47fb1ee73e1mr8634331f8f.57.1785334357591; Wed, 29 Jul 2026 07:12:37 -0700 (PDT) Received: from slackboot (93-34-146-61.ip50.fastwebnet.it. [93.34.146.61]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47fb6ad01b6sm8955482f8f.16.2026.07.29.07.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2026 07:12:37 -0700 (PDT) From: Alberto Robazza To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com Cc: jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Alberto Robazza Subject: [PATCH v4 0/3] arm64: dts: amlogic: add support for Orbbec Zora P1 Date: Wed, 29 Jul 2026 16:12:31 +0200 Message-ID: <20260729141234.65037-1-robazzalberto@gmail.com> X-Mailer: git-send-email 2.55.0 Reply-To: Alberto Robazza Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Orbbec Zora P1 is a vision development board based on the Amlogic A311D (Meson G12B) SoC, with 2 or 4 GiB LPDDR4, an Ampak AP6256 combo module (Broadcom BCM43456 Wi-Fi over SDIO and BCM4345C5 Bluetooth over UART_A), HDMI output and Gigabit Ethernet. According to its specifications and original device tree, the board is a revised version of the ODROID-N2 with Wi-Fi, Bluetooth and an Amlogic A311D instead of the original S922X. The device tree therefore builds on meson-g12b-a311d.dtsi and meson-g12b-odroid-n2.dtsi, mirroring meson-g12b-odroid-n2-plus.dts. It extends those descriptions with the board-specific AP6256 wiring. The status LED is green instead of the original ODROID-N2 blue and has inverted polarity. This series consists of: Patch 1: add the "orbbec" vendor prefix. Patch 2: document the "orbbec,zora-p1" board compatible. Patch 3: add the meson-g12b-zora-p1.dts board file and Makefile entry. The DTB was built, validated against the amlogic.yaml binding using DT_SCHEMA_FILES, and boot-tested twice on the board. The AP6256 Wi-Fi interface enumerates and operates with the GPIOX_16 reset and PWM clock description present. Removing the wifi32k and pwm_ef descriptions causes the SDIO Wi-Fi device to stop working on this board. --- Changes in v2: - Investigated the apparent GPIOX_16 overlap between the SDIO power sequence reset and the 32.768 kHz PWM clock. Retained the description after two successful hardware tests; removing the clock description prevents the AP6256 Wi-Fi device from working. - Sort the new DTB entry alphabetically in the Amlogic Makefile. - Sort the "orbbec" entry alphabetically in vendor-prefixes.yaml. --- Changes in v3: - Polished meson-g12b-zora-p1.dts. - Use proper comment with /* and */. - Use the new bindings with function and color properties instead of label in leds node. - Include dt-bindings/leds/common.h. --- Changes in v4: - Dropped unnecessary sentences from patch 1 and 2. - Renamed "wifi32k" node to "clock-32768" as updated guidelines suggest. Alberto Robazza (3): dt-bindings: vendor-prefixes: add Orbbec dt-bindings: arm: amlogic: document Orbbec Zora P1 board compatible arm64: dts: amlogic: add support for Orbbec Zora P1 .../devicetree/bindings/arm/amlogic.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-g12b-zora-p1.dts | 105 ++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-zora-p1.dts -- 2.55.0