aboutsummaryrefslogtreecommitdiff
path: root/src/arm/imx7d.dtsi
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-11-10 20:44:37 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-11-10 20:44:37 +0000
commit0bf7de3125ed8dcfbeaa112994b25101fa9b96c6 (patch)
treeae8484d3cc1ff07575b83cc7a4592c9a33bd1dcc /src/arm/imx7d.dtsi
parentc4fc09e238494b428e1e0abfd881425a86d8bfe7 (diff)
downloadsrc-0bf7de3125ed8dcfbeaa112994b25101fa9b96c6.tar.gz
src-0bf7de3125ed8dcfbeaa112994b25101fa9b96c6.zip
Notes
Diffstat (limited to 'src/arm/imx7d.dtsi')
-rw-r--r--src/arm/imx7d.dtsi13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/arm/imx7d.dtsi b/src/arm/imx7d.dtsi
index 8d3d123d0a5c..7234e8330a57 100644
--- a/src/arm/imx7d.dtsi
+++ b/src/arm/imx7d.dtsi
@@ -11,6 +11,7 @@
cpu0: cpu@0 {
clock-frequency = <996000000>;
operating-points-v2 = <&cpu0_opp_table>;
+ #cooling-cells = <2>;
};
cpu1: cpu@1 {
@@ -125,10 +126,14 @@
interrupt-names = "msi";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
- interrupt-map = <0 0 0 1 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
- <0 0 0 2 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
- <0 0 0 3 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
- <0 0 0 4 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
+ /*
+ * Reference manual lists pci irqs incorrectly
+ * Real hardware ordering is same as imx6: D+MSI, C, B, A
+ */
+ interrupt-map = <0 0 0 1 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 2 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 3 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
+ <0 0 0 4 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7D_PCIE_CTRL_ROOT_CLK>,
<&clks IMX7D_PLL_ENET_MAIN_100M_CLK>,
<&clks IMX7D_PCIE_PHY_ROOT_CLK>;