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 0D577FF886F for ; Wed, 29 Apr 2026 02:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=HIEyNB5UbcWoaGD0yWhXk2s8uEv6oQJH1PUZ9hY0y2Q=; b=Kw7i49HSlKE9M398f3u68Q+n8W qu9eC3Sb/hX5wLckcjJSKZJnucc6p9sHokQ0fFIYp5qop1L8l9yj7tZRnPm7gKP929suMljQ2UZBy Rp3Hyj8Cpw/bY+fOkS8pUSMZ9vXZTWqkt3yUhduSQVZiwDLZZ0agANTUz4+gkAXgg2fiis7GI0xuE g9sbbmmC1iCqxUJ4SR69sk/VHlRCgiJm06QsHeO4WezW6gSbuRcJdmAQa1bQH6WU8q/YPqNqxZBMZ qracmqoxDalUY8HhEHZb2NVcA22M715hFvtNoRsfRlkApvyfbYRtn17ZBpCWlTMX01UiIXBJjTcI8 GQwPPDCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHuxn-00000002nmP-31N5; Wed, 29 Apr 2026 02:47:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHuxl-00000002nlZ-3pme for linux-arm-kernel@bombadil.infradead.org; Wed, 29 Apr 2026 02:47:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=HIEyNB5UbcWoaGD0yWhXk2s8uEv6oQJH1PUZ9hY0y2Q=; b=KZxEoUYkW+dELUE1K0PwreJ4C4 cx2+gtTfas/QajyNfH8nuahkFmGLRQxDEDhsTsNln/r6KIrIy+o+i8Wq5xIzZzClOGJF+dbKYhswP vu0XeW2A0LqMypo9IklnabbTME2GsrM5UK1aVMr1yrrns2pz5tvDFXt9Y+fiTCgzy+iQCTXJV4sMe FIPgiUJSOjOBytd9gB1M3nyzQhn6dQF0Iyr7yLpwSURZgj0wZzFKt+57odZ0qMYVi+ibk8jJUkF6T etVMRNK0XccAVTwhxnKD5V9wSYP1wiKYmvDFVk4rL61iAm735KNre1boY4GwJ5GL0TSIOkhhumqWc J0Ae8m1g==; Received: from mail-ot1-x366.google.com ([2607:f8b0:4864:20::366]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHuxi-00000004Uq8-2rHd for linux-arm-kernel@lists.infradead.org; Wed, 29 Apr 2026 02:47:44 +0000 Received: by mail-ot1-x366.google.com with SMTP id 46e09a7af769-7dbca22dbfeso5168023a34.1 for ; Tue, 28 Apr 2026 19:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ausil.us; s=google; t=1777430860; x=1778035660; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HIEyNB5UbcWoaGD0yWhXk2s8uEv6oQJH1PUZ9hY0y2Q=; b=lo3SSyApvk4sswVQxIxLodZBGRXv3rx0D1bKR/p1ZI40xOXjsBBBg/HVGxc4pERB43 /b8wjam3O2f7d9FarW08Z2ca0pt4UUt/o5vBNbqwLZTnzBxMpY9aDinTgd0i2YS2XT0s su35ioqVb6tViB/+YeHfunti3Y3GC2MVes+2i7h0Nbqraerb2T8Y/5djcC6OWrgPtfbj wm9PQPLhUeoqIy4HCI0sV0TmTSgf1ebB9m6JHvw1fb0ZDbFtPFwDCS2vs9hasVxSS4i8 KLGtUQ6BSdmcII2tLMAO0fK/LurPgrK9nnWh+1p8OIJtjx8SvEmf6koRBYefxzfBBquv DPVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777430860; x=1778035660; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HIEyNB5UbcWoaGD0yWhXk2s8uEv6oQJH1PUZ9hY0y2Q=; b=IflTljqqsnUTFnU7dgEKNNNUoevt6cYM/VGNs31kj9bs1R40oowYhLmEst0hAaOBr0 FP7gC0DugqNJr3GNKDZ5SRbazgPnMrL5SbcjqPsZaMfiOfL6gLji3GTVJwbwVfLk1qwq nx23vVApPO6h2oABJKTE8pa7T+67tSgmlfVme77vbqsEm31dy/qUICvjCBB14SXv8XRA IS2Cj6WWsRGYIf5yV2dFHqIOUlTmYehIgMdpEXajga3sNslK5ahCZKzIb21nQQUTV6Rv YiBqFejr16shjYL4ZgQ+x0scfUQTmURQUPxdKhcu9U3HUzNt8nnIejwJxr3n8Iw4JNXO LKzQ== X-Forwarded-Encrypted: i=1; AFNElJ9UEQHP/VxSewrm2oosgv5yVzbfcWGFzWKvlRUrm9VApT+NGgymb1/jnSDlRcFH7fxx/nUbQ5Tyv0z6ndxGOrKG@lists.infradead.org X-Gm-Message-State: AOJu0Yxyd6xTlPvQehk6ofoheMizGzarNccP1A1Zp7YFMeetv1n63DfG SEeFH2sYFKUP4H+dBJcMs+vlNPfA8zB33+9/C7Z6XWupgy6G+ORmuVx3LHgOSzt6pTHlTgJy/C2 D2O9LRytlk+s53HfatvSq7g3umXDHcFC/a3nv X-Gm-Gg: AeBDieso/kYck6hL6Cpm/AMAG7bkFcn71PBwL/ZUmXu201f2dl07a+tQDR6Jmxnvk1G 1WiDF0lGmC2Lg0rRPWB92S8VdQ3jzh/GM93bOGWB23sCfDXdVFQlgyfi6ALQJyfG6e2mrQ3C/pn A2UHak8/441O4E0pIetbZrcTFH22RDZa0nVr6OvgrzobP0E8GCDw5eTirmazz7PuZx6k/rVbK+n ZQSgKbAfPQfoqTGItQbhbLJKO4ShxOWCXMrgcl2sGUkUfHaGbh1a8eWBcD/z7tjgapInERYpU9Y 4UHcH3SiMZdoweTGGSs9mXBFLihpBOK2zViAgBZHN+VBoC3TlUj3i3iiIo4ukj6jcRmQYO6QmHO kblV9AvQ5wnZveD+Ti0lArNw8MqVaRm4YC9QIGlv2EoqrM8TZ/LGXJdI= X-Received: by 2002:a05:6820:198e:b0:693:7a6f:b317 with SMTP id 006d021491bc7-6965ca4d8f1mr2921714eaf.9.1777430859966; Tue, 28 Apr 2026 19:47:39 -0700 (PDT) Received: from ryac.ausil.us (207-179-239-100.mtco.net. [207.179.239.100]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-4340e711c00sm110958fac.5.2026.04.28.19.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2026 19:47:39 -0700 (PDT) X-Relaying-Domain: ausil.us From: Dennis Gilmore To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonas Karlman , Alexey Charkov , Quentin Schulz , FUKAUMI Naoki , Peter Robinson , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dennis Gilmore Subject: [PATCH v9 0/4] Add support for Orange Pi 5 Pro Date: Tue, 28 Apr 2026 21:47:31 -0500 Message-ID: <20260429024737.544813-1-dennis@ausil.us> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260429_034742_945342_DCC95D29 X-CRM114-Status: GOOD ( 22.21 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds initial support for the Xunlong Orange Pi 5 Pro, based on the Rockchip RK3588S SoC. The board features eMMC, SD card, NVMe (PCIe), a Motorcomm YT6801 NIC (PCIe), WiFi/BT (BCM43456), HDMI connected to SoC (Second port is disabled in this patch), and a 40-pin expansion header. The series was tested against Linux 7.0 Please take a look. Thank you, Dennis Gilmore Changes in v9: - removed support for the dp-to-HDMI bridge, will send in a second patch set to enable discusion to finish on how to handle its two operating modes - link to v8: https://lore.kernel.org/linux-devicetree/20260425031011.2529364-1-dennis@ausil.us/ Changes in v8: - Bridge node: renamed label from lt8711uxd to hdmi-bridge - Bridge node: added vdd-supply = <&vcc3v3_dp>. The vcc3v3_dp regulator gates power to the LT8711UXD. regulator-always-on is kept because drm_simple_bridge only enables vdd-supply with HPD which does not happen without power on - GPIO output pinctrl groups (bt_wake_gpio, dp_bridge_en, ethernet_en, vcc5v0_otg_en, wifi_enable_h) changed from pcfg_pull_none to pcfg_pull_down to match the RK3588S power-on-reset default state - pcie2x1l1 (NVMe): switched from GPIO-mode reset to hardware sideband pins using pinctrl-0 = <&pcie30x1m1_1_perstn>, <&pcie30x1m1_1_clkreqn>, <&pcie30x1m1_1_waken>. Note: despite the "pcie30" prefix in the DTSI group names, the SoC pin-mux table confirms these alt-function 4 pads physically route to pcie2x1l1's native PERST#/CLKREQ#/WAKE# inputs. reset-gpios is retained alongside the pinctrl entry for U-Boot compatibility (pcie_dw_rockchip in U-Boot requires reset-gpios). - pcie2x1l2 (NIC): added &pcie20x1m0_clkreqn and &pcie20x1m0_waken to pinctrl-0 - Renamed pinctrl group vcc3v3_phy1_en to ethernet_en to match the schematic signal name (Ethernet_EN) - link to v7: https://lore.kernel.org/linux-devicetree/20260414214104.1363987-1-dennis@ausil.us/ Changes in v7: - Fix up whitespace issues identified by checkpatch.pl --strict in rk3588s-orangepi-5-5b.dtsi - checkpatch gave a warning for WARNING: phy-mode "rgmii-rxid" without comment, as this was moved over I left it untouched - Added lontium,lt8711uxd to the compatible enum in the simple-bridge binding - Added lontium,lt8711uxd match entry with DRM_MODE_CONNECTOR_HDMIA to the simple-bridge driver - New patch to rename the regulator labels for the es8388 supplies to match the schematics and they all use vcca_* - Fixed ES8388 PVDD-supply — vcca_3v3_s0 → vcca_1v8_s0, 5 Pro is different to 5 and 5b. - analog-sound: use CPU-as-clock-master on the Pro. The ES8388 is wired to i2s2_2ch (the only I2S block physically routed to the codec pins on this board), which uses the legacy rockchip_i2s driver. That driver's slave-mode trigger path hangs for 200 µs polling I2S_CLR and bails with -ETIMEDOUT ("lrclk update failed"). The TDM-capable i2s0/i2s1/i2s5 blocks served by rockchip_i2s_tdm don't have this issue, which is why other mainline ES8388 boards get away with bitclock-master = masterdai. Drop bitclock-master/frame-master and the masterdai label to let the I2S block generate BCLK/LRCK itself - Removed regulator-always-on/regulator-boot-on from vcc3v3_dp - Added pinctrl entries for all GPIO pins (dp_bridge_en, vcc3v3_phy1_en, wifi_enable_h, pcie2x1l1_rst, pcie2x1l2_rst) - DP bridge rework — replaced dp-connector node with proper chain: - lt8711uxd bridge node (compatible lontium,lt8711uxd, with port@0/port@1 endpoints). Bridge power is gated by the vcc3v3_dp regulator, whose enable GPIO (GPIO3_PC2) is driven via the dp_bridge_en pinctrl group; no enable-gpios/vdd-supply on the bridge node itself. - hdmi1-con connector node (compatible hdmi-connector, type a) - dp0_out endpoint now points to bridge input instead of old connector - remove accidentally included unnecessary changes - link to v6: https://lore.kernel.org/linux-devicetree/20260411024743.195385-1-dennis@ausil.us/ Changes in v6: - Move the shared configs for the Orange Pi 5 and Orange Pi 5b from each devices dts to a shared rk3588s-orangepi-5-5b.dtsi to avoid duplication - Remove empty ports subnodeis from typea_con - Move i2s2m1_mclk pinctrl from &i2s2 to the es8388 codec node - Add dp-con, dp0_out, dp0_in, and vp1 nodes, plus the vcc3v3_dp regulator in order to get the second HDMI port working via its transparent LT8711UXD DP to HDMI bridge - link to v5: https://lore.kernel.org/linux-devicetree/20260401010707.2584962-1-dennis@ausil.us/ Changes in v5: - define a connector node for Type-A port, and list the regulator as its VBUS supply explicitly. - Requires https://lore.kernel.org/all/20260217-typea-vbus-v1-1-657b4e55a4c2@flipper.net/ - link to v4: https://lore.kernel.org/linux-devicetree/20260310031002.3921234-1-dennis@ausil.us/ Changes in v4: - rename vcc3v3_pcie20 copied from rk3588s-orangepi-5.dts to vcc3v3_phy1 to match the schematic - use vcc_3v3_s3 as the supply not vcc5v0_sys for PCIe - remove the definition for vcc3v3_pcie_m2 as it does not really exist as a regulator - link to v3: https://lore.kernel.org/linux-devicetree/20260306024634.239614-1-dennis@ausil.us/ Changes in v3: - moved leds from gpio-leds to pwm-leds - remove disable-wp from sdio - rename vcc3v3_pcie_eth regulator to vcc3v3_pcie_m2 to reflect the purpose - actually clean up the delete lines and comments missed in v2 - link to v2: https://lore.kernel.org/linux-devicetree/20260304025521.210377-1-dennis@ausil.us/ Changes in v2: - moved items not shared by orangepi 5/5b/5 Pro from dtsi to 5 and 5b dts files - removed all the comments and deleted properties from 5 Pro dts - link to v1: https://lore.kernel.org/linux-devicetree/20260228205418.2944620-1-dennis@ausil.us/ Dennis Gilmore (4): dt-bindings: arm: rockchip: Add Orange Pi 5 Pro arm64: dts: rockchip: rk3588s-orangepi-5: rename PLDO regulator labels to match schematic arm64: dts: rockchip: refactor items from Orange Pi 5/b to prep for Pro arm64: dts: rockchip: Add Orange Pi 5 Pro board support .../devicetree/bindings/arm/rockchip.yaml | 1 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-orangepi-5-5b.dtsi | 256 +++++++++++++ .../dts/rockchip/rk3588s-orangepi-5-pro.dts | 358 ++++++++++++++++++ .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 6 +- .../boot/dts/rockchip/rk3588s-orangepi-5.dtsi | 263 +------------ .../boot/dts/rockchip/rk3588s-orangepi-5b.dts | 2 +- 7 files changed, 637 insertions(+), 250 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-5b.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5-pro.dts -- 2.54.0