From 41119ab0099682bb13175ddfb19ee3c10cf185d9 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Sat, 28 Nov 2026 09:41:06 +0530 Subject: [PATCH 01/21] FROMLIST: Revert "Draco evk display QLI2.0 (#1486)" These changes were on top of Lemans draco evk V1 version. To make it compatible with V4 newer version of lemans draco evk dt, reverting all commits from this PR. Would add new aligned version of display changes. This reverts commit d7270f42b6ac74957db3f9b1b283c4ad388f7715, reversing changes made to 2cd5a1267e50. Link: https://lore.kernel.org/all/20261113-draco-evk-display-v1-1-28a19c6aea87@oss.qualcomm.com/ Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 20 --- .../qcom/lemans-draco-evk-dlc0697-dsi.dtso | 81 ----------- .../qcom/lemans-draco-evk-hdmi-dual-dsi.dtso | 38 ----- .../lemans-draco-evk-lvds-auo,g133han01.dtso | 133 ------------------ ...emans-draco-evk-raspberrypi-dsi-7inch.dtso | 98 ------------- .../boot/dts/qcom/lemans-draco-evk-som.dtsi | 5 - .../lemans-draco-evk-waveshare-dsi-8inch.dtso | 94 ------------- arch/arm64/boot/dts/qcom/lemans-draco-evk.dts | 119 ---------------- arch/arm64/configs/defconfig | 1 - 9 files changed, 589 deletions(-) delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 0e9028a4738c6..2426c69053af4 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -55,26 +55,6 @@ lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-el2.dtb -lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdmi-dual-dsi.dtbo -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-hdmi-dual-dsi.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-hdmi-dual-dsi.dtbo - -lemans-draco-evk-dlc0697-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-dlc0697-dsi.dtbo -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtbo - -lemans-draco-evk-lvds-auo,g133han01-dtbs := lemans-draco-evk.dtb lemans-draco-evk-lvds-auo,g133han01.dtbo -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtbo - -lemans-draco-evk-raspberrypi-dsi-7inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-raspberrypi-dsi-7inch.dtbo -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtbo - -lemans-draco-evk-waveshare-dsi-8inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-waveshare-dsi-8inch.dtbo -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtbo - lemans-evk-emmc-dtbs := lemans-evk.dtb lemans-evk-emmc.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-emmc.dtb diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso deleted file mode 100644 index 00845b6207a4c..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso +++ /dev/null @@ -1,81 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; -/plugin/; - -#include -#include - -&{/} { - dlc_backlight: backlight { - compatible = "gpio-backlight"; - gpios = <&expander2 2 GPIO_ACTIVE_HIGH>; - default-on; - }; -}; - -&hdmi_bridge { - status = "disabled"; -}; - -&hdmi_connector { - status = "disabled"; -}; - -&mdss0_dsi0 { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "dlc,dlc0697", "ilitek,ili7807s"; - reg = <0>; - - avdd-supply = <&vreg_bridge_3p3>; - avee-supply = <&vreg_bridge_3p3>; - backlight = <&dlc_backlight>; - pinctrl-0 = <&panel_rst_n &panel_te_pin>; - pinctrl-1 = <&panel_rst_n_suspend>; - pinctrl-names = "default", "sleep"; - reset-gpios = <&pmm8654au_1_gpios 4 GPIO_ACTIVE_LOW>; - vddi-supply = <&vreg_s4a>; - - port { - dlc_panel_in: endpoint { - remote-endpoint = <&mdss0_dsi0_out>; - }; - }; - }; -}; - -&mdss0_dsi0_out { - remote-endpoint = <&dlc_panel_in>; - data-lanes = <0 1 2 3>; -}; - -&pmm8654au_1_gpios { - panel_rst_n: panel-rst-n-state { - pins = "gpio4"; - function = PMIC_GPIO_FUNC_NORMAL; - qcom,drive-strength = ; - bias-disable; - }; - - panel_rst_n_suspend: panel-rst-n-suspend-state { - pins = "gpio4"; - function = PMIC_GPIO_FUNC_NORMAL; - qcom,drive-strength = ; - bias-pull-down; - }; -}; - -&tlmm { - panel_te_pin: panel-te-pin-state { - pins = "gpio84"; - function = "mdp_vsync"; - drive-strength = <2>; - bias-pull-down; - }; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso deleted file mode 100644 index ea72bfcd8224a..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso +++ /dev/null @@ -1,38 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; -/plugin/; - -#include - -&mdss0_dsi0 { - qcom,dual-dsi-mode; - qcom,master-dsi; -}; - -&mdss0_dsi1 { - assigned-clock-parents = <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, - <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>; - qcom,dual-dsi-mode; - vdda-supply = <&vreg_l1c>; - - status = "okay"; -}; - -&mdss0_dsi1_out { - data-lanes = <0 1 2 3>; - remote-endpoint = <&hdmi_bridge_in1>; -}; - -&mdss0_dsi1_phy { - vdds-supply = <&vreg_l4a>; - - status = "okay"; -}; - -&hdmi_bridge_in1 { - remote-endpoint = <&mdss0_dsi1_out>; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso deleted file mode 100644 index 82bc466fc0fec..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso +++ /dev/null @@ -1,133 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; -/plugin/; - -#include -#include - -&{/} { - backlight_lvds: backlight { - compatible = "pwm-backlight"; - pwms = <&pca9685 2 1000000>; - power-supply = <&vreg_bridge_3p3>; - enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>; - }; - - panel-lvds { - compatible = "auo,g133han01"; - power-supply = <&vreg_bridge_3p3>; - backlight = <&backlight_lvds>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - /* LVDS Channel A - odd pixels */ - port@0 { - reg = <0>; - dual-lvds-odd-pixels; - - lvds_panel_out_a: endpoint { - remote-endpoint = <&sn65dsi84_out_a>; - }; - }; - - /* LVDS Channel B - even pixels */ - port@1 { - reg = <1>; - dual-lvds-even-pixels; - - lvds_panel_out_b: endpoint { - remote-endpoint = <&sn65dsi84_out_b>; - }; - }; - }; - }; -}; - -&hdmi_bridge { - status = "disabled"; -}; - -&hdmi_connector { - status = "disabled"; -}; - -&i2c1 { - i2c-mux@70 { - #address-cells = <1>; - #size-cells = <0>; - - i2c@1 { - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - bridge@2c { - compatible = "ti,sn65dsi84"; - reg = <0x2c>; - - enable-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; - interrupts-extended = <&tlmm 97 IRQ_TYPE_EDGE_FALLING>; - - vcc-supply = <&vreg_bridge_3p3>; - - pinctrl-0 = <&bridge_rst_pin &bridge_irq_pin>; - pinctrl-names = "default"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - sn65dsi84_in: endpoint { - data-lanes = <1 2 3 4>; - remote-endpoint = <&mdss0_dsi0_out>; - }; - }; - - port@2 { - reg = <2>; - - sn65dsi84_out_a: endpoint { - data-lanes = <1 2 3 4>; - remote-endpoint = <&lvds_panel_out_a>; - }; - }; - - port@3 { - reg = <3>; - - sn65dsi84_out_b: endpoint { - data-lanes = <1 2 3 4>; - remote-endpoint = <&lvds_panel_out_b>; - }; - }; - }; - }; - }; - }; -}; - -&i2c4 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - status = "okay"; - - pca9685: pwm@42 { - compatible = "nxp,pca9685-pwm"; - reg = <0x42>; - #pwm-cells = <2>; - }; -}; - -&mdss0_dsi0_out { - remote-endpoint = <&sn65dsi84_in>; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso deleted file mode 100644 index ec172be7ce5f8..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso +++ /dev/null @@ -1,98 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; -/plugin/; - -#include - -&{/} { - display_bl: backlight { - compatible = "pwm-backlight"; - power-supply = <®_dsi_panel>; - pwms = <&mcu 0 255 0>; - }; - - reg_dsi_panel: regulator-dsi-panel { - compatible = "regulator-fixed"; - regulator-name = "rpi-dsi-panel"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - }; - - reg_dsi_touch: regulator-dsi-touch { - compatible = "regulator-fixed"; - gpio = <&mcu 1 GPIO_ACTIVE_HIGH>; - regulator-name = "rpi-touch"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - startup-delay-us = <50000>; - enable-active-high; - }; -}; - -&hdmi_bridge { - status = "disabled"; -}; - -&hdmi_connector { - status = "disabled"; -}; - - -&i2c1 { - i2c-mux@70 { - #address-cells = <1>; - #size-cells = <0>; - - i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - - mcu: gpio@45 { - compatible = "raspberrypi,touchscreen-panel-regulator-v2"; - reg = <0x45>; - gpio-controller; - #gpio-cells = <2>; - #pwm-cells = <3>; - }; - - touchscreen@5d { - compatible = "goodix,gt911"; - reg = <0x5d>; - AVDD28-supply = <®_dsi_touch>; - touchscreen-size-x = <720>; - touchscreen-size-y = <1280>; - }; - }; - }; -}; - -&mdss0_dsi0 { - status = "okay"; - - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c"; - reg = <0>; - - backlight = <&display_bl>; - power-supply = <®_dsi_panel>; - reset-gpios = <&mcu 0 GPIO_ACTIVE_LOW>; - - port { - panel0_in: endpoint { - remote-endpoint = <&mdss0_dsi0_out>; - }; - }; - }; -}; - -&mdss0_dsi0_out { - remote-endpoint = <&panel0_in>; - data-lanes = <0 1>; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi b/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi index d6a43bbad79cc..33071a7bfe1be 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi @@ -267,11 +267,6 @@ status = "okay"; }; -&qup_i2c4_default { - drive-strength = <6>; - bias-pull-up; -}; - &qupv3_id_0 { firmware-name = "qcom/sa8775p/qupv3fw.elf"; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso deleted file mode 100644 index 31cd1a46c32b2..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; -/plugin/; - -#include - -&{/} { - panel_avdd: regulator-panel-avdd { - compatible = "regulator-fixed"; - gpios = <&wsgpio 0 GPIO_ACTIVE_HIGH>; - regulator-name = "panel-avdd"; - enable-active-high; - }; - - panel_iovcc: regulator-panel-iovcc { - compatible = "regulator-fixed"; - gpios = <&wsgpio 4 GPIO_ACTIVE_HIGH>; - regulator-name = "panel-iovcc"; - enable-active-high; - }; - - panel_vcc: regulator-panel-vcc { - compatible = "regulator-fixed"; - gpios = <&wsgpio 8 GPIO_ACTIVE_HIGH>; - regulator-name = "panel-vcc"; - enable-active-high; - regulator-always-on; - }; -}; - -&hdmi_bridge { - status = "disabled"; -}; - -&hdmi_connector { - status = "disabled"; -}; - -&i2c1 { - i2c-mux@70 { - #address-cells = <1>; - #size-cells = <0>; - - i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - - wsgpio: gpio@45 { - compatible = "waveshare,dsi-touch-gpio"; - reg = <0x45>; - gpio-controller; - #gpio-cells = <2>; - }; - - touch: goodix@5d { - compatible = "goodix,gt9271"; - reg = <0x5d>; - reset-gpios = <&wsgpio 9 GPIO_ACTIVE_HIGH>; - }; - }; - }; -}; - -&mdss0_dsi0 { - status = "okay"; - - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "waveshare,8.0-dsi-touch-a", "jadard,jd9365da-h3"; - reg = <0>; - - backlight = <&wsgpio>; - reset-gpios = <&wsgpio 1 GPIO_ACTIVE_LOW>; - vccio-supply = <&panel_iovcc>; - vdd-supply = <&panel_avdd>; - - port { - panel0_in: endpoint { - remote-endpoint = <&mdss0_dsi0_out>; - }; - }; - }; -}; - -&mdss0_dsi0_out { - remote-endpoint = <&panel0_in>; - data-lanes = <0 1 2 3>; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts index 23a5635b39de8..cfbf85cae89d6 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts @@ -17,8 +17,6 @@ aliases { ethernet0 = ðernet0; ethernet1 = ðernet1; - i2c1 = &i2c1; - i2c4 = &i2c4; }; dp0-connector { @@ -77,34 +75,6 @@ }; }; - hdmi_connector: hdmi-connector { - compatible = "hdmi-connector"; - type = "a"; - - port { - hdmi_connector_out: endpoint { - remote-endpoint = <&hdmi_bridge_out>; - }; - }; - }; - - vreg_bridge_1p2: regulator-bridge-1p2 { - compatible = "regulator-fixed"; - regulator-name = "vreg_bridge_1p2"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - vin-supply = <&vreg_bridge_3p3>; - }; - - vreg_bridge_3p3: regulator-bridge-3p3 { - compatible = "regulator-fixed"; - regulator-name = "vreg_bridge_3p3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&expander2 1 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - vreg_dp0_pwr: regulator-dp0-pwr { compatible = "regulator-fixed"; regulator-name = "VREG_DP0_PWR_3P3"; @@ -322,63 +292,6 @@ }; }; -&i2c1 { - status = "okay"; - - i2c-mux@70 { - compatible = "nxp,pca9548"; - reg = <0x70>; - #address-cells = <1>; - #size-cells = <0>; - vdd-supply = <&vreg_s4a>; - - i2c@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - hdmi_bridge: hdmi-bridge@41 { - compatible = "lontium,lt9611uxd"; - reg = <0x41>; - - interrupts-extended = <&tlmm 97 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>; - - vcc-supply = <&vreg_bridge_3p3>; - vdd-supply = <&vreg_bridge_1p2>; - - pinctrl-0 = <&bridge_rst_pin &bridge_irq_pin>; - pinctrl-names = "default"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hdmi_bridge_in0: endpoint { - remote-endpoint = <&mdss0_dsi0_out>; - }; - }; - - port@1 { - reg = <1>; - hdmi_bridge_in1: endpoint { - }; - }; - - port@2 { - reg = <2>; - hdmi_bridge_out: endpoint { - remote-endpoint = <&hdmi_connector_out>; - }; - }; - }; - }; - }; - }; -}; - &i2c2 { status = "okay"; @@ -593,23 +506,6 @@ status = "okay"; }; -&mdss0_dsi0 { - vdda-supply = <&vreg_l1c>; - - status = "okay"; -}; - -&mdss0_dsi0_out { - data-lanes = <0 1 2 3>; - remote-endpoint = <&hdmi_bridge_in0>; -}; - -&mdss0_dsi0_phy { - vdds-supply = <&vreg_l4a>; - - status = "okay"; -}; - &mdss1 { status = "okay"; }; @@ -695,21 +591,6 @@ &tlmm { - bridge_rst_pin: bridge-rst-state { - pins = "gpio39"; - function = "gpio"; - drive-strength = <8>; - bias-disable; - output-high; - }; - - bridge_irq_pin: bridge-irq-state { - pins = "gpio97"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; - dp2_hot_plug_det: dp2-hot-plug-det-state { pins = "gpio104"; function = "edp2_hot"; diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3a34596bf2fba..175286d98664c 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -545,7 +545,6 @@ CONFIG_TCG_TIS_I2C_INFINEON=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PCA954x=y -CONFIG_PWM_PCA9685=m CONFIG_I2C_MUX_PINCTRL=m CONFIG_I2C_BCM2835=m CONFIG_I2C_CADENCE=m From 6b1766b3c006feb3132068b32dfff133c77f1535 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 03:57:11 +0530 Subject: [PATCH 02/21] FROMLIST: Revert "arm64: dts: qcom: lemans: Enable the Inline Crypto Engine for SDHC" Bring in the Inline Crypto Engine SDHC enablement re-applied on top of the lemans-embedded.dtsi migration. The original commit conflicts with the platform resource split; reverting allows a clean re-application after the migration is in place. This reverts commit 1c473bc9ea0cfabd963e8fda9b3023f0e6b48fd4. Signed-off-by: Gopikishan Thawre Link: https://lore.kernel.org/all/20261109-enable-ice-sdcc-for-lemans-v1-1-1f25debeea49@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/lemans.dtsi | 30 ---------------------------- 1 file changed, 30 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 1642252366546..38eb343af4ae1 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -4159,8 +4159,6 @@ qcom,dll-config = <0x0007642c>; qcom,ddr-config = <0x80040868>; - qcom,ice = <&sdhc_ice>; - status = "disabled"; sdhc_opp_table: opp-table { @@ -4182,33 +4180,6 @@ }; }; - sdhc_ice: crypto@87c8000 { - compatible = "qcom,sa8775p-inline-crypto-engine", - "qcom,inline-crypto-engine"; - reg = <0x0 0x087c8000 0x0 0x18000>; - clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>, - <&gcc GCC_SDCC1_AHB_CLK>; - clock-names = "core", - "iface"; - power-domains = <&rpmhpd SA8775P_CX>; - - operating-points-v2 = <&ice_mmc_opp_table>; - - ice_mmc_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-150000000 { - opp-hz = /bits/ 64 <150000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-300000000 { - opp-hz = /bits/ 64 <300000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - }; - }; - eud: eud@88e1000 { compatible = "qcom,sc7280-eud", "qcom,eud"; reg = <0 0x88e1000 0 0x2000>, @@ -4234,7 +4205,6 @@ }; }; }; - gp_mn: clock-controller@88d3000 { compatible = "qcom,sa8775p-gp-mnd", "qcom,sc7280-gp-mnd"; reg = <0x0 0x088d3000 0x0 0x1000>; From 0ae42be72f8de49bc1b15aff63845d39bcce8ad7 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 15:52:26 +0530 Subject: [PATCH 03/21] FROMLIST: Revert "FROMLIST: arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node" Bring in the ICE UFS OPP-table re-applied on top of the lemans-embedded.dtsi migration. The original commit conflicts with the platform resource split; reverting allows a clean re-application after the migration is in place. This reverts commit 0972f2d0466d15479d21750573243c7ecc3d7cb4. Link: https://lore.kernel.org/all/20260530-add-opp-table-for-lemans-ice-ufs-v2-1-2b46d3ac37d5@oss.qualcomm.com/ Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/lemans.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 38eb343af4ae1..f8d692a803a41 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -2893,32 +2893,6 @@ clock-names = "core", "iface"; power-domains = <&gcc UFS_PHY_GDSC>; - - operating-points-v2 = <&ice_opp_table>; - - ice_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-75000000 { - opp-hz = /bits/ 64 <75000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-150000000 { - opp-hz = /bits/ 64 <150000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-300000000 { - opp-hz = /bits/ 64 <300000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - - opp-600000000 { - opp-hz = /bits/ 64 <600000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - }; }; cryptobam: dma-controller@1dc4000 { From 881e53472b652262bebd8eeaf020bb634e86db04 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 16:11:21 +0530 Subject: [PATCH 04/21] FROMLIST: Revert "FROMLIST: arm64: dts: qcom: lemans: Move PCIe phy and GPIOs to root port node" Bring in the PCIe phy and GPIO root port node change re-applied on top of the lemans-embedded.dtsi migration. The original commit conflicts with the platform resource split; reverting allows a clean re-application after the migration is in place. This reverts commit 441ba0089a1741c7de404db5d6d662a90dc11a4f. Link: https://lore.kernel.org/all/20260917-root_port_v2-v2-14-6272b7caae9a@oss.qualcomm.com/ Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/lemans-evk.dts | 16 ++++++---------- arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi | 16 ++++++---------- arch/arm64/boot/dts/qcom/lemans.dtsi | 12 +++++++----- 3 files changed, 19 insertions(+), 25 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts index cd84b28b9c7ae..1797c0c610e4f 100644 --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts @@ -866,17 +866,15 @@ }; &pcie0 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&pcie0_default_state>; pinctrl-names = "default"; status = "okay"; }; -&pcieport0 { - reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; -}; - &pcie0_phy { vdda-phy-supply = <&vreg_l5a>; vdda-pll-supply = <&vreg_l1c>; @@ -887,17 +885,15 @@ }; &pcie1 { + perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&pcie1_default_state>; pinctrl-names = "default"; status = "okay"; }; -&pcieport1 { - reset-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; -}; - &pcie1_phy { vdda-phy-supply = <&vreg_l5a>; vdda-pll-supply = <&vreg_l1c>; diff --git a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi index 90dcc08035c59..1cef366c55b1e 100644 --- a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi @@ -968,29 +968,25 @@ }; &pcie0 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; pinctrl-0 = <&pcie0_default_state>; status = "okay"; }; -&pcieport0 { - reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; -}; - &pcie1 { + perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; pinctrl-0 = <&pcie1_default_state>; status = "okay"; }; -&pcieport1 { - reset-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; -}; - &pcie0_phy { vdda-phy-supply = <&vreg_l5a>; vdda-pll-supply = <&vreg_l1c>; diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index f8d692a803a41..d3a79d142e8b6 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -9191,6 +9191,9 @@ power-domains = <&gcc PCIE_0_GDSC>; + phys = <&pcie0_phy>; + phy-names = "pciephy"; + eq-presets-8gts = /bits/ 16 <0x5555 0x5555>; eq-presets-16gts = /bits/ 8 <0x55 0x55>; @@ -9202,8 +9205,6 @@ reg = <0x0 0x0 0x0 0x0 0x0>; bus-range = <0x01 0xff>; - phys = <&pcie0_phy>; - #address-cells = <3>; #size-cells = <2>; ranges; @@ -9364,18 +9365,19 @@ power-domains = <&gcc PCIE_1_GDSC>; + phys = <&pcie1_phy>; + phy-names = "pciephy"; + eq-presets-8gts = /bits/ 16 <0x5555 0x5555 0x5555 0x5555>; eq-presets-16gts = /bits/ 8 <0x55 0x55 0x55 0x55>; status = "disabled"; - pcieport1: pcie@0 { + pcie@0 { device_type = "pci"; reg = <0x0 0x0 0x0 0x0 0x0>; bus-range = <0x01 0xff>; - phys = <&pcie1_phy>; - #address-cells = <3>; #size-cells = <2>; ranges; From 7a9600557e89581fb1a06323466ae21a4c4f8130 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Chundru Date: Fri, 27 Nov 2026 15:27:41 +0530 Subject: [PATCH 05/21] FROMGIT: arm64: dts: qcom: lemans: Move PCIe phy and GPIOs to root port node The PCIe phy reference and the perst/wake GPIO properties are per root port and belong in the root port node (pcie@0), not in the RC controller node. Move phys from the controller to pcieport0 and pcieport1. Add the missing pcieport1 label to the pcie1 root port node to allow board-level overrides. Move perst-gpios/wake-gpios from the &pcie0/&pcie1 controller overrides to the respective &pcieport0/ &pcieport1 nodes in the board files, renaming perst-gpios to reset-gpios to match the binding used in the root port context. Signed-off-by: Krishna Chaitanya Chundru Signed-off-by: Ziyue Zhang Link: https://lore.kernel.org/all/20260917-root_port_v2-v2-14-6272b7caae9a@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/lemans-evk.dts | 13 +++++++------ arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi | 13 +++++++------ arch/arm64/boot/dts/qcom/lemans.dtsi | 12 +++++------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts index 1797c0c610e4f..26e8bbe52a2ff 100644 --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts @@ -866,9 +866,6 @@ }; &pcie0 { - perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; - pinctrl-0 = <&pcie0_default_state>; pinctrl-names = "default"; @@ -885,9 +882,6 @@ }; &pcie1 { - perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; - pinctrl-0 = <&pcie1_default_state>; pinctrl-names = "default"; @@ -903,7 +897,14 @@ status = "okay"; }; +&pcie1_port0 { + reset-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; +}; + &pcieport0 { + reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; port { pcieport0_ep: endpoint { remote-endpoint = <&m2_e_pcie_ep>; diff --git a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi index 1cef366c55b1e..a5b1205cd26dc 100644 --- a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi @@ -968,9 +968,6 @@ }; &pcie0 { - perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; pinctrl-0 = <&pcie0_default_state>; @@ -978,9 +975,6 @@ }; &pcie1 { - perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; pinctrl-0 = <&pcie1_default_state>; @@ -1005,7 +999,14 @@ status = "okay"; }; +&pcie1_port0 { + reset-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; +}; + &pcieport0 { + reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; wifi@0 { compatible = "pci17cb,1101"; reg = <0x10000 0x0 0x0 0x0 0x0>; diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index d3a79d142e8b6..3410232e1a5ca 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -9191,9 +9191,6 @@ power-domains = <&gcc PCIE_0_GDSC>; - phys = <&pcie0_phy>; - phy-names = "pciephy"; - eq-presets-8gts = /bits/ 16 <0x5555 0x5555>; eq-presets-16gts = /bits/ 8 <0x55 0x55>; @@ -9205,6 +9202,8 @@ reg = <0x0 0x0 0x0 0x0 0x0>; bus-range = <0x01 0xff>; + phys = <&pcie0_phy>; + #address-cells = <3>; #size-cells = <2>; ranges; @@ -9365,19 +9364,18 @@ power-domains = <&gcc PCIE_1_GDSC>; - phys = <&pcie1_phy>; - phy-names = "pciephy"; - eq-presets-8gts = /bits/ 16 <0x5555 0x5555 0x5555 0x5555>; eq-presets-16gts = /bits/ 8 <0x55 0x55 0x55 0x55>; status = "disabled"; - pcie@0 { + pcie1_port0: pcie@0 { device_type = "pci"; reg = <0x0 0x0 0x0 0x0 0x0>; bus-range = <0x01 0xff>; + phys = <&pcie1_phy>; + #address-cells = <3>; #size-cells = <2>; ranges; From 00d394c2fd58d6075904c6bcfd1161a3ea8854be Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Sat, 31 Oct 2026 21:10:37 +0800 Subject: [PATCH 06/21] FROMGIT: arm64: dts: qcom: Introduce lemans-embedded.dtsi as a placeholder Lemans is a Qualcomm SoC family that includes not only the Embedded variant (IQ9/SA8775P) where platform resources are managed by HLOS, but also the GearVM variant (SA8255P) where resources are managed by a VM as SCMI server. The current lemans.dtsi covers the former variant only. Introduce lemans-embedded.dtsi as a placeholder for now, while later changes will move Embedded variant settings in there and introduce GearVM variant support. Reviewed-by: Konrad Dybcio Reviewed-by: Abel Vesa Tested-by: Bartosz Golaszewski Signed-off-by: Shawn Guo Link: https://lore.kernel.org/all/20261031131042.1200862-2-shengchao.guo@oss.qualcomm.com/ Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 6 ++++++ arch/arm64/boot/dts/qcom/lemans-evk.dts | 2 +- arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts | 2 +- arch/arm64/boot/dts/qcom/qcs9100-ride.dts | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/lemans-embedded.dtsi diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi new file mode 100644 index 0000000000000..80d8c75e4895e --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#include "lemans.dtsi" diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts index 26e8bbe52a2ff..43e6d0c4688c6 100644 --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts @@ -10,7 +10,7 @@ #include #include -#include "lemans.dtsi" +#include "lemans-embedded.dtsi" #include "lemans-pmics.dtsi" / { diff --git a/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts b/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts index 7fc2de0d3d5e2..a2c70018e5719 100644 --- a/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts +++ b/arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts @@ -4,7 +4,7 @@ */ /dts-v1/; -#include "lemans.dtsi" +#include "lemans-embedded.dtsi" #include "lemans-pmics.dtsi" #include "lemans-ride-common.dtsi" diff --git a/arch/arm64/boot/dts/qcom/qcs9100-ride.dts b/arch/arm64/boot/dts/qcom/qcs9100-ride.dts index b0c5fdde56aea..7597b4f27e786 100644 --- a/arch/arm64/boot/dts/qcom/qcs9100-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs9100-ride.dts @@ -4,7 +4,7 @@ */ /dts-v1/; -#include "lemans.dtsi" +#include "lemans-embedded.dtsi" #include "lemans-pmics.dtsi" #include "lemans-ride-common.dtsi" From bcb39cad3f45e65310237f09d7d1d40c6c43dbf3 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Sat, 31 Oct 2026 21:10:38 +0800 Subject: [PATCH 07/21] FROMGIT: arm64: dts: qcom: lemans: Move pinctrl states into lemans-embedded.dtsi The lemans.dtsi will become a base devicetree shared by all Lemans series SoCs. Move those pinctrl states into lemans-embedded.dtsi as they are used by Embedded variant (IQ9/SA8775P) only. Reviewed-by: Abel Vesa Reviewed-by: Konrad Dybcio Tested-by: Bartosz Golaszewski Signed-off-by: Shawn Guo Link: https://lore.kernel.org/all/20261031131042.1200862-3-shengchao.guo@oss.qualcomm.com/ Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 815 ++++++++++++++++++ arch/arm64/boot/dts/qcom/lemans.dtsi | 17 +- 2 files changed, 827 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi index 80d8c75e4895e..27d2b139011cc 100644 --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi @@ -4,3 +4,818 @@ */ #include "lemans.dtsi" + +&tlmm { + dp0_hot_plug_det: dp0-hot-plug-det-state { + pins = "gpio101"; + function = "edp0_hot"; + bias-disable; + }; + + dp1_hot_plug_det: dp1-hot-plug-det-state { + pins = "gpio102"; + function = "edp1_hot"; + bias-disable; + }; + + gp_mn_active: gp_mn_active-state { + pins = "gpio35"; + function = "gp_mn"; + drive-strength = <2>; + bias-disable; + }; + + hs0_mi2s_active: hs0-mi2s-active-state { + pins = "gpio114", "gpio115", "gpio116", "gpio117"; + function = "hs0_mi2s"; + drive-strength = <8>; + bias-disable; + }; + + hs2_mi2s_active: hs2-mi2s-active-state { + pins = "gpio122", "gpio123", "gpio124", "gpio125"; + function = "hs2_mi2s"; + drive-strength = <8>; + bias-disable; + }; + + cci0_0_default: cci0-0-default-state { + pins = "gpio60", "gpio61"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci0_0_sleep: cci0-0-sleep-state { + pins = "gpio60", "gpio61"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci0_1_default: cci0-1-default-state { + pins = "gpio52", "gpio53"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci0_1_sleep: cci0-1-sleep-state { + pins = "gpio52", "gpio53"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci1_0_default: cci1-0-default-state { + pins = "gpio62", "gpio63"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci1_0_sleep: cci1-0-sleep-state { + pins = "gpio62", "gpio63"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci1_1_default: cci1-1-default-state { + pins = "gpio54", "gpio55"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci1_1_sleep: cci1-1-sleep-state { + pins = "gpio54", "gpio55"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci2_0_default: cci2-0-default-state { + pins = "gpio64", "gpio65"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci2_0_sleep: cci2-0-sleep-state { + pins = "gpio64", "gpio65"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci2_1_default: cci2-1-default-state { + pins = "gpio56", "gpio57"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci2_1_sleep: cci2-1-sleep-state { + pins = "gpio56", "gpio57"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci3_0_default: cci3-0-default-state { + pins = "gpio66", "gpio67"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci3_0_sleep: cci3-0-sleep-state { + pins = "gpio66", "gpio67"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + cci3_1_default: cci3-1-default-state { + pins = "gpio58", "gpio59"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-up = <2200>; + }; + + cci3_1_sleep: cci3-1-sleep-state { + pins = "gpio58", "gpio59"; + function = "cci_i2c"; + drive-strength = <2>; + bias-pull-down; + }; + + qup_i2c0_default: qup-i2c0-state { + pins = "gpio20", "gpio21"; + function = "qup0_se0"; + }; + + qup_i2c1_default: qup-i2c1-state { + pins = "gpio24", "gpio25"; + function = "qup0_se1"; + }; + + qup_i2c2_default: qup-i2c2-state { + pins = "gpio36", "gpio37"; + function = "qup0_se2"; + }; + + qup_i2c3_default: qup-i2c3-state { + pins = "gpio28", "gpio29"; + function = "qup0_se3"; + }; + + qup_i2c4_default: qup-i2c4-state { + pins = "gpio32", "gpio33"; + function = "qup0_se4"; + }; + + qup_i2c5_default: qup-i2c5-state { + pins = "gpio36", "gpio37"; + function = "qup0_se5"; + }; + + qup_i2c7_default: qup-i2c7-state { + pins = "gpio40", "gpio41"; + function = "qup1_se0"; + }; + + qup_i2c8_default: qup-i2c8-state { + pins = "gpio42", "gpio43"; + function = "qup1_se1"; + }; + + qup_i2c9_default: qup-i2c9-state { + pins = "gpio46", "gpio47"; + function = "qup1_se2"; + }; + + qup_i2c10_default: qup-i2c10-state { + pins = "gpio44", "gpio45"; + function = "qup1_se3"; + }; + + qup_i2c11_default: qup-i2c11-state { + pins = "gpio48", "gpio49"; + function = "qup1_se4"; + }; + + qup_i2c12_default: qup-i2c12-state { + pins = "gpio52", "gpio53"; + function = "qup1_se5"; + }; + + qup_i2c13_default: qup-i2c13-state { + pins = "gpio56", "gpio57"; + function = "qup1_se6"; + }; + + qup_i2c14_default: qup-i2c14-state { + pins = "gpio80", "gpio81"; + function = "qup2_se0"; + }; + + qup_i2c15_default: qup-i2c15-state { + pins = "gpio84", "gpio85"; + function = "qup2_se1"; + }; + + qup_i2c16_default: qup-i2c16-state { + pins = "gpio86", "gpio87"; + function = "qup2_se2"; + }; + + qup_i2c17_default: qup-i2c17-state { + pins = "gpio91", "gpio92"; + function = "qup2_se3"; + }; + + qup_i2c18_default: qup-i2c18-state { + pins = "gpio95", "gpio96"; + function = "qup2_se4"; + }; + + qup_i2c19_default: qup-i2c19-state { + pins = "gpio99", "gpio100"; + function = "qup2_se5"; + }; + + qup_i2c20_default: qup-i2c20-state { + pins = "gpio97", "gpio98"; + function = "qup2_se6"; + }; + + qup_i2c21_default: qup-i2c21-state { + pins = "gpio13", "gpio14"; + function = "qup3_se0"; + }; + + qup_spi0_default: qup-spi0-state { + pins = "gpio20", "gpio21", "gpio22", "gpio23"; + function = "qup0_se0"; + }; + + qup_spi1_default: qup-spi1-state { + pins = "gpio24", "gpio25", "gpio26", "gpio27"; + function = "qup0_se1"; + }; + + qup_spi2_default: qup-spi2-state { + pins = "gpio36", "gpio37", "gpio38", "gpio39"; + function = "qup0_se2"; + }; + + qup_spi3_default: qup-spi3-state { + pins = "gpio28", "gpio29", "gpio30", "gpio31"; + function = "qup0_se3"; + }; + + qup_spi4_default: qup-spi4-state { + pins = "gpio32", "gpio33", "gpio34", "gpio35"; + function = "qup0_se4"; + }; + + qup_spi5_default: qup-spi5-state { + pins = "gpio36", "gpio37", "gpio38", "gpio39"; + function = "qup0_se5"; + }; + + qup_spi7_default: qup-spi7-state { + pins = "gpio40", "gpio41", "gpio42", "gpio43"; + function = "qup1_se0"; + }; + + qup_spi8_default: qup-spi8-state { + pins = "gpio42", "gpio43", "gpio40", "gpio41"; + function = "qup1_se1"; + }; + + qup_spi9_default: qup-spi9-state { + pins = "gpio46", "gpio47", "gpio44", "gpio45"; + function = "qup1_se2"; + }; + + qup_spi10_default: qup-spi10-state { + pins = "gpio44", "gpio45", "gpio46", "gpio47"; + function = "qup1_se3"; + }; + + qup_spi11_default: qup-spi11-state { + pins = "gpio48", "gpio49", "gpio50", "gpio51"; + function = "qup1_se4"; + }; + + qup_spi12_default: qup-spi12-state { + pins = "gpio52", "gpio53", "gpio54", "gpio55"; + function = "qup1_se5"; + }; + + qup_spi14_default: qup-spi14-state { + pins = "gpio80", "gpio81", "gpio82", "gpio83"; + function = "qup2_se0"; + }; + + qup_spi15_default: qup-spi15-state { + pins = "gpio84", "gpio85", "gpio99", "gpio100"; + function = "qup2_se1"; + }; + + qup_spi16_default: qup-spi16-state { + pins = "gpio86", "gpio87", "gpio88", "gpio89"; + function = "qup2_se2"; + }; + + qup_spi17_default: qup-spi17-state { + pins = "gpio91", "gpio92", "gpio93", "gpio94"; + function = "qup2_se3"; + }; + + qup_spi18_default: qup-spi18-state { + pins = "gpio95", "gpio96", "gpio97", "gpio98"; + function = "qup2_se4"; + }; + + qup_spi19_default: qup-spi19-state { + pins = "gpio99", "gpio100", "gpio84", "gpio85"; + function = "qup2_se5"; + }; + + qup_spi20_default: qup-spi20-state { + pins = "gpio97", "gpio98", "gpio95", "gpio96"; + function = "qup2_se6"; + }; + + qup_spi21_default: qup-spi21-state { + pins = "gpio13", "gpio14", "gpio15", "gpio16"; + function = "qup3_se0"; + }; + + qup_uart0_default: qup-uart0-state { + qup_uart0_cts: qup-uart0-cts-pins { + pins = "gpio20"; + function = "qup0_se0"; + }; + + qup_uart0_rts: qup-uart0-rts-pins { + pins = "gpio21"; + function = "qup0_se0"; + }; + + qup_uart0_tx: qup-uart0-tx-pins { + pins = "gpio22"; + function = "qup0_se0"; + }; + + qup_uart0_rx: qup-uart0-rx-pins { + pins = "gpio23"; + function = "qup0_se0"; + }; + }; + + qup_uart1_default: qup-uart1-state { + qup_uart1_cts: qup-uart1-cts-pins { + pins = "gpio24"; + function = "qup0_se1"; + }; + + qup_uart1_rts: qup-uart1-rts-pins { + pins = "gpio25"; + function = "qup0_se1"; + }; + + qup_uart1_tx: qup-uart1-tx-pins { + pins = "gpio26"; + function = "qup0_se1"; + }; + + qup_uart1_rx: qup-uart1-rx-pins { + pins = "gpio27"; + function = "qup0_se1"; + }; + }; + + qup_uart2_default: qup-uart2-state { + qup_uart2_cts: qup-uart2-cts-pins { + pins = "gpio36"; + function = "qup0_se2"; + }; + + qup_uart2_rts: qup-uart2-rts-pins { + pins = "gpio37"; + function = "qup0_se2"; + }; + + qup_uart2_tx: qup-uart2-tx-pins { + pins = "gpio38"; + function = "qup0_se2"; + }; + + qup_uart2_rx: qup-uart2-rx-pins { + pins = "gpio39"; + function = "qup0_se2"; + }; + }; + + qup_uart3_default: qup-uart3-state { + qup_uart3_cts: qup-uart3-cts-pins { + pins = "gpio28"; + function = "qup0_se3"; + }; + + qup_uart3_rts: qup-uart3-rts-pins { + pins = "gpio29"; + function = "qup0_se3"; + }; + + qup_uart3_tx: qup-uart3-tx-pins { + pins = "gpio30"; + function = "qup0_se3"; + }; + + qup_uart3_rx: qup-uart3-rx-pins { + pins = "gpio31"; + function = "qup0_se3"; + }; + }; + + qup_uart4_default: qup-uart4-state { + qup_uart4_cts: qup-uart4-cts-pins { + pins = "gpio32"; + function = "qup0_se4"; + }; + + qup_uart4_rts: qup-uart4-rts-pins { + pins = "gpio33"; + function = "qup0_se4"; + }; + + qup_uart4_tx: qup-uart4-tx-pins { + pins = "gpio34"; + function = "qup0_se4"; + }; + + qup_uart4_rx: qup-uart4-rx-pins { + pins = "gpio35"; + function = "qup0_se4"; + }; + }; + + qup_uart5_default: qup-uart5-state { + qup_uart5_cts: qup-uart5-cts-pins { + pins = "gpio36"; + function = "qup0_se5"; + }; + + qup_uart5_rts: qup-uart5-rts-pins { + pins = "gpio37"; + function = "qup0_se5"; + }; + + qup_uart5_tx: qup-uart5-tx-pins { + pins = "gpio38"; + function = "qup0_se5"; + }; + + qup_uart5_rx: qup-uart5-rx-pins { + pins = "gpio39"; + function = "qup0_se5"; + }; + }; + + qup_uart7_default: qup-uart7-state { + qup_uart7_cts: qup-uart7-cts-pins { + pins = "gpio40"; + function = "qup1_se0"; + }; + + qup_uart7_rts: qup-uart7-rts-pins { + pins = "gpio41"; + function = "qup1_se0"; + }; + + qup_uart7_tx: qup-uart7-tx-pins { + pins = "gpio42"; + function = "qup1_se0"; + }; + + qup_uart7_rx: qup-uart7-rx-pins { + pins = "gpio43"; + function = "qup1_se0"; + }; + }; + + qup_uart8_default: qup-uart8-state { + qup_uart8_cts: qup-uart8-cts-pins { + pins = "gpio42"; + function = "qup1_se1"; + }; + + qup_uart8_rts: qup-uart8-rts-pins { + pins = "gpio43"; + function = "qup1_se1"; + }; + + qup_uart8_tx: qup-uart8-tx-pins { + pins = "gpio40"; + function = "qup1_se1"; + }; + + qup_uart8_rx: qup-uart8-rx-pins { + pins = "gpio41"; + function = "qup1_se1"; + }; + }; + + qup_uart9_default: qup-uart9-state { + qup_uart9_cts: qup-uart9-cts-pins { + pins = "gpio46"; + function = "qup1_se2"; + }; + + qup_uart9_rts: qup-uart9-rts-pins { + pins = "gpio47"; + function = "qup1_se2"; + }; + + qup_uart9_tx: qup-uart9-tx-pins { + pins = "gpio44"; + function = "qup1_se2"; + }; + + qup_uart9_rx: qup-uart9-rx-pins { + pins = "gpio45"; + function = "qup1_se2"; + }; + }; + + qup_uart10_default: qup-uart10-state { + pins = "gpio46", "gpio47"; + function = "qup1_se3"; + }; + + qup_uart11_default: qup-uart11-state { + qup_uart11_cts: qup-uart11-cts-pins { + pins = "gpio48"; + function = "qup1_se4"; + }; + + qup_uart11_rts: qup-uart11-rts-pins { + pins = "gpio49"; + function = "qup1_se4"; + }; + + qup_uart11_tx: qup-uart11-tx-pins { + pins = "gpio50"; + function = "qup1_se4"; + }; + + qup_uart11_rx: qup-uart11-rx-pins { + pins = "gpio51"; + function = "qup1_se4"; + }; + }; + + qup_uart12_default: qup-uart12-state { + qup_uart12_cts: qup-uart12-cts-pins { + pins = "gpio52"; + function = "qup1_se5"; + }; + + qup_uart12_rts: qup-uart12-rts-pins { + pins = "gpio53"; + function = "qup1_se5"; + }; + + qup_uart12_tx: qup-uart12-tx-pins { + pins = "gpio54"; + function = "qup1_se5"; + }; + + qup_uart12_rx: qup-uart12-rx-pins { + pins = "gpio55"; + function = "qup1_se5"; + }; + }; + + qup_uart14_default: qup-uart14-state { + qup_uart14_cts: qup-uart14-cts-pins { + pins = "gpio80"; + function = "qup2_se0"; + }; + + qup_uart14_rts: qup-uart14-rts-pins { + pins = "gpio81"; + function = "qup2_se0"; + }; + + qup_uart14_tx: qup-uart14-tx-pins { + pins = "gpio82"; + function = "qup2_se0"; + }; + + qup_uart14_rx: qup-uart14-rx-pins { + pins = "gpio83"; + function = "qup2_se0"; + }; + }; + + qup_uart15_default: qup-uart15-state { + qup_uart15_cts: qup-uart15-cts-pins { + pins = "gpio84"; + function = "qup2_se1"; + }; + + qup_uart15_rts: qup-uart15-rts-pins { + pins = "gpio85"; + function = "qup2_se1"; + }; + + qup_uart15_tx: qup-uart15-tx-pins { + pins = "gpio99"; + function = "qup2_se1"; + }; + + qup_uart15_rx: qup-uart15-rx-pins { + pins = "gpio100"; + function = "qup2_se1"; + }; + }; + + qup_uart16_default: qup-uart16-state { + qup_uart16_cts: qup-uart16-cts-pins { + pins = "gpio86"; + function = "qup2_se2"; + }; + + qup_uart16_rts: qup-uart16-rts-pins { + pins = "gpio87"; + function = "qup2_se2"; + }; + + qup_uart16_tx: qup-uart16-tx-pins { + pins = "gpio88"; + function = "qup2_se2"; + }; + + qup_uart16_rx: qup-uart16-rx-pins { + pins = "gpio89"; + function = "qup2_se2"; + }; + }; + + qup_uart17_default: qup-uart17-state { + qup_uart17_cts: qup-uart17-cts-pins { + pins = "gpio91"; + function = "qup2_se3"; + }; + + qup_uart17_rts: qup0-uart17-rts-pins { + pins = "gpio92"; + function = "qup2_se3"; + }; + + qup_uart17_tx: qup0-uart17-tx-pins { + pins = "gpio93"; + function = "qup2_se3"; + }; + + qup_uart17_rx: qup0-uart17-rx-pins { + pins = "gpio94"; + function = "qup2_se3"; + }; + }; + + qup_uart18_default: qup-uart18-state { + qup_uart18_cts: qup-uart18-cts-pins { + pins = "gpio95"; + function = "qup2_se4"; + }; + + qup_uart18_rts: qup-uart18-rts-pins { + pins = "gpio96"; + function = "qup2_se4"; + }; + + qup_uart18_tx: qup-uart18-tx-pins { + pins = "gpio97"; + function = "qup2_se4"; + }; + + qup_uart18_rx: qup-uart18-rx-pins { + pins = "gpio98"; + function = "qup2_se4"; + }; + }; + + qup_uart19_default: qup-uart19-state { + qup_uart19_cts: qup-uart19-cts-pins { + pins = "gpio99"; + function = "qup2_se5"; + }; + + qup_uart19_rts: qup-uart19-rts-pins { + pins = "gpio100"; + function = "qup2_se5"; + }; + + qup_uart19_tx: qup-uart19-tx-pins { + pins = "gpio84"; + function = "qup2_se5"; + }; + + qup_uart19_rx: qup-uart19-rx-pins { + pins = "gpio85"; + function = "qup2_se5"; + }; + }; + + qup_uart20_default: qup-uart20-state { + qup_uart20_cts: qup-uart20-cts-pins { + pins = "gpio97"; + function = "qup2_se6"; + }; + + qup_uart20_rts: qup-uart20-rts-pins { + pins = "gpio98"; + function = "qup2_se6"; + }; + + qup_uart20_tx: qup-uart20-tx-pins { + pins = "gpio95"; + function = "qup2_se6"; + }; + + qup_uart20_rx: qup-uart20-rx-pins { + pins = "gpio96"; + function = "qup2_se6"; + }; + }; + + qup_uart21_default: qup-uart21-state { + qup_uart21_cts: qup-uart21-cts-pins { + pins = "gpio13"; + function = "qup3_se0"; + }; + + qup_uart21_rts: qup-uart21-rts-pins { + pins = "gpio14"; + function = "qup3_se0"; + }; + + qup_uart21_tx: qup-uart21-tx-pins { + pins = "gpio15"; + function = "qup3_se0"; + }; + + qup_uart21_rx: qup-uart21-rx-pins { + pins = "gpio16"; + function = "qup3_se0"; + }; + }; + + sdc_default: sdc-default-state { + clk-pins { + pins = "sdc1_clk"; + drive-strength = <16>; + bias-disable; + }; + + cmd-pins { + pins = "sdc1_cmd"; + drive-strength = <10>; + bias-pull-up; + }; + + data-pins { + pins = "sdc1_data"; + drive-strength = <10>; + bias-pull-up; + }; + }; + + sdc_sleep: sdc-sleep-state { + clk-pins { + pins = "sdc1_clk"; + drive-strength = <2>; + bias-bus-hold; + }; + + cmd-pins { + pins = "sdc1_cmd"; + drive-strength = <2>; + bias-bus-hold; + }; + + data-pins { + pins = "sdc1_data"; + drive-strength = <2>; + bias-bus-hold; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 3410232e1a5ca..2802ff406b6c1 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -6646,11 +6646,18 @@ bias-bus-hold; }; - data-pins { - pins = "sdc1_data"; - drive-strength = <2>; - bias-bus-hold; - }; + cci_async0_default: cci-async0-state { + pins = "gpio70"; + function = "cci_async"; + drive-strength = <2>; + bias-disable; + }; + + cci_async1_default: cci-async1-state { + pins = "gpio71"; + function = "cci_async"; + drive-strength = <2>; + bias-disable; }; }; From 51fd7b782b3486892e5b80d9cfe1ec17c4c02145 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Thu, 26 Nov 2026 18:37:54 +0530 Subject: [PATCH 08/21] FROMGIT: arm64: dts: qcom: lemans: Move platform resources into lemans-embedded.dtsi Devicetree lemans-embedded.dtsi was created for Lemans Embedded variant where platform resource like clocks, regulator, interconnects, pinctrls and PHYs are managed by Linux. Move them from lemans.dtsi to lemans-embedded.dtsi, so that lemans.dtsi could be used by GearVM variant. Reviewed-by: Konrad Dybcio Tested-by: Bartosz Golaszewski Signed-off-by: Shawn Guo Link: https://lore.kernel.org/all/20261031131042.1200862-4-shengchao.guo@oss.qualcomm.com/ Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 2878 +++++++++++- arch/arm64/boot/dts/qcom/lemans.dtsi | 4110 ++--------------- 2 files changed, 3179 insertions(+), 3809 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi index 27d2b139011cc..0be39bb9de1e1 100644 --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi @@ -3,8 +3,2505 @@ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include "lemans.dtsi" +/ { + clocks { + xo_board_clk: xo-board-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + sleep_clk: sleep-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + }; + + cpu0_opp_table: opp-table-cpu0 { + compatible = "operating-points-v2"; + opp-shared; + + opp-1267200000 { + opp-hz = /bits/ 64 <1267200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1363200000 { + opp-hz = /bits/ 64 <1363200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1459200000 { + opp-hz = /bits/ 64 <1459200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1536000000 { + opp-hz = /bits/ 64 <1536000000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1632000000 { + opp-hz = /bits/ 64 <1632000000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1708800000 { + opp-hz = /bits/ 64 <1708800000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1785600000 { + opp-hz = /bits/ 64 <1785600000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1862400000 { + opp-hz = /bits/ 64 <1862400000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1939200000 { + opp-hz = /bits/ 64 <1939200000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-2016000000 { + opp-hz = /bits/ 64 <2016000000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-2112000000 { + opp-hz = /bits/ 64 <2112000000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2188800000 { + opp-hz = /bits/ 64 <2188800000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2265600000 { + opp-hz = /bits/ 64 <2265600000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2361600000 { + opp-hz = /bits/ 64 <2361600000>; + opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; + }; + + opp-2457600000 { + opp-hz = /bits/ 64 <2457600000>; + opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; + }; + + opp-2553600000 { + opp-hz = /bits/ 64 <2553600000>; + opp-peak-kBps = <(3196800 * 4) (1708800 * 32)>; + }; + }; + + cpu4_opp_table: opp-table-cpu4 { + compatible = "operating-points-v2"; + opp-shared; + + opp-1267200000 { + opp-hz = /bits/ 64 <1267200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1363200000 { + opp-hz = /bits/ 64 <1363200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1459200000 { + opp-hz = /bits/ 64 <1459200000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1536000000 { + opp-hz = /bits/ 64 <1536000000>; + opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; + }; + + opp-1632000000 { + opp-hz = /bits/ 64 <1632000000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1708800000 { + opp-hz = /bits/ 64 <1708800000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1785600000 { + opp-hz = /bits/ 64 <1785600000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1862400000 { + opp-hz = /bits/ 64 <1862400000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-1939200000 { + opp-hz = /bits/ 64 <1939200000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-2016000000 { + opp-hz = /bits/ 64 <2016000000>; + opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; + }; + + opp-2112000000 { + opp-hz = /bits/ 64 <2112000000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2188800000 { + opp-hz = /bits/ 64 <2188800000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2265600000 { + opp-hz = /bits/ 64 <2265600000>; + opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; + }; + + opp-2361600000 { + opp-hz = /bits/ 64 <2361600000>; + opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; + }; + + opp-2457600000 { + opp-hz = /bits/ 64 <2457600000>; + opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; + }; + + opp-2553600000 { + opp-hz = /bits/ 64 <2553600000>; + opp-peak-kBps = <(3196800 * 4) (1708800 * 32)>; + }; + }; + + clk_virt: interconnect-clk-virt { + compatible = "qcom,sa8775p-clk-virt"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + mc_virt: interconnect-mc-virt { + compatible = "qcom,sa8775p-mc-virt"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + qup_opp_table_100mhz: opp-table-qup100mhz { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + }; +}; + +&adreno_smmu { + power-domains = <&gpucc GPU_CC_CX_GDSC>; + clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>, + <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>, + <&gpucc GPU_CC_AHB_CLK>, + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>, + <&gpucc GPU_CC_CX_GMU_CLK>, + <&gpucc GPU_CC_HUB_CX_INT_CLK>, + <&gpucc GPU_CC_HUB_AON_CLK>; + clock-names = "gcc_gpu_memnoc_gfx_clk", + "gcc_gpu_snoc_dvm_gfx_clk", + "gpu_cc_ahb_clk", + "gpu_cc_hlos1_vote_gpu_smmu_clk", + "gpu_cc_cx_gmu_clk", + "gpu_cc_hub_cx_int_clk", + "gpu_cc_hub_aon_clk"; +}; + +&camss { + clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CORE_AHB_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CPAS_FAST_AHB_CLK>, + <&camcc CAM_CC_CPAS_IFE_LITE_CLK>, + <&camcc CAM_CC_CPAS_IFE_0_CLK>, + <&camcc CAM_CC_CPAS_IFE_1_CLK>, + <&camcc CAM_CC_CSID_CLK>, + <&camcc CAM_CC_CSIPHY0_CLK>, + <&camcc CAM_CC_CSI0PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY1_CLK>, + <&camcc CAM_CC_CSI1PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY2_CLK>, + <&camcc CAM_CC_CSI2PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY3_CLK>, + <&camcc CAM_CC_CSI3PHYTIMER_CLK>, + <&camcc CAM_CC_CSID_CSIPHY_RX_CLK>, + <&gcc GCC_CAMERA_HF_AXI_CLK>, + <&gcc GCC_CAMERA_SF_AXI_CLK>, + <&camcc CAM_CC_ICP_AHB_CLK>, + <&camcc CAM_CC_IFE_0_CLK>, + <&camcc CAM_CC_IFE_0_FAST_AHB_CLK>, + <&camcc CAM_CC_IFE_1_CLK>, + <&camcc CAM_CC_IFE_1_FAST_AHB_CLK>, + <&camcc CAM_CC_IFE_LITE_CLK>, + <&camcc CAM_CC_IFE_LITE_AHB_CLK>, + <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_LITE_CSID_CLK>; + clock-names = "camnoc_axi", + "core_ahb", + "cpas_ahb", + "cpas_fast_ahb_clk", + "cpas_vfe_lite", + "cpas_vfe0", + "cpas_vfe1", + "csid", + "csiphy0", + "csiphy0_timer", + "csiphy1", + "csiphy1_timer", + "csiphy2", + "csiphy2_timer", + "csiphy3", + "csiphy3_timer", + "csiphy_rx", + "gcc_axi_hf", + "gcc_axi_sf", + "icp_ahb", + "vfe0", + "vfe0_fast_ahb", + "vfe1", + "vfe1_fast_ahb", + "vfe_lite", + "vfe_lite_ahb", + "vfe_lite_cphy_rx", + "vfe_lite_csid"; + + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>, + <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "ahb", + "hf_0"; + + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; + power-domain-names = "top"; +}; + +&cci0 { + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; + + clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CCI_0_CLK>; + clock-names = "camnoc_axi", + "cpas_ahb", + "cci"; + + pinctrl-0 = <&cci0_0_default &cci0_1_default>; + pinctrl-1 = <&cci0_0_sleep &cci0_1_sleep>; + pinctrl-names = "default", "sleep"; +}; + +&cci1 { + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; + + clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CCI_1_CLK>; + clock-names = "camnoc_axi", + "cpas_ahb", + "cci"; + + pinctrl-0 = <&cci1_0_default &cci1_1_default>; + pinctrl-1 = <&cci1_0_sleep &cci1_1_sleep>; + pinctrl-names = "default", "sleep"; +}; + +&cci2 { + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; + + clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CCI_2_CLK>; + clock-names = "camnoc_axi", + "cpas_ahb", + "cci"; + + pinctrl-0 = <&cci2_0_default &cci2_1_default>; + pinctrl-1 = <&cci2_0_sleep &cci2_1_sleep>; + pinctrl-names = "default", "sleep"; +}; + +&cci3 { + power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; + + clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CCI_3_CLK>; + clock-names = "camnoc_axi", + "cpas_ahb", + "cci"; + + pinctrl-0 = <&cci3_0_default &cci3_1_default>; + pinctrl-1 = <&cci3_0_sleep &cci3_1_sleep>; + pinctrl-names = "default", "sleep"; +}; + +&cpu0 { + operating-points-v2 = <&cpu0_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl0 MASTER_EPSS_L3_APPS + &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu1 { + operating-points-v2 = <&cpu0_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl0 MASTER_EPSS_L3_APPS + &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu2 { + operating-points-v2 = <&cpu0_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl0 MASTER_EPSS_L3_APPS + &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu3 { + operating-points-v2 = <&cpu0_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl0 MASTER_EPSS_L3_APPS + &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu4 { + operating-points-v2 = <&cpu4_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl1 MASTER_EPSS_L3_APPS + &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu5 { + operating-points-v2 = <&cpu4_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl1 MASTER_EPSS_L3_APPS + &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu6 { + operating-points-v2 = <&cpu4_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl1 MASTER_EPSS_L3_APPS + &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu7 { + operating-points-v2 = <&cpu4_opp_table>; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, + <&epss_l3_cl1 MASTER_EPSS_L3_APPS + &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; +}; + +&cpu_bwmon0 { + compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon"; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>; +}; + +&cpu_bwmon1 { + compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon"; + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>; +}; + +&cpufreq_hw { + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; + clock-names = "xo", "alternate"; +}; + +&crypto { + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "memory"; +}; + +ðernet0 { + clocks = <&gcc GCC_EMAC0_AXI_CLK>, + <&gcc GCC_EMAC0_SLV_AHB_CLK>, + <&gcc GCC_EMAC0_PTP_CLK>, + <&gcc GCC_EMAC0_PHY_AUX_CLK>; + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "phyaux"; + + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_EMAC_CFG QCOM_ICC_TAG_ALWAYS>, + <&aggre1_noc MASTER_EMAC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "cpu-mac", + "mac-mem"; + + power-domains = <&gcc EMAC0_GDSC>; + + phys = <&serdes0>; + phy-names = "serdes"; +}; + +ðernet1 { + clocks = <&gcc GCC_EMAC1_AXI_CLK>, + <&gcc GCC_EMAC1_SLV_AHB_CLK>, + <&gcc GCC_EMAC1_PTP_CLK>, + <&gcc GCC_EMAC1_PHY_AUX_CLK>; + clock-names = "stmmaceth", + "pclk", + "ptp_ref", + "phyaux"; + + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_EMAC1_CFG QCOM_ICC_TAG_ALWAYS>, + <&aggre1_noc MASTER_EMAC_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "cpu-mac", + "mac-mem"; + + power-domains = <&gcc EMAC1_GDSC>; + + phys = <&serdes1>; + phy-names = "serdes"; +}; + +&gmu { + compatible = "qcom,adreno-gmu-663.0", "qcom,adreno-gmu"; + clocks = <&gpucc GPU_CC_CX_GMU_CLK>, + <&gpucc GPU_CC_CXO_CLK>, + <&gcc GCC_DDRSS_GPU_AXI_CLK>, + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, + <&gpucc GPU_CC_AHB_CLK>, + <&gpucc GPU_CC_HUB_CX_INT_CLK>, + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>; + clock-names = "gmu", + "cxo", + "axi", + "memnoc", + "ahb", + "hub", + "smmu_vote"; + power-domains = <&gpucc GPU_CC_CX_GDSC>, + <&gpucc GPU_CC_GX_GDSC>; + power-domain-names = "cx", + "gx"; + operating-points-v2 = <&gmu_opp_table>; + + gmu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-level = ; + }; + }; +}; + +&gpu { + operating-points-v2 = <&gpu_opp_table>; + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "gfx-mem"; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-405000000 { + opp-hz = /bits/ 64 <405000000>; + opp-level = ; + opp-peak-kBps = <5285156>; + opp-supported-hw = <0x3>; + }; + + opp-530000000 { + opp-hz = /bits/ 64 <530000000>; + opp-level = ; + opp-peak-kBps = <12484375>; + opp-supported-hw = <0x2>; + }; + + opp-676000000 { + opp-hz = /bits/ 64 <676000000>; + opp-level = ; + opp-peak-kBps = <8171875>; + opp-supported-hw = <0x1>; + }; + + opp-778000000 { + opp-hz = /bits/ 64 <778000000>; + opp-level = ; + opp-peak-kBps = <10687500>; + opp-supported-hw = <0x1>; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-level = ; + opp-peak-kBps = <12484375>; + opp-supported-hw = <0x1>; + }; + }; +}; + +&i2c0 { + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c0_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c1 { + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c1_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c2 { + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c2_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c3 { + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c3_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c4 { + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c4_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c5 { + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c5_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c7 { + clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c7_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c8 { + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c8_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c9 { + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c9_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c10 { + clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c10_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c11 { + clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c11_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c12 { + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c12_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c13 { + clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c13_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c14 { + clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c14_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c15 { + clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c15_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c16 { + clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c16_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c17 { + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c17_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c18 { + clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c18_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c19 { + clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c19_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c20 { + clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c20_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&i2c21 { + clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_i2c21_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>, + <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&iris { + power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>, + <&videocc VIDEO_CC_MVS0_GDSC>, + <&rpmhpd SA8775P_MX>, + <&rpmhpd SA8775P_MMCX>; + power-domain-names = "venus", + "vcodec0", + "mxc", + "mmcx"; + operating-points-v2 = <&iris_opp_table>; + + clocks = <&gcc GCC_VIDEO_AXI0_CLK>, + <&videocc VIDEO_CC_MVS0C_CLK>, + <&videocc VIDEO_CC_MVS0_CLK>; + clock-names = "iface", + "core", + "vcodec0_core"; + + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>, + <&mmss_noc MASTER_VIDEO_P0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "cpu-cfg", + "video-mem"; + + resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>; + reset-names = "bus"; + + iris_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-366000000 { + opp-hz = /bits/ 64 <366000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_svs_l1>; + }; + + opp-444000000 { + opp-hz = /bits/ 64 <444000000>; + required-opps = <&rpmhpd_opp_svs_l1>, + <&rpmhpd_opp_nom>; + }; + + opp-533000000 { + opp-hz = /bits/ 64 <533000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_turbo>; + }; + + opp-560000000 { + opp-hz = /bits/ 64 <560000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_turbo_l1>; + }; + }; +}; + +&llcc_bwmon { + compatible = "qcom,sa8775p-llcc-bwmon", "qcom,sc7280-llcc-bwmon"; + interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>; +}; + +&mdss0 { + /* same path used twice */ + interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_MDP1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; + interconnect-names = "mdp0-mem", + "mdp1-mem", + "cpu-cfg"; + + resets = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_BCR>; + + power-domains = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_GDSC>; + + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_DISP_HF_AXI_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>; + + mdss0_dsi0_phy: phy@ae94400 { + compatible = "qcom,sa8775p-dsi-phy-5nm"; + reg = <0x0 0x0ae94400 0x0 0x200>, + <0x0 0x0ae94600 0x0 0x280>, + <0x0 0x0ae94900 0x0 0x27c>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + + status = "disabled"; + }; + + mdss0_dsi1_phy: phy@ae96400 { + compatible = "qcom,sa8775p-dsi-phy-5nm"; + reg = <0x0 0x0ae96400 0x0 0x200>, + <0x0 0x0ae96600 0x0 0x280>, + <0x0 0x0ae96900 0x0 0x27c>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + + status = "disabled"; + }; + + mdss0_dp0_phy: phy@aec2a00 { + compatible = "qcom,sa8775p-edp-phy"; + + reg = <0x0 0x0aec2a00 0x0 0x200>, + <0x0 0x0aec2200 0x0 0xd0>, + <0x0 0x0aec2600 0x0 0xd0>, + <0x0 0x0aec2000 0x0 0x1c8>; + + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_EDP_REF_CLKREF_EN>; + clock-names = "aux", + "cfg_ahb", + "ref"; + + #clock-cells = <1>; + #phy-cells = <0>; + + status = "disabled"; + }; + + mdss0_dp1_phy: phy@aec5a00 { + compatible = "qcom,sa8775p-edp-phy"; + + reg = <0x0 0x0aec5a00 0x0 0x200>, + <0x0 0x0aec5200 0x0 0xd0>, + <0x0 0x0aec5600 0x0 0xd0>, + <0x0 0x0aec5000 0x0 0x1c8>; + + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_EDP_REF_CLKREF_EN>; + clock-names = "aux", + "cfg_ahb", + "ref"; + + #clock-cells = <1>; + #phy-cells = <0>; + + status = "disabled"; + }; +}; + +&mdss0_dp0 { + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel", + "stream_1_pixel", + "stream_2_pixel", + "stream_3_pixel"; + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>; + assigned-clock-parents = <&mdss0_dp0_phy 0>, + <&mdss0_dp0_phy 1>, + <&mdss0_dp0_phy 1>, + <&mdss0_dp0_phy 1>, + <&mdss0_dp0_phy 1>; + phys = <&mdss0_dp0_phy>; + phy-names = "dp"; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; + + dp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-162000000 { + opp-hz = /bits/ 64 <162000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-270000000 { + opp-hz = /bits/ 64 <270000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-540000000 { + opp-hz = /bits/ 64 <540000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-810000000 { + opp-hz = /bits/ 64 <810000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; +}; + +&mdss0_dp1 { + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel", + "stream_1_pixel"; + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK_SRC>; + assigned-clock-parents = <&mdss0_dp1_phy 0>, + <&mdss0_dp1_phy 1>, + <&mdss0_dp1_phy 1>; + phys = <&mdss0_dp1_phy>; + phy-names = "dp"; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; +}; + +&mdss0_dsi0 { + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_INTF_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_PCLK0_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_ESC0_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_DISP_HF_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>; + phys = <&mdss0_dsi0_phy>; + + operating-points-v2 = <&mdss_dsi_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; + + refgen-supply = <&refgen>; + + mdss_dsi_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-358000000 { + opp-hz = /bits/ 64 <358000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + }; +}; + +&mdss0_dsi1 { + clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_INTF_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_PCLK1_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_ESC1_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_DISP_HF_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc0 MDSS_DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss0_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss0_dsi1_phy DSI_PIXEL_PLL_CLK>; + phys = <&mdss0_dsi1_phy>; + + operating-points-v2 = <&mdss_dsi_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; + + refgen-supply = <&refgen>; +}; + +&mdss0_mdp { + clocks = <&gcc GCC_DISP_HF_AXI_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>, + <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "nrt_bus", + "iface", + "lut", + "core", + "vsync"; + + assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>; + assigned-clock-rates = <19200000>; + + operating-points-v2 = <&mdss0_mdp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; + + mdss0_mdp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-375000000 { + opp-hz = /bits/ 64 <375000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + + opp-575000000 { + opp-hz = /bits/ 64 <575000000>; + required-opps = <&rpmhpd_opp_turbo>; + }; + + opp-650000000 { + opp-hz = /bits/ 64 <650000000>; + required-opps = <&rpmhpd_opp_turbo_l1>; + }; + }; +}; + +&mdss1 { + interconnects = <&mmss_noc MASTER_MDP_CORE1_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_MDP_CORE1_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; + interconnect-names = "mdp0-mem", + "mdp1-mem", + "cpu-cfg"; + + resets = <&dispcc1 MDSS_DISP_CC_MDSS_CORE_BCR>; + + power-domains = <&dispcc1 MDSS_DISP_CC_MDSS_CORE_GDSC>; + + clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_DISP1_HF_AXI_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_MDP_CLK>; + + mdss1_dp0_phy: phy@220c2a00 { + compatible = "qcom,sa8775p-edp-phy"; + reg = <0x0 0x220c2a00 0x0 0x200>, + <0x0 0x220c2200 0x0 0xd0>, + <0x0 0x220c2600 0x0 0xd0>, + <0x0 0x220c2000 0x0 0x1c8>; + + clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_EDP_REF_CLKREF_EN>; + clock-names = "aux", + "cfg_ahb", + "ref"; + + #clock-cells = <1>; + #phy-cells = <0>; + + status = "disabled"; + }; + + mdss1_dp1_phy: phy@220c5a00 { + compatible = "qcom,sa8775p-edp-phy"; + reg = <0x0 0x220c5a00 0x0 0x200>, + <0x0 0x220c5200 0x0 0xd0>, + <0x0 0x220c5600 0x0 0xd0>, + <0x0 0x220c5000 0x0 0x1c8>; + + clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_EDP_REF_CLKREF_EN>; + clock-names = "aux", + "cfg_ahb", + "ref"; + + #clock-cells = <1>; + #phy-cells = <0>; + + status = "disabled"; + }; +}; + +&mdss1_dp0 { + clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel", + "stream_1_pixel", + "stream_2_pixel", + "stream_3_pixel"; + assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>; + assigned-clock-parents = <&mdss1_dp0_phy 0>, + <&mdss1_dp0_phy 1>, + <&mdss1_dp0_phy 1>, + <&mdss1_dp0_phy 1>, + <&mdss1_dp0_phy 1>; + phys = <&mdss1_dp0_phy>; + phy-names = "dp"; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; +}; + +&mdss1_dp1 { + clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel", + "stream_1_pixel"; + assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>, + <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK_SRC>; + assigned-clock-parents = <&mdss1_dp1_phy 0>, + <&mdss1_dp1_phy 1>, + <&mdss1_dp1_phy 1>; + phys = <&mdss1_dp1_phy>; + phy-names = "dp"; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; +}; + +&mdss1_mdp { + clocks = <&gcc GCC_DISP1_HF_AXI_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_MDP_CLK>, + <&dispcc1 MDSS_DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "nrt_bus", + "iface", + "lut", + "core", + "vsync"; + + assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_VSYNC_CLK>; + assigned-clock-rates = <19200000>; + + operating-points-v2 = <&mdss0_mdp_opp_table>; + power-domains = <&rpmhpd SA8775P_MMCX>; +}; + +&pcie0 { + clocks = <&gcc GCC_PCIE_0_AUX_CLK>, + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, + <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a"; + + assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>; + assigned-clock-rates = <19200000>; + + interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; + interconnect-names = "pcie-mem", "cpu-pcie"; + + resets = <&gcc GCC_PCIE_0_BCR>, + <&gcc GCC_PCIE_0_LINK_DOWN_BCR>; + reset-names = "pci", + "link_down"; + + power-domains = <&gcc PCIE_0_GDSC>; + + linux,pci-domain = <0>; +}; + +&pcie0_ep { + clocks = <&gcc GCC_PCIE_0_AUX_CLK>, + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, + <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a"; + + interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; + interconnect-names = "pcie-mem", "cpu-pcie"; + + resets = <&gcc GCC_PCIE_0_BCR>; + reset-names = "core"; + + power-domains = <&gcc PCIE_0_GDSC>; + + phys = <&pcie0_phy>; + phy-names = "pciephy"; + + linux,pci-domain = <0>; +}; + +&pcie1 { + clocks = <&gcc GCC_PCIE_1_AUX_CLK>, + <&gcc GCC_PCIE_1_CFG_AHB_CLK>, + <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_1_SLV_AXI_CLK>, + <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a"; + + assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; + assigned-clock-rates = <19200000>; + + interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>; + interconnect-names = "pcie-mem", "cpu-pcie"; + + resets = <&gcc GCC_PCIE_1_BCR>, + <&gcc GCC_PCIE_1_LINK_DOWN_BCR>; + reset-names = "pci", + "link_down"; + + power-domains = <&gcc PCIE_1_GDSC>; + + linux,pci-domain = <1>; +}; + +&pcie1_ep { + clocks = <&gcc GCC_PCIE_1_AUX_CLK>, + <&gcc GCC_PCIE_1_CFG_AHB_CLK>, + <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_1_SLV_AXI_CLK>, + <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a"; + + interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>; + interconnect-names = "pcie-mem", "cpu-pcie"; + + resets = <&gcc GCC_PCIE_1_BCR>; + reset-names = "core"; + + power-domains = <&gcc PCIE_1_GDSC>; + + phys = <&pcie1_phy>; + phy-names = "pciephy"; + + linux,pci-domain = <1>; +}; + +&pcie1_port0 { + phys = <&pcie1_phy>; +}; + +&pcieport0 { + phys = <&pcie0_phy>; +}; + +&qupv3_id_0 { + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; +}; + +&qupv3_id_1 { + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; +}; + +&qupv3_id_2 { + clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; + clock-names = "m-ahb", "s-ahb"; +}; + +&qupv3_id_3 { + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_3_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_3_S_AHB_CLK>; +}; + +&remoteproc_adsp { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SA8775P_LCX>, + <&rpmhpd SA8775P_LMX>; + power-domain-names = "lcx", "lmx"; + + interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 + &mc_virt SLAVE_EBI1 0>; + +}; + +&remoteproc_cdsp0 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SA8775P_CX>, + <&rpmhpd SA8775P_MXC>, + <&rpmhpd SA8775P_NSP0>; + power-domain-names = "cx", "mxc", "nsp"; + + interconnects = <&nspa_noc MASTER_CDSP_PROC 0 + &mc_virt SLAVE_EBI1 0>; +}; + +&remoteproc_cdsp1 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SA8775P_CX>, + <&rpmhpd SA8775P_MXC>, + <&rpmhpd SA8775P_NSP1>; + power-domain-names = "cx", "mxc", "nsp"; + + interconnects = <&nspb_noc MASTER_CDSP_PROC_B 0 + &mc_virt SLAVE_EBI1 0>; +}; + +&remoteproc_gpdsp0 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SA8775P_CX>, + <&rpmhpd SA8775P_MXC>; + power-domain-names = "cx", "mxc"; + + interconnects = <&gpdsp_anoc MASTER_DSP0 0 + &config_noc SLAVE_CLK_CTL 0>; +}; + +&remoteproc_gpdsp1 { + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SA8775P_CX>, + <&rpmhpd SA8775P_MXC>; + power-domain-names = "cx", "mxc"; + + interconnects = <&gpdsp_anoc MASTER_DSP1 0 + &config_noc SLAVE_CLK_CTL 0>; +}; + +&sdhc { + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>; + clock-names = "iface", + "core"; + + interconnects = <&aggre1_noc MASTER_SDC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_SDC1 QCOM_ICC_TAG_ACTIVE_ONLY>; + interconnect-names = "sdhc-ddr", + "cpu-sdhc"; + + operating-points-v2 = <&sdhc_opp_table>; + power-domains = <&rpmhpd SA8775P_CX>; + resets = <&gcc GCC_SDCC1_BCR>; + + sdhc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + required-opps = <&rpmhpd_opp_low_svs>; + opp-peak-kBps = <1800000 400000>; + opp-avg-kBps = <100000 0>; + }; + + opp-384000000 { + opp-hz = /bits/ 64 <384000000>; + required-opps = <&rpmhpd_opp_nom>; + opp-peak-kBps = <5400000 1600000>; + opp-avg-kBps = <390000 0>; + }; + }; +}; + +&soc { + gcc: clock-controller@100000 { + compatible = "qcom,sa8775p-gcc"; + reg = <0x0 0x00100000 0x0 0xc7018>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&sleep_clk>, + <0>, + <0>, + <0>, + <&usb_0_qmpphy>, + <&usb_1_qmpphy>, + <0>, + <0>, + <0>, + <&pcie0_phy>, + <&pcie1_phy>, + <0>, + <0>, + <0>; + power-domains = <&rpmhpd SA8775P_CX>; + }; + + config_noc: interconnect@14c0000 { + compatible = "qcom,sa8775p-config-noc"; + reg = <0x0 0x014c0000 0x0 0x13080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + system_noc: interconnect@1680000 { + compatible = "qcom,sa8775p-system-noc"; + reg = <0x0 0x01680000 0x0 0x15080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + aggre1_noc: interconnect@16c0000 { + compatible = "qcom,sa8775p-aggre1-noc"; + reg = <0x0 0x016c0000 0x0 0x18080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_NOC_QUPV3_AXI_CLK>, + <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, + <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>; + }; + + aggre2_noc: interconnect@1700000 { + compatible = "qcom,sa8775p-aggre2-noc"; + reg = <0x0 0x01700000 0x0 0x1b080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&gcc GCC_AGGRE_UFS_CARD_AXI_CLK>, + <&rpmhcc RPMH_IPA_CLK>; + }; + + pcie_anoc: interconnect@1760000 { + compatible = "qcom,sa8775p-pcie-anoc"; + reg = <0x0 0x01760000 0x0 0xc080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + gpdsp_anoc: interconnect@1780000 { + compatible = "qcom,sa8775p-gpdsp-anoc"; + reg = <0x0 0x01780000 0x0 0xe080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + mmss_noc: interconnect@17a0000 { + compatible = "qcom,sa8775p-mmss-noc"; + reg = <0x0 0x017a0000 0x0 0x40000>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + pcie0_phy: phy@1c04000 { + compatible = "qcom,sa8775p-qmp-gen4x2-pcie-phy"; + reg = <0x0 0x1c04000 0x0 0x2000>; + + clocks = <&gcc GCC_PCIE_0_PHY_AUX_CLK>, + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, + <&gcc GCC_PCIE_CLKREF_EN>, + <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>, + <&gcc GCC_PCIE_0_PIPE_CLK>, + <&gcc GCC_PCIE_0_PIPEDIV2_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "rchng", + "pipe", + "pipediv2"; + + assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>; + assigned-clock-rates = <100000000>; + + resets = <&gcc GCC_PCIE_0_PHY_BCR>; + reset-names = "phy"; + + #clock-cells = <0>; + clock-output-names = "pcie_0_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + + pcie1_phy: phy@1c14000 { + compatible = "qcom,sa8775p-qmp-gen4x4-pcie-phy"; + reg = <0x0 0x1c14000 0x0 0x4000>; + + clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>, + <&gcc GCC_PCIE_1_CFG_AHB_CLK>, + <&gcc GCC_PCIE_CLKREF_EN>, + <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>, + <&gcc GCC_PCIE_1_PIPE_CLK>, + <&gcc GCC_PCIE_1_PIPEDIV2_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "rchng", + "pipe", + "pipediv2"; + + assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>; + assigned-clock-rates = <100000000>; + + resets = <&gcc GCC_PCIE_1_PHY_BCR>; + reset-names = "phy"; + + #clock-cells = <0>; + clock-output-names = "pcie_1_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + + ufs_mem_phy: phy@1d87000 { + compatible = "qcom,sa8775p-qmp-ufs-phy"; + reg = <0x0 0x01d87000 0x0 0xe10>; + /* + * Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It + * enables the CXO clock to eDP *and* UFS PHY. + */ + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_EDP_REF_CLKREF_EN>; + clock-names = "ref", "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + #phy-cells = <0>; + status = "disabled"; + }; + + ice: crypto@1d88000 { + compatible = "qcom,sa8775p-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0x0 0x01d88000 0x0 0x18000>; + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>; + clock-names = "core", + "iface"; + power-domains = <&gcc UFS_PHY_GDSC>; + }; + + lpass_ag_noc: interconnect@3c40000 { + compatible = "qcom,sa8775p-lpass-ag-noc"; + reg = <0x0 0x03c40000 0x0 0x17200>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + usb_0_hsphy: phy@88e4000 { + compatible = "qcom,sa8775p-usb-hs-phy", + "qcom,usb-snps-hs-5nm-phy"; + reg = <0 0x088e4000 0 0x120>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "ref"; + resets = <&gcc GCC_USB2_PHY_PRIM_BCR>; + + #phy-cells = <0>; + + status = "disabled"; + }; + + usb_1_hsphy: phy@88e6000 { + compatible = "qcom,sa8775p-usb-hs-phy", + "qcom,usb-snps-hs-5nm-phy"; + reg = <0 0x088e6000 0 0x120>; + clocks = <&gcc GCC_USB_CLKREF_EN>; + clock-names = "ref"; + resets = <&gcc GCC_USB2_PHY_SEC_BCR>; + + #phy-cells = <0>; + + status = "disabled"; + }; + + usb_2_hsphy: phy@88e7000 { + compatible = "qcom,sa8775p-usb-hs-phy", + "qcom,usb-snps-hs-5nm-phy"; + reg = <0 0x088e7000 0 0x120>; + clocks = <&gcc GCC_USB_CLKREF_EN>; + clock-names = "ref"; + resets = <&gcc GCC_USB3_PHY_TERT_BCR>; + + #phy-cells = <0>; + + status = "disabled"; + }; + + usb_0_qmpphy: phy@88e8000 { + compatible = "qcom,sa8775p-qmp-usb3-uni-phy"; + reg = <0 0x088e8000 0 0x2000>; + + clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, + <&gcc GCC_USB_CLKREF_EN>, + <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; + clock-names = "aux", "ref", "com_aux", "pipe"; + + resets = <&gcc GCC_USB3_PHY_PRIM_BCR>, + <&gcc GCC_USB3PHY_PHY_PRIM_BCR>; + reset-names = "phy", "phy_phy"; + + power-domains = <&gcc USB30_PRIM_GDSC>; + + #clock-cells = <0>; + clock-output-names = "usb3_prim_phy_pipe_clk_src"; + + #phy-cells = <0>; + + status = "disabled"; + }; + + usb_1_qmpphy: phy@88ea000 { + compatible = "qcom,sa8775p-qmp-usb3-uni-phy"; + reg = <0 0x088ea000 0 0x2000>; + + clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>, + <&gcc GCC_USB_CLKREF_EN>, + <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; + clock-names = "aux", "ref", "com_aux", "pipe"; + + resets = <&gcc GCC_USB3_PHY_SEC_BCR>, + <&gcc GCC_USB3PHY_PHY_SEC_BCR>; + reset-names = "phy", "phy_phy"; + + power-domains = <&gcc USB30_SEC_GDSC>; + + #clock-cells = <0>; + clock-output-names = "usb3_sec_phy_pipe_clk_src"; + + #phy-cells = <0>; + + status = "disabled"; + }; + + refgen: regulator@891c000 { + compatible = "qcom,sa8775p-refgen-regulator", + "qcom,sm8250-refgen-regulator"; + reg = <0x0 0x0891c000 0x0 0x84>; + }; + + dc_noc: interconnect@90e0000 { + compatible = "qcom,sa8775p-dc-noc"; + reg = <0x0 0x090e0000 0x0 0x5080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + gem_noc: interconnect@9100000 { + compatible = "qcom,sa8775p-gem-noc"; + reg = <0x0 0x09100000 0x0 0xf6080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + gpucc: clock-controller@3d90000 { + compatible = "qcom,sa8775p-gpucc"; + reg = <0x0 0x03d90000 0x0 0xa000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + clock-names = "bi_tcxo", + "gcc_gpu_gpll0_clk_src", + "gcc_gpu_gpll0_div_clk_src"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + serdes0: phy@8901000 { + compatible = "qcom,sa8775p-dwmac-sgmii-phy"; + reg = <0x0 0x08901000 0x0 0xe10>; + clocks = <&gcc GCC_SGMI_CLKREF_EN>; + clock-names = "sgmi_ref"; + #phy-cells = <0>; + status = "disabled"; + }; + + serdes1: phy@8902000 { + compatible = "qcom,sa8775p-dwmac-sgmii-phy"; + reg = <0x0 0x08902000 0x0 0xe10>; + clocks = <&gcc GCC_SGMI_CLKREF_EN>; + clock-names = "sgmi_ref"; + #phy-cells = <0>; + status = "disabled"; + }; + + videocc: clock-controller@abf0000 { + compatible = "qcom,sa8775p-videocc"; + reg = <0x0 0x0abf0000 0x0 0x10000>; + clocks = <&gcc GCC_VIDEO_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + camcc: clock-controller@ade0000 { + compatible = "qcom,sa8775p-camcc"; + reg = <0x0 0x0ade0000 0x0 0x20000>; + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + dispcc0: clock-controller@af00000 { + compatible = "qcom,sa8775p-dispcc0"; + reg = <0x0 0x0af00000 0x0 0x20000>; + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <&mdss0_dp0_phy 0>, <&mdss0_dp0_phy 1>, + <&mdss0_dp1_phy 0>, <&mdss0_dp1_phy 1>, + <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss0_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss0_dsi1_phy DSI_PIXEL_PLL_CLK>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + apps_rsc: rsc@18200000 { + compatible = "qcom,rpmh-rsc"; + reg = <0x0 0x18200000 0x0 0x10000>, + <0x0 0x18210000 0x0 0x10000>, + <0x0 0x18220000 0x0 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + label = "apps_rsc"; + power-domains = <&system_pd>; + + apps_bcm_voter: bcm-voter { + compatible = "qcom,bcm-voter"; + }; + + rpmhcc: clock-controller { + compatible = "qcom,sa8775p-rpmh-clk"; + #clock-cells = <1>; + clock-names = "xo"; + clocks = <&xo_board_clk>; + }; + + rpmhpd: power-controller { + compatible = "qcom,sa8775p-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp-0 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp-1 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp-2 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp-3 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp-4 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp-5 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp-6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp-7 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp-8 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp-9 { + opp-level = ; + }; + }; + }; + }; + + epss_l3_cl0: interconnect@18590000 { + compatible = "qcom,sa8775p-epss-l3", + "qcom,epss-l3"; + reg = <0x0 0x18590000 0x0 0x1000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; + clock-names = "xo", "alternate"; + #interconnect-cells = <1>; + }; + + epss_l3_cl1: interconnect@18592000 { + compatible = "qcom,sa8775p-epss-l3", + "qcom,epss-l3"; + reg = <0x0 0x18592000 0x0 0x1000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; + clock-names = "xo", "alternate"; + #interconnect-cells = <1>; + }; + + dispcc1: clock-controller@22100000 { + compatible = "qcom,sa8775p-dispcc1"; + reg = <0x0 0x22100000 0x0 0x20000>; + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <&mdss1_dp0_phy 0>, <&mdss1_dp0_phy 1>, + <&mdss1_dp1_phy 0>, <&mdss1_dp1_phy 1>, + <0>, <0>, <0>, <0>; + power-domains = <&rpmhpd SA8775P_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + nspa_noc: interconnect@260c0000 { + compatible = "qcom,sa8775p-nspa-noc"; + reg = <0x0 0x260c0000 0x0 0x16080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + nspb_noc: interconnect@2a0c0000 { + compatible = "qcom,sa8775p-nspb-noc"; + reg = <0x0 0x2a0c0000 0x0 0x16080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; +}; + +&spi0 { + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi0_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi1 { + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi1_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi2 { + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi2_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi3 { + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi3_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi4 { + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi4_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi5 { + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi5_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi7 { + clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi7_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi8 { + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi8_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi9 { + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi9_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi10 { + clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi10_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi11 { + clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi11_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi12 { + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi12_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi14 { + clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi14_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi15 { + clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi15_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi16 { + clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi16_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi17 { + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi17_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi18 { + clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi18_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi19 { + clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi19_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi20 { + clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi20_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, + <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&spi21 { + clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_spi21_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>, + <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config", + "qup-memory"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + &tlmm { dp0_hot_plug_det: dp0-hot-plug-det-state { pins = "gpio101"; @@ -18,13 +2515,6 @@ bias-disable; }; - gp_mn_active: gp_mn_active-state { - pins = "gpio35"; - function = "gp_mn"; - drive-strength = <2>; - bias-disable; - }; - hs0_mi2s_active: hs0-mi2s-active-state { pins = "gpio114", "gpio115", "gpio116", "gpio117"; function = "hs0_mi2s"; @@ -819,3 +3309,377 @@ }; }; }; + +&uart0 { + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart0_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart1 { + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart1_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart2 { + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart2_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart3 { + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart3_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart4 { + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart4_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart5 { + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart5_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart7 { + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; + pinctrl-0 = <&qup_uart7_default>; + pinctrl-names = "default"; + interconnect-names = "qup-core", "qup-config"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd SA8775P_CX>; + operating-points-v2 = <&qup_opp_table_100mhz>; +}; + +&uart8 { + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; + pinctrl-0 = <&qup_uart8_default>; + pinctrl-names = "default"; + interconnect-names = "qup-core", "qup-config"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd SA8775P_CX>; + operating-points-v2 = <&qup_opp_table_100mhz>; +}; + +&uart9 { + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart9_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart10 { + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; + pinctrl-0 = <&qup_uart10_default>; + pinctrl-names = "default"; + interconnect-names = "qup-core", "qup-config"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 0 + &clk_virt SLAVE_QUP_CORE_1 0>, + <&gem_noc MASTER_APPSS_PROC 0 + &config_noc SLAVE_QUP_1 0>; + power-domains = <&rpmhpd SA8775P_CX>; + operating-points-v2 = <&qup_opp_table_100mhz>; +}; + +&uart11 { + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; + pinctrl-0 = <&qup_uart11_default>; + pinctrl-names = "default"; + interconnect-names = "qup-core", "qup-config"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd SA8775P_CX>; + operating-points-v2 = <&qup_opp_table_100mhz>; +}; + +&uart12 { + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart12_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart14 { + clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart14_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart15 { + clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart15_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart16 { + clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart16_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart17 { + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart17_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart18 { + clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart18_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart19 { + clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart19_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart20 { + clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; + clock-names = "se"; + pinctrl-0 = <&qup_uart20_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; +}; + +&uart21 { + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; + interconnect-names = "qup-core", "qup-config"; + pinctrl-0 = <&qup_uart21_default>; + pinctrl-names = "default"; + interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>; + power-domains = <&rpmhpd SA8775P_CX>; + operating-points-v2 = <&qup_opp_table_100mhz>; +}; + +&ufs_mem_hc { + phys = <&ufs_mem_phy>; + phy-names = "ufsphy"; + #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; + reset-names = "rst"; + power-domains = <&gcc UFS_PHY_GDSC>; + required-opps = <&rpmhpd_opp_nom>; + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, + <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>, + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; + clock-names = "core_clk", + "bus_aggr_clk", + "iface_clk", + "core_clk_unipro", + "ref_clk", + "tx_lane0_sync_clk", + "rx_lane0_sync_clk", + "rx_lane1_sync_clk"; + freq-table-hz = <75000000 300000000>, + <0 0>, + <0 0>, + <75000000 300000000>, + <0 0>, + <0 0>, + <0 0>, + <0 0>; + qcom,ice = <&ice>; +}; + +&usb_0 { + clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, + <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; + clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; + assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>; + assigned-clock-rates = <19200000>, <200000000>; + + power-domains = <&gcc USB30_PRIM_GDSC>; + required-opps = <&rpmhpd_opp_nom>; + + resets = <&gcc GCC_USB30_PRIM_BCR>; + + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; + interconnect-names = "usb-ddr", "apps-usb"; + + phys = <&usb_0_hsphy>, <&usb_0_qmpphy>; + phy-names = "usb2-phy", "usb3-phy"; +}; + +&usb_1 { + clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>, + <&gcc GCC_USB30_SEC_MASTER_CLK>, + <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>, + <&gcc GCC_USB30_SEC_SLEEP_CLK>, + <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>; + clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; + + assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_SEC_MASTER_CLK>; + assigned-clock-rates = <19200000>, <200000000>; + + power-domains = <&gcc USB30_SEC_GDSC>; + required-opps = <&rpmhpd_opp_nom>; + + resets = <&gcc GCC_USB30_SEC_BCR>; + + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>; + interconnect-names = "usb-ddr", "apps-usb"; + + phys = <&usb_1_hsphy>, <&usb_1_qmpphy>; + phy-names = "usb2-phy", "usb3-phy"; +}; + +&usb_2 { + clocks = <&gcc GCC_CFG_NOC_USB2_PRIM_AXI_CLK>, + <&gcc GCC_USB20_MASTER_CLK>, + <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>, + <&gcc GCC_USB20_SLEEP_CLK>, + <&gcc GCC_USB20_MOCK_UTMI_CLK>; + clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; + + assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, + <&gcc GCC_USB20_MASTER_CLK>; + assigned-clock-rates = <19200000>, <200000000>; + + power-domains = <&gcc USB20_PRIM_GDSC>; + required-opps = <&rpmhpd_opp_nom>; + + resets = <&gcc GCC_USB20_PRIM_BCR>; + + interconnects = <&aggre1_noc MASTER_USB2 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB2 0>; + interconnect-names = "usb-ddr", "apps-usb"; + + phys = <&usb_2_hsphy>; + phy-names = "usb2-phy"; +}; diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 2802ff406b6c1..3a267df140762 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -4,24 +4,14 @@ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ +#include #include +#include #include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include #include -#include #include -#include #include -#include #include / { @@ -30,18 +20,6 @@ #address-cells = <2>; #size-cells = <2>; - clocks { - xo_board_clk: xo-board-clk { - compatible = "fixed-clock"; - #clock-cells = <0>; - }; - - sleep_clk: sleep-clk { - compatible = "fixed-clock"; - #clock-cells = <0>; - }; - }; - cpus { #address-cells = <2>; #size-cells = <0>; @@ -58,11 +36,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl0 MASTER_EPSS_L3_APPS - &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; l2_0: l2-cache { compatible = "cache"; cache-level = <2>; @@ -88,11 +61,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl0 MASTER_EPSS_L3_APPS - &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; l2_1: l2-cache { compatible = "cache"; cache-level = <2>; @@ -113,11 +81,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl0 MASTER_EPSS_L3_APPS - &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; l2_2: l2-cache { compatible = "cache"; cache-level = <2>; @@ -138,11 +101,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu0_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl0 MASTER_EPSS_L3_APPS - &epss_l3_cl0 SLAVE_EPSS_L3_SHARED>; l2_3: l2-cache { compatible = "cache"; cache-level = <2>; @@ -163,11 +121,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl1 MASTER_EPSS_L3_APPS - &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; l2_4: l2-cache { compatible = "cache"; cache-level = <2>; @@ -194,11 +147,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl1 MASTER_EPSS_L3_APPS - &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; l2_5: l2-cache { compatible = "cache"; cache-level = <2>; @@ -219,11 +167,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl1 MASTER_EPSS_L3_APPS - &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; l2_6: l2-cache { compatible = "cache"; cache-level = <2>; @@ -244,11 +187,6 @@ capacity-dmips-mhz = <1024>; #cooling-cells = <2>; dynamic-power-coefficient = <100>; - operating-points-v2 = <&cpu4_opp_table>; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, - <&epss_l3_cl1 MASTER_EPSS_L3_APPS - &epss_l3_cl1 SLAVE_EPSS_L3_SHARED>; l2_7: l2-cache { compatible = "cache"; cache-level = <2>; @@ -328,200 +266,6 @@ }; }; - cpu0_opp_table: opp-table-cpu0 { - compatible = "operating-points-v2"; - opp-shared; - - opp-1267200000 { - opp-hz = /bits/ 64 <1267200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1363200000 { - opp-hz = /bits/ 64 <1363200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1459200000 { - opp-hz = /bits/ 64 <1459200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1536000000 { - opp-hz = /bits/ 64 <1536000000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1632000000 { - opp-hz = /bits/ 64 <1632000000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1708800000 { - opp-hz = /bits/ 64 <1708800000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1785600000 { - opp-hz = /bits/ 64 <1785600000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1862400000 { - opp-hz = /bits/ 64 <1862400000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1939200000 { - opp-hz = /bits/ 64 <1939200000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-2016000000 { - opp-hz = /bits/ 64 <2016000000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-2112000000 { - opp-hz = /bits/ 64 <2112000000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2188800000 { - opp-hz = /bits/ 64 <2188800000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2265600000 { - opp-hz = /bits/ 64 <2265600000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2361600000 { - opp-hz = /bits/ 64 <2361600000>; - opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; - }; - - opp-2457600000 { - opp-hz = /bits/ 64 <2457600000>; - opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; - }; - - opp-2553600000 { - opp-hz = /bits/ 64 <2553600000>; - opp-peak-kBps = <(3196800 * 4) (1708800 * 32)>; - }; - }; - - cpu4_opp_table: opp-table-cpu4 { - compatible = "operating-points-v2"; - opp-shared; - - opp-1267200000 { - opp-hz = /bits/ 64 <1267200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1363200000 { - opp-hz = /bits/ 64 <1363200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1459200000 { - opp-hz = /bits/ 64 <1459200000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1536000000 { - opp-hz = /bits/ 64 <1536000000>; - opp-peak-kBps = <(1555200 * 4) (921600 * 32)>; - }; - - opp-1632000000 { - opp-hz = /bits/ 64 <1632000000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1708800000 { - opp-hz = /bits/ 64 <1708800000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1785600000 { - opp-hz = /bits/ 64 <1785600000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1862400000 { - opp-hz = /bits/ 64 <1862400000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-1939200000 { - opp-hz = /bits/ 64 <1939200000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-2016000000 { - opp-hz = /bits/ 64 <2016000000>; - opp-peak-kBps = <(1708800 * 4) (1228800 * 32)>; - }; - - opp-2112000000 { - opp-hz = /bits/ 64 <2112000000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2188800000 { - opp-hz = /bits/ 64 <2188800000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2265600000 { - opp-hz = /bits/ 64 <2265600000>; - opp-peak-kBps = <(2092800 * 4) (1555200 * 32)>; - }; - - opp-2361600000 { - opp-hz = /bits/ 64 <2361600000>; - opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; - }; - - opp-2457600000 { - opp-hz = /bits/ 64 <2457600000>; - opp-peak-kBps = <(3196800 * 4) (1612800 * 32)>; - }; - - opp-2553600000 { - opp-hz = /bits/ 64 <2553600000>; - opp-peak-kBps = <(3196800 * 4) (1708800 * 32)>; - }; - }; - - dp_opp_table: opp-table-dp { - compatible = "operating-points-v2"; - - opp-160000000 { - opp-hz = /bits/ 64 <160000000>; - required-opps = <&rpmhpd_opp_low_svs>; - }; - - opp-270000000 { - opp-hz = /bits/ 64 <270000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - - opp-540000000 { - opp-hz = /bits/ 64 <540000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-810000000 { - opp-hz = /bits/ 64 <810000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - }; - dummy-sink { compatible = "arm,coresight-dummy-sink"; @@ -542,12 +286,6 @@ }; }; - clk_virt: interconnect-clk-virt { - compatible = "qcom,sa8775p-clk-virt"; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - l2-cache-error { compatible = "arm,ras-processor"; arm,num-records = <1>; @@ -578,35 +316,6 @@ interrupt-names = "fhi"; }; - mc_virt: interconnect-mc-virt { - compatible = "qcom,sa8775p-mc-virt"; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - - mdss_mdp_opp_table: opp-table-mdp { - compatible = "operating-points-v2"; - - opp-375000000 { - opp-hz = /bits/ 64 <375000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - - opp-575000000 { - opp-hz = /bits/ 64 <575000000>; - required-opps = <&rpmhpd_opp_turbo>; - }; - - opp-650000000 { - opp-hz = /bits/ 64 <650000000>; - required-opps = <&rpmhpd_opp_turbo_l1>; - }; - }; /* Will be updated by the bootloader. */ memory@80000000 { @@ -614,15 +323,6 @@ reg = <0x0 0x80000000 0x0 0x0>; }; - qup_opp_table_100mhz: opp-table-qup100mhz { - compatible = "operating-points-v2"; - - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - }; - pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; @@ -692,11 +392,6 @@ power-domains = <&system_pd>; }; - reboot-mode { - mode-bootloader = <0x10001 0x2>; - mode-edl = <0 0x1>; - }; - system_pd: power-domain-system { #power-domain-cells = <0>; domain-idle-states = <&cluster_sleep_apss_rsc_pc>; @@ -1068,30 +763,6 @@ #size-cells = <2>; ranges = <0 0 0 0 0x10 0>; - gcc: clock-controller@100000 { - compatible = "qcom,sa8775p-gcc"; - reg = <0x0 0x00100000 0x0 0xc7018>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&sleep_clk>, - <0>, - <0>, - <0>, - <&usb_0_qmpphy>, - <&usb_1_qmpphy>, - <0>, - <0>, - <0>, - <&pcie0_phy>, - <&pcie1_phy>, - <0>, - <0>, - <0>; - power-domains = <&rpmhpd SA8775P_CX>; - }; - ipcc: mailbox@408000 { compatible = "qcom,sa8775p-ipcc", "qcom,ipcc"; reg = <0x0 0x00408000 0x0 0x1000>; @@ -1101,55 +772,19 @@ #mbox-cells = <2>; }; - ipcc1: mailbox@488000 { - compatible = "qcom,sa8775p-ipcc", "qcom,ipcc"; - reg = <0x0 0x00488000 0x0 0x1000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <3>; - #mbox-cells = <2>; - }; - - ipcc2: mailbox@4a1000 { - compatible = "qcom,sa8775p-ipcc", "qcom,ipcc"; - reg = <0x0 0x004a1000 0x0 0x1000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <3>; - #mbox-cells = <2>; - }; - - ipcc3: mailbox@4a2000 { - compatible = "qcom,sa8775p-ipcc", "qcom,ipcc"; - reg = <0x0 0x004a2000 0x0 0x1000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <3>; - #mbox-cells = <2>; - }; - - ipcc4: mailbox@4a3000 { - compatible = "qcom,sa8775p-ipcc", "qcom,ipcc"; - reg = <0x0 0x004a3000 0x0 0x1000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <3>; - #mbox-cells = <2>; - }; - qfprom: efuse@784000 { compatible = "qcom,sa8775p-qfprom", "qcom,qfprom"; reg = <0x0 0x00784000 0x0 0x3000>; #address-cells = <1>; #size-cells = <1>; - gpu_speed_bin: gpu_speed_bin@240c { + gpu_speed_bin: gpu-speed-bin@240c { reg = <0x240c 0x1>; bits = <0 8>; }; }; - gpi_dma2: dma-controller@800000 { + gpi_dma2: dma-controller@800000 { compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0x0 0x00800000 0x0 0x60000>; #dma-cells = <3>; @@ -1175,9 +810,6 @@ compatible = "qcom,geni-se-qup"; reg = <0x0 0x008c0000 0x0 0x6000>; ranges; - clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, - <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; - clock-names = "m-ahb", "s-ahb"; iommus = <&apps_smmu 0x5a3 0x0>; #address-cells = <2>; #size-cells = <2>; @@ -1189,20 +821,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c14_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>, <&gpi_dma2 1 0 QCOM_GPI_I2C>; dma-names = "tx", @@ -1216,20 +834,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi14_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>, <&gpi_dma2 1 0 QCOM_GPI_SPI>; dma-names = "tx", @@ -1241,16 +845,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00880000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart14_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1260,20 +854,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c15_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>, <&gpi_dma2 1 1 QCOM_GPI_I2C>; dma-names = "tx", @@ -1287,20 +867,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi15_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>, <&gpi_dma2 1 1 QCOM_GPI_SPI>; dma-names = "tx", @@ -1312,16 +878,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00884000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart15_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1331,20 +887,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c16_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>, <&gpi_dma2 1 2 QCOM_GPI_I2C>; dma-names = "tx", @@ -1356,20 +898,6 @@ compatible = "qcom,geni-spi"; reg = <0x0 0x00888000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi16_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>, <&gpi_dma2 1 2 QCOM_GPI_SPI>; dma-names = "tx", @@ -1383,16 +911,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00888000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart16_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1402,20 +920,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c17_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>, <&gpi_dma2 1 3 QCOM_GPI_I2C>; dma-names = "tx", @@ -1429,20 +933,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi17_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 3 QCOM_GPI_SPI>, <&gpi_dma2 1 3 QCOM_GPI_SPI>; dma-names = "tx", @@ -1454,16 +944,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x0088c000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart17_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1471,20 +951,6 @@ compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c18_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>, <&gpi_dma2 1 4 QCOM_GPI_I2C>; dma-names = "tx", @@ -1500,20 +966,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi18_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 4 QCOM_GPI_SPI>, <&gpi_dma2 1 4 QCOM_GPI_SPI>; dma-names = "tx", @@ -1525,16 +977,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00890000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart18_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1544,20 +986,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c19_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>, <&gpi_dma2 1 5 QCOM_GPI_I2C>; dma-names = "tx", @@ -1571,20 +999,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi19_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>, <&gpi_dma2 1 5 QCOM_GPI_SPI>; dma-names = "tx", @@ -1596,16 +1010,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00894000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart19_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1615,20 +1019,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c20_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>, <&gpi_dma2 1 6 QCOM_GPI_I2C>; dma-names = "tx", @@ -1642,20 +1032,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi20_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_2 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>, <&gpi_dma2 1 6 QCOM_GPI_SPI>; dma-names = "tx", @@ -1667,22 +1043,12 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00898000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart20_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; }; - gpi_dma0: dma-controller@900000 { + gpi_dma0: dma-controller@900000 { compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0x0 0x00900000 0x0 0x60000>; #dma-cells = <3>; @@ -1710,9 +1076,6 @@ #address-cells = <2>; #size-cells = <2>; ranges; - clock-names = "m-ahb", "s-ahb"; - clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, - <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; iommus = <&apps_smmu 0x403 0x0>; status = "disabled"; @@ -1722,20 +1085,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c0_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, <&gpi_dma0 1 0 QCOM_GPI_I2C>; dma-names = "tx", @@ -1749,20 +1098,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi0_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>, <&gpi_dma0 1 0 QCOM_GPI_SPI>; dma-names = "tx", @@ -1774,16 +1109,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x980000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart0_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1793,20 +1118,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c1_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, <&gpi_dma0 1 1 QCOM_GPI_I2C>; dma-names = "tx", @@ -1820,20 +1131,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi1_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, <&gpi_dma0 1 1 QCOM_GPI_SPI>; dma-names = "tx", @@ -1845,16 +1142,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x984000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart1_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1864,20 +1151,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c2_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, <&gpi_dma0 1 2 QCOM_GPI_I2C>; dma-names = "tx", @@ -1891,20 +1164,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi2_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, <&gpi_dma0 1 2 QCOM_GPI_SPI>; dma-names = "tx", @@ -1916,16 +1175,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x988000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart2_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -1935,20 +1184,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c3_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, <&gpi_dma0 1 3 QCOM_GPI_I2C>; dma-names = "tx", @@ -1962,20 +1197,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi3_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, <&gpi_dma0 1 3 QCOM_GPI_SPI>; dma-names = "tx", @@ -1987,16 +1208,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x98c000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart3_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -2006,20 +1217,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c4_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, <&gpi_dma0 1 4 QCOM_GPI_I2C>; dma-names = "tx", @@ -2033,20 +1230,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi4_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, <&gpi_dma0 1 4 QCOM_GPI_SPI>; dma-names = "tx", @@ -2058,16 +1241,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x990000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart4_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -2077,20 +1250,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c5_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, <&gpi_dma0 1 5 QCOM_GPI_I2C>; dma-names = "tx", @@ -2104,20 +1263,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi5_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, <&gpi_dma0 1 5 QCOM_GPI_SPI>; dma-names = "tx", @@ -2129,21 +1274,11 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x994000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart5_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; }; - gpi_dma1: dma-controller@a00000 { + gpi_dma1: dma-controller@a00000 { compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0x0 0x00a00000 0x0 0x60000>; #dma-cells = <3>; @@ -2171,9 +1306,6 @@ #address-cells = <2>; #size-cells = <2>; ranges; - clock-names = "m-ahb", "s-ahb"; - clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, - <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; iommus = <&apps_smmu 0x443 0x0>; status = "disabled"; @@ -2183,20 +1315,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c7_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, <&gpi_dma1 1 0 QCOM_GPI_I2C>; dma-names = "tx", @@ -2210,20 +1328,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi7_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>, <&gpi_dma1 1 0 QCOM_GPI_SPI>; dma-names = "tx", @@ -2235,17 +1339,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00a80000 0x0 0x4000>; interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; - pinctrl-0 = <&qup_uart7_default>; - pinctrl-names = "default"; - interconnect-names = "qup-core", "qup-config"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; - power-domains = <&rpmhpd SA8775P_CX>; - operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; @@ -2255,20 +1348,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c8_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, <&gpi_dma1 1 1 QCOM_GPI_I2C>; dma-names = "tx", @@ -2282,20 +1361,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi8_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>, <&gpi_dma1 1 1 QCOM_GPI_SPI>; dma-names = "tx", @@ -2307,17 +1372,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00a84000 0x0 0x4000>; interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; - pinctrl-0 = <&qup_uart8_default>; - pinctrl-names = "default"; - interconnect-names = "qup-core", "qup-config"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; - power-domains = <&rpmhpd SA8775P_CX>; - operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; @@ -2327,20 +1381,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c9_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, <&gpi_dma1 1 2 QCOM_GPI_I2C>; dma-names = "tx", @@ -2354,20 +1394,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi9_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>, <&gpi_dma1 1 2 QCOM_GPI_SPI>; dma-names = "tx", @@ -2379,16 +1405,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0xa88000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart9_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -2398,20 +1414,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c10_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, <&gpi_dma1 1 3 QCOM_GPI_I2C>; dma-names = "tx", @@ -2425,20 +1427,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi10_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>, <&gpi_dma1 1 3 QCOM_GPI_SPI>; dma-names = "tx", @@ -2450,17 +1438,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00a8c000 0x0 0x4000>; interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; - pinctrl-0 = <&qup_uart10_default>; - pinctrl-names = "default"; - interconnect-names = "qup-core", "qup-config"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 0 - &clk_virt SLAVE_QUP_CORE_1 0>, - <&gem_noc MASTER_APPSS_PROC 0 - &config_noc SLAVE_QUP_1 0>; - power-domains = <&rpmhpd SA8775P_CX>; - operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; @@ -2470,20 +1447,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c11_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, <&gpi_dma1 1 4 QCOM_GPI_I2C>; dma-names = "tx", @@ -2497,20 +1460,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi11_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>, <&gpi_dma1 1 4 QCOM_GPI_SPI>; dma-names = "tx", @@ -2522,17 +1471,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00a90000 0x0 0x4000>; interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; - pinctrl-0 = <&qup_uart11_default>; - pinctrl-names = "default"; - interconnect-names = "qup-core", "qup-config"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; - power-domains = <&rpmhpd SA8775P_CX>; - operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; @@ -2542,20 +1480,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c12_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, <&gpi_dma1 1 5 QCOM_GPI_I2C>; dma-names = "tx", @@ -2569,20 +1493,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi12_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>, <&gpi_dma1 1 5 QCOM_GPI_SPI>; dma-names = "tx", @@ -2594,16 +1504,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00a94000 0x0 0x4000>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_uart12_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", "qup-config"; - power-domains = <&rpmhpd SA8775P_CX>; status = "disabled"; }; @@ -2613,20 +1513,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c13_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>, - <&aggre2_noc MASTER_QUP_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, <&gpi_dma1 1 6 QCOM_GPI_I2C>; dma-names = "tx", @@ -2636,7 +1522,7 @@ }; }; - gpi_dma3: dma-controller@b00000 { + gpi_dma3: dma-controller@b00000 { compatible = "qcom,sa8775p-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0x0 0x00b00000 0x0 0x58000>; #dma-cells = <3>; @@ -2656,9 +1542,6 @@ #address-cells = <2>; #size-cells = <2>; ranges; - clock-names = "m-ahb", "s-ahb"; - clocks = <&gcc GCC_QUPV3_WRAP_3_M_AHB_CLK>, - <&gcc GCC_QUPV3_WRAP_3_S_AHB_CLK>; iommus = <&apps_smmu 0x43 0x0>; status = "disabled"; @@ -2668,20 +1551,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_i2c21_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>, - <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma3 0 0 QCOM_GPI_I2C>, <&gpi_dma3 1 0 QCOM_GPI_I2C>; dma-names = "tx", @@ -2695,20 +1564,6 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; - clock-names = "se"; - pinctrl-0 = <&qup_spi21_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>, - <&aggre1_noc MASTER_QUP_3 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "qup-core", - "qup-config", - "qup-memory"; - power-domains = <&rpmhpd SA8775P_CX>; dmas = <&gpi_dma3 0 0 QCOM_GPI_SPI>, <&gpi_dma3 1 0 QCOM_GPI_SPI>; dma-names = "tx", @@ -2720,17 +1575,6 @@ compatible = "qcom,geni-uart"; reg = <0x0 0x00b80000 0x0 0x4000>; interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP3_S0_CLK>; - interconnect-names = "qup-core", "qup-config"; - pinctrl-0 = <&qup_uart21_default>; - pinctrl-names = "default"; - interconnects = <&clk_virt MASTER_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS - &clk_virt SLAVE_QUP_CORE_3 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_QUP_3 QCOM_ICC_TAG_ALWAYS>; - power-domains = <&rpmhpd SA8775P_CX>; - operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; }; @@ -2740,60 +1584,184 @@ reg = <0 0x010d2000 0 0x1000>; }; - config_noc: interconnect@14c0000 { - compatible = "qcom,sa8775p-config-noc"; - reg = <0x0 0x014c0000 0x0 0x13080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; + pcie0: pcie@1c00000 { + compatible = "qcom,pcie-sa8775p"; + reg = <0x0 0x01c00000 0x0 0x3000>, + <0x0 0x40000000 0x0 0xf20>, + <0x0 0x40000f20 0x0 0xa8>, + <0x0 0x40001000 0x0 0x4000>, + <0x0 0x40100000 0x0 0x100000>, + <0x0 0x01c03000 0x0 0x1000>; + reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; + device_type = "pci"; - system_noc: interconnect@1680000 { - compatible = "qcom,sa8775p-system-noc"; - reg = <0x0 0x01680000 0x0 0x15080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; + bus-range = <0x00 0xff>; - aggre1_noc: interconnect@16c0000 { - compatible = "qcom,sa8775p-aggre1-noc"; - reg = <0x0 0x016c0000 0x0 0x18080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, - <&gcc GCC_AGGRE_NOC_QUPV3_AXI_CLK>, - <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>, - <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, - <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>; - }; + dma-coherent; + + num-lanes = <2>; + + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7", + "global"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>; + + iommu-map = <0x0 &pcie_smmu 0x0000 0x0 0x1>, + <0x100 &pcie_smmu 0x0001 0x0 0x1>; - aggre2_noc: interconnect@1700000 { - compatible = "qcom,sa8775p-aggre2-noc"; - reg = <0x0 0x01700000 0x0 0x1b080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - clocks = <&gcc GCC_AGGRE_UFS_CARD_AXI_CLK>, - <&rpmhcc RPMH_IPA_CLK>; + eq-presets-8gts = /bits/ 16 <0x5555 0x5555>; + eq-presets-16gts = /bits/ 8 <0x55 0x55>; + + status = "disabled"; + + pcieport0: pcie@0 { + compatible = "pciclass,0604"; + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; - pcie_anoc: interconnect@1760000 { - compatible = "qcom,sa8775p-pcie-anoc"; - reg = <0x0 0x01760000 0x0 0xc080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; + pcie0_ep: pcie-ep@1c00000 { + compatible = "qcom,sa8775p-pcie-ep"; + reg = <0x0 0x01c00000 0x0 0x3000>, + <0x0 0x40000000 0x0 0xf20>, + <0x0 0x40000f20 0x0 0xa8>, + <0x0 0x40001000 0x0 0x4000>, + <0x0 0x40200000 0x0 0x1fe00000>, + <0x0 0x01c03000 0x0 0x1000>, + <0x0 0x40005000 0x0 0x2000>; + reg-names = "parf", "dbi", "elbi", "atu", "addr_space", + "mmio", "dma"; + interrupts = , + , + ; + + interrupt-names = "global", "doorbell", "dma"; + + dma-coherent; + iommus = <&pcie_smmu 0x0000 0x7f>; + num-lanes = <2>; + + status = "disabled"; }; - gpdsp_anoc: interconnect@1780000 { - compatible = "qcom,sa8775p-gpdsp-anoc"; - reg = <0x0 0x01780000 0x0 0xe080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; + pcie1: pcie@1c10000 { + compatible = "qcom,pcie-sa8775p"; + reg = <0x0 0x01c10000 0x0 0x3000>, + <0x0 0x60000000 0x0 0xf20>, + <0x0 0x60000f20 0x0 0xa8>, + <0x0 0x60001000 0x0 0x4000>, + <0x0 0x60100000 0x0 0x100000>, + <0x0 0x01c13000 0x0 0x1000>; + reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; + device_type = "pci"; + + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x1fd00000>; + bus-range = <0x00 0xff>; + + dma-coherent; + + num-lanes = <4>; + + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7", + "global"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; + + iommu-map = <0x0 &pcie_smmu 0x0080 0x0 0x1>, + <0x100 &pcie_smmu 0x0081 0x0 0x1>; + + eq-presets-8gts = /bits/ 16 <0x5555 0x5555 0x5555 0x5555>; + eq-presets-16gts = /bits/ 8 <0x55 0x55 0x55 0x55>; + + status = "disabled"; + + pcie1_port0: pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; - mmss_noc: interconnect@17a0000 { - compatible = "qcom,sa8775p-mmss-noc"; - reg = <0x0 0x017a0000 0x0 0x40000>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; + pcie1_ep: pcie-ep@1c10000 { + compatible = "qcom,sa8775p-pcie-ep"; + reg = <0x0 0x01c10000 0x0 0x3000>, + <0x0 0x60000000 0x0 0xf20>, + <0x0 0x60000f20 0x0 0xa8>, + <0x0 0x60001000 0x0 0x4000>, + <0x0 0x60200000 0x0 0x1fe00000>, + <0x0 0x01c13000 0x0 0x1000>, + <0x0 0x60005000 0x0 0x2000>; + reg-names = "parf", "dbi", "elbi", "atu", "addr_space", + "mmio", "dma"; + + interrupts = , + , + ; + + interrupt-names = "global", "doorbell", "dma"; + + dma-coherent; + iommus = <&pcie_smmu 0x80 0x7f>; + num-lanes = <4>; + + status = "disabled"; }; ptp@1c80000 { @@ -2828,73 +1796,12 @@ compatible = "qcom,sa8775p-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; reg = <0x0 0x01d84000 0x0 0x3000>; interrupts = ; - phys = <&ufs_mem_phy>; - phy-names = "ufsphy"; lanes-per-direction = <2>; - #reset-cells = <1>; - resets = <&gcc GCC_UFS_PHY_BCR>; - reset-names = "rst"; - power-domains = <&gcc UFS_PHY_GDSC>; - required-opps = <&rpmhpd_opp_nom>; iommus = <&apps_smmu 0x100 0x0>; dma-coherent; - clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, - <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, - <&gcc GCC_UFS_PHY_AHB_CLK>, - <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, - <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, - <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; - clock-names = "core_clk", - "bus_aggr_clk", - "iface_clk", - "core_clk_unipro", - "ref_clk", - "tx_lane0_sync_clk", - "rx_lane0_sync_clk", - "rx_lane1_sync_clk"; - freq-table-hz = <75000000 300000000>, - <0 0>, - <0 0>, - <75000000 300000000>, - <0 0>, - <0 0>, - <0 0>, - <0 0>; - qcom,ice = <&ice>; - status = "disabled"; - }; - - ufs_mem_phy: phy@1d87000 { - compatible = "qcom,sa8775p-qmp-ufs-phy"; - reg = <0x0 0x01d87000 0x0 0xe10>; - /* - * Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It - * enables the CXO clock to eDP *and* UFS PHY. - */ - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, - <&gcc GCC_EDP_REF_CLKREF_EN>; - clock-names = "ref", "ref_aux", "qref"; - power-domains = <&gcc UFS_PHY_GDSC>; - resets = <&ufs_mem_hc 0>; - reset-names = "ufsphy"; - #phy-cells = <0>; status = "disabled"; }; - ice: crypto@1d88000 { - compatible = "qcom,sa8775p-inline-crypto-engine", - "qcom,inline-crypto-engine"; - reg = <0x0 0x01d88000 0x0 0x18000>; - clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>, - <&gcc GCC_UFS_PHY_AHB_CLK>; - clock-names = "core", - "iface"; - power-domains = <&gcc UFS_PHY_GDSC>; - }; - cryptobam: dma-controller@1dc4000 { compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; reg = <0x0 0x01dc4000 0x0 0x28000>; @@ -2915,16 +1822,6 @@ dma-names = "rx", "tx"; iommus = <&apps_smmu 0x480 0x0>, <&apps_smmu 0x481 0x0>; - interconnects = <&aggre2_noc MASTER_CRYPTO_CORE0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "memory"; - }; - - lpass_ag_noc: interconnect@3c40000 { - compatible = "qcom,sa8775p-lpass-ag-noc"; - reg = <0x0 0x03c40000 0x0 0x17200>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; }; ctcu@4001000 { @@ -2981,7 +1878,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_spdm"; + label = "tpdm_dcc"; qcom,cmb-element-bits = <32>; qcom,cmb-msrs-num = <32>; @@ -3041,7 +1938,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_dcc"; + label = "tpdm_spdm"; qcom,cmb-element-bits = <32>; qcom,cmb-msrs-num = <32>; @@ -3510,7 +2407,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_actpm"; + label = "tpdm_swao_prio_0"; qcom,cmb-element-bits = <64>; qcom,cmb-msrs-num = <32>; @@ -3531,7 +2428,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_swao_prio_3"; + label = "tpdm_swao_prio_1"; qcom,cmb-element-bits = <64>; qcom,cmb-msrs-num = <32>; @@ -3573,7 +2470,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_swao_prio_1"; + label = "tpdm_swao_prio_3"; qcom,cmb-element-bits = <64>; qcom,cmb-msrs-num = <32>; @@ -3594,7 +2491,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_llm_ext"; + label = "tpdm_swao_1"; qcom,dsb-element-bits = <32>; qcom,dsb-msrs-num = <32>; @@ -3937,7 +2834,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_swao_prio_0"; + label = "tpdm_actpm"; qcom,cmb-element-bits = <64>; qcom,cmb-msrs-num = <32>; @@ -3958,7 +2855,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_swao_1"; + label = "tpdm_apss"; qcom,dsb-element-bits = <32>; qcom,dsb-msrs-num = <32>; @@ -4041,7 +2938,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_llm_gold"; + label = "tpdm_llm_silver"; qcom,cmb-element-bits = <32>; qcom,cmb-msrs-num = <32>; @@ -4062,7 +2959,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_llm_silver"; + label = "tpdm_llm_gold"; qcom,cmb-element-bits = <32>; qcom,cmb-msrs-num = <32>; @@ -4083,7 +2980,7 @@ clocks = <&aoss_qmp>; clock-names = "apb_pclk"; - label = "tpdm_apss"; + label = "tpdm_llm_ext"; qcom,dsb-element-bits = <32>; qcom,dsb-msrs-num = <32>; @@ -4109,49 +3006,13 @@ interrupt-names = "hc_irq", "pwr_irq"; - clocks = <&gcc GCC_SDCC1_AHB_CLK>, - <&gcc GCC_SDCC1_APPS_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", - "core", - "xo"; - - interconnects = <&aggre1_noc MASTER_SDC QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &config_noc SLAVE_SDC1 QCOM_ICC_TAG_ACTIVE_ONLY>; - interconnect-names = "sdhc-ddr", - "cpu-sdhc"; - iommus = <&apps_smmu 0x0 0x0>; dma-coherent; - operating-points-v2 = <&sdhc_opp_table>; - power-domains = <&rpmhpd SA8775P_CX>; - resets = <&gcc GCC_SDCC1_BCR>; - qcom,dll-config = <0x0007642c>; qcom,ddr-config = <0x80040868>; status = "disabled"; - - sdhc_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - required-opps = <&rpmhpd_opp_low_svs>; - opp-peak-kBps = <1800000 400000>; - opp-avg-kBps = <100000 0>; - }; - - opp-384000000 { - opp-hz = /bits/ 64 <384000000>; - required-opps = <&rpmhpd_opp_nom>; - opp-peak-kBps = <5400000 1600000>; - opp-avg-kBps = <390000 0>; - }; - }; }; eud: eud@88e1000 { @@ -4193,196 +3054,56 @@ status = "disabled"; }; - usb_0_hsphy: phy@88e4000 { - compatible = "qcom,sa8775p-usb-hs-phy", - "qcom,usb-snps-hs-5nm-phy"; - reg = <0 0x088e4000 0 0x120>; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "ref"; - resets = <&gcc GCC_USB2_PHY_PRIM_BCR>; - - #phy-cells = <0>; + usb_0: usb@a600000 { + compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3"; + reg = <0 0x0a600000 0 0xfc100>; - status = "disabled"; - }; + interrupts-extended = <&intc GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>, + <&intc GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>, + <&intc GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 14 IRQ_TYPE_EDGE_BOTH>, + <&pdc 15 IRQ_TYPE_EDGE_BOTH>, + <&pdc 12 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "dwc_usb3", + "pwr_event", + "hs_phy_irq", + "dp_hs_phy_irq", + "dm_hs_phy_irq", + "ss_phy_irq"; - usb_1_hsphy: phy@88e6000 { - compatible = "qcom,sa8775p-usb-hs-phy", - "qcom,usb-snps-hs-5nm-phy"; - reg = <0 0x088e6000 0 0x120>; - clocks = <&gcc GCC_USB_CLKREF_EN>; - clock-names = "ref"; - resets = <&gcc GCC_USB2_PHY_SEC_BCR>; + wakeup-source; - #phy-cells = <0>; + iommus = <&apps_smmu 0x080 0x0>; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; + usb-role-switch; status = "disabled"; - }; - usb_2_hsphy: phy@88e7000 { - compatible = "qcom,sa8775p-usb-hs-phy", - "qcom,usb-snps-hs-5nm-phy"; - reg = <0 0x088e7000 0 0x120>; - clocks = <&gcc GCC_USB_CLKREF_EN>; - clock-names = "ref"; - resets = <&gcc GCC_USB3_PHY_TERT_BCR>; + ports { + #address-cells = <1>; + #size-cells = <0>; - #phy-cells = <0>; + port@0 { + reg = <0>; - status = "disabled"; - }; + usb_0_dwc3_hs: endpoint { + }; + }; - usb_0_qmpphy: phy@88e8000 { - compatible = "qcom,sa8775p-qmp-usb3-uni-phy"; - reg = <0 0x088e8000 0 0x2000>; + port@1 { + reg = <1>; - clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, - <&gcc GCC_USB_CLKREF_EN>, - <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, - <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; - clock-names = "aux", "ref", "com_aux", "pipe"; - - resets = <&gcc GCC_USB3_PHY_PRIM_BCR>, - <&gcc GCC_USB3PHY_PHY_PRIM_BCR>; - reset-names = "phy", "phy_phy"; - - power-domains = <&gcc USB30_PRIM_GDSC>; - - #clock-cells = <0>; - clock-output-names = "usb3_prim_phy_pipe_clk_src"; - - #phy-cells = <0>; - - status = "disabled"; - }; - - usb_1_qmpphy: phy@88ea000 { - compatible = "qcom,sa8775p-qmp-usb3-uni-phy"; - reg = <0 0x088ea000 0 0x2000>; - - clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>, - <&gcc GCC_USB_CLKREF_EN>, - <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>, - <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; - clock-names = "aux", "ref", "com_aux", "pipe"; - - resets = <&gcc GCC_USB3_PHY_SEC_BCR>, - <&gcc GCC_USB3PHY_PHY_SEC_BCR>; - reset-names = "phy", "phy_phy"; - - power-domains = <&gcc USB30_SEC_GDSC>; - - #clock-cells = <0>; - clock-output-names = "usb3_sec_phy_pipe_clk_src"; - - #phy-cells = <0>; - - status = "disabled"; - }; - - refgen: regulator@891c000 { - compatible = "qcom,sa8775p-refgen-regulator", - "qcom,sm8250-refgen-regulator"; - reg = <0x0 0x0891c000 0x0 0x84>; - }; - - dc_noc: interconnect@90e0000 { - compatible = "qcom,sa8775p-dc-noc"; - reg = <0x0 0x090e0000 0x0 0x5080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - - gem_noc: interconnect@9100000 { - compatible = "qcom,sa8775p-gem-noc"; - reg = <0x0 0x09100000 0x0 0xf6080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - - usb_0: usb@a600000 { - compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3"; - reg = <0 0x0a600000 0 0xfc100>; - - clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, - <&gcc GCC_USB30_PRIM_MASTER_CLK>, - <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, - <&gcc GCC_USB30_PRIM_SLEEP_CLK>, - <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; - clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; - - assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, - <&gcc GCC_USB30_PRIM_MASTER_CLK>; - assigned-clock-rates = <19200000>, <200000000>; - - interrupts-extended = <&intc GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>, - <&intc GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>, - <&intc GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, - <&pdc 14 IRQ_TYPE_EDGE_BOTH>, - <&pdc 15 IRQ_TYPE_EDGE_BOTH>, - <&pdc 12 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "dwc_usb3", - "pwr_event", - "hs_phy_irq", - "dp_hs_phy_irq", - "dm_hs_phy_irq", - "ss_phy_irq"; - - power-domains = <&gcc USB30_PRIM_GDSC>; - required-opps = <&rpmhpd_opp_nom>; - - resets = <&gcc GCC_USB30_PRIM_BCR>; - - interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; - interconnect-names = "usb-ddr", "apps-usb"; - - wakeup-source; - - iommus = <&apps_smmu 0x080 0x0>; - phys = <&usb_0_hsphy>, <&usb_0_qmpphy>; - phy-names = "usb2-phy", "usb3-phy"; - snps,dis-u1-entry-quirk; - snps,dis-u2-entry-quirk; - - usb-role-switch; - status = "disabled"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - usb_0_dwc3_hs: endpoint { - }; - }; - - port@1 { - reg = <1>; - - usb_0_dwc3_ss: endpoint { - }; - }; - }; - }; + usb_0_dwc3_ss: endpoint { + }; + }; + }; + }; usb_1: usb@a800000 { compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3"; reg = <0 0x0a800000 0 0xfc100>; - clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>, - <&gcc GCC_USB30_SEC_MASTER_CLK>, - <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>, - <&gcc GCC_USB30_SEC_SLEEP_CLK>, - <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>; - clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; - - assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, - <&gcc GCC_USB30_SEC_MASTER_CLK>; - assigned-clock-rates = <19200000>, <200000000>; - interrupts-extended = <&intc GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>, <&intc GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>, <&intc GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>, @@ -4396,20 +3117,9 @@ "dm_hs_phy_irq", "ss_phy_irq"; - power-domains = <&gcc USB30_SEC_GDSC>; - required-opps = <&rpmhpd_opp_nom>; - - resets = <&gcc GCC_USB30_SEC_BCR>; - - interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>; - interconnect-names = "usb-ddr", "apps-usb"; - wakeup-source; iommus = <&apps_smmu 0x0a0 0x0>; - phys = <&usb_1_hsphy>, <&usb_1_qmpphy>; - phy-names = "usb2-phy", "usb3-phy"; snps,dis-u1-entry-quirk; snps,dis-u2-entry-quirk; @@ -4440,17 +3150,6 @@ compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3"; reg = <0 0x0a400000 0 0xfc100>; - clocks = <&gcc GCC_CFG_NOC_USB2_PRIM_AXI_CLK>, - <&gcc GCC_USB20_MASTER_CLK>, - <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>, - <&gcc GCC_USB20_SLEEP_CLK>, - <&gcc GCC_USB20_MOCK_UTMI_CLK>; - clock-names = "cfg_noc", "core", "iface", "sleep", "mock_utmi"; - - assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, - <&gcc GCC_USB20_MASTER_CLK>; - assigned-clock-rates = <19200000>, <200000000>; - interrupts-extended = <&intc GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>, <&intc GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, <&intc GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>, @@ -4462,21 +3161,10 @@ "dp_hs_phy_irq", "dm_hs_phy_irq"; - power-domains = <&gcc USB20_PRIM_GDSC>; - required-opps = <&rpmhpd_opp_nom>; - - resets = <&gcc GCC_USB20_PRIM_BCR>; - - interconnects = <&aggre1_noc MASTER_USB2 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB2 0>; - interconnect-names = "usb-ddr", "apps-usb"; - qcom,select-utmi-as-pipe-clk; wakeup-source; iommus = <&apps_smmu 0x020 0x0>; - phys = <&usb_2_hsphy>; - phy-names = "usb2-phy"; snps,dis-u1-entry-quirk; snps,dis-u2-entry-quirk; @@ -4498,7 +3186,7 @@ tcsr: syscon@1fc0000 { compatible = "qcom,sa8775p-tcsr", "syscon"; - reg = <0x0 0x1fc0000 0x0 0x40000>; + reg = <0x0 0x1fc0000 0x0 0x30000>; }; gpu: gpu@3d00000 { @@ -4512,11 +3200,7 @@ interrupts = ; iommus = <&adreno_smmu 0 0xc00>, <&adreno_smmu 1 0xc00>; - operating-points-v2 = <&gpu_opp_table>; qcom,gmu = <&gmu>; - interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "gfx-mem"; #cooling-cells = <2>; nvmem-cells = <&gpu_speed_bin>; @@ -4527,49 +3211,9 @@ gpu_zap_shader: zap-shader { memory-region = <&pil_gpu_mem>; }; - - gpu_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-405000000 { - opp-hz = /bits/ 64 <405000000>; - opp-level = ; - opp-peak-kBps = <5285156>; - opp-supported-hw = <0x3>; - }; - - opp-530000000 { - opp-hz = /bits/ 64 <530000000>; - opp-level = ; - opp-peak-kBps = <12484375>; - opp-supported-hw = <0x2>; - }; - - opp-676000000 { - opp-hz = /bits/ 64 <676000000>; - opp-level = ; - opp-peak-kBps = <8171875>; - opp-supported-hw = <0x1>; - }; - - opp-778000000 { - opp-hz = /bits/ 64 <778000000>; - opp-level = ; - opp-peak-kBps = <10687500>; - opp-supported-hw = <0x1>; - }; - - opp-800000000 { - opp-hz = /bits/ 64 <800000000>; - opp-level = ; - opp-peak-kBps = <12484375>; - opp-supported-hw = <0x1>; - }; - }; }; gmu: gmu@3d6a000 { - compatible = "qcom,adreno-gmu-663.0", "qcom,adreno-gmu"; reg = <0x0 0x03d6a000 0x0 0x34000>, <0x0 0x03de0000 0x0 0x10000>, <0x0 0x0b290000 0x0 0x10000>; @@ -4577,49 +3221,7 @@ interrupts = , ; interrupt-names = "hfi", "gmu"; - clocks = <&gpucc GPU_CC_CX_GMU_CLK>, - <&gpucc GPU_CC_CXO_CLK>, - <&gcc GCC_DDRSS_GPU_AXI_CLK>, - <&gcc GCC_GPU_MEMNOC_GFX_CLK>, - <&gpucc GPU_CC_AHB_CLK>, - <&gpucc GPU_CC_HUB_CX_INT_CLK>, - <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>; - clock-names = "gmu", - "cxo", - "axi", - "memnoc", - "ahb", - "hub", - "smmu_vote"; - power-domains = <&gpucc GPU_CC_CX_GDSC>, - <&gpucc GPU_CC_GX_GDSC>; - power-domain-names = "cx", - "gx"; iommus = <&adreno_smmu 5 0xc00>; - operating-points-v2 = <&gmu_opp_table>; - - gmu_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-level = ; - }; - }; - }; - - gpucc: clock-controller@3d90000 { - compatible = "qcom,sa8775p-gpucc"; - reg = <0x0 0x03d90000 0x0 0xa000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_GPU_GPLL0_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; - clock-names = "bi_tcxo", - "gcc_gpu_gpll0_clk_src", - "gcc_gpu_gpll0_div_clk_src"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; }; adreno_smmu: iommu@3da0000 { @@ -4629,21 +3231,6 @@ #iommu-cells = <2>; #global-interrupts = <2>; dma-coherent; - power-domains = <&gpucc GPU_CC_CX_GDSC>; - clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>, - <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>, - <&gpucc GPU_CC_AHB_CLK>, - <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>, - <&gpucc GPU_CC_CX_GMU_CLK>, - <&gpucc GPU_CC_HUB_CX_INT_CLK>, - <&gpucc GPU_CC_HUB_AON_CLK>; - clock-names = "gcc_gpu_memnoc_gfx_clk", - "gcc_gpu_snoc_dvm_gfx_clk", - "gpu_cc_ahb_clk", - "gpu_cc_hlos1_vote_gpu_smmu_clk", - "gpu_cc_cx_gmu_clk", - "gpu_cc_hub_cx_int_clk", - "gpu_cc_hub_aon_clk"; interrupts = , , , @@ -4660,30 +3247,9 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; }; - serdes0: phy@8901000 { - compatible = "qcom,sa8775p-dwmac-sgmii-phy"; - reg = <0x0 0x08901000 0x0 0xe10>; - clocks = <&gcc GCC_SGMI_CLKREF_EN>; - clock-names = "sgmi_ref"; - #phy-cells = <0>; - status = "disabled"; - }; - - serdes1: phy@8902000 { - compatible = "qcom,sa8775p-dwmac-sgmii-phy"; - reg = <0x0 0x08902000 0x0 0xe10>; - clocks = <&gcc GCC_SGMI_CLKREF_EN>; - clock-names = "sgmi_ref"; - #phy-cells = <0>; - status = "disabled"; - }; - - pmu@9091000 { - compatible = "qcom,sa8775p-llcc-bwmon", "qcom,sc7280-llcc-bwmon"; + llcc_bwmon: pmu@9091000 { reg = <0x0 0x9091000 0x0 0x1000>; interrupts = ; - interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>; operating-points-v2 = <&llcc_bwmon_opp_table>; @@ -4732,12 +3298,9 @@ }; }; - pmu@90b5400 { - compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon"; + cpu_bwmon0: pmu@90b5400 { reg = <0x0 0x90b5400 0x0 0x600>; interrupts = ; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>; operating-points-v2 = <&cpu_bwmon_opp_table>; @@ -4760,15 +3323,11 @@ opp-peak-kBps = <16265000>; }; }; - }; - pmu@90b6400 { - compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon"; + cpu_bwmon1: pmu@90b6400 { reg = <0x0 0x90b6400 0x0 0x600>; interrupts = ; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>; operating-points-v2 = <&cpu_bwmon_opp_table>; }; @@ -4798,30 +3357,6 @@ reg = <0x0 0x0aa00000 0x0 0xf0000>; interrupts = ; - power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>, - <&videocc VIDEO_CC_MVS0_GDSC>, - <&rpmhpd SA8775P_MX>, - <&rpmhpd SA8775P_MMCX>; - power-domain-names = "venus", - "vcodec0", - "mxc", - "mmcx"; - operating-points-v2 = <&iris_opp_table>; - - clocks = <&gcc GCC_VIDEO_AXI0_CLK>, - <&videocc VIDEO_CC_MVS0C_CLK>, - <&videocc VIDEO_CC_MVS0_CLK>; - clock-names = "iface", - "core", - "vcodec0_core"; - - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>, - <&mmss_noc MASTER_VIDEO_P0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "cpu-cfg", - "video-mem"; - memory-region = <&pil_video_mem>; firmware-name = "qcom/vpu/vpu30_p4_s6_16mb.mbn"; @@ -4829,73 +3364,31 @@ resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>; reset-names = "bus"; - iommu-map = , - ; + iommus = <&apps_smmu 0x0880 0x0400>, + <&apps_smmu 0x0887 0x0400>; dma-coherent; - status = "disabled"; - - iris_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-366000000 { - opp-hz = /bits/ 64 <366000000>; - required-opps = <&rpmhpd_opp_svs_l1>, - <&rpmhpd_opp_svs_l1>; - }; - - opp-444000000 { - opp-hz = /bits/ 64 <444000000>; - required-opps = <&rpmhpd_opp_svs_l1>, - <&rpmhpd_opp_nom>; - }; + #address-cells = <1>; + #size-cells = <1>; + dma-ranges = <0x0 0x0 0x0 0xe0000000>; - opp-533000000 { - opp-hz = /bits/ 64 <533000000>; - required-opps = <&rpmhpd_opp_nom>, - <&rpmhpd_opp_turbo>; - }; + status = "disabled"; - opp-560000000 { - opp-hz = /bits/ 64 <560000000>; - required-opps = <&rpmhpd_opp_nom>, - <&rpmhpd_opp_turbo_l1>; - }; + non-pixel { + iommus = <&apps_smmu 0x0880 0x0400>; + iommu-ranges = <0x25800000 0xba800000>; }; - }; - videocc: clock-controller@abf0000 { - compatible = "qcom,sa8775p-videocc"; - reg = <0x0 0x0abf0000 0x0 0x10000>; - clocks = <&gcc GCC_VIDEO_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; + pixel { + iommus = <&apps_smmu 0x0887 0x0400>; + }; }; cci0: cci@ac13000 { compatible = "qcom,sa8775p-cci", "qcom,msm8996-cci"; reg = <0x0 0x0ac13000 0x0 0x1000>; - interrupts = ; - power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; - - clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, - <&camcc CAM_CC_CPAS_AHB_CLK>, - <&camcc CAM_CC_CCI_0_CLK>; - clock-names = "camnoc_axi", - "cpas_ahb", - "cci"; - - pinctrl-0 = <&cci0_0_default &cci0_1_default>; - pinctrl-1 = <&cci0_0_sleep &cci0_1_sleep>; - pinctrl-names = "default", "sleep"; - #address-cells = <1>; #size-cells = <0>; @@ -4919,22 +3412,8 @@ cci1: cci@ac14000 { compatible = "qcom,sa8775p-cci", "qcom,msm8996-cci"; reg = <0x0 0x0ac14000 0x0 0x1000>; - interrupts = ; - power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; - - clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, - <&camcc CAM_CC_CPAS_AHB_CLK>, - <&camcc CAM_CC_CCI_1_CLK>; - clock-names = "camnoc_axi", - "cpas_ahb", - "cci"; - - pinctrl-0 = <&cci1_0_default &cci1_1_default>; - pinctrl-1 = <&cci1_0_sleep &cci1_1_sleep>; - pinctrl-names = "default", "sleep"; - #address-cells = <1>; #size-cells = <0>; @@ -4958,22 +3437,8 @@ cci2: cci@ac15000 { compatible = "qcom,sa8775p-cci", "qcom,msm8996-cci"; reg = <0x0 0x0ac15000 0x0 0x1000>; - interrupts = ; - power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; - - clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, - <&camcc CAM_CC_CPAS_AHB_CLK>, - <&camcc CAM_CC_CCI_2_CLK>; - clock-names = "camnoc_axi", - "cpas_ahb", - "cci"; - - pinctrl-0 = <&cci2_0_default &cci2_1_default>; - pinctrl-1 = <&cci2_0_sleep &cci2_1_sleep>; - pinctrl-names = "default", "sleep"; - #address-cells = <1>; #size-cells = <0>; @@ -4997,22 +3462,8 @@ cci3: cci@ac16000 { compatible = "qcom,sa8775p-cci", "qcom,msm8996-cci"; reg = <0x0 0x0ac16000 0x0 0x1000>; - interrupts = ; - power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; - - clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, - <&camcc CAM_CC_CPAS_AHB_CLK>, - <&camcc CAM_CC_CCI_3_CLK>; - clock-names = "camnoc_axi", - "cpas_ahb", - "cci"; - - pinctrl-0 = <&cci3_0_default &cci3_1_default>; - pinctrl-1 = <&cci3_0_sleep &cci3_1_sleep>; - pinctrl-names = "default", "sleep"; - #address-cells = <1>; #size-cells = <0>; @@ -5081,63 +3532,6 @@ "vfe_lite3", "vfe_lite4"; - clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, - <&camcc CAM_CC_CORE_AHB_CLK>, - <&camcc CAM_CC_CPAS_AHB_CLK>, - <&camcc CAM_CC_CPAS_FAST_AHB_CLK>, - <&camcc CAM_CC_CPAS_IFE_LITE_CLK>, - <&camcc CAM_CC_CPAS_IFE_0_CLK>, - <&camcc CAM_CC_CPAS_IFE_1_CLK>, - <&camcc CAM_CC_CSID_CLK>, - <&camcc CAM_CC_CSIPHY0_CLK>, - <&camcc CAM_CC_CSI0PHYTIMER_CLK>, - <&camcc CAM_CC_CSIPHY1_CLK>, - <&camcc CAM_CC_CSI1PHYTIMER_CLK>, - <&camcc CAM_CC_CSIPHY2_CLK>, - <&camcc CAM_CC_CSI2PHYTIMER_CLK>, - <&camcc CAM_CC_CSIPHY3_CLK>, - <&camcc CAM_CC_CSI3PHYTIMER_CLK>, - <&camcc CAM_CC_CSID_CSIPHY_RX_CLK>, - <&gcc GCC_CAMERA_HF_AXI_CLK>, - <&gcc GCC_CAMERA_SF_AXI_CLK>, - <&camcc CAM_CC_ICP_AHB_CLK>, - <&camcc CAM_CC_IFE_0_CLK>, - <&camcc CAM_CC_IFE_0_FAST_AHB_CLK>, - <&camcc CAM_CC_IFE_1_CLK>, - <&camcc CAM_CC_IFE_1_FAST_AHB_CLK>, - <&camcc CAM_CC_IFE_LITE_CLK>, - <&camcc CAM_CC_IFE_LITE_AHB_CLK>, - <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, - <&camcc CAM_CC_IFE_LITE_CSID_CLK>; - clock-names = "camnoc_axi", - "core_ahb", - "cpas_ahb", - "cpas_fast_ahb_clk", - "cpas_vfe_lite", - "cpas_vfe0", - "cpas_vfe1", - "csid", - "csiphy0", - "csiphy0_timer", - "csiphy1", - "csiphy1_timer", - "csiphy2", - "csiphy2_timer", - "csiphy3", - "csiphy3_timer", - "csiphy_rx", - "gcc_axi_hf", - "gcc_axi_sf", - "icp_ahb", - "vfe0", - "vfe0_fast_ahb", - "vfe1", - "vfe1_fast_ahb", - "vfe_lite", - "vfe_lite_ahb", - "vfe_lite_cphy_rx", - "vfe_lite_csid"; - interrupts = , , , @@ -5181,18 +3575,8 @@ "vfe_lite3", "vfe_lite4"; - interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>, - <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "ahb", - "hf_0"; - iommus = <&apps_smmu 0x3400 0x20>; - power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; - power-domain-names = "top"; - status = "disabled"; ports { @@ -5217,43 +3601,11 @@ }; }; - camcc: clock-controller@ade0000 { - compatible = "qcom,sa8775p-camcc"; - reg = <0x0 0x0ade0000 0x0 0x20000>; - clocks = <&gcc GCC_CAMERA_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - mdss0: display-subsystem@ae00000 { compatible = "qcom,sa8775p-mdss"; reg = <0x0 0x0ae00000 0x0 0x1000>; reg-names = "mdss"; - /* same path used twice */ - interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&mmss_noc MASTER_MDP1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; - interconnect-names = "mdp0-mem", - "mdp1-mem", - "cpu-cfg"; - - resets = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_BCR>; - - power-domains = <&dispcc0 MDSS_DISP_CC_MDSS_CORE_GDSC>; - - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_DISP_HF_AXI_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>; - interrupts = ; interrupt-controller; #interrupt-cells = <1>; @@ -5272,23 +3624,6 @@ <0x0 0x0aeb0000 0x0 0x3000>; reg-names = "mdp", "vbif"; - clocks = <&gcc GCC_DISP_HF_AXI_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>; - clock-names = "nrt_bus", - "iface", - "lut", - "core", - "vsync"; - - assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>; - assigned-clock-rates = <19200000>; - - operating-points-v2 = <&mdss_mdp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - interrupt-parent = <&mdss0>; interrupts = <0>; @@ -5338,29 +3673,6 @@ interrupt-parent = <&mdss0>; interrupts = <4>; - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_INTF_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_PCLK0_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_ESC0_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_DISP_HF_AXI_CLK>; - clock-names = "byte", - "byte_intf", - "pixel", - "core", - "iface", - "bus"; - assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE0_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, - <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>; - phys = <&mdss0_dsi0_phy>; - - operating-points-v2 = <&mdss_dsi_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - - refgen-supply = <&refgen>; - #address-cells = <1>; #size-cells = <0>; @@ -5381,39 +3693,11 @@ port@1 { reg = <1>; - mdss0_dsi0_out: endpoint{ }; - }; - }; - - mdss_dsi_opp_table: opp-table { - compatible = "operating-points-v2"; - - opp-358000000 { - opp-hz = /bits/ 64 <358000000>; - required-opps = <&rpmhpd_opp_svs_l1>; + mdss0_dsi0_out: endpoint { }; }; }; }; - mdss0_dsi0_phy: phy@ae94400 { - compatible = "qcom,sa8775p-dsi-phy-5nm"; - reg = <0x0 0x0ae94400 0x0 0x200>, - <0x0 0x0ae94600 0x0 0x280>, - <0x0 0x0ae94900 0x0 0x27c>; - reg-names = "dsi_phy", - "dsi_phy_lane", - "dsi_pll"; - - #clock-cells = <1>; - #phy-cells = <0>; - - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - - status = "disabled"; - }; - mdss0_dsi1: dsi@ae96000 { compatible = "qcom,sa8775p-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0x0 0x0ae96000 0x0 0x400>; @@ -5422,29 +3706,6 @@ interrupt-parent = <&mdss0>; interrupts = <5>; - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_INTF_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_PCLK1_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_ESC1_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_DISP_HF_AXI_CLK>; - clock-names = "byte", - "byte_intf", - "pixel", - "core", - "iface", - "bus"; - assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_BYTE1_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss0_dsi1_phy DSI_BYTE_PLL_CLK>, - <&mdss0_dsi1_phy DSI_PIXEL_PLL_CLK>; - phys = <&mdss0_dsi1_phy>; - - operating-points-v2 = <&mdss_dsi_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - - refgen-supply = <&refgen>; - #address-cells = <1>; #size-cells = <0>; @@ -5470,67 +3731,6 @@ }; }; - mdss0_dsi1_phy: phy@ae96400 { - compatible = "qcom,sa8775p-dsi-phy-5nm"; - reg = <0x0 0x0ae96400 0x0 0x200>, - <0x0 0x0ae96600 0x0 0x280>, - <0x0 0x0ae96900 0x0 0x27c>; - reg-names = "dsi_phy", - "dsi_phy_lane", - "dsi_pll"; - - #clock-cells = <1>; - #phy-cells = <0>; - - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - - status = "disabled"; - }; - - mdss0_dp0_phy: phy@aec2a00 { - compatible = "qcom,sa8775p-edp-phy"; - - reg = <0x0 0x0aec2a00 0x0 0x200>, - <0x0 0x0aec2200 0x0 0xd0>, - <0x0 0x0aec2600 0x0 0xd0>, - <0x0 0x0aec2000 0x0 0x1c8>; - - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_EDP_REF_CLKREF_EN>; - clock-names = "aux", - "cfg_ahb", - "ref"; - - #clock-cells = <1>; - #phy-cells = <0>; - - status = "disabled"; - }; - - mdss0_dp1_phy: phy@aec5a00 { - compatible = "qcom,sa8775p-edp-phy"; - - reg = <0x0 0x0aec5a00 0x0 0x200>, - <0x0 0x0aec5200 0x0 0xd0>, - <0x0 0x0aec5600 0x0 0xd0>, - <0x0 0x0aec5000 0x0 0x1c8>; - - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_EDP_REF_CLKREF_EN>; - clock-names = "aux", - "cfg_ahb", - "ref"; - - #clock-cells = <1>; - #phy-cells = <0>; - - status = "disabled"; - }; - mdss0_dp0: displayport-controller@af54000 { compatible = "qcom,sa8775p-dp"; @@ -5547,38 +3747,6 @@ interrupt-parent = <&mdss0>; interrupts = <12>; - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>; - clock-names = "core_iface", - "core_aux", - "ctrl_link", - "ctrl_link_iface", - "stream_pixel", - "stream_1_pixel", - "stream_2_pixel", - "stream_3_pixel"; - assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>; - assigned-clock-parents = <&mdss0_dp0_phy 0>, - <&mdss0_dp0_phy 1>, - <&mdss0_dp0_phy 1>, - <&mdss0_dp0_phy 1>, - <&mdss0_dp0_phy 1>; - phys = <&mdss0_dp0_phy>; - phy-names = "dp"; - - operating-points-v2 = <&dp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #sound-dai-cells = <0>; status = "disabled"; @@ -5619,30 +3787,6 @@ interrupt-parent = <&mdss0>; interrupts = <13>; - clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK>; - clock-names = "core_iface", - "core_aux", - "ctrl_link", - "ctrl_link_iface", - "stream_pixel", - "stream_1_pixel"; - assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>, - <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK_SRC>; - assigned-clock-parents = <&mdss0_dp1_phy 0>, - <&mdss0_dp1_phy 1>, - <&mdss0_dp1_phy 1>; - phys = <&mdss0_dp1_phy>; - phy-names = "dp"; - - operating-points-v2 = <&dp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #sound-dai-cells = <0>; status = "disabled"; @@ -5668,28 +3812,9 @@ }; }; - dispcc0: clock-controller@af00000 { - compatible = "qcom,sa8775p-dispcc0"; - reg = <0x0 0x0af00000 0x0 0x20000>; - clocks = <&gcc GCC_DISP_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>, - <&mdss0_dp0_phy 0>, <&mdss0_dp0_phy 1>, - <&mdss0_dp1_phy 0>, <&mdss0_dp1_phy 1>, - <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, - <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>, - <&mdss0_dsi1_phy DSI_BYTE_PLL_CLK>, - <&mdss0_dsi1_phy DSI_PIXEL_PLL_CLK>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - pdc: interrupt-controller@b220000 { compatible = "qcom,sa8775p-pdc", "qcom,pdc"; - reg = <0x0 0x0b220000 0x0 0x30000>, + reg = <0x0 0x0b220000 0x0 0x10000>, <0x0 0x17c000f0 0x0 0x64>; qcom,pdc-ranges = <0 480 40>, <40 140 14>, @@ -5791,861 +3916,47 @@ sram@c3f0000 { compatible = "qcom,rpmh-stats"; reg = <0x0 0x0c3f0000 0x0 0x400>; - }; - - spmi_bus: spmi@c440000 { - compatible = "qcom,spmi-pmic-arb"; - reg = <0x0 0x0c440000 0x0 0x1100>, - <0x0 0x0c600000 0x0 0x2000000>, - <0x0 0x0e600000 0x0 0x100000>, - <0x0 0x0e700000 0x0 0xa0000>, - <0x0 0x0c40a000 0x0 0x26000>; - reg-names = "core", - "chnls", - "obsrvr", - "intr", - "cnfg"; - qcom,channel = <0>; - qcom,ee = <0>; - interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "periph_irq"; - interrupt-controller; - #interrupt-cells = <4>; - #address-cells = <2>; - #size-cells = <0>; - }; - - tlmm: pinctrl@f000000 { - compatible = "qcom,sa8775p-tlmm"; - reg = <0x0 0x0f000000 0x0 0x1000000>; - interrupts = ; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - gpio-ranges = <&tlmm 0 0 149>; - wakeup-parent = <&pdc>; - - dp0_hot_plug_det: dp0-hot-plug-det-state { - pins = "gpio101"; - function = "edp0_hot"; - bias-disable; - }; - - dp1_hot_plug_det: dp1-hot-plug-det-state { - pins = "gpio102"; - function = "edp1_hot"; - bias-disable; - }; - - gp_mn_active: gp-mn-active-state { - pins = "gpio35"; - function = "gp_mn"; - drive-strength = <2>; - bias-disable; - }; - - hs0_mi2s_active: hs0-mi2s-active-state { - pins = "gpio114", "gpio115", "gpio116", "gpio117"; - function = "hs0_mi2s"; - drive-strength = <8>; - bias-disable; - }; - - hs2_mi2s_active: hs2-mi2s-active-state { - pins = "gpio122", "gpio123", "gpio124", "gpio125"; - function = "hs2_mi2s"; - drive-strength = <8>; - bias-disable; - }; - - cci0_0_default: cci0-0-default-state { - pins = "gpio60", "gpio61"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci0_0_sleep: cci0-0-sleep-state { - pins = "gpio60", "gpio61"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci0_1_default: cci0-1-default-state { - pins = "gpio52", "gpio53"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci0_1_sleep: cci0-1-sleep-state { - pins = "gpio52", "gpio53"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci1_0_default: cci1-0-default-state { - pins = "gpio62", "gpio63"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci1_0_sleep: cci1-0-sleep-state { - pins = "gpio62", "gpio63"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci1_1_default: cci1-1-default-state { - pins = "gpio54", "gpio55"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci1_1_sleep: cci1-1-sleep-state { - pins = "gpio54", "gpio55"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci2_0_default: cci2-0-default-state { - pins = "gpio64", "gpio65"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci2_0_sleep: cci2-0-sleep-state { - pins = "gpio64", "gpio65"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci2_1_default: cci2-1-default-state { - pins = "gpio56", "gpio57"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci2_1_sleep: cci2-1-sleep-state { - pins = "gpio56", "gpio57"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci3_0_default: cci3-0-default-state { - pins = "gpio66", "gpio67"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci3_0_sleep: cci3-0-sleep-state { - pins = "gpio66", "gpio67"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - cci_async0_default: cci-async0-state { - pins = "gpio70"; - function = "cci_async"; - drive-strength = <2>; - bias-disable; - }; - - cci_async1_default: cci-async1-state { - pins = "gpio71"; - function = "cci_async"; - drive-strength = <2>; - bias-disable; - }; - - cci3_1_default: cci3-1-default-state { - pins = "gpio58", "gpio59"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-up = <2200>; - }; - - cci3_1_sleep: cci3-1-sleep-state { - pins = "gpio58", "gpio59"; - function = "cci_i2c"; - drive-strength = <2>; - bias-pull-down; - }; - - qup_i2c0_default: qup-i2c0-state { - pins = "gpio20", "gpio21"; - function = "qup0_se0"; - }; - - qup_i2c1_default: qup-i2c1-state { - pins = "gpio24", "gpio25"; - function = "qup0_se1"; - }; - - qup_i2c2_default: qup-i2c2-state { - pins = "gpio36", "gpio37"; - function = "qup0_se2"; - }; - - qup_i2c3_default: qup-i2c3-state { - pins = "gpio28", "gpio29"; - function = "qup0_se3"; - }; - - qup_i2c4_default: qup-i2c4-state { - pins = "gpio32", "gpio33"; - function = "qup0_se4"; - }; - - qup_i2c5_default: qup-i2c5-state { - pins = "gpio36", "gpio37"; - function = "qup0_se5"; - }; - - qup_i2c7_default: qup-i2c7-state { - pins = "gpio40", "gpio41"; - function = "qup1_se0"; - }; - - qup_i2c8_default: qup-i2c8-state { - pins = "gpio42", "gpio43"; - function = "qup1_se1"; - }; - - qup_i2c9_default: qup-i2c9-state { - pins = "gpio46", "gpio47"; - function = "qup1_se2"; - }; - - qup_i2c10_default: qup-i2c10-state { - pins = "gpio44", "gpio45"; - function = "qup1_se3"; - }; - - qup_i2c11_default: qup-i2c11-state { - pins = "gpio48", "gpio49"; - function = "qup1_se4"; - }; - - qup_i2c12_default: qup-i2c12-state { - pins = "gpio52", "gpio53"; - function = "qup1_se5"; - }; - - qup_i2c13_default: qup-i2c13-state { - pins = "gpio56", "gpio57"; - function = "qup1_se6"; - }; - - qup_i2c14_default: qup-i2c14-state { - pins = "gpio80", "gpio81"; - function = "qup2_se0"; - }; - - qup_i2c15_default: qup-i2c15-state { - pins = "gpio84", "gpio85"; - function = "qup2_se1"; - }; - - qup_i2c16_default: qup-i2c16-state { - pins = "gpio86", "gpio87"; - function = "qup2_se2"; - }; - - qup_i2c17_default: qup-i2c17-state { - pins = "gpio91", "gpio92"; - function = "qup2_se3"; - }; - - qup_i2c18_default: qup-i2c18-state { - pins = "gpio95", "gpio96"; - function = "qup2_se4"; - }; - - qup_i2c19_default: qup-i2c19-state { - pins = "gpio99", "gpio100"; - function = "qup2_se5"; - }; - - qup_i2c20_default: qup-i2c20-state { - pins = "gpio97", "gpio98"; - function = "qup2_se6"; - }; - - qup_i2c21_default: qup-i2c21-state { - pins = "gpio13", "gpio14"; - function = "qup3_se0"; - }; - - qup_spi0_default: qup-spi0-state { - pins = "gpio20", "gpio21", "gpio22", "gpio23"; - function = "qup0_se0"; - }; - - qup_spi1_default: qup-spi1-state { - pins = "gpio24", "gpio25", "gpio26", "gpio27"; - function = "qup0_se1"; - }; - - qup_spi2_default: qup-spi2-state { - pins = "gpio36", "gpio37", "gpio38", "gpio39"; - function = "qup0_se2"; - }; - - qup_spi3_default: qup-spi3-state { - pins = "gpio28", "gpio29", "gpio30", "gpio31"; - function = "qup0_se3"; - }; - - qup_spi4_default: qup-spi4-state { - pins = "gpio32", "gpio33", "gpio34", "gpio35"; - function = "qup0_se4"; - }; - - qup_spi5_default: qup-spi5-state { - pins = "gpio36", "gpio37", "gpio38", "gpio39"; - function = "qup0_se5"; - }; - - qup_spi7_default: qup-spi7-state { - pins = "gpio40", "gpio41", "gpio42", "gpio43"; - function = "qup1_se0"; - }; - - qup_spi8_default: qup-spi8-state { - pins = "gpio42", "gpio43", "gpio40", "gpio41"; - function = "qup1_se1"; - }; - - qup_spi9_default: qup-spi9-state { - pins = "gpio46", "gpio47", "gpio44", "gpio45"; - function = "qup1_se2"; - }; - - qup_spi10_default: qup-spi10-state { - pins = "gpio44", "gpio45", "gpio46", "gpio47"; - function = "qup1_se3"; - }; - - qup_spi11_default: qup-spi11-state { - pins = "gpio48", "gpio49", "gpio50", "gpio51"; - function = "qup1_se4"; - }; - - qup_spi12_default: qup-spi12-state { - pins = "gpio52", "gpio53", "gpio54", "gpio55"; - function = "qup1_se5"; - }; - - qup_spi14_default: qup-spi14-state { - pins = "gpio80", "gpio81", "gpio82", "gpio83"; - function = "qup2_se0"; - }; - - qup_spi15_default: qup-spi15-state { - pins = "gpio84", "gpio85", "gpio99", "gpio100"; - function = "qup2_se1"; - }; - - qup_spi16_default: qup-spi16-state { - pins = "gpio86", "gpio87", "gpio88", "gpio89"; - function = "qup2_se2"; - }; - - qup_spi17_default: qup-spi17-state { - pins = "gpio91", "gpio92", "gpio93", "gpio94"; - function = "qup2_se3"; - }; - - qup_spi18_default: qup-spi18-state { - pins = "gpio95", "gpio96", "gpio97", "gpio98"; - function = "qup2_se4"; - }; - - qup_spi19_default: qup-spi19-state { - pins = "gpio99", "gpio100", "gpio84", "gpio85"; - function = "qup2_se5"; - }; - - qup_spi20_default: qup-spi20-state { - pins = "gpio97", "gpio98", "gpio95", "gpio96"; - function = "qup2_se6"; - }; - - qup_spi21_default: qup-spi21-state { - pins = "gpio13", "gpio14", "gpio15", "gpio16"; - function = "qup3_se0"; - }; - - qup_uart0_default: qup-uart0-state { - qup_uart0_cts: qup-uart0-cts-pins { - pins = "gpio20"; - function = "qup0_se0"; - }; - - qup_uart0_rts: qup-uart0-rts-pins { - pins = "gpio21"; - function = "qup0_se0"; - }; - - qup_uart0_tx: qup-uart0-tx-pins { - pins = "gpio22"; - function = "qup0_se0"; - }; - - qup_uart0_rx: qup-uart0-rx-pins { - pins = "gpio23"; - function = "qup0_se0"; - }; - }; - - qup_uart1_default: qup-uart1-state { - qup_uart1_cts: qup-uart1-cts-pins { - pins = "gpio24"; - function = "qup0_se1"; - }; - - qup_uart1_rts: qup-uart1-rts-pins { - pins = "gpio25"; - function = "qup0_se1"; - }; - - qup_uart1_tx: qup-uart1-tx-pins { - pins = "gpio26"; - function = "qup0_se1"; - }; - - qup_uart1_rx: qup-uart1-rx-pins { - pins = "gpio27"; - function = "qup0_se1"; - }; - }; - - qup_uart2_default: qup-uart2-state { - qup_uart2_cts: qup-uart2-cts-pins { - pins = "gpio36"; - function = "qup0_se2"; - }; - - qup_uart2_rts: qup-uart2-rts-pins { - pins = "gpio37"; - function = "qup0_se2"; - }; - - qup_uart2_tx: qup-uart2-tx-pins { - pins = "gpio38"; - function = "qup0_se2"; - }; - - qup_uart2_rx: qup-uart2-rx-pins { - pins = "gpio39"; - function = "qup0_se2"; - }; - }; - - qup_uart3_default: qup-uart3-state { - qup_uart3_cts: qup-uart3-cts-pins { - pins = "gpio28"; - function = "qup0_se3"; - }; - - qup_uart3_rts: qup-uart3-rts-pins { - pins = "gpio29"; - function = "qup0_se3"; - }; - - qup_uart3_tx: qup-uart3-tx-pins { - pins = "gpio30"; - function = "qup0_se3"; - }; - - qup_uart3_rx: qup-uart3-rx-pins { - pins = "gpio31"; - function = "qup0_se3"; - }; - }; - - qup_uart4_default: qup-uart4-state { - qup_uart4_cts: qup-uart4-cts-pins { - pins = "gpio32"; - function = "qup0_se4"; - }; - - qup_uart4_rts: qup-uart4-rts-pins { - pins = "gpio33"; - function = "qup0_se4"; - }; - - qup_uart4_tx: qup-uart4-tx-pins { - pins = "gpio34"; - function = "qup0_se4"; - }; - - qup_uart4_rx: qup-uart4-rx-pins { - pins = "gpio35"; - function = "qup0_se4"; - }; - }; - - qup_uart5_default: qup-uart5-state { - qup_uart5_cts: qup-uart5-cts-pins { - pins = "gpio36"; - function = "qup0_se5"; - }; - - qup_uart5_rts: qup-uart5-rts-pins { - pins = "gpio37"; - function = "qup0_se5"; - }; - - qup_uart5_tx: qup-uart5-tx-pins { - pins = "gpio38"; - function = "qup0_se5"; - }; - - qup_uart5_rx: qup-uart5-rx-pins { - pins = "gpio39"; - function = "qup0_se5"; - }; - }; - - qup_uart7_default: qup-uart7-state { - qup_uart7_cts: qup-uart7-cts-pins { - pins = "gpio40"; - function = "qup1_se0"; - }; - - qup_uart7_rts: qup-uart7-rts-pins { - pins = "gpio41"; - function = "qup1_se0"; - }; - - qup_uart7_tx: qup-uart7-tx-pins { - pins = "gpio42"; - function = "qup1_se0"; - }; - - qup_uart7_rx: qup-uart7-rx-pins { - pins = "gpio43"; - function = "qup1_se0"; - }; - }; - - qup_uart8_default: qup-uart8-state { - qup_uart8_cts: qup-uart8-cts-pins { - pins = "gpio42"; - function = "qup1_se1"; - }; - - qup_uart8_rts: qup-uart8-rts-pins { - pins = "gpio43"; - function = "qup1_se1"; - }; - - qup_uart8_tx: qup-uart8-tx-pins { - pins = "gpio40"; - function = "qup1_se1"; - }; - - qup_uart8_rx: qup-uart8-rx-pins { - pins = "gpio41"; - function = "qup1_se1"; - }; - }; - - qup_uart9_default: qup-uart9-state { - qup_uart9_cts: qup-uart9-cts-pins { - pins = "gpio46"; - function = "qup1_se2"; - }; - - qup_uart9_rts: qup-uart9-rts-pins { - pins = "gpio47"; - function = "qup1_se2"; - }; - - qup_uart9_tx: qup-uart9-tx-pins { - pins = "gpio44"; - function = "qup1_se2"; - }; - - qup_uart9_rx: qup-uart9-rx-pins { - pins = "gpio45"; - function = "qup1_se2"; - }; - }; - - qup_uart10_default: qup-uart10-state { - pins = "gpio46", "gpio47"; - function = "qup1_se3"; - }; - - qup_uart11_default: qup-uart11-state { - qup_uart11_cts: qup-uart11-cts-pins { - pins = "gpio48"; - function = "qup1_se4"; - }; - - qup_uart11_rts: qup-uart11-rts-pins { - pins = "gpio49"; - function = "qup1_se4"; - }; - - qup_uart11_tx: qup-uart11-tx-pins { - pins = "gpio50"; - function = "qup1_se4"; - }; - - qup_uart11_rx: qup-uart11-rx-pins { - pins = "gpio51"; - function = "qup1_se4"; - }; - }; - - qup_uart12_default: qup-uart12-state { - qup_uart12_cts: qup-uart12-cts-pins { - pins = "gpio52"; - function = "qup1_se5"; - }; - - qup_uart12_rts: qup-uart12-rts-pins { - pins = "gpio53"; - function = "qup1_se5"; - }; - - qup_uart12_tx: qup-uart12-tx-pins { - pins = "gpio54"; - function = "qup1_se5"; - }; - - qup_uart12_rx: qup-uart12-rx-pins { - pins = "gpio55"; - function = "qup1_se5"; - }; - }; - - qup_uart14_default: qup-uart14-state { - qup_uart14_cts: qup-uart14-cts-pins { - pins = "gpio80"; - function = "qup2_se0"; - }; - - qup_uart14_rts: qup-uart14-rts-pins { - pins = "gpio81"; - function = "qup2_se0"; - }; - - qup_uart14_tx: qup-uart14-tx-pins { - pins = "gpio82"; - function = "qup2_se0"; - }; - - qup_uart14_rx: qup-uart14-rx-pins { - pins = "gpio83"; - function = "qup2_se0"; - }; - }; - - qup_uart15_default: qup-uart15-state { - qup_uart15_cts: qup-uart15-cts-pins { - pins = "gpio84"; - function = "qup2_se1"; - }; - - qup_uart15_rts: qup-uart15-rts-pins { - pins = "gpio85"; - function = "qup2_se1"; - }; - - qup_uart15_tx: qup-uart15-tx-pins { - pins = "gpio99"; - function = "qup2_se1"; - }; - - qup_uart15_rx: qup-uart15-rx-pins { - pins = "gpio100"; - function = "qup2_se1"; - }; - }; - - qup_uart16_default: qup-uart16-state { - qup_uart16_cts: qup-uart16-cts-pins { - pins = "gpio86"; - function = "qup2_se2"; - }; - - qup_uart16_rts: qup-uart16-rts-pins { - pins = "gpio87"; - function = "qup2_se2"; - }; - - qup_uart16_tx: qup-uart16-tx-pins { - pins = "gpio88"; - function = "qup2_se2"; - }; - - qup_uart16_rx: qup-uart16-rx-pins { - pins = "gpio89"; - function = "qup2_se2"; - }; - }; - - qup_uart17_default: qup-uart17-state { - qup_uart17_cts: qup-uart17-cts-pins { - pins = "gpio91"; - function = "qup2_se3"; - }; - - qup_uart17_rts: qup0-uart17-rts-pins { - pins = "gpio92"; - function = "qup2_se3"; - }; - - qup_uart17_tx: qup0-uart17-tx-pins { - pins = "gpio93"; - function = "qup2_se3"; - }; - - qup_uart17_rx: qup0-uart17-rx-pins { - pins = "gpio94"; - function = "qup2_se3"; - }; - }; - - qup_uart18_default: qup-uart18-state { - qup_uart18_cts: qup-uart18-cts-pins { - pins = "gpio95"; - function = "qup2_se4"; - }; - - qup_uart18_rts: qup-uart18-rts-pins { - pins = "gpio96"; - function = "qup2_se4"; - }; - - qup_uart18_tx: qup-uart18-tx-pins { - pins = "gpio97"; - function = "qup2_se4"; - }; - - qup_uart18_rx: qup-uart18-rx-pins { - pins = "gpio98"; - function = "qup2_se4"; - }; - }; - - qup_uart19_default: qup-uart19-state { - qup_uart19_cts: qup-uart19-cts-pins { - pins = "gpio99"; - function = "qup2_se5"; - }; - - qup_uart19_rts: qup-uart19-rts-pins { - pins = "gpio100"; - function = "qup2_se5"; - }; - - qup_uart19_tx: qup-uart19-tx-pins { - pins = "gpio84"; - function = "qup2_se5"; - }; - - qup_uart19_rx: qup-uart19-rx-pins { - pins = "gpio85"; - function = "qup2_se5"; - }; - }; - - qup_uart20_default: qup-uart20-state { - qup_uart20_cts: qup-uart20-cts-pins { - pins = "gpio97"; - function = "qup2_se6"; - }; - - qup_uart20_rts: qup-uart20-rts-pins { - pins = "gpio98"; - function = "qup2_se6"; - }; - - qup_uart20_tx: qup-uart20-tx-pins { - pins = "gpio95"; - function = "qup2_se6"; - }; - - qup_uart20_rx: qup-uart20-rx-pins { - pins = "gpio96"; - function = "qup2_se6"; - }; - }; - - qup_uart21_default: qup-uart21-state { - qup_uart21_cts: qup-uart21-cts-pins { - pins = "gpio13"; - function = "qup3_se0"; - }; - - qup_uart21_rts: qup-uart21-rts-pins { - pins = "gpio14"; - function = "qup3_se0"; - }; - - qup_uart21_tx: qup-uart21-tx-pins { - pins = "gpio15"; - function = "qup3_se0"; - }; - - qup_uart21_rx: qup-uart21-rx-pins { - pins = "gpio16"; - function = "qup3_se0"; - }; - }; - - sdc_default: sdc-default-state { - clk-pins { - pins = "sdc1_clk"; - drive-strength = <16>; - bias-disable; - }; - - cmd-pins { - pins = "sdc1_cmd"; - drive-strength = <10>; - bias-pull-up; - }; - - data-pins { - pins = "sdc1_data"; - drive-strength = <10>; - bias-pull-up; - }; - }; + }; - sdc_sleep: sdc-sleep-state { - clk-pins { - pins = "sdc1_clk"; - drive-strength = <2>; - bias-bus-hold; - }; + spmi_bus: spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0 0x0c440000 0x0 0x1100>, + <0x0 0x0c600000 0x0 0x2000000>, + <0x0 0x0e600000 0x0 0x100000>, + <0x0 0x0e700000 0x0 0xa0000>, + <0x0 0x0c40a000 0x0 0x26000>; + reg-names = "core", + "chnls", + "obsrvr", + "intr", + "cnfg"; + qcom,channel = <0>; + qcom,ee = <0>; + interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "periph_irq"; + interrupt-controller; + #interrupt-cells = <4>; + #address-cells = <2>; + #size-cells = <0>; + }; - cmd-pins { - pins = "sdc1_cmd"; - drive-strength = <2>; - bias-bus-hold; - }; + tlmm: pinctrl@f000000 { + compatible = "qcom,sa8775p-tlmm"; + reg = <0x0 0x0f000000 0x0 0x1000000>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-ranges = <&tlmm 0 0 149>; + wakeup-parent = <&pdc>; + gp_mn_active: gp_mn_active-state { + pins = "gpio35"; + function = "gp_mn"; + drive-strength = <2>; + bias-disable; + }; cci_async0_default: cci-async0-state { pins = "gpio70"; function = "cci_async"; @@ -6659,6 +3970,7 @@ drive-strength = <2>; bias-disable; }; + }; sram: sram@146d8000 { @@ -6669,6 +3981,10 @@ #address-cells = <1>; #size-cells = <1>; + minidump_config: minidump-sram@1c { + reg = <0x1c 0x4>; + }; + pil-reloc@94c { compatible = "qcom,pil-reloc-info"; reg = <0x94c 0xc8>; @@ -6901,11 +4217,6 @@ redistributor-stride = <0x0 0x20000>; }; - apsshm_shared_intu: syscon@17c00000 { - compatible = "qcom,sa8775p-apsshm-shared-intu", "syscon"; - reg = <0x0 0x17c00000 0x0 0x38>; - }; - watchdog@17c10000 { compatible = "qcom,apss-wdt-sa8775p", "qcom,kpss-wdt"; reg = <0x0 0x17c10000 0x0 0x1000>; @@ -6971,95 +4282,6 @@ }; }; - apps_rsc: rsc@18200000 { - compatible = "qcom,rpmh-rsc"; - reg = <0x0 0x18200000 0x0 0x10000>, - <0x0 0x18210000 0x0 0x10000>, - <0x0 0x18220000 0x0 0x10000>; - reg-names = "drv-0", "drv-1", "drv-2"; - interrupts = , - , - ; - qcom,tcs-offset = <0xd00>; - qcom,drv-id = <2>; - qcom,tcs-config = , - , - , - ; - label = "apps_rsc"; - power-domains = <&system_pd>; - - apps_bcm_voter: bcm-voter { - compatible = "qcom,bcm-voter"; - }; - - rpmhcc: clock-controller { - compatible = "qcom,sa8775p-rpmh-clk"; - #clock-cells = <1>; - clock-names = "xo"; - clocks = <&xo_board_clk>; - }; - - rpmhpd: power-controller { - compatible = "qcom,sa8775p-rpmhpd"; - #power-domain-cells = <1>; - operating-points-v2 = <&rpmhpd_opp_table>; - - rpmhpd_opp_table: opp-table { - compatible = "operating-points-v2"; - - rpmhpd_opp_ret: opp-0 { - opp-level = ; - }; - - rpmhpd_opp_min_svs: opp-1 { - opp-level = ; - }; - - rpmhpd_opp_low_svs: opp2 { - opp-level = ; - }; - - rpmhpd_opp_svs: opp3 { - opp-level = ; - }; - - rpmhpd_opp_svs_l1: opp-4 { - opp-level = ; - }; - - rpmhpd_opp_nom: opp-5 { - opp-level = ; - }; - - rpmhpd_opp_nom_l1: opp-6 { - opp-level = ; - }; - - rpmhpd_opp_nom_l2: opp-7 { - opp-level = ; - }; - - rpmhpd_opp_turbo: opp-8 { - opp-level = ; - }; - - rpmhpd_opp_turbo_l1: opp-9 { - opp-level = ; - }; - }; - }; - }; - - epss_l3_cl0: interconnect@18590000 { - compatible = "qcom,sa8775p-epss-l3", - "qcom,epss-l3"; - reg = <0x0 0x18590000 0x0 0x1000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; - clock-names = "xo", "alternate"; - #interconnect-cells = <1>; - }; - cpufreq_hw: cpufreq@18591000 { compatible = "qcom,sa8775p-cpufreq-epss", "qcom,cpufreq-epss"; @@ -7071,21 +4293,9 @@ ; interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1"; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; - clock-names = "xo", "alternate"; - #freq-domain-cells = <1>; }; - epss_l3_cl1: interconnect@18592000 { - compatible = "qcom,sa8775p-epss-l3", - "qcom,epss-l3"; - reg = <0x0 0x18592000 0x0 0x1000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; - clock-names = "xo", "alternate"; - #interconnect-cells = <1>; - }; - remoteproc_gpdsp0: remoteproc@20c00000 { compatible = "qcom,sa8775p-gpdsp0-pas"; reg = <0x0 0x20c00000 0x0 0x10000>; @@ -7098,16 +4308,6 @@ interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "xo"; - - power-domains = <&rpmhpd SA8775P_CX>, - <&rpmhpd SA8775P_MXC>; - power-domain-names = "cx", "mxc"; - - interconnects = <&gpdsp_anoc MASTER_DSP0 0 - &config_noc SLAVE_CLK_CTL 0>; - memory-region = <&pil_gdsp0_mem>; qcom,qmp = <&aoss_qmp>; @@ -7170,16 +4370,6 @@ interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "xo"; - - power-domains = <&rpmhpd SA8775P_CX>, - <&rpmhpd SA8775P_MXC>; - power-domain-names = "cx", "mxc"; - - interconnects = <&gpdsp_anoc MASTER_DSP1 0 - &config_noc SLAVE_CLK_CTL 0>; - memory-region = <&pil_gdsp1_mem>; qcom,qmp = <&aoss_qmp>; @@ -7235,24 +4425,6 @@ reg = <0x0 0x22000000 0x0 0x1000>; reg-names = "mdss"; - interconnects = <&mmss_noc MASTER_MDP_CORE1_0 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&mmss_noc MASTER_MDP_CORE1_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY - &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; - interconnect-names = "mdp0-mem", - "mdp1-mem", - "cpu-cfg"; - - resets = <&dispcc1 MDSS_DISP_CC_MDSS_CORE_BCR>; - - power-domains = <&dispcc1 MDSS_DISP_CC_MDSS_CORE_GDSC>; - - clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_DISP1_HF_AXI_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_MDP_CLK>; - interrupts = ; interrupt-controller; #interrupt-cells = <1>; @@ -7265,29 +4437,12 @@ status = "disabled"; - display-controller@22001000 { + mdss1_mdp: display-controller@22001000 { compatible = "qcom,sa8775p-dpu"; reg = <0x0 0x22001000 0x0 0x8f000>, <0x0 0x220b0000 0x0 0x3000>; reg-names = "mdp", "vbif"; - clocks = <&gcc GCC_DISP1_HF_AXI_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_MDP_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_VSYNC_CLK>; - clock-names = "nrt_bus", - "iface", - "lut", - "core", - "vsync"; - - assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_VSYNC_CLK>; - assigned-clock-rates = <19200000>; - - operating-points-v2 = <&mdss_mdp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - interrupt-parent = <&mdss1>; interrupts = <0>; @@ -7297,6 +4452,7 @@ port@0 { reg = <0>; + dpu1_intf0_out: endpoint { remote-endpoint = <&mdss1_dp0_in>; }; @@ -7304,6 +4460,7 @@ port@1 { reg = <1>; + dpu1_intf4_out: endpoint { remote-endpoint = <&mdss1_dp1_in>; }; @@ -7311,46 +4468,6 @@ }; }; - mdss1_dp0_phy: phy@220c2a00 { - compatible = "qcom,sa8775p-edp-phy"; - reg = <0x0 0x220c2a00 0x0 0x200>, - <0x0 0x220c2200 0x0 0xd0>, - <0x0 0x220c2600 0x0 0xd0>, - <0x0 0x220c2000 0x0 0x1c8>; - - clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_EDP_REF_CLKREF_EN>; - clock-names = "aux", - "cfg_ahb", - "ref"; - - #clock-cells = <1>; - #phy-cells = <0>; - - status = "disabled"; - }; - - mdss1_dp1_phy: phy@220c5a00 { - compatible = "qcom,sa8775p-edp-phy"; - reg = <0x0 0x220c5a00 0x0 0x200>, - <0x0 0x220c5200 0x0 0xd0>, - <0x0 0x220c5600 0x0 0xd0>, - <0x0 0x220c5000 0x0 0x1c8>; - - clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&gcc GCC_EDP_REF_CLKREF_EN>; - clock-names = "aux", - "cfg_ahb", - "ref"; - - #clock-cells = <1>; - #phy-cells = <0>; - - status = "disabled"; - }; - mdss1_dp0: displayport-controller@22154000 { compatible = "qcom,sa8775p-dp"; reg = <0x0 0x22154000 0x0 0x104>, @@ -7366,38 +4483,6 @@ interrupt-parent = <&mdss1>; interrupts = <12>; - clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>; - clock-names = "core_iface", - "core_aux", - "ctrl_link", - "ctrl_link_iface", - "stream_pixel", - "stream_1_pixel", - "stream_2_pixel", - "stream_3_pixel"; - assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>; - assigned-clock-parents = <&mdss1_dp0_phy 0>, - <&mdss1_dp0_phy 1>, - <&mdss1_dp0_phy 1>, - <&mdss1_dp0_phy 1>, - <&mdss1_dp0_phy 1>; - phys = <&mdss1_dp0_phy>; - phy-names = "dp"; - - operating-points-v2 = <&dp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #sound-dai-cells = <0>; status = "disabled"; @@ -7408,6 +4493,7 @@ port@0 { reg = <0>; + mdss1_dp0_in: endpoint { remote-endpoint = <&dpu1_intf0_out>; }; @@ -7415,6 +4501,7 @@ port@1 { reg = <1>; + mdss1_dp0_out: endpoint { }; }; }; @@ -7435,30 +4522,6 @@ interrupt-parent = <&mdss1>; interrupts = <13>; - clocks = <&dispcc1 MDSS_DISP_CC_MDSS_AHB_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_INTF_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK>; - clock-names = "core_iface", - "core_aux", - "ctrl_link", - "ctrl_link_iface", - "stream_pixel", - "stream_1_pixel"; - assigned-clocks = <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_LINK_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL0_CLK_SRC>, - <&dispcc1 MDSS_DISP_CC_MDSS_DPTX1_PIXEL1_CLK_SRC>; - assigned-clock-parents = <&mdss1_dp1_phy 0>, - <&mdss1_dp1_phy 1>, - <&mdss1_dp1_phy 1>; - phys = <&mdss1_dp1_phy>; - phy-names = "dp"; - - operating-points-v2 = <&dp_opp_table>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #sound-dai-cells = <0>; status = "disabled"; @@ -7469,6 +4532,7 @@ port@0 { reg = <0>; + mdss1_dp1_in: endpoint { remote-endpoint = <&dpu1_intf4_out>; }; @@ -7476,6 +4540,7 @@ port@1 { reg = <1>; + mdss1_dp1_out: endpoint { }; }; }; @@ -7483,22 +4548,6 @@ }; }; - dispcc1: clock-controller@22100000 { - compatible = "qcom,sa8775p-dispcc1"; - reg = <0x0 0x22100000 0x0 0x20000>; - clocks = <&gcc GCC_DISP_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>, - <&mdss1_dp0_phy 0>, <&mdss1_dp0_phy 1>, - <&mdss1_dp1_phy 0>, <&mdss1_dp1_phy 1>, - <0>, <0>, <0>, <0>; - power-domains = <&rpmhpd SA8775P_MMCX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - ethernet1: ethernet@23000000 { compatible = "qcom,sa8775p-ethqos"; reg = <0x0 0x23000000 0x0 0x10000>, @@ -7509,26 +4558,6 @@ ; interrupt-names = "macirq", "sfty"; - clocks = <&gcc GCC_EMAC1_AXI_CLK>, - <&gcc GCC_EMAC1_SLV_AHB_CLK>, - <&gcc GCC_EMAC1_PTP_CLK>, - <&gcc GCC_EMAC1_PHY_AUX_CLK>; - clock-names = "stmmaceth", - "pclk", - "ptp_ref", - "phyaux"; - - interconnects = <&aggre1_noc MASTER_EMAC_1 QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_EMAC1_CFG QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "mac-mem", "cpu-mac"; - - power-domains = <&gcc EMAC1_GDSC>; - - phys = <&serdes1>; - phy-names = "serdes"; - iommus = <&apps_smmu 0x140 0xf>; dma-coherent; @@ -7550,26 +4579,6 @@ ; interrupt-names = "macirq", "sfty"; - clocks = <&gcc GCC_EMAC0_AXI_CLK>, - <&gcc GCC_EMAC0_SLV_AHB_CLK>, - <&gcc GCC_EMAC0_PTP_CLK>, - <&gcc GCC_EMAC0_PHY_AUX_CLK>; - clock-names = "stmmaceth", - "pclk", - "ptp_ref", - "phyaux"; - - interconnects = <&aggre1_noc MASTER_EMAC QCOM_ICC_TAG_ALWAYS - &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, - <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS - &config_noc SLAVE_EMAC_CFG QCOM_ICC_TAG_ALWAYS>; - interconnect-names = "mac-mem", "cpu-mac"; - - power-domains = <&gcc EMAC0_GDSC>; - - phys = <&serdes0>; - phy-names = "serdes"; - iommus = <&apps_smmu 0x120 0xf>; dma-coherent; @@ -7581,13 +4590,6 @@ status = "disabled"; }; - nspa_noc: interconnect@260c0000 { - compatible = "qcom,sa8775p-nspa-noc"; - reg = <0x0 0x260c0000 0x0 0x16080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - remoteproc_cdsp0: remoteproc@26300000 { compatible = "qcom,sa8775p-cdsp0-pas"; reg = <0x0 0x26300000 0x0 0x10000>; @@ -7600,17 +4602,6 @@ interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "xo"; - - power-domains = <&rpmhpd SA8775P_CX>, - <&rpmhpd SA8775P_MXC>, - <&rpmhpd SA8775P_NSP0>; - power-domain-names = "cx", "mxc", "nsp"; - - interconnects = <&nspa_noc MASTER_CDSP_PROC 0 - &mc_virt SLAVE_EBI1 0>; - memory-region = <&pil_cdsp0_mem>; qcom,qmp = <&aoss_qmp>; @@ -7710,26 +4701,11 @@ }; }; }; - - cooling { - compatible = "qcom,qmi-cooling-cdsp"; - cdsp_sw0: cdsp_sw { - label = "cdsp_sw"; - #cooling-cells = <2>; - }; - }; - }; - - nspb_noc: interconnect@2a0c0000 { - compatible = "qcom,sa8775p-nspb-noc"; - reg = <0x0 0x2a0c0000 0x0 0x16080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; }; remoteproc_cdsp1: remoteproc@2a300000 { compatible = "qcom,sa8775p-cdsp1-pas"; - reg = <0x0 0x2A300000 0x0 0x10000>; + reg = <0x0 0x2a300000 0x0 0x10000>; interrupts-extended = <&intc GIC_SPI 798 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp1_in 0 IRQ_TYPE_EDGE_RISING>, @@ -7739,17 +4715,6 @@ interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "xo"; - - power-domains = <&rpmhpd SA8775P_CX>, - <&rpmhpd SA8775P_MXC>, - <&rpmhpd SA8775P_NSP1>; - power-domain-names = "cx", "mxc", "nsp"; - - interconnects = <&nspb_noc MASTER_CDSP_PROC_B 0 - &mc_virt SLAVE_EBI1 0>; - memory-region = <&pil_cdsp1_mem>; qcom,qmp = <&aoss_qmp>; @@ -7865,15 +4830,6 @@ }; }; }; - - - cooling { - compatible = "qcom,qmi-cooling-cdsp1"; - cdsp_sw1: cdsp_sw { - label = "cdsp_sw"; - #cooling-cells = <2>; - }; - }; }; remoteproc_adsp: remoteproc@30000000 { @@ -7888,15 +4844,6 @@ interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; - clocks = <&rpmhcc RPMH_CXO_CLK>; - clock-names = "xo"; - - power-domains = <&rpmhpd SA8775P_LCX>, - <&rpmhpd SA8775P_LMX>; - power-domain-names = "lcx", "lmx"; - - interconnects = <&lpass_ag_noc MASTER_LPASS_PROC 0 &mc_virt SLAVE_EBI1 0>; - memory-region = <&pil_adsp_mem>; qcom,qmp = <&aoss_qmp>; @@ -7906,7 +4853,7 @@ status = "disabled"; - remoteproc_adsp_glink: glink-edge { + glink-edge { interrupts-extended = <&ipcc IPCC_CLIENT_LPASS IPCC_MPROC_SIGNAL_GLINK_QMP IRQ_TYPE_EDGE_RISING>; @@ -8598,7 +5545,7 @@ thermal-sensors = <&tsens2 5>; trips { - nsp_0_0_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8610,14 +5557,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_0_0_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-0-1-0-thermal { @@ -8626,7 +5565,7 @@ thermal-sensors = <&tsens2 6>; trips { - nsp_0_1_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8638,14 +5577,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_1_0_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-0-2-0-thermal { @@ -8654,7 +5585,7 @@ thermal-sensors = <&tsens2 7>; trips { - nsp_0_2_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8666,14 +5597,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_2_0_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-0-0-thermal { @@ -8682,7 +5605,7 @@ thermal-sensors = <&tsens2 8>; trips { - nsp_1_0_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8694,14 +5617,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_0_0_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-1-0-thermal { @@ -8710,7 +5625,7 @@ thermal-sensors = <&tsens2 9>; trips { - nsp_1_1_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8722,14 +5637,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_1_0_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-2-0-thermal { @@ -8738,7 +5645,7 @@ thermal-sensors = <&tsens2 10>; trips { - nsp_1_2_0_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8750,14 +5657,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_2_0_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; ddrss-0-thermal { @@ -8900,7 +5799,7 @@ thermal-sensors = <&tsens3 5>; trips { - nsp_0_0_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8912,14 +5811,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_0_1_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-0-1-1-thermal { @@ -8928,7 +5819,7 @@ thermal-sensors = <&tsens3 6>; trips { - nsp_0_1_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8940,14 +5831,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_1_1_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-0-2-1-thermal { @@ -8956,7 +5839,7 @@ thermal-sensors = <&tsens3 7>; trips { - nsp_0_2_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8968,14 +5851,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_0_2_1_alert0>; - cooling-device = <&cdsp_sw0 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-0-1-thermal { @@ -8984,7 +5859,7 @@ thermal-sensors = <&tsens3 8>; trips { - nsp_1_0_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -8996,14 +5871,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_0_1_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-1-1-thermal { @@ -9012,7 +5879,7 @@ thermal-sensors = <&tsens3 9>; trips { - nsp_1_1_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -9024,14 +5891,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_1_1_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; nsp-1-2-1-thermal { @@ -9040,7 +5899,7 @@ thermal-sensors = <&tsens3 10>; trips { - nsp_1_2_1_alert0: trip-point0 { + trip-point0 { temperature = <105000>; hysteresis = <5000>; type = "passive"; @@ -9052,14 +5911,6 @@ type = "passive"; }; }; - - cooling-maps { - map0 { - trip = <&nsp_1_2_1_alert0>; - cooling-device = <&cdsp_sw1 - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; }; ddrss-1-thermal { @@ -9101,10 +5952,10 @@ arch_timer: timer { compatible = "arm,armv8-timer"; - interrupts = , - , - , - ; + interrupts = , + , + , + ; }; turing-llm-tpdm { @@ -9121,349 +5972,4 @@ }; }; }; - - pcie0: pcie@1c00000 { - compatible = "qcom,pcie-sa8775p"; - reg = <0x0 0x01c00000 0x0 0x3000>, - <0x0 0x40000000 0x0 0xf20>, - <0x0 0x40000f20 0x0 0xa8>, - <0x0 0x40001000 0x0 0x4000>, - <0x0 0x40100000 0x0 0x100000>, - <0x0 0x01c03000 0x0 0x1000>; - reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; - device_type = "pci"; - - #address-cells = <3>; - #size-cells = <2>; - ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, - <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; - bus-range = <0x00 0xff>; - - dma-coherent; - - linux,pci-domain = <0>; - num-lanes = <2>; - - interrupts = , - , - , - , - , - , - , - , - ; - interrupt-names = "msi0", - "msi1", - "msi2", - "msi3", - "msi4", - "msi5", - "msi6", - "msi7", - "global"; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0x7>; - interrupt-map = <0 0 0 1 &intc GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 2 &intc GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 3 &intc GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>; - - clocks = <&gcc GCC_PCIE_0_AUX_CLK>, - <&gcc GCC_PCIE_0_CFG_AHB_CLK>, - <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, - <&gcc GCC_PCIE_0_SLV_AXI_CLK>, - <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>; - - clock-names = "aux", - "cfg", - "bus_master", - "bus_slave", - "slave_q2a"; - - assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>; - assigned-clock-rates = <19200000>; - - interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; - interconnect-names = "pcie-mem", "cpu-pcie"; - - iommu-map = <0x0 &pcie_smmu 0x0000 0x1>, - <0x100 &pcie_smmu 0x0001 0x1>; - - resets = <&gcc GCC_PCIE_0_BCR>, - <&gcc GCC_PCIE_0_LINK_DOWN_BCR>; - reset-names = "pci", - "link_down"; - - power-domains = <&gcc PCIE_0_GDSC>; - - eq-presets-8gts = /bits/ 16 <0x5555 0x5555>; - eq-presets-16gts = /bits/ 8 <0x55 0x55>; - - status = "disabled"; - - pcieport0: pcie@0 { - compatible = "pciclass,0604"; - device_type = "pci"; - reg = <0x0 0x0 0x0 0x0 0x0>; - bus-range = <0x01 0xff>; - - phys = <&pcie0_phy>; - - #address-cells = <3>; - #size-cells = <2>; - ranges; - }; - }; - - pcie0_ep: pcie-ep@1c00000 { - compatible = "qcom,sa8775p-pcie-ep"; - reg = <0x0 0x01c00000 0x0 0x3000>, - <0x0 0x40000000 0x0 0xf20>, - <0x0 0x40000f20 0x0 0xa8>, - <0x0 0x40001000 0x0 0x4000>, - <0x0 0x40200000 0x0 0x1fe00000>, - <0x0 0x01c03000 0x0 0x1000>, - <0x0 0x40005000 0x0 0x2000>; - reg-names = "parf", "dbi", "elbi", "atu", "addr_space", - "mmio", "dma"; - - clocks = <&gcc GCC_PCIE_0_AUX_CLK>, - <&gcc GCC_PCIE_0_CFG_AHB_CLK>, - <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, - <&gcc GCC_PCIE_0_SLV_AXI_CLK>, - <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>; - - clock-names = "aux", - "cfg", - "bus_master", - "bus_slave", - "slave_q2a"; - - interrupts = , - , - ; - - interrupt-names = "global", "doorbell", "dma"; - - interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; - interconnect-names = "pcie-mem", "cpu-pcie"; - - dma-coherent; - iommus = <&pcie_smmu 0x0000 0x7f>; - resets = <&gcc GCC_PCIE_0_BCR>; - reset-names = "core"; - power-domains = <&gcc PCIE_0_GDSC>; - phys = <&pcie0_phy>; - phy-names = "pciephy"; - num-lanes = <2>; - linux,pci-domain = <0>; - - status = "disabled"; - }; - - pcie0_phy: phy@1c04000 { - compatible = "qcom,sa8775p-qmp-gen4x2-pcie-phy"; - reg = <0x0 0x1c04000 0x0 0x2000>; - - clocks = <&gcc GCC_PCIE_0_PHY_AUX_CLK>, - <&gcc GCC_PCIE_0_CFG_AHB_CLK>, - <&gcc GCC_PCIE_CLKREF_EN>, - <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>, - <&gcc GCC_PCIE_0_PIPE_CLK>, - <&gcc GCC_PCIE_0_PIPEDIV2_CLK>; - clock-names = "aux", - "cfg_ahb", - "ref", - "rchng", - "pipe", - "pipediv2"; - - assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>; - assigned-clock-rates = <100000000>; - - resets = <&gcc GCC_PCIE_0_PHY_BCR>; - reset-names = "phy"; - - #clock-cells = <0>; - clock-output-names = "pcie_0_pipe_clk"; - - #phy-cells = <0>; - - status = "disabled"; - }; - - pcie1: pcie@1c10000 { - compatible = "qcom,pcie-sa8775p"; - reg = <0x0 0x01c10000 0x0 0x3000>, - <0x0 0x60000000 0x0 0xf20>, - <0x0 0x60000f20 0x0 0xa8>, - <0x0 0x60001000 0x0 0x4000>, - <0x0 0x60100000 0x0 0x100000>, - <0x0 0x01c13000 0x0 0x1000>; - reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi"; - device_type = "pci"; - - #address-cells = <3>; - #size-cells = <2>; - ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x1fd00000>; - bus-range = <0x00 0xff>; - - dma-coherent; - - linux,pci-domain = <1>; - num-lanes = <4>; - - interrupts = , - , - , - , - , - , - , - , - ; - interrupt-names = "msi0", - "msi1", - "msi2", - "msi3", - "msi4", - "msi5", - "msi6", - "msi7", - "global"; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0x7>; - interrupt-map = <0 0 0 1 &intc GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 2 &intc GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 3 &intc GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 4 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; - - clocks = <&gcc GCC_PCIE_1_AUX_CLK>, - <&gcc GCC_PCIE_1_CFG_AHB_CLK>, - <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, - <&gcc GCC_PCIE_1_SLV_AXI_CLK>, - <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>; - - clock-names = "aux", - "cfg", - "bus_master", - "bus_slave", - "slave_q2a"; - - assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; - assigned-clock-rates = <19200000>; - - interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>; - interconnect-names = "pcie-mem", "cpu-pcie"; - - iommu-map = <0x0 &pcie_smmu 0x0080 0x1>, - <0x100 &pcie_smmu 0x0081 0x1>; - - resets = <&gcc GCC_PCIE_1_BCR>, - <&gcc GCC_PCIE_1_LINK_DOWN_BCR>; - reset-names = "pci", - "link_down"; - - power-domains = <&gcc PCIE_1_GDSC>; - - eq-presets-8gts = /bits/ 16 <0x5555 0x5555 0x5555 0x5555>; - eq-presets-16gts = /bits/ 8 <0x55 0x55 0x55 0x55>; - - status = "disabled"; - - pcie1_port0: pcie@0 { - device_type = "pci"; - reg = <0x0 0x0 0x0 0x0 0x0>; - bus-range = <0x01 0xff>; - - phys = <&pcie1_phy>; - - #address-cells = <3>; - #size-cells = <2>; - ranges; - }; - }; - - pcie1_ep: pcie-ep@1c10000 { - compatible = "qcom,sa8775p-pcie-ep"; - reg = <0x0 0x01c10000 0x0 0x3000>, - <0x0 0x60000000 0x0 0xf20>, - <0x0 0x60000f20 0x0 0xa8>, - <0x0 0x60001000 0x0 0x4000>, - <0x0 0x60200000 0x0 0x1fe00000>, - <0x0 0x01c13000 0x0 0x1000>, - <0x0 0x60005000 0x0 0x2000>; - reg-names = "parf", "dbi", "elbi", "atu", "addr_space", - "mmio", "dma"; - - clocks = <&gcc GCC_PCIE_1_AUX_CLK>, - <&gcc GCC_PCIE_1_CFG_AHB_CLK>, - <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, - <&gcc GCC_PCIE_1_SLV_AXI_CLK>, - <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>; - - clock-names = "aux", - "cfg", - "bus_master", - "bus_slave", - "slave_q2a"; - - interrupts = , - , - ; - - interrupt-names = "global", "doorbell", "dma"; - - interconnects = <&pcie_anoc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_1 0>; - interconnect-names = "pcie-mem", "cpu-pcie"; - - dma-coherent; - iommus = <&pcie_smmu 0x80 0x7f>; - resets = <&gcc GCC_PCIE_1_BCR>; - reset-names = "core"; - power-domains = <&gcc PCIE_1_GDSC>; - phys = <&pcie1_phy>; - phy-names = "pciephy"; - num-lanes = <4>; - linux,pci-domain = <1>; - - status = "disabled"; - }; - - pcie1_phy: phy@1c14000 { - compatible = "qcom,sa8775p-qmp-gen4x4-pcie-phy"; - reg = <0x0 0x1c14000 0x0 0x4000>; - - clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>, - <&gcc GCC_PCIE_1_CFG_AHB_CLK>, - <&gcc GCC_PCIE_CLKREF_EN>, - <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>, - <&gcc GCC_PCIE_1_PIPE_CLK>, - <&gcc GCC_PCIE_1_PIPEDIV2_CLK>; - clock-names = "aux", - "cfg_ahb", - "ref", - "rchng", - "pipe", - "pipediv2"; - - assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>; - assigned-clock-rates = <100000000>; - - resets = <&gcc GCC_PCIE_1_PHY_BCR>; - reset-names = "phy"; - - #clock-cells = <0>; - clock-output-names = "pcie_1_pipe_clk"; - - #phy-cells = <0>; - - status = "disabled"; - }; }; From 3c8c25f6efe31407c585391d5f6387930b4e97d5 Mon Sep 17 00:00:00 2001 From: Abhinaba Rakshit Date: Thu, 26 Nov 2026 04:00:08 +0530 Subject: [PATCH 09/21] FROMLIST: arm64: dts: qcom: lemans: Enable the Inline Crypto Engine for SDHC Add an ICE node to LeMans SoC description and enable it by adding a phandle to the SDHC node. Signed-off-by: Abhinaba Rakshit Link: https://lore.kernel.org/all/20261124-enable-ice-sdhc-for-lemans-v2-1-0bfa9ed6b4bb@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi index 0be39bb9de1e1..efddf9e7f883a 100644 --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi @@ -1647,6 +1647,8 @@ interconnect-names = "sdhc-ddr", "cpu-sdhc"; + qcom,ice = <&sdhc_ice>; + operating-points-v2 = <&sdhc_opp_table>; power-domains = <&rpmhpd SA8775P_CX>; resets = <&gcc GCC_SDCC1_BCR>; @@ -1849,6 +1851,33 @@ qcom,bcm-voters = <&apps_bcm_voter>; }; + sdhc_ice: crypto@87c8000 { + compatible = "qcom,sa8775p-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0x0 0x087c8000 0x0 0x18000>; + clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>, + <&gcc GCC_SDCC1_AHB_CLK>; + clock-names = "core", + "iface"; + power-domains = <&rpmhpd SA8775P_CX>; + + operating-points-v2 = <&sdhc_ice_opp_table>; + + sdhc_ice_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-150000000 { + opp-hz = /bits/ 64 <150000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + usb_0_hsphy: phy@88e4000 { compatible = "qcom,sa8775p-usb-hs-phy", "qcom,usb-snps-hs-5nm-phy"; From b936a119b8b4ba93b31beafaccfaf7499095c8a8 Mon Sep 17 00:00:00 2001 From: Abhinaba Rakshit Date: Thu, 26 Nov 2026 04:00:19 +0530 Subject: [PATCH 10/21] FROMLIST: arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node Qualcomm Inline Crypto Engine (ICE) platform driver now supports an optional OPP-table. Add OPP-table for ICE UFS device nodes for LeMans platform. Reviewed-by: Kuldeep Singh Reviewed-by: Abel Vesa Signed-off-by: Abhinaba Rakshit Link: https://lore.kernel.org/all/20261113-enable-ice-clock-scaling-v13-6-258dc817bd63@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi index efddf9e7f883a..4a7e3ebe9cd80 100644 --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi @@ -1842,6 +1842,32 @@ clock-names = "core", "iface"; power-domains = <&gcc UFS_PHY_GDSC>; + + operating-points-v2 = <&ice_opp_table>; + + ice_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-75000000 { + opp-hz = /bits/ 64 <75000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-150000000 { + opp-hz = /bits/ 64 <150000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; }; lpass_ag_noc: interconnect@3c40000 { From 74bf8540855205cd820cea40257d66d13c8d69aa Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 04:03:01 +0530 Subject: [PATCH 11/21] FROMLIST: Revert "Lemans Draco Evk board upstream (#1405)" Bring in the updated LeMans Draco EVK board support that is compatible with lemans-embedded.dtsi. The original board DTS targeted lemans.dtsi directly; it must be re-introduced using lemans-embedded.dtsi as the base for the Embedded variant after the platform resource migration. This reverts commit 2eeb940c993f, reversing changes made to b7019461a972. Link: https://lore.kernel.org/all/20261019-lemans-draco-final-changes-bringup-v1-2-dcabe94f1074@oss.qualcomm.com/ Signed-off-by: Gopikishan Thawre --- .../devicetree/bindings/arm/qcom.yaml | 1 - arch/arm64/boot/dts/qcom/Makefile | 5 - .../boot/dts/qcom/lemans-draco-evk-som.dtsi | 399 ----------- arch/arm64/boot/dts/qcom/lemans-draco-evk.dts | 654 ------------------ 4 files changed, 1059 deletions(-) delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi delete mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk.dts diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 5d1c203112a10..a44dd5dc7c998 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -913,7 +913,6 @@ properties: - items: - enum: - qcom,lemans-evk - - qcom,lemans-draco-evk - qcom,qcs9100-ride - qcom,qcs9100-ride-r3 - const: qcom,qcs9100 diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 2426c69053af4..c11bd00c3eeb7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -49,11 +49,6 @@ dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp453.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp454.dtb dtb-$(CONFIG_ARCH_QCOM) += kaanapali-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk.dtb -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk.dtb - -lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo - -dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-el2.dtb lemans-evk-emmc-dtbs := lemans-evk.dtb lemans-evk-emmc.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-emmc.dtb diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi b/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi deleted file mode 100644 index 33071a7bfe1be..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk-som.dtsi +++ /dev/null @@ -1,399 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -#include -#include -#include "lemans.dtsi" -#include "lemans-pmics.dtsi" - -/ { - aliases { - serial0 = &uart10; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&apps_rsc { - regulators-0 { - compatible = "qcom,pmm8654au-rpmh-regulators"; - qcom,pmic-id = "a"; - - vreg_s4a: smps4 { - regulator-name = "vreg_s4a"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1816000>; - regulator-initial-mode = ; - }; - - vreg_s5a: smps5 { - regulator-name = "vreg_s5a"; - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1996000>; - regulator-initial-mode = ; - }; - - vreg_s9a: smps9 { - regulator-name = "vreg_s9a"; - regulator-min-microvolt = <535000>; - regulator-max-microvolt = <1120000>; - regulator-initial-mode = ; - }; - - vreg_l4a: ldo4 { - regulator-name = "vreg_l4a"; - regulator-min-microvolt = <788000>; - regulator-max-microvolt = <1050000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l5a: ldo5 { - regulator-name = "vreg_l5a"; - regulator-min-microvolt = <870000>; - regulator-max-microvolt = <950000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l6a: ldo6 { - regulator-name = "vreg_l6a"; - regulator-min-microvolt = <870000>; - regulator-max-microvolt = <970000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l7a: ldo7 { - regulator-name = "vreg_l7a"; - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <950000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l8a: ldo8 { - regulator-name = "vreg_l8a"; - regulator-min-microvolt = <2504000>; - regulator-max-microvolt = <3300000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l9a: ldo9 { - regulator-name = "vreg_l9a"; - regulator-min-microvolt = <2970000>; - regulator-max-microvolt = <3544000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - }; - - regulators-1 { - compatible = "qcom,pmm8654au-rpmh-regulators"; - qcom,pmic-id = "c"; - - vreg_l1c: ldo1 { - regulator-name = "vreg_l1c"; - regulator-min-microvolt = <1140000>; - regulator-max-microvolt = <1260000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l2c: ldo2 { - regulator-name = "vreg_l2c"; - regulator-min-microvolt = <900000>; - regulator-max-microvolt = <1100000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l3c: ldo3 { - regulator-name = "vreg_l3c"; - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1300000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l4c: ldo4 { - regulator-name = "vreg_l4c"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l5c: ldo5 { - regulator-name = "vreg_l5c"; - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1300000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l6c: ldo6 { - regulator-name = "vreg_l6c"; - regulator-min-microvolt = <1620000>; - regulator-max-microvolt = <1980000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l7c: ldo7 { - regulator-name = "vreg_l7c"; - regulator-min-microvolt = <1620000>; - regulator-max-microvolt = <2000000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l8c: ldo8 { - regulator-name = "vreg_l8c"; - regulator-min-microvolt = <2400000>; - regulator-max-microvolt = <3300000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l9c: ldo9 { - regulator-name = "vreg_l9c"; - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <2700000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - }; - - regulators-2 { - compatible = "qcom,pmm8654au-rpmh-regulators"; - qcom,pmic-id = "e"; - - vreg_s4e: smps4 { - regulator-name = "vreg_s4e"; - regulator-min-microvolt = <970000>; - regulator-max-microvolt = <1520000>; - regulator-initial-mode = ; - }; - - vreg_s7e: smps7 { - regulator-name = "vreg_s7e"; - regulator-min-microvolt = <1010000>; - regulator-max-microvolt = <1170000>; - regulator-initial-mode = ; - }; - - vreg_s9e: smps9 { - regulator-name = "vreg_s9e"; - regulator-min-microvolt = <300000>; - regulator-max-microvolt = <570000>; - regulator-initial-mode = ; - }; - - vreg_l6e: ldo6 { - regulator-name = "vreg_l6e"; - regulator-min-microvolt = <1280000>; - regulator-max-microvolt = <1450000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - - vreg_l8e: ldo8 { - regulator-name = "vreg_l8e"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1950000>; - regulator-initial-mode = ; - regulator-allow-set-load; - regulator-allowed-modes = ; - }; - }; -}; - -&gpu { - status = "okay"; -}; - -&gpu_zap_shader { - firmware-name = "qcom/sa8775p/a663_zap.mbn"; -}; - -&iris { - firmware-name = "qcom/vpu/vpu30_p4_s6_16mb.mbn"; - - status = "okay"; -}; - -&pmm8654au_0_pon_resin { - linux,code = ; - - status = "okay"; -}; - -&qupv3_id_0 { - firmware-name = "qcom/sa8775p/qupv3fw.elf"; - - status = "okay"; -}; - -&qupv3_id_1 { - firmware-name = "qcom/sa8775p/qupv3fw.elf"; - - status = "okay"; -}; - -&qupv3_id_2 { - firmware-name = "qcom/sa8775p/qupv3fw.elf"; - - status = "okay"; -}; - -&remoteproc_adsp { - firmware-name = "qcom/sa8775p/adsp.mbn"; - - status = "okay"; -}; - -&remoteproc_cdsp0 { - firmware-name = "qcom/sa8775p/cdsp0.mbn"; - - status = "okay"; -}; - -&remoteproc_cdsp1 { - firmware-name = "qcom/sa8775p/cdsp1.mbn"; - - status = "okay"; -}; - -&remoteproc_gpdsp0 { - firmware-name = "qcom/sa8775p/gpdsp0.mbn"; - - status = "okay"; -}; - -&remoteproc_gpdsp1 { - firmware-name = "qcom/sa8775p/gpdsp1.mbn"; - - status = "okay"; -}; - -&sleep_clk { - clock-frequency = <32768>; -}; - -&uart10 { - compatible = "qcom,geni-debug-uart"; - pinctrl-0 = <&qup_uart10_default>; - pinctrl-names = "default"; - - status = "okay"; -}; - -&ufs_mem_hc { - reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; - vcc-supply = <&vreg_l8a>; - vcc-max-microamp = <1100000>; - vccq-supply = <&vreg_l4c>; - vccq-max-microamp = <1200000>; - - status = "okay"; -}; - -&ufs_mem_phy { - vdda-phy-supply = <&vreg_l4a>; - vdda-pll-supply = <&vreg_l1c>; - - status = "okay"; -}; - -&usb_0 { - status = "okay"; -}; - -&usb_0_hsphy { - vdda-pll-supply = <&vreg_l7a>; - vdda18-supply = <&vreg_l6c>; - vdda33-supply = <&vreg_l9a>; - - status = "okay"; -}; - -&usb_0_qmpphy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l7a>; - - status = "okay"; -}; - -&usb_1 { - status = "okay"; -}; - -&usb_1_hsphy { - vdda-pll-supply = <&vreg_l7a>; - vdda18-supply = <&vreg_l6c>; - vdda33-supply = <&vreg_l9a>; - - status = "okay"; -}; - -&usb_1_qmpphy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l7a>; - - status = "okay"; -}; - -&usb_2 { - status = "okay"; -}; - -&usb_2_hsphy { - vdda-pll-supply = <&vreg_l7a>; - vdda18-supply = <&vreg_l6c>; - vdda33-supply = <&vreg_l9a>; - - status = "okay"; -}; - -&xo_board_clk { - clock-frequency = <38400000>; -}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts deleted file mode 100644 index cfbf85cae89d6..0000000000000 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts +++ /dev/null @@ -1,654 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ -/dts-v1/; - -#include -#include -#include "lemans-draco-evk-som.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. Lemans Draco EVK"; - compatible = "qcom,lemans-draco-evk", "qcom,qcs9100", - "qcom,sa8775p"; - chassis-type = "embedded"; - - aliases { - ethernet0 = ðernet0; - ethernet1 = ðernet1; - }; - - dp0-connector { - compatible = "dp-connector"; - label = "DP0"; - type = "full-size"; - - dp-pwr-supply = <&vreg_dp0_pwr>; - - port { - dp0_connector_in: endpoint { - remote-endpoint = <&mdss0_dp0_out>; - }; - }; - }; - - dp1-connector { - compatible = "dp-connector"; - label = "DP1"; - type = "full-size"; - - dp-pwr-supply = <&vreg_dp1_pwr>; - - port { - dp1_connector_in: endpoint { - remote-endpoint = <&mdss0_dp1_out>; - }; - }; - }; - - dp2-connector { - compatible = "dp-connector"; - label = "DP2"; - type = "full-size"; - - dp-pwr-supply = <&vreg_dp2_pwr>; - - port { - dp2_connector_in: endpoint { - remote-endpoint = <&mdss1_dp0_out>; - }; - }; - }; - - dp3-connector { - compatible = "dp-connector"; - label = "DP3"; - type = "full-size"; - - dp-pwr-supply = <&vreg_dp3_pwr>; - - port { - dp3_connector_in: endpoint { - remote-endpoint = <&mdss1_dp1_out>; - }; - }; - }; - - vreg_dp0_pwr: regulator-dp0-pwr { - compatible = "regulator-fixed"; - regulator-name = "VREG_DP0_PWR_3P3"; - - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&expander1 7 GPIO_ACTIVE_HIGH>; - }; - - vreg_dp1_pwr: regulator-dp1-pwr { - compatible = "regulator-fixed"; - regulator-name = "VREG_DP1_PWR_3P3"; - - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&expander1 8 GPIO_ACTIVE_HIGH>; - }; - - vreg_dp2_pwr: regulator-dp2-pwr { - compatible = "regulator-fixed"; - regulator-name = "VREG_DP2_PWR_3P3"; - - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&expander1 9 GPIO_ACTIVE_HIGH>; - }; - - vreg_dp3_pwr: regulator-dp3-pwr { - compatible = "regulator-fixed"; - regulator-name = "VREG_DP3_PWR_3P3"; - - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&expander1 10 GPIO_ACTIVE_HIGH>; - }; -}; - -ðernet0 { - phy-handle = <&hsgmii_phy0>; - phy-mode = "2500base-x"; - - pinctrl-0 = <ðernet0_default>; - pinctrl-names = "default"; - - snps,mtl-rx-config = <&mtl_rx_setup>; - snps,mtl-tx-config = <&mtl_tx_setup>; - - nvmem-cells = <&mac_addr0>; - nvmem-cell-names = "mac-address"; - - status = "okay"; - - mdio { - compatible = "snps,dwmac-mdio"; - #address-cells = <1>; - #size-cells = <0>; - - hsgmii_phy0: ethernet-phy@1c { - compatible = "ethernet-phy-id004d.d101"; - reg = <0x1c>; - reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; - reset-assert-us = <11000>; - reset-deassert-us = <70000>; - }; - }; - - mtl_rx_setup: rx-queues-config { - snps,rx-queues-to-use = <4>; - snps,rx-sched-sp; - - queue0 { - snps,dcb-algorithm; - snps,map-to-dma-channel = <0x0>; - snps,route-up; - snps,priority = <0x1>; - }; - - queue1 { - snps,dcb-algorithm; - snps,map-to-dma-channel = <0x1>; - snps,route-ptp; - }; - - queue2 { - snps,avb-algorithm; - snps,map-to-dma-channel = <0x2>; - snps,route-avcp; - }; - - queue3 { - snps,avb-algorithm; - snps,map-to-dma-channel = <0x3>; - snps,priority = <0xc>; - }; - }; - - mtl_tx_setup: tx-queues-config { - snps,tx-queues-to-use = <4>; - - queue0 { - snps,dcb-algorithm; - }; - - queue1 { - snps,dcb-algorithm; - }; - - queue2 { - snps,avb-algorithm; - snps,send_slope = <0x1000>; - snps,idle_slope = <0x1000>; - snps,high_credit = <0x3e800>; - snps,low_credit = <0xffc18000>; - }; - - queue3 { - snps,avb-algorithm; - snps,send_slope = <0x1000>; - snps,idle_slope = <0x1000>; - snps,high_credit = <0x3e800>; - snps,low_credit = <0xffc18000>; - }; - }; -}; - -ðernet1 { - phy-handle = <&hsgmii_phy1>; - phy-mode = "2500base-x"; - - pinctrl-0 = <ðernet1_default>; - pinctrl-names = "default"; - - snps,mtl-rx-config = <&mtl_rx_setup1>; - snps,mtl-tx-config = <&mtl_tx_setup1>; - - nvmem-cells = <&mac_addr1>; - nvmem-cell-names = "mac-address"; - - status = "okay"; - - mdio { - compatible = "snps,dwmac-mdio"; - #address-cells = <1>; - #size-cells = <0>; - - hsgmii_phy1: ethernet-phy@1c { - compatible = "ethernet-phy-id004d.d101"; - reg = <0x1c>; - reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>; - reset-assert-us = <11000>; - reset-deassert-us = <70000>; - }; - }; - - mtl_rx_setup1: rx-queues-config { - snps,rx-queues-to-use = <4>; - snps,rx-sched-sp; - - queue0 { - snps,dcb-algorithm; - snps,map-to-dma-channel = <0x0>; - snps,route-up; - snps,priority = <0x1>; - }; - - queue1 { - snps,dcb-algorithm; - snps,map-to-dma-channel = <0x1>; - snps,route-ptp; - }; - - queue2 { - snps,avb-algorithm; - snps,map-to-dma-channel = <0x2>; - snps,route-avcp; - }; - - queue3 { - snps,avb-algorithm; - snps,map-to-dma-channel = <0x3>; - snps,priority = <0xc>; - }; - }; - - mtl_tx_setup1: tx-queues-config { - snps,tx-queues-to-use = <4>; - - queue0 { - snps,dcb-algorithm; - }; - - queue1 { - snps,dcb-algorithm; - }; - - queue2 { - snps,avb-algorithm; - snps,send_slope = <0x1000>; - snps,idle_slope = <0x1000>; - snps,high_credit = <0x3e800>; - snps,low_credit = <0xffc18000>; - }; - - queue3 { - snps,avb-algorithm; - snps,send_slope = <0x1000>; - snps,idle_slope = <0x1000>; - snps,high_credit = <0x3e800>; - snps,low_credit = <0xffc18000>; - }; - }; -}; - -&i2c2 { - status = "okay"; - - expander0: gpio@20 { - compatible = "ti,tca6416"; - reg = <0x20>; - #gpio-cells = <2>; - gpio-controller; - }; - - expander1: gpio@21 { - compatible = "ti,tca6416"; - reg = <0x21>; - #gpio-cells = <2>; - gpio-controller; - }; - - expander2: gpio@22 { - compatible = "ti,tca6416"; - reg = <0x22>; - #gpio-cells = <2>; - gpio-controller; - }; - - expander3: gpio@23 { - compatible = "ti,tca6416"; - reg = <0x23>; - #gpio-cells = <2>; - gpio-controller; - }; - - expander4: gpio@38 { - compatible = "nxp,pca9534"; - reg = <0x38>; - #gpio-cells = <2>; - gpio-controller; - }; -}; - -&i2c4 { - status = "okay"; - - fan_controller: fan@1a { - compatible = "ti,amc6821"; - reg = <0x1a>; - #pwm-cells = <2>; - - fan { - pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>; - }; - }; -}; - -&i2c11 { - clock-frequency = <100000>; - status = "okay"; - - i2c-mux@70 { - compatible = "nxp,pca9546"; - reg = <0x70>; - #address-cells = <1>; - #size-cells = <0>; - - i2c@3 { - reg = <3>; - #address-cells = <1>; - #size-cells = <0>; - - typec@40 { - compatible = "cypress,cypd6229", "cypress,cypd6129"; - reg = <0x40>; - interrupts-extended = <&pmm8654au_2_gpios 5 IRQ_TYPE_LEVEL_LOW>; - pinctrl-0 = <&usb0_intr_state>; - pinctrl-names = "default"; - wakeup-source; - - #address-cells = <1>; - #size-cells = <0>; - - connector@0 { - compatible = "usb-c-connector"; - reg = <0>; - label = "USB0-Type-C"; - data-role = "dual"; - power-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - ucsi_ccg_port0_hs: endpoint { - remote-endpoint = <&usb_0_dwc3_hs>; - }; - }; - - port@1 { - reg = <1>; - ucsi_ccg_port0_ss: endpoint { - remote-endpoint = <&usb_0_dwc3_ss>; - }; - }; - }; - }; - - connector@1 { - compatible = "usb-c-connector"; - reg = <1>; - label = "USB1-Type-C"; - data-role = "dual"; - power-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - ucsi_ccg_port1_hs: endpoint { - remote-endpoint = <&usb_1_dwc3_hs>; - }; - }; - - port@1 { - reg = <1>; - ucsi_ccg_port1_ss: endpoint { - remote-endpoint = <&usb_1_dwc3_ss>; - }; - }; - }; - }; - }; - }; - }; -}; - -&i2c18 { - status = "okay"; - - expander5: gpio@3c { - compatible = "nxp,pca9534"; - reg = <0x3c>; - #gpio-cells = <2>; - gpio-controller; - }; - - eeprom@50 { - compatible = "giantec,gt24c256c", "atmel,24c256"; - reg = <0x50>; - pagesize = <64>; - - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; - - mac_addr0: mac-addr@0 { - reg = <0x0 0x6>; - }; - - mac_addr1: mac-addr@6 { - reg = <0x6 0x6>; - }; - }; - }; -}; - -&mdss0 { - status = "okay"; -}; - -&mdss0_dp0 { - pinctrl-0 = <&dp0_hot_plug_det>; - pinctrl-names = "default"; - - status = "okay"; -}; - -&mdss0_dp0_out { - data-lanes = <0 1 2 3>; - link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; - - remote-endpoint = <&dp0_connector_in>; -}; - -&mdss0_dp0_phy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l4a>; - - status = "okay"; -}; - -&mdss0_dp1 { - pinctrl-0 = <&dp1_hot_plug_det>; - pinctrl-names = "default"; - - status = "okay"; -}; - -&mdss0_dp1_out { - data-lanes = <0 1 2 3>; - link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; - - remote-endpoint = <&dp1_connector_in>; -}; - -&mdss0_dp1_phy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l4a>; - - status = "okay"; -}; - -&mdss1 { - status = "okay"; -}; - -&mdss1_dp0 { - pinctrl-0 = <&dp2_hot_plug_det>; - pinctrl-names = "default"; - - status = "okay"; -}; - -&mdss1_dp0_out { - data-lanes = <0 1 2 3>; - link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; - - remote-endpoint = <&dp2_connector_in>; -}; - -&mdss1_dp0_phy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l4a>; - - status = "okay"; -}; - -&mdss1_dp1 { - pinctrl-0 = <&dp3_hot_plug_det>; - pinctrl-names = "default"; - - status = "okay"; -}; - -&mdss1_dp1_out { - data-lanes = <0 1 2 3>; - link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; - - remote-endpoint = <&dp3_connector_in>; -}; - -&mdss1_dp1_phy { - vdda-phy-supply = <&vreg_l1c>; - vdda-pll-supply = <&vreg_l4a>; - - status = "okay"; -}; - -&pmm8654au_2_gpios { - usb0_intr_state: usb0-intr-state { - pins = "gpio5"; - function = "normal"; - input-enable; - bias-pull-up; - power-source = <0>; - }; -}; - -&qup_i2c4_default { - drive-strength = <6>; - bias-pull-up; -}; - -&serdes0 { - phy-supply = <&vreg_l5a>; - - status = "okay"; -}; - -&serdes1 { - phy-supply = <&vreg_l5a>; - - status = "okay"; -}; - -&spi16 { - status = "okay"; - - tpm@0 { - compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi"; - reg = <0>; - spi-max-frequency = <20000000>; - }; -}; - -&tlmm { - - dp2_hot_plug_det: dp2-hot-plug-det-state { - pins = "gpio104"; - function = "edp2_hot"; - bias-disable; - }; - - dp3_hot_plug_det: dp3-hot-plug-det-state { - pins = "gpio103"; - function = "edp3_hot"; - bias-disable; - }; - - ethernet0_default: ethernet0-default-state { - ethernet0-mdc-pins { - pins = "gpio8"; - function = "emac0_mdc"; - drive-strength = <16>; - bias-pull-up; - }; - - ethernet0-mdio-pins { - pins = "gpio9"; - function = "emac0_mdio"; - drive-strength = <16>; - bias-pull-up; - }; - }; - - ethernet1_default: ethernet1-default-state { - ethernet1-mdc-pins { - pins = "gpio20"; - function = "emac1_mdc"; - drive-strength = <16>; - bias-pull-up; - }; - - ethernet1-mdio-pins { - pins = "gpio21"; - function = "emac1_mdio"; - drive-strength = <16>; - bias-pull-up; - }; - }; - -}; - -&usb_0_dwc3_hs { - remote-endpoint = <&ucsi_ccg_port0_hs>; -}; - -&usb_0_dwc3_ss { - remote-endpoint = <&ucsi_ccg_port0_ss>; -}; - -&usb_1_dwc3_hs { - remote-endpoint = <&ucsi_ccg_port1_hs>; -}; - -&usb_1_dwc3_ss { - remote-endpoint = <&ucsi_ccg_port1_ss>; -}; From 9c2f805957d7f4c82847a660cb2c352274f6c683 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 04:03:37 +0530 Subject: [PATCH 12/21] FROMLIST: dt-bindings: arm: qcom: Add LeMans Draco EVK board Add compatible strings for the LeMans Draco EVK, an evaluation board based on the SA8775P/QCS9100 SoC family. The platform uses a two-board design: the LeMans Draco SoM carrying the SA8775P/QCS9100 SoC and core connectivity, paired with the Draco carrier board providing application-specific peripherals. Add two compatibles to model this hierarchy: - qcom,lemans-draco-som: identifies the SoM layer, allowing the SoM device tree to be shared with a common carrier board. - qcom,lemans-draco-evk: identifies the complete board (SoM + Draco carrier), used in the board DTS. Signed-off-by: Gopikishan Thawre Link: https://lore.kernel.org/all/20261123-lemans-draco-final-changes-bringup-v4-1-dbfc15cd0883@oss.qualcomm.com/ --- Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index a44dd5dc7c998..9b7cd448d78a8 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -368,6 +368,13 @@ properties: - qcom,qru1000-idp - const: qcom,qru1000 + - items: + - enum: + - qcom,lemans-draco-evk + - const: qcom,lemans-draco-som + - const: qcom,qcs9100 + - const: qcom,sa8775p + - description: Qualcomm AR2 Gen1 platform items: - enum: From ca8a966443f1ffb6b7a762a53d4d9a2e701f6b18 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 04:03:52 +0530 Subject: [PATCH 13/21] FROMLIST: arm64: dts: qcom: lemans: Add LeMans Draco EVK SoM platform Introduce the device tree for the SA8775P/QCS9100-based LeMans Draco EVK SoM. The LeMans Draco SoM is a compact compute module integrating the SA8775P SoC, three PMM8654AU PMICs, and essential connectivity, designed to mount on carrier boards. The initial SoM device tree includes basic support for: - RPMH regulators for three PMM8654AU PMICs - QUP firmware paths (qupv3_id_0/1/2) - Remoteproc instances (ADSP, CDSP0/1, GPDSP0/1) with firmware paths - Debug UART (uart10) and board clocks - UFS storage - USB 0, USB 1 (host mode) and USB 2 with HSPHY and QMP PHY supplies - GPU (Adreno 663) with ZAP shader firmware - Video processing unit (iris) The SoM device tree includes lemans-embedded.dtsi rather than lemans.dtsi directly, as platform resources (clocks, regulators, interconnects, PHYs and pinctrls) were moved from lemans.dtsi into lemans-embedded.dtsi to allow lemans.dtsi to serve the GearVM variant [1]. [1] https://lore.kernel.org/all/20261031131042.1200862-4-shengchao.guo@oss.qualcomm.com/ Co-developed-by: Kishor Buchi Signed-off-by: Kishor Buchi Link: https://lore.kernel.org/all/20261123-lemans-draco-final-changes-bringup-v4-2-dbfc15cd0883@oss.qualcomm.com/ Signed-off-by: Gopikishan Thawre --- .../arm64/boot/dts/qcom/lemans-draco-som.dtsi | 421 ++++++++++++++++++ 1 file changed, 421 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi new file mode 100644 index 0000000000000..e265ec1f6ab47 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi @@ -0,0 +1,421 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#include +#include +#include "lemans-embedded.dtsi" +#include "lemans-pmics.dtsi" + +/ { + aliases { + serial0 = &uart10; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&apps_rsc { + regulators-0 { + compatible = "qcom,pmm8654au-rpmh-regulators"; + qcom,pmic-id = "a"; + + vreg_s4a: smps4 { + regulator-name = "vreg_s4a"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1816000>; + regulator-initial-mode = ; + }; + + vreg_s5a: smps5 { + regulator-name = "vreg_s5a"; + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <1996000>; + regulator-initial-mode = ; + }; + + vreg_s9a: smps9 { + regulator-name = "vreg_s9a"; + regulator-min-microvolt = <535000>; + regulator-max-microvolt = <1120000>; + regulator-initial-mode = ; + }; + + vreg_l4a: ldo4 { + regulator-name = "vreg_l4a"; + regulator-min-microvolt = <788000>; + regulator-max-microvolt = <1050000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l5a: ldo5 { + regulator-name = "vreg_l5a"; + regulator-min-microvolt = <870000>; + regulator-max-microvolt = <950000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l6a: ldo6 { + regulator-name = "vreg_l6a"; + regulator-min-microvolt = <870000>; + regulator-max-microvolt = <970000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l7a: ldo7 { + regulator-name = "vreg_l7a"; + regulator-min-microvolt = <720000>; + regulator-max-microvolt = <950000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l8a: ldo8 { + regulator-name = "vreg_l8a"; + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l9a: ldo9 { + regulator-name = "vreg_l9a"; + regulator-min-microvolt = <2970000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-1 { + compatible = "qcom,pmm8654au-rpmh-regulators"; + qcom,pmic-id = "c"; + + vreg_l1c: ldo1 { + regulator-name = "vreg_l1c"; + regulator-min-microvolt = <1140000>; + regulator-max-microvolt = <1260000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l2c: ldo2 { + regulator-name = "vreg_l2c"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1100000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l3c: ldo3 { + regulator-name = "vreg_l3c"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l4c: ldo4 { + regulator-name = "vreg_l4c"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l5c: ldo5 { + regulator-name = "vreg_l5c"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l6c: ldo6 { + regulator-name = "vreg_l6c"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l7c: ldo7 { + regulator-name = "vreg_l7c"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l8c: ldo8 { + regulator-name = "vreg_l8c"; + regulator-min-microvolt = <2400000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l9c: ldo9 { + regulator-name = "vreg_l9c"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <2700000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; + + regulators-2 { + compatible = "qcom,pmm8654au-rpmh-regulators"; + qcom,pmic-id = "e"; + + vreg_s4e: smps4 { + regulator-name = "vreg_s4e"; + regulator-min-microvolt = <970000>; + regulator-max-microvolt = <1520000>; + regulator-initial-mode = ; + }; + + vreg_s7e: smps7 { + regulator-name = "vreg_s7e"; + regulator-min-microvolt = <1010000>; + regulator-max-microvolt = <1170000>; + regulator-initial-mode = ; + }; + + vreg_s9e: smps9 { + regulator-name = "vreg_s9e"; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <570000>; + regulator-initial-mode = ; + }; + + vreg_l6e: ldo6 { + regulator-name = "vreg_l6e"; + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <1450000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l8e: ldo8 { + regulator-name = "vreg_l8e"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1950000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + }; +}; + +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/sa8775p/a663_zap.mbn"; +}; + +&iris { + firmware-name = "qcom/vpu/vpu30_p4_s6_16mb.mbn"; + + status = "okay"; +}; + +&pmm8654au_0_pon_resin { + linux,code = ; + + status = "okay"; +}; + +&qupv3_id_0 { + firmware-name = "qcom/sa8775p/qupv3fw.elf"; + + status = "okay"; +}; + +&qupv3_id_1 { + firmware-name = "qcom/sa8775p/qupv3fw.elf"; + + status = "okay"; +}; + +&qupv3_id_2 { + firmware-name = "qcom/sa8775p/qupv3fw.elf"; + + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/sa8775p/adsp.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp0 { + firmware-name = "qcom/sa8775p/cdsp0.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp1 { + firmware-name = "qcom/sa8775p/cdsp1.mbn"; + + status = "okay"; +}; + +&remoteproc_gpdsp0 { + firmware-name = "qcom/sa8775p/gpdsp0.mbn"; + + status = "okay"; +}; + +&remoteproc_gpdsp1 { + firmware-name = "qcom/sa8775p/gpdsp1.mbn"; + + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32768>; +}; + +&uart10 { + compatible = "qcom,geni-debug-uart"; + pinctrl-0 = <&qup_uart10_default>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&ufs_mem_hc { + reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l8a>; + vcc-max-microamp = <1100000>; + vccq-supply = <&vreg_l4c>; + vccq-max-microamp = <1200000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l4a>; + vdda-pll-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&usb_0 { + status = "okay"; +}; + +&usb_0_hsphy { + vdda-pll-supply = <&vreg_l7a>; + vdda18-supply = <&vreg_l6c>; + vdda33-supply = <&vreg_l9a>; + + status = "okay"; +}; + +&usb_0_qmpphy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l7a>; + + status = "okay"; +}; + +&usb_1 { + dr_mode = "host"; + + status = "okay"; +}; + +&usb_1_hsphy { + vdda-pll-supply = <&vreg_l7a>; + vdda18-supply = <&vreg_l6c>; + vdda33-supply = <&vreg_l9a>; + + status = "okay"; +}; + +&usb_1_qmpphy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l7a>; + + status = "okay"; +}; + +&usb_2 { + status = "okay"; +}; + +&usb_2_hsphy { + vdda-pll-supply = <&vreg_l7a>; + vdda18-supply = <&vreg_l6c>; + vdda33-supply = <&vreg_l9a>; + + status = "okay"; +}; + +&mdss0_dp0_phy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l4a>; +}; + +&mdss0_dp1_phy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l4a>; +}; + +&mdss1_dp0_phy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l4a>; +}; + +&mdss1_dp1_phy { + vdda-phy-supply = <&vreg_l1c>; + vdda-pll-supply = <&vreg_l4a>; +}; + +&xo_board_clk { + clock-frequency = <38400000>; +}; From 6504361d5428a91ff11faad39e80d91538296037 Mon Sep 17 00:00:00 2001 From: Gopikishan Thawre Date: Thu, 26 Nov 2026 04:04:30 +0530 Subject: [PATCH 14/21] FROMLIST: arm64: dts: qcom: lemans: Add LeMans Draco EVK Add the device tree for the LeMans Draco EVK platform which combines the LeMans Draco EVK SoM and Draco carrier board. This device tree adds board-specific peripheral configuration on top of the SoM, including: - I2C GPIO expanders (TCA6416/PCA9534) on i2c2 and i2c18 - EEPROM with MAC address nvmem layout on i2c18 - Native DisplayPort output (DP0-DP3) - Dual Ethernet (ethernet0/ethernet1) with HSGMII PHY over SerDes - ST33HTPM TPM over SPI16 - AMC6821 fan controller on i2c4 - PCIe0 (connects to NTN3 switch) and PCIe1 (routable to x4 slot or M.2 M-key depending on dip switch configuration) - M.2 E-key connectivity slot with always-on 3.3V supply, PCIe and UART graph connections for Wi-Fi/BT via pwrseq-pcie-m2 - Audio playback and capture via max98091 codec (Tertiary MI2S) and VA macro for DMIC capture Co-developed-by: Vishnu Saini Signed-off-by: Vishnu Saini Co-developed-by: Khalid Faisal Ansari Signed-off-by: Khalid Faisal Ansari Co-developed-by: Ajinkya Inchure Signed-off-by: Ajinkya Inchure Co-developed-by: Anuj Tripathi Signed-off-by: Anuj Tripathi Co-developed-by: Sushrut Shree Trivedi Signed-off-by: Sushrut Shree Trivedi Co-developed-by: Wei Deng Signed-off-by: Wei Deng Co-developed-by: Karthik S Signed-off-by: Karthik S Signed-off-by: Gopikishan Thawre Link: https://lore.kernel.org/all/20261123-lemans-draco-final-changes-bringup-v4-3-dbfc15cd0883@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/Makefile | 2 + arch/arm64/boot/dts/qcom/lemans-draco-evk.dts | 990 ++++++++++++++++++ .../arm64/boot/dts/qcom/lemans-draco-som.dtsi | 1 + 3 files changed, 993 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index c11bd00c3eeb7..4b0d4ddffa9ff 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -602,11 +602,13 @@ dtb-$(CONFIG_ARCH_QCOM) += hamoa-camx-el2.dtb lemans-evk-camx-dtbs := lemans-evk.dtb lemans-evk-camx.dtbo lemans-draco-evk-camx-dtbs := lemans-draco-evk.dtb lemans-draco-evk-camx.dtbo +lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx.dtbo +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-el2.dtb lemans-camx-el2-dtbs := lemans-evk-el2.dtb lemans-evk-camx.dtbo lemans-camx-el2.dtbo lemans-draco-evk-camx-el2-dtbs := lemans-draco-evk-el2.dtb lemans-draco-evk-camx.dtbo lemans-camx-el2.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts new file mode 100644 index 0000000000000..00a0a4315bf39 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts @@ -0,0 +1,990 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ +/dts-v1/; + +#include +#include "lemans-draco-som.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Lemans Draco EVK"; + compatible = "qcom,lemans-draco-evk", "qcom,lemans-draco-som", + "qcom,qcs9100", "qcom,sa8775p"; + chassis-type = "embedded"; + + aliases { + ethernet0 = ðernet0; + ethernet1 = ðernet1; + serial1 = &uart17; + }; + + dp0-connector { + compatible = "dp-connector"; + label = "DP0"; + type = "full-size"; + + dp-pwr-supply = <&vreg_dp0_pwr>; + + port { + dp0_connector_in: endpoint { + remote-endpoint = <&mdss0_dp0_out>; + }; + }; + }; + + dp1-connector { + compatible = "dp-connector"; + label = "DP1"; + type = "full-size"; + + dp-pwr-supply = <&vreg_dp1_pwr>; + + port { + dp1_connector_in: endpoint { + remote-endpoint = <&mdss0_dp1_out>; + }; + }; + }; + + dp2-connector { + compatible = "dp-connector"; + label = "DP2"; + type = "full-size"; + + dp-pwr-supply = <&vreg_dp2_pwr>; + + port { + dp2_connector_in: endpoint { + remote-endpoint = <&mdss1_dp0_out>; + }; + }; + }; + + dp3-connector { + compatible = "dp-connector"; + label = "DP3"; + type = "full-size"; + + dp-pwr-supply = <&vreg_dp3_pwr>; + + port { + dp3_connector_in: endpoint { + remote-endpoint = <&mdss1_dp1_out>; + }; + }; + }; + + vreg_0p9: regulator-0v9 { + compatible = "regulator-fixed"; + regulator-name = "VREG_0P9"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-always-on; + regulator-boot-on; + }; + + vreg_1p8: regulator-1v8 { + compatible = "regulator-fixed"; + regulator-name = "VREG_1P8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + vreg_dp0_pwr: regulator-dp0-pwr { + compatible = "regulator-fixed"; + regulator-name = "VREG_DP0_PWR_3P3"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&expander1 7 GPIO_ACTIVE_HIGH>; + }; + + vreg_dp1_pwr: regulator-dp1-pwr { + compatible = "regulator-fixed"; + regulator-name = "VREG_DP1_PWR_3P3"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&expander1 8 GPIO_ACTIVE_HIGH>; + }; + + vreg_dp2_pwr: regulator-dp2-pwr { + compatible = "regulator-fixed"; + regulator-name = "VREG_DP2_PWR_3P3"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&expander1 9 GPIO_ACTIVE_HIGH>; + }; + + vreg_dp3_pwr: regulator-dp3-pwr { + compatible = "regulator-fixed"; + regulator-name = "VREG_DP3_PWR_3P3"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&expander1 10 GPIO_ACTIVE_HIGH>; + }; + + vreg_va_micb_en: regulator-va-micb-en { + compatible = "regulator-fixed"; + regulator-name = "vreg_va_micb_en"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&expander1 4 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + vreg_va_micb_1p8: regulator-va-micb-1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_va_micb_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&expander1 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <&vreg_va_micb_en>; + }; + + vreg_keye_3p3: regulator-keye-3p3 { + compatible = "regulator-fixed"; + regulator-name = "vreg_keye_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + wifi-bt-connector { + compatible = "pcie-m2-e-connector"; + vpcie3v3-supply = <&vreg_keye_3p3>; + w-disable2-gpios = <&pmm8654au_1_gpios 8 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + m2_e_pcie_ep: endpoint@0 { + reg = <0>; + remote-endpoint = <&tc9563_pcie1_ep>; + }; + }; + + port@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; + + m2_e_uart_ep: endpoint@0 { + reg = <0>; + remote-endpoint = <&uart17_ep>; + }; + }; + }; + }; + + sound { + compatible = "qcom,qcs9100-draco-sndcard"; + model = "LEMANS_DRACO_EVK"; + + pinctrl-names = "default"; + pinctrl-0 = <&mi2s_mclk_a>, <&mi2s2_data0>, <&mi2s2_data1>, + <&mi2s2_sck>, <&mi2s2_ws>; + + mi2s2-capture-dai-link { + link-name = "Tertiary MI2S Capture"; + + codec { + sound-dai = <&max98091>; + }; + + cpu { + sound-dai = <&q6apmbedai TERTIARY_MI2S_TX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + mi2s2-playback-dai-link { + link-name = "Tertiary MI2S Playback"; + + codec { + sound-dai = <&max98091>; + }; + + cpu { + sound-dai = <&q6apmbedai TERTIARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + va-dai-link { + link-name = "Codec DMA Capture"; + + codec { + sound-dai = <&lpass_va_macro 0>; + }; + + cpu { + sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; +}; + +&soc { + lpass_tlmm: pinctrl@3440000 { + compatible = "qcom,sc8280xp-lpass-lpi-pinctrl"; + reg = <0x0 0x03440000 0x0 0x20000>, + <0x0 0x034d0000 0x0 0x10000>; + clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpass_tlmm 0 0 19>; + + lpass_dmic01_clk: dmic01-clk-state { + pins = "gpio6"; + function = "dmic1_clk"; + drive-strength = <8>; + bias-disable; + }; + + lpass_dmic01_data: dmic01-data-state { + pins = "gpio7"; + function = "dmic1_data"; + drive-strength = <8>; + bias-pull-down; + }; + + lpass_dmic23_clk: dmic23-clk-state { + pins = "gpio8"; + function = "dmic2_clk"; + drive-strength = <8>; + bias-disable; + }; + + lpass_dmic23_data: dmic23-data-state { + pins = "gpio9"; + function = "dmic2_data"; + drive-strength = <8>; + bias-pull-down; + }; + + lpass_dmic45_clk: dmic45-clk-state { + pins = "gpio12"; + function = "dmic3_clk"; + drive-strength = <8>; + bias-disable; + }; + + lpass_dmic45_data: dmic45-data-state { + pins = "gpio13"; + function = "dmic3_data"; + drive-strength = <8>; + bias-pull-down; + }; + }; + + lpass_va_macro: codec@33F0000 { + compatible = "qcom,sc7280-lpass-va-macro"; + reg = <0 0x33F0000 0 0x1000>; + pinctrl-names = "default"; + pinctrl-0 = <&lpass_dmic01_clk>, <&lpass_dmic01_data>, + <&lpass_dmic23_clk>, <&lpass_dmic23_data>, + <&lpass_dmic45_clk>, <&lpass_dmic45_data>; + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "mclk", "macro", "dcodec"; + + #clock-cells = <0>; + #sound-dai-cells = <1>; + status = "okay"; + qcom,dmic-sample-rate = <4800000>; + vdd-micb-supply = <&vreg_va_micb_1p8>; + }; +}; + +ðernet0 { + phy-handle = <&hsgmii_phy0>; + phy-mode = "2500base-x"; + + pinctrl-0 = <ðernet0_default>; + pinctrl-names = "default"; + + snps,mtl-rx-config = <&mtl_rx_setup>; + snps,mtl-tx-config = <&mtl_tx_setup>; + + nvmem-cells = <&mac_addr0>; + nvmem-cell-names = "mac-address"; + + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + hsgmii_phy0: ethernet-phy@1c { + compatible = "ethernet-phy-id004d.d101"; + reg = <0x1c>; + reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; + reset-assert-us = <11000>; + reset-deassert-us = <70000>; + }; + }; + + mtl_rx_setup: rx-queues-config { + snps,rx-queues-to-use = <4>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x0>; + snps,route-up; + snps,priority = <0x1>; + }; + + queue1 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x1>; + snps,route-ptp; + }; + + queue2 { + snps,avb-algorithm; + snps,map-to-dma-channel = <0x2>; + snps,route-avcp; + }; + + queue3 { + snps,avb-algorithm; + snps,map-to-dma-channel = <0x3>; + snps,priority = <0xc>; + }; + }; + + mtl_tx_setup: tx-queues-config { + snps,tx-queues-to-use = <4>; + + queue0 { + snps,dcb-algorithm; + }; + + queue1 { + snps,dcb-algorithm; + }; + + queue2 { + snps,avb-algorithm; + snps,send_slope = <0x1000>; + snps,idle_slope = <0x1000>; + snps,high_credit = <0x3e800>; + snps,low_credit = <0xffc18000>; + }; + + queue3 { + snps,avb-algorithm; + snps,send_slope = <0x1000>; + snps,idle_slope = <0x1000>; + snps,high_credit = <0x3e800>; + snps,low_credit = <0xffc18000>; + }; + }; +}; + +ðernet1 { + phy-handle = <&hsgmii_phy1>; + phy-mode = "2500base-x"; + + pinctrl-0 = <ðernet1_default>; + pinctrl-names = "default"; + + snps,mtl-rx-config = <&mtl_rx_setup1>; + snps,mtl-tx-config = <&mtl_tx_setup1>; + + nvmem-cells = <&mac_addr1>; + nvmem-cell-names = "mac-address"; + + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + hsgmii_phy1: ethernet-phy@1c { + compatible = "ethernet-phy-id004d.d101"; + reg = <0x1c>; + reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <11000>; + reset-deassert-us = <70000>; + }; + }; + + mtl_rx_setup1: rx-queues-config { + snps,rx-queues-to-use = <4>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x0>; + snps,route-up; + snps,priority = <0x1>; + }; + + queue1 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x1>; + snps,route-ptp; + }; + + queue2 { + snps,avb-algorithm; + snps,map-to-dma-channel = <0x2>; + snps,route-avcp; + }; + + queue3 { + snps,avb-algorithm; + snps,map-to-dma-channel = <0x3>; + snps,priority = <0xc>; + }; + }; + + mtl_tx_setup1: tx-queues-config { + snps,tx-queues-to-use = <4>; + + queue0 { + snps,dcb-algorithm; + }; + + queue1 { + snps,dcb-algorithm; + }; + + queue2 { + snps,avb-algorithm; + snps,send_slope = <0x1000>; + snps,idle_slope = <0x1000>; + snps,high_credit = <0x3e800>; + snps,low_credit = <0xffc18000>; + }; + + queue3 { + snps,avb-algorithm; + snps,send_slope = <0x1000>; + snps,idle_slope = <0x1000>; + snps,high_credit = <0x3e800>; + snps,low_credit = <0xffc18000>; + }; + }; +}; + +&i2c18 { + status = "okay"; + + expander5: gpio@3c { + compatible = "nxp,pca9534"; + reg = <0x3c>; + #gpio-cells = <2>; + gpio-controller; + }; + + eeprom@50 { + compatible = "giantec,gt24c256c", "atmel,24c256"; + reg = <0x50>; + pagesize = <64>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mac_addr0: mac-addr@0 { + reg = <0x0 0x6>; + }; + + mac_addr1: mac-addr@6 { + reg = <0x6 0x6>; + }; + }; + }; +}; + +&i2c7 { + status = "okay"; + + max98091: max98091@10 { + compatible = "maxim,max98091"; + reg = <0x10>; + #sound-dai-cells = <0>; + clock-names = "mclk"; + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + assigned-clocks = <&q6prmcc LPASS_CLK_ID_MCLK_1 LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + assigned-clock-rates = <12288000>; + interrupt-parent = <&tlmm>; + interrupts = <51 IRQ_TYPE_NONE>; + pinctrl-names = "default"; + pinctrl-0 = <&int_codec>; + }; +}; + +&i2c2 { + status = "okay"; + + expander0: gpio@20 { + compatible = "ti,tca6416"; + reg = <0x20>; + #gpio-cells = <2>; + gpio-controller; + }; + + expander1: gpio@21 { + compatible = "ti,tca6416"; + reg = <0x21>; + #gpio-cells = <2>; + gpio-controller; + }; + + expander2: gpio@22 { + compatible = "ti,tca6416"; + reg = <0x22>; + #gpio-cells = <2>; + gpio-controller; + }; + + expander3: gpio@23 { + compatible = "ti,tca6416"; + reg = <0x23>; + #gpio-cells = <2>; + gpio-controller; + }; + + expander4: gpio@38 { + compatible = "nxp,pca9534"; + reg = <0x38>; + #gpio-cells = <2>; + gpio-controller; + }; +}; + +&i2c4 { + status = "okay"; + + fan_controller: fan@1a { + compatible = "ti,amc6821"; + reg = <0x1a>; + #pwm-cells = <2>; + + fan { + pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>; + }; + }; +}; + +&mdss0 { + status = "okay"; +}; + +&mdss0_dp0 { + pinctrl-0 = <&dp0_hot_plug_det>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&mdss0_dp0_out { + data-lanes = <0 1 2 3>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; + + remote-endpoint = <&dp0_connector_in>; +}; + +&mdss0_dp0_phy { + status = "okay"; +}; + +&mdss0_dp1 { + pinctrl-0 = <&dp1_hot_plug_det>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&mdss0_dp1_out { + data-lanes = <0 1 2 3>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; + + remote-endpoint = <&dp1_connector_in>; +}; + +&mdss0_dp1_phy { + status = "okay"; +}; + +&mdss1 { + status = "okay"; +}; + +&mdss1_dp0 { + pinctrl-0 = <&dp2_hot_plug_det>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&mdss1_dp0_out { + data-lanes = <0 1 2 3>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; + + remote-endpoint = <&dp2_connector_in>; +}; + +&mdss1_dp0_phy { + status = "okay"; +}; + +&mdss1_dp1 { + pinctrl-0 = <&dp3_hot_plug_det>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&mdss1_dp1_out { + data-lanes = <0 1 2 3>; + link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; + + remote-endpoint = <&dp3_connector_in>; +}; + +&mdss1_dp1_phy { + status = "okay"; +}; + +&pcie0 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&pcie0_default_state>; + pinctrl-names = "default"; + + iommu-map = <0x0 &pcie_smmu 0x0 0x0 0x1>, + <0x100 &pcie_smmu 0x1 0x0 0x1>, + <0x208 &pcie_smmu 0x2 0x0 0x1>, + <0x210 &pcie_smmu 0x3 0x0 0x1>, + <0x218 &pcie_smmu 0x4 0x0 0x1>, + <0x300 &pcie_smmu 0x5 0x0 0x1>, + <0x400 &pcie_smmu 0x6 0x0 0x1>, + <0x500 &pcie_smmu 0x7 0x0 0x1>, + <0x501 &pcie_smmu 0x8 0x0 0x1>; + + status = "okay"; +}; + +&pcie0_phy { + vdda-phy-supply = <&vreg_l5a>; + vdda-pll-supply = <&vreg_l1c>; + vdda-qref-supply = <&vreg_l4a>; + vdda-refgen-supply = <&vreg_l7a>; + + status = "okay"; +}; + +&pcie1 { + perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&pcie1_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie1_phy { + vdda-phy-supply = <&vreg_l5a>; + vdda-pll-supply = <&vreg_l1c>; + vdda-qref-supply = <&vreg_l4a>; + vdda-refgen-supply = <&vreg_l7a>; + + status = "okay"; +}; + +&pcieport0 { + #address-cells = <3>; + #size-cells = <2>; + + pcie@0,0 { + compatible = "pci1179,0623"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + bus-range = <0x2 0xff>; + + vddc-supply = <&vreg_0p9>; + vdd18-supply = <&vreg_1p8>; + vdd09-supply = <&vreg_0p9>; + vddio1-supply = <&vreg_1p8>; + vddio2-supply = <&vreg_1p8>; + vddio18-supply = <&vreg_1p8>; + i2c-parent = <&i2c18 0x77>; + resx-gpios = <&tlmm 10 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&tc9563_resx_n>; + pinctrl-names = "default"; + + pcie@1,0 { + reg = <0x20800 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + bus-range = <0x3 0xff>; + + port { + tc9563_pcie1_ep: endpoint {}; + }; + }; + + pcie@2,0 { + reg = <0x21000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + bus-range = <0x4 0xff>; + }; + + pcie@3,0 { + reg = <0x21800 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + bus-range = <0x5 0xff>; + + pcie@0,0 { + reg = <0x50000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + }; + + pcie@0,1 { + reg = <0x50100 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges; + }; + }; + }; +}; + +&qup_i2c4_default { + drive-strength = <6>; + bias-pull-up; +}; + +&serdes0 { + phy-supply = <&vreg_l5a>; + + status = "okay"; +}; + +&serdes1 { + phy-supply = <&vreg_l5a>; + + status = "okay"; +}; + +&spi16 { + status = "okay"; + + tpm@0 { + compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi"; + reg = <0>; + spi-max-frequency = <20000000>; + }; +}; + +&tc9563_pcie1_ep { + remote-endpoint = <&m2_e_pcie_ep>; +}; + +&tlmm { + + dp2_hot_plug_det: dp2-hot-plug-det-state { + pins = "gpio104"; + function = "edp2_hot"; + bias-disable; + }; + + dp3_hot_plug_det: dp3-hot-plug-det-state { + pins = "gpio103"; + function = "edp3_hot"; + bias-disable; + }; + + ethernet0_default: ethernet0-default-state { + ethernet0-mdc-pins { + pins = "gpio8"; + function = "emac0_mdc"; + drive-strength = <16>; + bias-pull-up; + }; + + ethernet0-mdio-pins { + pins = "gpio9"; + function = "emac0_mdio"; + drive-strength = <16>; + bias-pull-up; + }; + }; + + ethernet1_default: ethernet1-default-state { + ethernet1-mdc-pins { + pins = "gpio20"; + function = "emac1_mdc"; + drive-strength = <16>; + bias-pull-up; + }; + + ethernet1-mdio-pins { + pins = "gpio21"; + function = "emac1_mdio"; + drive-strength = <16>; + bias-pull-up; + }; + }; + + int_codec: gpio-irq-state { + pins = "gpio51"; + function = "gpio"; + }; + + mi2s_mclk_a: mi2s-mclk-a-state { + pins = "gpio105"; + function = "mi2s_mclk0"; + drive-strength = <16>; + bias-disable; + output-high; + }; + + mi2s2_data0: mi2s2-data0-state { + pins = "gpio112"; + function = "mi2s2_data0"; + drive-strength = <8>; + bias-disable; + }; + + mi2s2_data1: mi2s2-data1-state { + pins = "gpio113"; + function = "mi2s2_data1"; + drive-strength = <8>; + bias-disable; + }; + + mi2s2_sck: mi2s2-sck-state { + pins = "gpio110"; + function = "mi2s2_sck"; + drive-strength = <8>; + bias-disable; + output-high; + }; + + mi2s2_ws: mi2s2-ws-state { + pins = "gpio111"; + function = "mi2s2_ws"; + drive-strength = <8>; + bias-disable; + output-high; + }; + + pcie0_default_state: pcie0-default-state { + clkreq-pins { + pins = "gpio1"; + function = "pcie0_clkreq"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-pins { + pins = "gpio2"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + wake-pins { + pins = "gpio0"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + pcie1_default_state: pcie1-default-state { + clkreq-pins { + pins = "gpio3"; + function = "pcie1_clkreq"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-pins { + pins = "gpio4"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + wake-pins { + pins = "gpio5"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + tc9563_resx_n: tc9563-resx-state { + pins = "gpio10"; + function = "gpio"; + bias-disable; + output-high; + }; +}; + +&uart17 { + status = "okay"; + + port { + uart17_ep: endpoint { + remote-endpoint = <&m2_e_uart_ep>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi index e265ec1f6ab47..06040e9c406de 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi @@ -7,6 +7,7 @@ #include #include "lemans-embedded.dtsi" #include "lemans-pmics.dtsi" +#include / { aliases { From b1255c37a5ad7b00819dac7c8315a5e23477c931 Mon Sep 17 00:00:00 2001 From: Mohit Dsor Date: Thu, 26 Nov 2026 14:02:16 +0530 Subject: [PATCH 15/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add LT9611UXD HDMI bridge support Add support for the Lontium LT9611UXD DSI-to-HDMI bridge on the base board DT to provide HDMI output via the LT9611UXD daughter card. LT9611UXD is connected through I2C mux channel 0 on i2c1, with reset and interrupt on GPIO39 and GPIO97 respectively, powered by fixed regulators on expander2. DIP Switch SW2.4 need to be ON for this to work. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-1-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/lemans-draco-evk.dts | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts index 00a0a4315bf39..e478e16dede98 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts @@ -16,6 +16,7 @@ aliases { ethernet0 = ðernet0; ethernet1 = ðernet1; + i2c1 = &i2c1; serial1 = &uart17; }; @@ -93,6 +94,34 @@ regulator-boot-on; }; + hdmi_connector: hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_connector_out: endpoint { + remote-endpoint = <&hdmi_bridge_out>; + }; + }; + }; + + vreg_bridge_1p2: regulator-bridge-1p2 { + compatible = "regulator-fixed"; + regulator-name = "vreg_bridge_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + vin-supply = <&vreg_bridge_3p3>; + }; + + vreg_bridge_3p3: regulator-bridge-3p3 { + compatible = "regulator-fixed"; + regulator-name = "vreg_bridge_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&expander2 1 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + vreg_dp0_pwr: regulator-dp0-pwr { compatible = "regulator-fixed"; regulator-name = "VREG_DP0_PWR_3P3"; @@ -551,6 +580,63 @@ }; }; +&i2c1 { + status = "okay"; + + i2c-mux@70 { + compatible = "nxp,pca9548"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + vdd-supply = <&vreg_s4a>; + + i2c@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + hdmi_bridge: hdmi-bridge@41 { + compatible = "lontium,lt9611uxd"; + reg = <0x41>; + + interrupts-extended = <&tlmm 97 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>; + + vcc-supply = <&vreg_bridge_3p3>; + vdd-supply = <&vreg_bridge_1p2>; + + pinctrl-0 = <&bridge_rst_pin &bridge_irq_pin>; + pinctrl-names = "default"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hdmi_bridge_in0: endpoint { + remote-endpoint = <&mdss0_dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + hdmi_bridge_in1: endpoint { + }; + }; + + port@2 { + reg = <2>; + hdmi_bridge_out: endpoint { + remote-endpoint = <&hdmi_connector_out>; + }; + }; + }; + }; + }; + }; +}; + &i2c2 { status = "okay"; @@ -644,6 +730,23 @@ status = "okay"; }; +&mdss0_dsi0 { + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&hdmi_bridge_in0>; +}; + +&mdss0_dsi0_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +}; + &mdss1 { status = "okay"; }; @@ -838,6 +941,21 @@ &tlmm { + bridge_rst_pin: bridge-rst-state { + pins = "gpio39"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + output-high; + }; + + bridge_irq_pin: bridge-irq-state { + pins = "gpio97"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + dp2_hot_plug_det: dp2-hot-plug-det-state { pins = "gpio104"; function = "edp2_hot"; @@ -988,3 +1106,4 @@ }; }; }; + From 6b1ccd61250e2191a8d493ad93f42e20960d14f7 Mon Sep 17 00:00:00 2001 From: Mohit Dsor Date: Thu, 26 Nov 2026 14:02:17 +0530 Subject: [PATCH 16/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add hdmi-dual-dsi overlay Enables dual-DSI mode for the LT9611UXD HDMI bridge on top of the single-DSI base DT. Enables DSI1 with dual-DSI clock parents and power supplies, and reconnects the LT9611UXD bridge port@1 to mdss0_dsi1_out. DIP Switch SW2.5 need to be ON for this to work. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-2-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 4 ++ .../qcom/lemans-draco-evk-hdmi-dual-dsi.dtso | 38 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 4b0d4ddffa9ff..af1a0f1272c71 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -604,11 +604,15 @@ lemans-evk-camx-dtbs := lemans-evk.dtb lemans-evk-camx.dtbo lemans-draco-evk-camx-dtbs := lemans-draco-evk.dtb lemans-draco-evk-camx.dtbo lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo +lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdmi-dual-dsi.dtbo + dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-el2.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-hdmi-dual-dsi.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-hdmi-dual-dsi.dtbo lemans-camx-el2-dtbs := lemans-evk-el2.dtb lemans-evk-camx.dtbo lemans-camx-el2.dtbo lemans-draco-evk-camx-el2-dtbs := lemans-draco-evk-el2.dtb lemans-draco-evk-camx.dtbo lemans-camx-el2.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso new file mode 100644 index 0000000000000..87111f0707789 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-hdmi-dual-dsi.dtso @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&mdss0_dsi0 { + qcom,dual-dsi-mode; + qcom,master-dsi; +}; + +&mdss0_dsi1 { + assigned-clock-parents = <&mdss0_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss0_dsi0_phy DSI_PIXEL_PLL_CLK>; + qcom,dual-dsi-mode; + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi1_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&hdmi_bridge_in1>; +}; + +&mdss0_dsi1_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +}; + +&hdmi_bridge_in1 { + remote-endpoint = <&mdss0_dsi1_out>; +}; \ No newline at end of file From 8f9e9a66a6aac45d2518260862bf0da5e8b11d27 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Thu, 26 Nov 2026 14:02:18 +0530 Subject: [PATCH 17/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add DLC DLC0697 DSI panel overlay Add a DT overlay to enable the DLC DLC0697 DSI panel when the DLC daughter card is connected to DSI0_B2B on the carrier card. The panel is driven over DSI0, with a 4-lane data path. Configure the panel with: - Reset on PMIC GPIO4 of pmm8654au_1 (active-low), with dedicated default and sleep pinctrl states - Tearing effect signal on TLMM GPIO84 (mdp_vsync function) - AVDD/AVEE panel supplies from vreg_bridge_3p3 (3.3V fixed regulator provided by the LT9611UXD bridge circuitry) - VDDI supply from vreg_s4a - GPIO backlight on expander2 GPIO2 (default-on) The card plugs into the display B2B connector shared with the LT9611UXD HDMI bridge, so the bridge and HDMI connector are disabled when this overlay is applied. DSI0 must be routed to the B2B connector with DIPSW2.4 set to ON. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-3-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Vishnu Saini Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../qcom/lemans-draco-evk-dlc0697-dsi.dtso | 81 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index af1a0f1272c71..9b7dfe536c03e 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -605,6 +605,7 @@ lemans-draco-evk-camx-dtbs := lemans-draco-evk.dtb lemans-draco-evk-camx.dtbo lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdmi-dual-dsi.dtbo +lemans-draco-evk-dlc0697-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-dlc0697-dsi.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo @@ -619,6 +620,8 @@ lemans-draco-evk-camx-el2-dtbs := lemans-draco-evk-el2.dtb lemans-draco-evk-c dtb-$(CONFIG_ARCH_QCOM) += lemans-camx-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx-el2.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-staging.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso new file mode 100644 index 0000000000000..31cfe983d0356 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-dlc0697-dsi.dtso @@ -0,0 +1,81 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + dlc_backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&expander2 2 GPIO_ACTIVE_HIGH>; + default-on; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_connector { + status = "disabled"; +}; + +&mdss0_dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "dlc,dlc0697", "ilitek,ili7807s"; + reg = <0>; + + avdd-supply = <&vreg_bridge_3p3>; + avee-supply = <&vreg_bridge_3p3>; + backlight = <&dlc_backlight>; + pinctrl-0 = <&panel_rst_n &panel_te_pin>; + pinctrl-1 = <&panel_rst_n_suspend>; + pinctrl-names = "default", "sleep"; + reset-gpios = <&pmm8654au_1_gpios 4 GPIO_ACTIVE_LOW>; + vddi-supply = <&vreg_s4a>; + + port { + dlc_panel_in: endpoint { + remote-endpoint = <&mdss0_dsi0_out>; + }; + }; + }; +}; + +&mdss0_dsi0_out { + remote-endpoint = <&dlc_panel_in>; + data-lanes = <0 1 2 3>; +}; + +&pmm8654au_1_gpios { + panel_rst_n: panel-rst-n-state { + pins = "gpio4"; + function = PMIC_GPIO_FUNC_NORMAL; + qcom,drive-strength = ; + bias-disable; + }; + + panel_rst_n_suspend: panel-rst-n-suspend-state { + pins = "gpio4"; + function = PMIC_GPIO_FUNC_NORMAL; + qcom,drive-strength = ; + bias-pull-down; + }; +}; + +&tlmm { + panel_te_pin: panel-te-pin-state { + pins = "gpio84"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; +}; \ No newline at end of file From 171f0624948a6cfd2140c9b385cfb163356659ce Mon Sep 17 00:00:00 2001 From: Mohit Dsor Date: Thu, 26 Nov 2026 14:02:19 +0530 Subject: [PATCH 18/21] FROMLIST: arm64: defconfig: Enable PCA9685 PWM controller Enable CONFIG_PWM_PCA9685 as a module to support the NXP PCA9685 16-channel PWM controller used for PWM backlight control on the Qualcomm Lemans Draco EVK board, as added in the lemans-draco-evk-lvds-auo,g133han01.dtso overlay. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-4-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 175286d98664c..3a34596bf2fba 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -545,6 +545,7 @@ CONFIG_TCG_TIS_I2C_INFINEON=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PCA954x=y +CONFIG_PWM_PCA9685=m CONFIG_I2C_MUX_PINCTRL=m CONFIG_I2C_BCM2835=m CONFIG_I2C_CADENCE=m From f6d87661b1af48e5b7009c2a700aa93f3eed89c9 Mon Sep 17 00:00:00 2001 From: Anand Tiwari Date: Thu, 26 Nov 2026 14:02:20 +0530 Subject: [PATCH 19/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add AUO G133HAN01 LVDS panel overlay Add a DT overlay for Lemans Draco EVK, to enable LVDS interface when LVDS daughter card is connected to DSI0_B2B on carrier card. There is SN65DSI84 DSI-to-LVDS bridge on the daughter card which is connected through I2C mux channel 1 on i2c1, with reset and interrupt connected to GPIO39 and GPIO97. Backlight is driven by a PCA9685 PWM controller on i2c4. Disable the default HDMI bridge and connector in favour of the LVDS panel. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-5-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Anand Tiwari Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../lemans-draco-evk-lvds-auo,g133han01.dtso | 133 ++++++++++++++++++ arch/arm64/boot/dts/qcom/lemans-draco-evk.dts | 1 + .../arm64/boot/dts/qcom/lemans-draco-som.dtsi | 5 + 4 files changed, 142 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 9b7dfe536c03e..bbb06a8ce52a3 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -606,6 +606,7 @@ lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdmi-dual-dsi.dtbo lemans-draco-evk-dlc0697-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-dlc0697-dsi.dtbo +lemans-draco-evk-lvds-auo,g133han01-dtbs := lemans-draco-evk.dtb lemans-draco-evk-lvds-auo,g133han01.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo @@ -622,6 +623,8 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-camx-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-camx-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtbo +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-staging.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso new file mode 100644 index 0000000000000..19797cd80bb99 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-lvds-auo,g133han01.dtso @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + backlight_lvds: backlight { + compatible = "pwm-backlight"; + pwms = <&pca9685 2 1000000>; + power-supply = <&vreg_bridge_3p3>; + enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>; + }; + + panel-lvds { + compatible = "auo,g133han01"; + power-supply = <&vreg_bridge_3p3>; + backlight = <&backlight_lvds>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + /* LVDS Channel A - odd pixels */ + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + + lvds_panel_out_a: endpoint { + remote-endpoint = <&sn65dsi84_out_a>; + }; + }; + + /* LVDS Channel B - even pixels */ + port@1 { + reg = <1>; + dual-lvds-even-pixels; + + lvds_panel_out_b: endpoint { + remote-endpoint = <&sn65dsi84_out_b>; + }; + }; + }; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_connector { + status = "disabled"; +}; + +&i2c1 { + i2c-mux@70 { + #address-cells = <1>; + #size-cells = <0>; + + i2c@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + bridge@2c { + compatible = "ti,sn65dsi84"; + reg = <0x2c>; + + enable-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&tlmm 97 IRQ_TYPE_EDGE_FALLING>; + + vcc-supply = <&vreg_bridge_3p3>; + + pinctrl-0 = <&bridge_rst_pin &bridge_irq_pin>; + pinctrl-names = "default"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sn65dsi84_in: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&mdss0_dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + sn65dsi84_out_a: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&lvds_panel_out_a>; + }; + }; + + port@3 { + reg = <3>; + + sn65dsi84_out_b: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&lvds_panel_out_b>; + }; + }; + }; + }; + }; + }; +}; + +&i2c4 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + status = "okay"; + + pca9685: pwm@42 { + compatible = "nxp,pca9685-pwm"; + reg = <0x42>; + #pwm-cells = <2>; + }; +}; + +&mdss0_dsi0_out { + remote-endpoint = <&sn65dsi84_in>; +}; \ No newline at end of file diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts index e478e16dede98..afeed92563c05 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk.dts @@ -17,6 +17,7 @@ ethernet0 = ðernet0; ethernet1 = ðernet1; i2c1 = &i2c1; + i2c4 = &i2c4; serial1 = &uart17; }; diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi index 06040e9c406de..b1a31b8c4bb14 100644 --- a/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans-draco-som.dtsi @@ -268,6 +268,11 @@ status = "okay"; }; +&qup_i2c4_default { + drive-strength = <6>; + bias-pull-up; +}; + &qupv3_id_0 { firmware-name = "qcom/sa8775p/qupv3fw.elf"; From e5d5ac412db17d975cc1307a9f4f7f17118b3ad8 Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Thu, 26 Nov 2026 14:02:21 +0530 Subject: [PATCH 20/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add RPi 7-inch DSI panel overlay Add a DT overlay to enable Raspberry Pi 7-inch DSI panel connected to JDSIP1 22pin connector on the carrier card. DSI0 from SoC is routed through MUX which can be selected by DIP switch for enabling this 22pin connector. Add the regulator and backlight controller at I2C1 mux channel 0 address 0x45, panel power and reset control, and a 2-lane DSI connection. DIP Switch SW2.4 need to be OFF for this to work. Disable the default HDMI bridge and connector in favour of the RPi DSI panel. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-6-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Vishnu Saini Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 3 + ...emans-draco-evk-raspberrypi-dsi-7inch.dtso | 98 +++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index bbb06a8ce52a3..178cc56f44884 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -607,6 +607,7 @@ lemans-draco-evk-el2-dtbs := lemans-draco-evk.dtb lemans-el2.dtbo lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdmi-dual-dsi.dtbo lemans-draco-evk-dlc0697-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-dlc0697-dsi.dtbo lemans-draco-evk-lvds-auo,g133han01-dtbs := lemans-draco-evk.dtb lemans-draco-evk-lvds-auo,g133han01.dtbo +lemans-draco-evk-raspberrypi-dsi-7inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-raspberrypi-dsi-7inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo @@ -625,6 +626,8 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-dlc0697-dsi.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtbo +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-staging.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso new file mode 100644 index 0000000000000..93fae3f37ad1c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-raspberrypi-dsi-7inch.dtso @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + display_bl: backlight { + compatible = "pwm-backlight"; + power-supply = <®_dsi_panel>; + pwms = <&mcu 0 255 0>; + }; + + reg_dsi_panel: regulator-dsi-panel { + compatible = "regulator-fixed"; + regulator-name = "rpi-dsi-panel"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_dsi_touch: regulator-dsi-touch { + compatible = "regulator-fixed"; + gpio = <&mcu 1 GPIO_ACTIVE_HIGH>; + regulator-name = "rpi-touch"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <50000>; + enable-active-high; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_connector { + status = "disabled"; +}; + + +&i2c1 { + i2c-mux@70 { + #address-cells = <1>; + #size-cells = <0>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + + mcu: gpio@45 { + compatible = "raspberrypi,touchscreen-panel-regulator-v2"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + #pwm-cells = <3>; + }; + + touchscreen@5d { + compatible = "goodix,gt911"; + reg = <0x5d>; + AVDD28-supply = <®_dsi_touch>; + touchscreen-size-x = <720>; + touchscreen-size-y = <1280>; + }; + }; + }; +}; + +&mdss0_dsi0 { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c"; + reg = <0>; + + backlight = <&display_bl>; + power-supply = <®_dsi_panel>; + reset-gpios = <&mcu 0 GPIO_ACTIVE_LOW>; + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss0_dsi0_out>; + }; + }; + }; +}; + +&mdss0_dsi0_out { + remote-endpoint = <&panel0_in>; + data-lanes = <0 1>; +}; \ No newline at end of file From 4fbffd8cd62147d2b31bbf82237ae372224187eb Mon Sep 17 00:00:00 2001 From: Vishnu Saini Date: Thu, 26 Nov 2026 14:02:22 +0530 Subject: [PATCH 21/21] FROMLIST: arm64: dts: qcom: lemans-draco-evk: Add Waveshare 8-inch DSI panel overlay Add a DT overlay to enable Waveshare 8-inch DSI panel connected to JDISP1 22pin connector on the carrier card. DSI0 from SoC is routed through MUX which can be selected by DIP switch for enabling this 22pin connector. Add the JD9365DA-H3 panel, GPIO expander at I2C1 mux channel 0 address 0x45 for panel power, reset and backlight, and the Goodix GT9271 touch controller. DIP Switch SW2.4 need to be OFF for this to work. Disable the default HDMI bridge and connector in favour of the Waveshare DSI panel. Link: https://lore.kernel.org/all/20261126-draco-evk-display-v3-7-6864d09e916f@oss.qualcomm.com/ Signed-off-by: Vishnu Saini Signed-off-by: Mohit Dsor Signed-off-by: Gopikishan Thawre --- arch/arm64/boot/dts/qcom/Makefile | 3 + .../lemans-draco-evk-waveshare-dsi-8inch.dtso | 94 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 178cc56f44884..2bb4f7a083b9f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -608,6 +608,7 @@ lemans-draco-evk-hdmi-dual-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-hdm lemans-draco-evk-dlc0697-dsi-dtbs := lemans-draco-evk.dtb lemans-draco-evk-dlc0697-dsi.dtbo lemans-draco-evk-lvds-auo,g133han01-dtbs := lemans-draco-evk.dtb lemans-draco-evk-lvds-auo,g133han01.dtbo lemans-draco-evk-raspberrypi-dsi-7inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-raspberrypi-dsi-7inch.dtbo +lemans-draco-evk-waveshare-dsi-8inch-dtbs := lemans-draco-evk.dtb lemans-draco-evk-waveshare-dsi-8inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtbo @@ -628,6 +629,8 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-lvds-auo,g133han01.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtb dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-raspberrypi-dsi-7inch.dtbo +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtb +dtb-$(CONFIG_ARCH_QCOM) += lemans-draco-evk-waveshare-dsi-8inch.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-staging.dtbo diff --git a/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso b/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso new file mode 100644 index 0000000000000..11fa4d7161bc1 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/lemans-draco-evk-waveshare-dsi-8inch.dtso @@ -0,0 +1,94 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + panel_avdd: regulator-panel-avdd { + compatible = "regulator-fixed"; + gpios = <&wsgpio 0 GPIO_ACTIVE_HIGH>; + regulator-name = "panel-avdd"; + enable-active-high; + }; + + panel_iovcc: regulator-panel-iovcc { + compatible = "regulator-fixed"; + gpios = <&wsgpio 4 GPIO_ACTIVE_HIGH>; + regulator-name = "panel-iovcc"; + enable-active-high; + }; + + panel_vcc: regulator-panel-vcc { + compatible = "regulator-fixed"; + gpios = <&wsgpio 8 GPIO_ACTIVE_HIGH>; + regulator-name = "panel-vcc"; + enable-active-high; + regulator-always-on; + }; +}; + +&hdmi_bridge { + status = "disabled"; +}; + +&hdmi_connector { + status = "disabled"; +}; + +&i2c1 { + i2c-mux@70 { + #address-cells = <1>; + #size-cells = <0>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + + wsgpio: gpio@45 { + compatible = "waveshare,dsi-touch-gpio"; + reg = <0x45>; + gpio-controller; + #gpio-cells = <2>; + }; + + touch: goodix@5d { + compatible = "goodix,gt9271"; + reg = <0x5d>; + reset-gpios = <&wsgpio 9 GPIO_ACTIVE_HIGH>; + }; + }; + }; +}; + +&mdss0_dsi0 { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "waveshare,8.0-dsi-touch-a", "jadard,jd9365da-h3"; + reg = <0>; + + backlight = <&wsgpio>; + reset-gpios = <&wsgpio 1 GPIO_ACTIVE_LOW>; + vccio-supply = <&panel_iovcc>; + vdd-supply = <&panel_avdd>; + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss0_dsi0_out>; + }; + }; + }; +}; + +&mdss0_dsi0_out { + remote-endpoint = <&panel0_in>; + data-lanes = <0 1 2 3>; +}; \ No newline at end of file