xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qp.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Copyright 2016 Freescale Semiconductor, Inc.
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot#include "imx6q.dtsi"
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	soc {
9*f126890aSEmmanuel Vadot		ocram2: sram@940000 {
10*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
11*f126890aSEmmanuel Vadot			reg = <0x00940000 0x20000>;
12*f126890aSEmmanuel Vadot			ranges = <0 0x00940000 0x20000>;
13*f126890aSEmmanuel Vadot			#address-cells = <1>;
14*f126890aSEmmanuel Vadot			#size-cells = <1>;
15*f126890aSEmmanuel Vadot			clocks = <&clks IMX6QDL_CLK_OCRAM>;
16*f126890aSEmmanuel Vadot		};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot		ocram3: sram@960000 {
19*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
20*f126890aSEmmanuel Vadot			reg = <0x00960000 0x20000>;
21*f126890aSEmmanuel Vadot			ranges = <0 0x00960000 0x20000>;
22*f126890aSEmmanuel Vadot			#address-cells = <1>;
23*f126890aSEmmanuel Vadot			#size-cells = <1>;
24*f126890aSEmmanuel Vadot			clocks = <&clks IMX6QDL_CLK_OCRAM>;
25*f126890aSEmmanuel Vadot		};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot		bus@2100000 {
28*f126890aSEmmanuel Vadot			pre1: pre@21c8000 {
29*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-pre";
30*f126890aSEmmanuel Vadot				reg = <0x021c8000 0x1000>;
31*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
32*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRE0>;
33*f126890aSEmmanuel Vadot				clock-names = "axi";
34*f126890aSEmmanuel Vadot				fsl,iram = <&ocram2>;
35*f126890aSEmmanuel Vadot			};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot			pre2: pre@21c9000 {
38*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-pre";
39*f126890aSEmmanuel Vadot				reg = <0x021c9000 0x1000>;
40*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>;
41*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRE1>;
42*f126890aSEmmanuel Vadot				clock-names = "axi";
43*f126890aSEmmanuel Vadot				fsl,iram = <&ocram2>;
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot			pre3: pre@21ca000 {
47*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-pre";
48*f126890aSEmmanuel Vadot				reg = <0x021ca000 0x1000>;
49*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 98 IRQ_TYPE_EDGE_RISING>;
50*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRE2>;
51*f126890aSEmmanuel Vadot				clock-names = "axi";
52*f126890aSEmmanuel Vadot				fsl,iram = <&ocram3>;
53*f126890aSEmmanuel Vadot			};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot			pre4: pre@21cb000 {
56*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-pre";
57*f126890aSEmmanuel Vadot				reg = <0x021cb000 0x1000>;
58*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 99 IRQ_TYPE_EDGE_RISING>;
59*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRE3>;
60*f126890aSEmmanuel Vadot				clock-names = "axi";
61*f126890aSEmmanuel Vadot				fsl,iram = <&ocram3>;
62*f126890aSEmmanuel Vadot			};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot			prg1: prg@21cc000 {
65*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-prg";
66*f126890aSEmmanuel Vadot				reg = <0x021cc000 0x1000>;
67*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRG0_APB>,
68*f126890aSEmmanuel Vadot					 <&clks IMX6QDL_CLK_PRG0_AXI>;
69*f126890aSEmmanuel Vadot				clock-names = "ipg", "axi";
70*f126890aSEmmanuel Vadot				fsl,pres = <&pre1>, <&pre2>, <&pre3>;
71*f126890aSEmmanuel Vadot			};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot			prg2: prg@21cd000 {
74*f126890aSEmmanuel Vadot				compatible = "fsl,imx6qp-prg";
75*f126890aSEmmanuel Vadot				reg = <0x021cd000 0x1000>;
76*f126890aSEmmanuel Vadot				clocks = <&clks IMX6QDL_CLK_PRG1_APB>,
77*f126890aSEmmanuel Vadot					 <&clks IMX6QDL_CLK_PRG1_AXI>;
78*f126890aSEmmanuel Vadot				clock-names = "ipg", "axi";
79*f126890aSEmmanuel Vadot				fsl,pres = <&pre4>, <&pre2>, <&pre3>;
80*f126890aSEmmanuel Vadot			};
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot	};
83*f126890aSEmmanuel Vadot};
84*f126890aSEmmanuel Vadot
85*f126890aSEmmanuel Vadot&fec {
86*f126890aSEmmanuel Vadot	interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
87*f126890aSEmmanuel Vadot		     <0 119 IRQ_TYPE_LEVEL_HIGH>;
88*f126890aSEmmanuel Vadot};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot&gpc {
91*f126890aSEmmanuel Vadot	compatible = "fsl,imx6qp-gpc", "fsl,imx6q-gpc";
92*f126890aSEmmanuel Vadot};
93*f126890aSEmmanuel Vadot
94*f126890aSEmmanuel Vadot&ipu1 {
95*f126890aSEmmanuel Vadot	compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
96*f126890aSEmmanuel Vadot	fsl,prg = <&prg1>;
97*f126890aSEmmanuel Vadot};
98*f126890aSEmmanuel Vadot
99*f126890aSEmmanuel Vadot&ipu2 {
100*f126890aSEmmanuel Vadot	compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu";
101*f126890aSEmmanuel Vadot	fsl,prg = <&prg2>;
102*f126890aSEmmanuel Vadot};
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot&ldb {
105*f126890aSEmmanuel Vadot	clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
106*f126890aSEmmanuel Vadot		 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
107*f126890aSEmmanuel Vadot		 <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
108*f126890aSEmmanuel Vadot		 <&clks IMX6QDL_CLK_LDB_DI0_PODF>, <&clks IMX6QDL_CLK_LDB_DI1_PODF>;
109*f126890aSEmmanuel Vadot	clock-names = "di0_pll", "di1_pll",
110*f126890aSEmmanuel Vadot		      "di0_sel", "di1_sel", "di2_sel", "di3_sel",
111*f126890aSEmmanuel Vadot		      "di0", "di1";
112*f126890aSEmmanuel Vadot};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot&mmdc0 {
115*f126890aSEmmanuel Vadot	compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc";
116*f126890aSEmmanuel Vadot};
117*f126890aSEmmanuel Vadot
118*f126890aSEmmanuel Vadot&pcie {
119*f126890aSEmmanuel Vadot	compatible = "fsl,imx6qp-pcie";
120*f126890aSEmmanuel Vadot};
121