[PATCH 3/4] arm64: dts: qcom: ipq9650: add and enable various device nodes
From: Kathiravan Thirumoorthy
Date: Fri Nov 20 2026 - 04:00:24 EST
Add the device tree nodes required to support:
- QUPv3 nodes for SPI and I2C
- Download mode support
- QSPI NAND and BAM
- CPU Idle States
- USB2 and USB3
- DSU PMU
- LLCC
- SMMU
- eMMC ICE
Enable SPI, WPS button, I2C, eMMC ICE USB2 and USB3 on the RDP488, and add
the required USB regulators.
Co-developed-by: Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>
Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>
Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
.../arm64/boot/dts/qcom/ipq9650-rdp488-common.dtsi | 186 ++++++++++
arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts | 4 +
arch/arm64/boot/dts/qcom/ipq9650.dtsi | 409 ++++++++++++++++++++-
3 files changed, 598 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/ipq9650-rdp488-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9650-rdp488-common.dtsi
index e51d75bb9576..bc2caf42faf5 100644
--- a/arch/arm64/boot/dts/qcom/ipq9650-rdp488-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9650-rdp488-common.dtsi
@@ -4,6 +4,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
#include "ipq9650.dtsi"
/ {
@@ -14,6 +15,69 @@ aliases {
chosen {
stdout-path = "serial0";
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-0 = <&gpio_keys_default_state>;
+ pinctrl-names = "default";
+
+ button-wps {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+ };
+
+ vreg_misc_3p3: regulator-usb-3p3 {
+ compatible = "regulator-fixed";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ regulator-name = "usb_hs_vdda_3p3";
+ };
+
+ vreg_misc_1p8: regulator-usb-1p8 {
+ compatible = "regulator-fixed";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-boot-on;
+ regulator-always-on;
+ regulator-name = "vdda_1p8_usb";
+ };
+
+ vreg_misc_0p875: regulator-usb-0p875 {
+ compatible = "regulator-fixed";
+ regulator-min-microvolt = <875000>;
+ regulator-max-microvolt = <875000>;
+ regulator-boot-on;
+ regulator-always-on;
+ regulator-name = "vdd_core_usb";
+ };
+};
+
+&qusb_phy_0 {
+ vdda-pll-supply = <&vreg_misc_0p875>;
+ vdda18-supply = <&vreg_misc_1p8>;
+ vdda33-supply = <&vreg_misc_3p3>;
+
+ status = "okay";
+};
+
+&qusb_phy_1 {
+ vdda-pll-supply = <&vreg_misc_0p875>;
+ vdda18-supply = <&vreg_misc_1p8>;
+ vdda33-supply = <&vreg_misc_3p3>;
+
+ status = "okay";
+};
+
+&i2c2 {
+ pinctrl-0 = <&qup_i2c2_default_state>;
+ pinctrl-names = "default";
+
+ status = "okay";
};
&pcie1 {
@@ -64,6 +128,23 @@ &pcie3_port0 {
wake-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
};
+&qpic_nand {
+ pinctrl-0 = <&qpic_snand_default_state>;
+ pinctrl-names = "default";
+
+ flash@0 {
+ compatible = "spi-nand";
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ nand-ecc-engine = <&qpic_nand>;
+ nand-ecc-strength = <8>;
+ nand-ecc-step-size = <512>;
+ spi-rx-bus-width = <4>;
+ spi-tx-bus-width = <4>;
+ };
+};
+
&sdhc {
max-frequency = <192000000>;
bus-width = <4>;
@@ -73,11 +154,44 @@ &sdhc {
pinctrl-names = "default";
};
+&sdhc_ice {
+ status = "okay";
+};
+
+&spi0 {
+ pinctrl-0 = <&spi0_default_state>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ flash@0 {
+ compatible = "micron,n25q128a11", "jedec,spi-nor";
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
+ };
+};
+
&sleep_clk {
clock-frequency = <32000>;
};
+&ssphy_0 {
+ vdda-pll-supply = <&vreg_misc_0p875>;
+ vdda-phy-supply = <&vreg_misc_0p875>;
+
+ status = "okay";
+};
+
&tlmm {
+ gpio_keys_default_state: gpio-keys-default-state {
+ pins = "gpio19";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
pcie1_default_state: pcie1-default-state {
clkreq-n-pins {
pins = "gpio27";
@@ -147,6 +261,36 @@ wake-n-pins {
};
};
+ qpic_snand_default_state: qpic-snand-default-state {
+ clk-pins {
+ pins = "gpio5";
+ function = "qspi_clk";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ cs-pins {
+ pins = "gpio4";
+ function = "qspi_cs_n";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ data-pins {
+ pins = "gpio0", "gpio1", "gpio2", "gpio3";
+ function = "qspi_data";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+ };
+
+ qup_i2c2_default_state: qup-i2c2-default-state {
+ pins = "gpio16", "gpio17";
+ function = "qup_se3";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
qup_uart1_default_state: qup-uart1-default-state {
pins = "gpio43", "gpio44";
function = "qup_se6";
@@ -176,6 +320,48 @@ data-pins {
bias-pull-up;
};
};
+
+ spi0_default_state: spi0-default-state {
+ clk-pins {
+ pins = "gpio6";
+ function = "qup_se0";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+
+ cs-pins {
+ pins = "gpio7";
+ function = "qup_se0";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+
+ miso-pins {
+ pins = "gpio8";
+ function = "qup_se0";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+
+ mosi-pins {
+ pins = "gpio9";
+ function = "qup_se0";
+ drive-strength = <8>;
+ bias-pull-down;
+ };
+ };
+};
+
+&usb2 {
+ dr_mode = "otg";
+
+ status = "okay";
+};
+
+&usb3 {
+ dr_mode = "otg";
+
+ status = "okay";
};
&uart1 {
diff --git a/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts b/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts
index 1ec4c5b91780..69ce4ccaa3f6 100644
--- a/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts
+++ b/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts
@@ -15,3 +15,7 @@ / {
&sdhc {
status = "okay";
};
+
+&sdhc_ice {
+ status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq9650.dtsi b/arch/arm64/boot/dts/qcom/ipq9650.dtsi
index 94269c9c8d6f..a4091fd0c1ea 100644
--- a/arch/arm64/boot/dts/qcom/ipq9650.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9650.dtsi
@@ -35,6 +35,7 @@ cpu0: cpu@0 {
reg = <0x0>;
enable-method = "psci";
next-level-cache = <&l2_0>;
+ cpu-idle-states = <&little_cpu_sleep_0>;
l2_0: l2-cache {
compatible = "cache";
@@ -56,6 +57,7 @@ cpu1: cpu@100 {
reg = <0x100>;
enable-method = "psci";
next-level-cache = <&l2_100>;
+ cpu-idle-states = <&little_cpu_sleep_0>;
l2_100: l2-cache {
compatible = "cache";
@@ -70,6 +72,7 @@ cpu2: cpu@200 {
compatible = "arm,cortex-a55";
reg = <0x200>;
enable-method = "psci";
+ cpu-idle-states = <&little_cpu_sleep_0>;
l2_200: l2-cache {
compatible = "cache";
@@ -84,6 +87,7 @@ cpu3: cpu@300 {
compatible = "arm,cortex-a55";
reg = <0x300>;
enable-method = "psci";
+ cpu-idle-states = <&little_cpu_sleep_0>;
l2_300: l2-cache {
compatible = "cache";
@@ -99,6 +103,7 @@ cpu4: cpu@400 {
reg = <0x400>;
enable-method = "psci";
next-level-cache = <&l2_400>;
+ cpu-idle-states = <&big_cpu_sleep_0>;
l2_400: l2-cache {
compatible = "cache";
@@ -131,6 +136,30 @@ core4 {
};
};
};
+
+ idle-states {
+ entry-method = "psci";
+
+ little_cpu_sleep_0: cpu-sleep-0 {
+ compatible = "arm,idle-state";
+ idle-state-name = "little-power-down";
+ arm,psci-suspend-param = <0x40000003>;
+ entry-latency-us = <549>;
+ exit-latency-us = <901>;
+ min-residency-us = <1774>;
+ local-timer-stop;
+ };
+
+ big_cpu_sleep_0: cpu-sleep-1 {
+ compatible = "arm,idle-state";
+ idle-state-name = "big-power-down";
+ arm,psci-suspend-param = <0x40000003>;
+ entry-latency-us = <523>;
+ exit-latency-us = <1244>;
+ min-residency-us = <2207>;
+ local-timer-stop;
+ };
+ };
};
firmware {
@@ -141,6 +170,7 @@ optee {
scm {
compatible = "qcom,scm-ipq9650", "qcom,scm";
+ qcom,dload-mode = <&tcsr 0x24100>;
};
};
@@ -160,6 +190,12 @@ pmu-a78 {
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>;
};
+ pmu-dsu {
+ compatible = "arm,dsu-pmu";
+ interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING 0>;
+ cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, <&cpu4>;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
@@ -194,6 +230,30 @@ optee@8a680000 {
};
};
+ i2c_opp_table_32mhz: opp-table-i2c32mhz {
+ compatible = "operating-points-v2";
+
+ opp-32000000 {
+ opp-hz = /bits/ 64 <32000000>;
+ };
+ };
+
+ sdhc_opp_table_300mhz: opp-table-300mhz {
+ compatible = "operating-points-v2";
+
+ opp-300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ };
+ };
+
+ spi_opp_table_50mhz: opp-table-spi50mhz {
+ compatible = "operating-points-v2";
+
+ opp-50000000 {
+ opp-hz = /bits/ 64 <50000000>;
+ };
+ };
+
soc@0 {
compatible = "simple-bus";
#address-cells = <2>;
@@ -210,6 +270,61 @@ refgen_pcie: regulator@6c000 {
"hclk";
};
+ qusb_phy_1: phy@71000 {
+ compatible = "qcom,ipq9650-usb-hs-phy";
+ reg = <0x0 0x00071000 0x0 0x114>;
+ #phy-cells = <0>;
+
+ clocks = <&xo_board>;
+ clock-names = "ref";
+
+ qcom,pre-emphasis-amplitude-bp = <10000>;
+
+ resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
+
+ status = "disabled";
+ };
+
+ qusb_phy_0: phy@7b000 {
+ compatible = "qcom,ipq9650-usb-hs-phy";
+ reg = <0x0 0x0007b000 0x0 0x114>;
+ #phy-cells = <0>;
+
+ clocks = <&xo_board>;
+ clock-names = "ref";
+
+ qcom,pre-emphasis-amplitude-bp = <10000>;
+
+ resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
+
+ status = "disabled";
+ };
+
+ ssphy_0: phy@7d000 {
+ compatible = "qcom,ipq9650-qmp-usb3-phy";
+ reg = <0x0 0x0007d000 0x0 0xa00>;
+ #phy-cells = <0>;
+
+ clocks = <&gcc GCC_USB0_AUX_CLK>,
+ <&xo_board>,
+ <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
+ <&gcc GCC_USB0_PIPE_CLK>;
+ clock-names = "aux",
+ "ref",
+ "cfg_ahb",
+ "pipe";
+
+ resets = <&gcc GCC_USB0_PHY_BCR>,
+ <&gcc GCC_USB3PHY_0_PHY_BCR>;
+ reset-names = "phy",
+ "phy_phy";
+
+ #clock-cells = <0>;
+ clock-output-names = "usb0_pipe_clk";
+
+ status = "disabled";
+ };
+
pcie0_phy: phy@84000 {
compatible = "qcom,ipq9650-qmp-gen3x1-pcie-phy";
reg = <0x0 0x00084000 0x0 0x1000>;
@@ -376,7 +491,7 @@ gcc: clock-controller@1800000 {
<&pcie2_phy>,
<&pcie3_phy>,
<&pcie4_phy>,
- <0>,
+ <&ssphy_0>,
<0>;
#clock-cells = <1>;
#reset-cells = <1>;
@@ -389,6 +504,11 @@ tcsr_mutex: hwlock@1917000 {
#hwlock-cells = <1>;
};
+ tcsr: syscon@1938000 {
+ compatible = "qcom,tcsr-ipq9650", "syscon";
+ reg = <0x0 0x01938000 0x0 0x36000>;
+ };
+
qupv3: geniqup@1ac0000 {
compatible = "qcom,geni-se-qup";
reg = <0x0 0x01ac0000 0x0 0x2000>;
@@ -399,6 +519,84 @@ qupv3: geniqup@1ac0000 {
#size-cells = <2>;
ranges;
+ spi0: spi@1a80000 {
+ compatible = "qcom,geni-spi";
+ reg = <0x0 0x01a80000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE0_CLK>;
+ clock-names = "se";
+ interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE0_CLK>;
+ operating-points-v2 = <&spi_opp_table_50mhz>;
+
+ status = "disabled";
+ };
+
+ i2c0: i2c@1a84000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a84000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE1_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE1_CLK>;
+ operating-points-v2 = <&i2c_opp_table_32mhz>;
+
+ status = "disabled";
+ };
+
+ i2c1: i2c@1a88000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a88000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE2_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE2_CLK>;
+ operating-points-v2 = <&i2c_opp_table_32mhz>;
+
+ status = "disabled";
+ };
+
+ i2c2: i2c@1a8c000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a8c000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE3_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE3_CLK>;
+ operating-points-v2 = <&i2c_opp_table_32mhz>;
+
+ status = "disabled";
+ };
+
+ i2c3: i2c@1a90000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a90000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE4_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE4_CLK>;
+ operating-points-v2 = <&i2c_opp_table_32mhz>;
+
+ status = "disabled";
+ };
+
+ spi1: spi@1a94000 {
+ compatible = "qcom,geni-spi";
+ reg = <0x0 0x01a94000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE5_CLK>;
+ clock-names = "se";
+ interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE5_CLK>;
+ operating-points-v2 = <&spi_opp_table_50mhz>;
+
+ status = "disabled";
+ };
+
uart1: serial@1a98000 {
compatible = "qcom,geni-debug-uart";
reg = <0x0 0x01a98000 0x0 0x4000>;
@@ -408,6 +606,75 @@ uart1: serial@1a98000 {
status = "disabled";
};
+
+ i2c4: i2c@1a9c000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a9c000 0x0 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE7_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH 0>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE7_CLK>;
+ operating-points-v2 = <&i2c_opp_table_32mhz>;
+
+ status = "disabled";
+ };
+ };
+
+ system-cache-controller@4000000 {
+ compatible = "qcom,ipq9650-llcc";
+ reg = <0x0 0x04000000 0x0 0x200000>;
+ reg-names = "llcc0_base";
+ interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH 0>;
+ };
+
+ usb2: usb@1e00000 {
+ compatible = "qcom,ipq9650-dwc3", "qcom,snps-dwc3";
+ reg = <0x0 0x01e00000 0x0 0x200000>;
+
+ clocks = <&gcc GCC_SNOC_USB_CLK>,
+ <&gcc GCC_USB1_MASTER_CLK>,
+ <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
+ <&gcc GCC_USB1_SLEEP_CLK>,
+ <&gcc GCC_USB1_MOCK_UTMI_CLK>;
+
+ clock-names = "cfg_noc",
+ "core",
+ "iface",
+ "sleep",
+ "mock_utmi";
+
+ assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
+ <&gcc GCC_USB1_MOCK_UTMI_CLK>;
+ assigned-clock-rates = <200000000>,
+ <24000000>;
+
+ interrupts-extended = <&intc GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH 0>;
+ interrupt-names = "dwc_usb3",
+ "pwr_event",
+ "qusb2_phy",
+ "dp_hs_phy_irq",
+ "dm_hs_phy_irq";
+
+ phys = <&qusb_phy_1>;
+ phy-names = "usb2-phy";
+
+ resets = <&gcc GCC_USB1_BCR>;
+
+ qcom,select-utmi-as-pipe-clk;
+ snps,dis_u2_susphy_quirk;
+ snps,dis_u3_susphy_quirk;
+ snps,hird-threshold = /bits/ 8 <0x0>;
+ snps,is-utmi-l1-suspend;
+ tx-fifo-resize;
+
+ maximum-speed = "high-speed";
+
+ status = "disabled";
};
sdhc: mmc@7804000 {
@@ -429,6 +696,102 @@ sdhc: mmc@7804000 {
"core",
"xo";
non-removable;
+ qcom,ice = <&sdhc_ice>;
+ operating-points-v2 = <&sdhc_opp_table_300mhz>;
+ supports-cqe;
+
+ status = "disabled";
+ };
+
+ sdhc_ice: crypto@7808000 {
+ compatible = "qcom,ipq9650-inline-crypto-engine",
+ "qcom,inline-crypto-engine";
+ reg = <0x0 0x07808000 0x0 0x2000>;
+
+ clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
+ <&gcc GCC_SDCC1_AHB_CLK>;
+ clock-names = "core",
+ "iface";
+
+ status = "disabled";
+ };
+
+ qpic_bam: dma-controller@7984000 {
+ compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
+ reg = <0x0 0x7984000 0x0 0x1c000>;
+ interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&gcc GCC_QPIC_AHB_CLK>;
+ clock-names = "bam_clk";
+ #dma-cells = <1>;
+ qcom,ee = <0>;
+ };
+
+ qpic_nand: spi@79b0000 {
+ compatible = "qcom,ipq9650-snand", "qcom,ipq9574-snand";
+ reg = <0x0 0x79b0000 0x0 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&gcc GCC_QPIC_CLK>,
+ <&gcc GCC_QPIC_AHB_CLK>,
+ <&gcc GCC_QPIC_IO_MACRO_CLK>;
+ clock-names = "core",
+ "aon",
+ "iom";
+
+ dmas = <&qpic_bam 0>,
+ <&qpic_bam 1>,
+ <&qpic_bam 2>;
+ dma-names = "tx",
+ "rx",
+ "cmd";
+
+ status = "disabled";
+ };
+
+ usb3: usb@8a00000 {
+ compatible = "qcom,ipq9650-dwc3", "qcom,snps-dwc3";
+ reg = <0x0 0x08a00000 0x0 0x200000>;
+
+ clocks = <&gcc GCC_SNOC_USB_CLK>,
+ <&gcc GCC_USB0_MASTER_CLK>,
+ <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
+ <&gcc GCC_USB0_SLEEP_CLK>,
+ <&gcc GCC_USB0_MOCK_UTMI_CLK>;
+
+ clock-names = "cfg_noc",
+ "core",
+ "iface",
+ "sleep",
+ "mock_utmi";
+
+ assigned-clocks = <&gcc GCC_USB0_MASTER_CLK>,
+ <&gcc GCC_USB0_MOCK_UTMI_CLK>;
+ assigned-clock-rates = <200000000>,
+ <24000000>;
+
+ interrupts-extended = <&intc GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH 0>,
+ <&intc GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH 0>;
+ interrupt-names = "dwc_usb3",
+ "pwr_event",
+ "qusb2_phy",
+ "dp_hs_phy_irq",
+ "dm_hs_phy_irq";
+
+ phys = <&qusb_phy_0>,
+ <&ssphy_0>;
+ phy-names = "usb2-phy",
+ "usb3-phy";
+
+ resets = <&gcc GCC_USB_BCR>;
+
+ snps,hird-threshold = /bits/ 8 <0x0>;
+ snps,is-utmi-l1-suspend;
+ snps,dis_u2_susphy_quirk;
+ snps,dis_u3_susphy_quirk;
+ tx-fifo-resize;
status = "disabled";
};
@@ -528,6 +891,50 @@ frame@f42d000 {
};
};
+ iommu@15000000 {
+ compatible = "qcom,ipq9650-smmu-500",
+ "qcom,smmu-500",
+ "arm,mmu-500";
+ reg = <0x0 0x15000000 0x0 0x40000>;
+
+ interrupts = <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC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