mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
e8e7b3c106
This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Robert Marko <robimarko@gmail.com>
606 lines
16 KiB
Diff
606 lines
16 KiB
Diff
From 2c6e322a41c5e1ca45be50b9d5fbcda62dc23a0d Mon Sep 17 00:00:00 2001
|
|
From: Konrad Dybcio <konrad.dybcio@linaro.org>
|
|
Date: Mon, 2 Jan 2023 10:46:28 +0100
|
|
Subject: [PATCH] arm64: dts: qcom: ipq6018: Sort nodes properly
|
|
|
|
Order nodes by unit address if one exists and alphabetically otherwise.
|
|
|
|
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
Link: https://lore.kernel.org/r/20230102094642.74254-4-konrad.dybcio@linaro.org
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 562 +++++++++++++-------------
|
|
1 file changed, 281 insertions(+), 281 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
@@ -87,6 +87,12 @@
|
|
};
|
|
};
|
|
|
|
+ firmware {
|
|
+ scm {
|
|
+ compatible = "qcom,scm-ipq6018", "qcom,scm";
|
|
+ };
|
|
+ };
|
|
+
|
|
cpu_opp_table: opp-table-cpu {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
@@ -123,12 +129,6 @@
|
|
};
|
|
};
|
|
|
|
- firmware {
|
|
- scm {
|
|
- compatible = "qcom,scm-ipq6018", "qcom,scm";
|
|
- };
|
|
- };
|
|
-
|
|
pmuv8: pmu {
|
|
compatible = "arm,cortex-a53-pmu";
|
|
interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) |
|
|
@@ -166,6 +166,28 @@
|
|
};
|
|
};
|
|
|
|
+ rpm-glink {
|
|
+ compatible = "qcom,glink-rpm";
|
|
+ interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
|
|
+ qcom,rpm-msg-ram = <&rpm_msg_ram>;
|
|
+ mboxes = <&apcs_glb 0>;
|
|
+
|
|
+ rpm_requests: glink-channel {
|
|
+ compatible = "qcom,rpm-ipq6018";
|
|
+ qcom,glink-channels = "rpm_requests";
|
|
+
|
|
+ regulators {
|
|
+ compatible = "qcom,rpm-mp5496-regulators";
|
|
+
|
|
+ ipq6018_s2: s2 {
|
|
+ regulator-min-microvolt = <725000>;
|
|
+ regulator-max-microvolt = <1062500>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
smem {
|
|
compatible = "qcom,smem";
|
|
memory-region = <&smem_region>;
|
|
@@ -179,6 +201,102 @@
|
|
dma-ranges;
|
|
compatible = "simple-bus";
|
|
|
|
+ qusb_phy_1: qusb@59000 {
|
|
+ compatible = "qcom,ipq6018-qusb2-phy";
|
|
+ reg = <0x0 0x00059000 0x0 0x180>;
|
|
+ #phy-cells = <0>;
|
|
+
|
|
+ clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
|
|
+ <&xo>;
|
|
+ clock-names = "cfg_ahb", "ref";
|
|
+
|
|
+ resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ ssphy_0: ssphy@78000 {
|
|
+ compatible = "qcom,ipq6018-qmp-usb3-phy";
|
|
+ reg = <0x0 0x00078000 0x0 0x1c4>;
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+ ranges;
|
|
+
|
|
+ clocks = <&gcc GCC_USB0_AUX_CLK>,
|
|
+ <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>;
|
|
+ clock-names = "aux", "cfg_ahb", "ref";
|
|
+
|
|
+ resets = <&gcc GCC_USB0_PHY_BCR>,
|
|
+ <&gcc GCC_USB3PHY_0_PHY_BCR>;
|
|
+ reset-names = "phy","common";
|
|
+ status = "disabled";
|
|
+
|
|
+ usb0_ssphy: phy@78200 {
|
|
+ reg = <0x0 0x00078200 0x0 0x130>, /* Tx */
|
|
+ <0x0 0x00078400 0x0 0x200>, /* Rx */
|
|
+ <0x0 0x00078800 0x0 0x1f8>, /* PCS */
|
|
+ <0x0 0x00078600 0x0 0x044>; /* PCS misc */
|
|
+ #phy-cells = <0>;
|
|
+ #clock-cells = <0>;
|
|
+ clocks = <&gcc GCC_USB0_PIPE_CLK>;
|
|
+ clock-names = "pipe0";
|
|
+ clock-output-names = "gcc_usb0_pipe_clk_src";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ qusb_phy_0: qusb@79000 {
|
|
+ compatible = "qcom,ipq6018-qusb2-phy";
|
|
+ reg = <0x0 0x00079000 0x0 0x180>;
|
|
+ #phy-cells = <0>;
|
|
+
|
|
+ clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
|
|
+ <&xo>;
|
|
+ clock-names = "cfg_ahb", "ref";
|
|
+
|
|
+ resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ pcie_phy: phy@84000 {
|
|
+ compatible = "qcom,ipq6018-qmp-pcie-phy";
|
|
+ reg = <0x0 0x00084000 0x0 0x1bc>; /* Serdes PLL */
|
|
+ status = "disabled";
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+ ranges;
|
|
+
|
|
+ clocks = <&gcc GCC_PCIE0_AUX_CLK>,
|
|
+ <&gcc GCC_PCIE0_AHB_CLK>;
|
|
+ clock-names = "aux", "cfg_ahb";
|
|
+
|
|
+ resets = <&gcc GCC_PCIE0_PHY_BCR>,
|
|
+ <&gcc GCC_PCIE0PHY_PHY_BCR>;
|
|
+ reset-names = "phy",
|
|
+ "common";
|
|
+
|
|
+ pcie_phy0: phy@84200 {
|
|
+ reg = <0x0 0x00084200 0x0 0x16c>, /* Serdes Tx */
|
|
+ <0x0 0x00084400 0x0 0x200>, /* Serdes Rx */
|
|
+ <0x0 0x00084800 0x0 0x1f0>, /* PCS: Lane0, COM, PCIE */
|
|
+ <0x0 0x00084c00 0x0 0xf4>; /* pcs_misc */
|
|
+ #phy-cells = <0>;
|
|
+
|
|
+ clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
|
|
+ clock-names = "pipe0";
|
|
+ clock-output-names = "gcc_pcie0_pipe_clk_src";
|
|
+ #clock-cells = <0>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ mdio: mdio@90000 {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio";
|
|
+ reg = <0x0 0x00090000 0x0 0x64>;
|
|
+ clocks = <&gcc GCC_MDIO_AHB_CLK>;
|
|
+ clock-names = "gcc_mdio_ahb_clk";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
prng: qrng@e1000 {
|
|
compatible = "qcom,prng-ee";
|
|
reg = <0x0 0x000e3000 0x0 0x1000>;
|
|
@@ -257,6 +375,41 @@
|
|
reg = <0x0 0x01937000 0x0 0x21000>;
|
|
};
|
|
|
|
+ usb2: usb@70f8800 {
|
|
+ compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
|
|
+ reg = <0x0 0x070F8800 0x0 0x400>;
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+ ranges;
|
|
+ clocks = <&gcc GCC_USB1_MASTER_CLK>,
|
|
+ <&gcc GCC_USB1_SLEEP_CLK>,
|
|
+ <&gcc GCC_USB1_MOCK_UTMI_CLK>;
|
|
+ clock-names = "core",
|
|
+ "sleep",
|
|
+ "mock_utmi";
|
|
+
|
|
+ assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
|
|
+ <&gcc GCC_USB1_MOCK_UTMI_CLK>;
|
|
+ assigned-clock-rates = <133330000>,
|
|
+ <24000000>;
|
|
+ resets = <&gcc GCC_USB1_BCR>;
|
|
+ status = "disabled";
|
|
+
|
|
+ dwc_1: usb@7000000 {
|
|
+ compatible = "snps,dwc3";
|
|
+ reg = <0x0 0x07000000 0x0 0xcd00>;
|
|
+ interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ phys = <&qusb_phy_1>;
|
|
+ phy-names = "usb2-phy";
|
|
+ tx-fifo-resize;
|
|
+ snps,is-utmi-l1-suspend;
|
|
+ snps,hird-threshold = /bits/ 8 <0x0>;
|
|
+ snps,dis_u2_susphy_quirk;
|
|
+ snps,dis_u3_susphy_quirk;
|
|
+ dr_mode = "host";
|
|
+ };
|
|
+ };
|
|
+
|
|
blsp_dma: dma-controller@7884000 {
|
|
compatible = "qcom,bam-v1.7.0";
|
|
reg = <0x0 0x07884000 0x0 0x2b000>;
|
|
@@ -366,6 +519,49 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ usb3: usb@8af8800 {
|
|
+ compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
|
|
+ reg = <0x0 0x08af8800 0x0 0x400>;
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+ ranges;
|
|
+
|
|
+ clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
|
|
+ <&gcc GCC_USB0_MASTER_CLK>,
|
|
+ <&gcc GCC_USB0_SLEEP_CLK>,
|
|
+ <&gcc GCC_USB0_MOCK_UTMI_CLK>;
|
|
+ clock-names = "cfg_noc",
|
|
+ "core",
|
|
+ "sleep",
|
|
+ "mock_utmi";
|
|
+
|
|
+ assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
|
|
+ <&gcc GCC_USB0_MASTER_CLK>,
|
|
+ <&gcc GCC_USB0_MOCK_UTMI_CLK>;
|
|
+ assigned-clock-rates = <133330000>,
|
|
+ <133330000>,
|
|
+ <24000000>;
|
|
+
|
|
+ resets = <&gcc GCC_USB0_BCR>;
|
|
+ status = "disabled";
|
|
+
|
|
+ dwc_0: usb@8a00000 {
|
|
+ compatible = "snps,dwc3";
|
|
+ reg = <0x0 0x08a00000 0x0 0xcd00>;
|
|
+ interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ phys = <&qusb_phy_0>, <&usb0_ssphy>;
|
|
+ phy-names = "usb2-phy", "usb3-phy";
|
|
+ clocks = <&xo>;
|
|
+ clock-names = "ref";
|
|
+ tx-fifo-resize;
|
|
+ snps,is-utmi-l1-suspend;
|
|
+ snps,hird-threshold = /bits/ 8 <0x0>;
|
|
+ snps,dis_u2_susphy_quirk;
|
|
+ snps,dis_u3_susphy_quirk;
|
|
+ dr_mode = "host";
|
|
+ };
|
|
+ };
|
|
+
|
|
intc: interrupt-controller@b000000 {
|
|
compatible = "qcom,msm-qgic2";
|
|
#address-cells = <2>;
|
|
@@ -386,105 +582,6 @@
|
|
};
|
|
};
|
|
|
|
- pcie_phy: phy@84000 {
|
|
- compatible = "qcom,ipq6018-qmp-pcie-phy";
|
|
- reg = <0x0 0x00084000 0x0 0x1bc>; /* Serdes PLL */
|
|
- status = "disabled";
|
|
- #address-cells = <2>;
|
|
- #size-cells = <2>;
|
|
- ranges;
|
|
-
|
|
- clocks = <&gcc GCC_PCIE0_AUX_CLK>,
|
|
- <&gcc GCC_PCIE0_AHB_CLK>;
|
|
- clock-names = "aux", "cfg_ahb";
|
|
-
|
|
- resets = <&gcc GCC_PCIE0_PHY_BCR>,
|
|
- <&gcc GCC_PCIE0PHY_PHY_BCR>;
|
|
- reset-names = "phy",
|
|
- "common";
|
|
-
|
|
- pcie_phy0: phy@84200 {
|
|
- reg = <0x0 0x00084200 0x0 0x16c>, /* Serdes Tx */
|
|
- <0x0 0x00084400 0x0 0x200>, /* Serdes Rx */
|
|
- <0x0 0x00084800 0x0 0x1f0>, /* PCS: Lane0, COM, PCIE */
|
|
- <0x0 0x00084c00 0x0 0xf4>; /* pcs_misc */
|
|
- #phy-cells = <0>;
|
|
-
|
|
- clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
|
|
- clock-names = "pipe0";
|
|
- clock-output-names = "gcc_pcie0_pipe_clk_src";
|
|
- #clock-cells = <0>;
|
|
- };
|
|
- };
|
|
-
|
|
- pcie0: pci@20000000 {
|
|
- compatible = "qcom,pcie-ipq6018";
|
|
- reg = <0x0 0x20000000 0x0 0xf1d>,
|
|
- <0x0 0x20000f20 0x0 0xa8>,
|
|
- <0x0 0x20001000 0x0 0x1000>,
|
|
- <0x0 0x80000 0x0 0x4000>,
|
|
- <0x0 0x20100000 0x0 0x1000>;
|
|
- reg-names = "dbi", "elbi", "atu", "parf", "config";
|
|
-
|
|
- device_type = "pci";
|
|
- linux,pci-domain = <0>;
|
|
- bus-range = <0x00 0xff>;
|
|
- num-lanes = <1>;
|
|
- max-link-speed = <3>;
|
|
- #address-cells = <3>;
|
|
- #size-cells = <2>;
|
|
-
|
|
- phys = <&pcie_phy0>;
|
|
- phy-names = "pciephy";
|
|
-
|
|
- ranges = <0x81000000 0x0 0x00000000 0x0 0x20200000 0x0 0x10000>,
|
|
- <0x82000000 0x0 0x20220000 0x0 0x20220000 0x0 0xfde0000>;
|
|
-
|
|
- interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
|
|
- interrupt-names = "msi";
|
|
-
|
|
- #interrupt-cells = <1>;
|
|
- interrupt-map-mask = <0 0 0 0x7>;
|
|
- interrupt-map = <0 0 0 1 &intc 0 75
|
|
- IRQ_TYPE_LEVEL_HIGH>, /* int_a */
|
|
- <0 0 0 2 &intc 0 78
|
|
- IRQ_TYPE_LEVEL_HIGH>, /* int_b */
|
|
- <0 0 0 3 &intc 0 79
|
|
- IRQ_TYPE_LEVEL_HIGH>, /* int_c */
|
|
- <0 0 0 4 &intc 0 83
|
|
- IRQ_TYPE_LEVEL_HIGH>; /* int_d */
|
|
-
|
|
- clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
|
|
- <&gcc GCC_PCIE0_AXI_M_CLK>,
|
|
- <&gcc GCC_PCIE0_AXI_S_CLK>,
|
|
- <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
|
|
- <&gcc PCIE0_RCHNG_CLK>;
|
|
- clock-names = "iface",
|
|
- "axi_m",
|
|
- "axi_s",
|
|
- "axi_bridge",
|
|
- "rchng";
|
|
-
|
|
- resets = <&gcc GCC_PCIE0_PIPE_ARES>,
|
|
- <&gcc GCC_PCIE0_SLEEP_ARES>,
|
|
- <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
|
|
- <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
|
|
- <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
|
|
- <&gcc GCC_PCIE0_AHB_ARES>,
|
|
- <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
|
|
- <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
|
|
- reset-names = "pipe",
|
|
- "sleep",
|
|
- "sticky",
|
|
- "axi_m",
|
|
- "axi_s",
|
|
- "ahb",
|
|
- "axi_m_sticky",
|
|
- "axi_s_sticky";
|
|
-
|
|
- status = "disabled";
|
|
- };
|
|
-
|
|
watchdog@b017000 {
|
|
compatible = "qcom,kpss-wdt";
|
|
interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
|
|
@@ -617,147 +714,74 @@
|
|
};
|
|
};
|
|
|
|
- mdio: mdio@90000 {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
- compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio";
|
|
- reg = <0x0 0x00090000 0x0 0x64>;
|
|
- clocks = <&gcc GCC_MDIO_AHB_CLK>;
|
|
- clock-names = "gcc_mdio_ahb_clk";
|
|
- status = "disabled";
|
|
- };
|
|
-
|
|
- qusb_phy_1: qusb@59000 {
|
|
- compatible = "qcom,ipq6018-qusb2-phy";
|
|
- reg = <0x0 0x00059000 0x0 0x180>;
|
|
- #phy-cells = <0>;
|
|
-
|
|
- clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
|
|
- <&xo>;
|
|
- clock-names = "cfg_ahb", "ref";
|
|
-
|
|
- resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
|
|
- status = "disabled";
|
|
- };
|
|
-
|
|
- usb2: usb@70f8800 {
|
|
- compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
|
|
- reg = <0x0 0x070F8800 0x0 0x400>;
|
|
- #address-cells = <2>;
|
|
- #size-cells = <2>;
|
|
- ranges;
|
|
- clocks = <&gcc GCC_USB1_MASTER_CLK>,
|
|
- <&gcc GCC_USB1_SLEEP_CLK>,
|
|
- <&gcc GCC_USB1_MOCK_UTMI_CLK>;
|
|
- clock-names = "core",
|
|
- "sleep",
|
|
- "mock_utmi";
|
|
-
|
|
- assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
|
|
- <&gcc GCC_USB1_MOCK_UTMI_CLK>;
|
|
- assigned-clock-rates = <133330000>,
|
|
- <24000000>;
|
|
- resets = <&gcc GCC_USB1_BCR>;
|
|
- status = "disabled";
|
|
-
|
|
- dwc_1: usb@7000000 {
|
|
- compatible = "snps,dwc3";
|
|
- reg = <0x0 0x07000000 0x0 0xcd00>;
|
|
- interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
|
|
- phys = <&qusb_phy_1>;
|
|
- phy-names = "usb2-phy";
|
|
- tx-fifo-resize;
|
|
- snps,is-utmi-l1-suspend;
|
|
- snps,hird-threshold = /bits/ 8 <0x0>;
|
|
- snps,dis_u2_susphy_quirk;
|
|
- snps,dis_u3_susphy_quirk;
|
|
- dr_mode = "host";
|
|
- };
|
|
- };
|
|
+ pcie0: pci@20000000 {
|
|
+ compatible = "qcom,pcie-ipq6018";
|
|
+ reg = <0x0 0x20000000 0x0 0xf1d>,
|
|
+ <0x0 0x20000f20 0x0 0xa8>,
|
|
+ <0x0 0x20001000 0x0 0x1000>,
|
|
+ <0x0 0x80000 0x0 0x4000>,
|
|
+ <0x0 0x20100000 0x0 0x1000>;
|
|
+ reg-names = "dbi", "elbi", "atu", "parf", "config";
|
|
|
|
- ssphy_0: ssphy@78000 {
|
|
- compatible = "qcom,ipq6018-qmp-usb3-phy";
|
|
- reg = <0x0 0x00078000 0x0 0x1c4>;
|
|
- #address-cells = <2>;
|
|
+ device_type = "pci";
|
|
+ linux,pci-domain = <0>;
|
|
+ bus-range = <0x00 0xff>;
|
|
+ num-lanes = <1>;
|
|
+ max-link-speed = <3>;
|
|
+ #address-cells = <3>;
|
|
#size-cells = <2>;
|
|
- ranges;
|
|
-
|
|
- clocks = <&gcc GCC_USB0_AUX_CLK>,
|
|
- <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>;
|
|
- clock-names = "aux", "cfg_ahb", "ref";
|
|
-
|
|
- resets = <&gcc GCC_USB0_PHY_BCR>,
|
|
- <&gcc GCC_USB3PHY_0_PHY_BCR>;
|
|
- reset-names = "phy","common";
|
|
- status = "disabled";
|
|
-
|
|
- usb0_ssphy: phy@78200 {
|
|
- reg = <0x0 0x00078200 0x0 0x130>, /* Tx */
|
|
- <0x0 0x00078400 0x0 0x200>, /* Rx */
|
|
- <0x0 0x00078800 0x0 0x1f8>, /* PCS */
|
|
- <0x0 0x00078600 0x0 0x044>; /* PCS misc */
|
|
- #phy-cells = <0>;
|
|
- #clock-cells = <0>;
|
|
- clocks = <&gcc GCC_USB0_PIPE_CLK>;
|
|
- clock-names = "pipe0";
|
|
- clock-output-names = "gcc_usb0_pipe_clk_src";
|
|
- };
|
|
- };
|
|
|
|
- qusb_phy_0: qusb@79000 {
|
|
- compatible = "qcom,ipq6018-qusb2-phy";
|
|
- reg = <0x0 0x00079000 0x0 0x180>;
|
|
- #phy-cells = <0>;
|
|
+ phys = <&pcie_phy0>;
|
|
+ phy-names = "pciephy";
|
|
|
|
- clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
|
|
- <&xo>;
|
|
- clock-names = "cfg_ahb", "ref";
|
|
+ ranges = <0x81000000 0 0x20200000 0 0x20200000
|
|
+ 0 0x10000>, /* downstream I/O */
|
|
+ <0x82000000 0 0x20220000 0 0x20220000
|
|
+ 0 0xfde0000>; /* non-prefetchable memory */
|
|
|
|
- resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
|
|
- status = "disabled";
|
|
- };
|
|
+ interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "msi";
|
|
|
|
- usb3: usb@8af8800 {
|
|
- compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
|
|
- reg = <0x0 0x8af8800 0x0 0x400>;
|
|
- #address-cells = <2>;
|
|
- #size-cells = <2>;
|
|
- ranges;
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-map-mask = <0 0 0 0x7>;
|
|
+ interrupt-map = <0 0 0 1 &intc 0 75
|
|
+ IRQ_TYPE_LEVEL_HIGH>, /* int_a */
|
|
+ <0 0 0 2 &intc 0 78
|
|
+ IRQ_TYPE_LEVEL_HIGH>, /* int_b */
|
|
+ <0 0 0 3 &intc 0 79
|
|
+ IRQ_TYPE_LEVEL_HIGH>, /* int_c */
|
|
+ <0 0 0 4 &intc 0 83
|
|
+ IRQ_TYPE_LEVEL_HIGH>; /* int_d */
|
|
|
|
- clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
|
|
- <&gcc GCC_USB0_MASTER_CLK>,
|
|
- <&gcc GCC_USB0_SLEEP_CLK>,
|
|
- <&gcc GCC_USB0_MOCK_UTMI_CLK>;
|
|
- clock-names = "cfg_noc",
|
|
- "core",
|
|
- "sleep",
|
|
- "mock_utmi";
|
|
+ clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
|
|
+ <&gcc GCC_PCIE0_AXI_M_CLK>,
|
|
+ <&gcc GCC_PCIE0_AXI_S_CLK>,
|
|
+ <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
|
|
+ <&gcc PCIE0_RCHNG_CLK>;
|
|
+ clock-names = "iface",
|
|
+ "axi_m",
|
|
+ "axi_s",
|
|
+ "axi_bridge",
|
|
+ "rchng";
|
|
|
|
- assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
|
|
- <&gcc GCC_USB0_MASTER_CLK>,
|
|
- <&gcc GCC_USB0_MOCK_UTMI_CLK>;
|
|
- assigned-clock-rates = <133330000>,
|
|
- <133330000>,
|
|
- <24000000>;
|
|
+ resets = <&gcc GCC_PCIE0_PIPE_ARES>,
|
|
+ <&gcc GCC_PCIE0_SLEEP_ARES>,
|
|
+ <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
|
|
+ <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
|
|
+ <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
|
|
+ <&gcc GCC_PCIE0_AHB_ARES>,
|
|
+ <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
|
|
+ <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
|
|
+ reset-names = "pipe",
|
|
+ "sleep",
|
|
+ "sticky",
|
|
+ "axi_m",
|
|
+ "axi_s",
|
|
+ "ahb",
|
|
+ "axi_m_sticky",
|
|
+ "axi_s_sticky";
|
|
|
|
- resets = <&gcc GCC_USB0_BCR>;
|
|
status = "disabled";
|
|
-
|
|
- dwc_0: usb@8a00000 {
|
|
- compatible = "snps,dwc3";
|
|
- reg = <0x0 0x8a00000 0x0 0xcd00>;
|
|
- interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
|
|
- phys = <&qusb_phy_0>, <&usb0_ssphy>;
|
|
- phy-names = "usb2-phy", "usb3-phy";
|
|
- clocks = <&xo>;
|
|
- clock-names = "ref";
|
|
- tx-fifo-resize;
|
|
- snps,is-utmi-l1-suspend;
|
|
- snps,hird-threshold = /bits/ 8 <0x0>;
|
|
- snps,dis_u2_susphy_quirk;
|
|
- snps,dis_u3_susphy_quirk;
|
|
- dr_mode = "host";
|
|
- };
|
|
};
|
|
};
|
|
|
|
@@ -792,26 +816,4 @@
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
-
|
|
- rpm-glink {
|
|
- compatible = "qcom,glink-rpm";
|
|
- interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
|
|
- qcom,rpm-msg-ram = <&rpm_msg_ram>;
|
|
- mboxes = <&apcs_glb 0>;
|
|
-
|
|
- rpm_requests: glink-channel {
|
|
- compatible = "qcom,rpm-ipq6018";
|
|
- qcom,glink-channels = "rpm_requests";
|
|
-
|
|
- regulators {
|
|
- compatible = "qcom,rpm-mp5496-regulators";
|
|
-
|
|
- ipq6018_s2: s2 {
|
|
- regulator-min-microvolt = <725000>;
|
|
- regulator-max-microvolt = <1062500>;
|
|
- regulator-always-on;
|
|
- };
|
|
- };
|
|
- };
|
|
- };
|
|
};
|