2013-02-04 15:09:16 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright 2013 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2013-11-14 21:02:10 +00:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2013-02-20 02:32:52 +00:00
|
|
|
#include "imx6q-pinfunc.h"
|
2013-07-11 05:58:36 +00:00
|
|
|
#include "imx6qdl.dtsi"
|
2013-02-04 15:09:16 +00:00
|
|
|
|
|
|
|
/ {
|
2014-01-16 12:44:19 +00:00
|
|
|
aliases {
|
|
|
|
spi4 = &ecspi5;
|
|
|
|
};
|
|
|
|
|
2013-02-04 15:09:16 +00:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-18 17:34:06 +00:00
|
|
|
device_type = "cpu";
|
2013-02-04 15:09:16 +00:00
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
operating-points = <
|
|
|
|
/* kHz uV */
|
|
|
|
1200000 1275000
|
|
|
|
996000 1250000
|
2014-02-12 09:57:02 +00:00
|
|
|
852000 1250000
|
2014-12-05 08:23:48 +00:00
|
|
|
792000 1175000
|
2013-12-16 21:07:37 +00:00
|
|
|
396000 975000
|
2013-02-04 15:09:16 +00:00
|
|
|
>;
|
2013-12-19 14:16:48 +00:00
|
|
|
fsl,soc-operating-points = <
|
|
|
|
/* ARM kHz SOC-PU uV */
|
|
|
|
1200000 1275000
|
|
|
|
996000 1250000
|
2014-02-12 09:57:02 +00:00
|
|
|
852000 1250000
|
2013-12-19 14:16:48 +00:00
|
|
|
792000 1175000
|
|
|
|
396000 1175000
|
2013-02-04 15:09:16 +00:00
|
|
|
>;
|
|
|
|
clock-latency = <61036>; /* two CLK32 periods */
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6QDL_CLK_ARM>,
|
|
|
|
<&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
|
|
|
|
<&clks IMX6QDL_CLK_STEP>,
|
|
|
|
<&clks IMX6QDL_CLK_PLL1_SW>,
|
|
|
|
<&clks IMX6QDL_CLK_PLL1_SYS>;
|
2013-02-04 15:09:16 +00:00
|
|
|
clock-names = "arm", "pll2_pfd2_396m", "step",
|
|
|
|
"pll1_sw", "pll1_sys";
|
|
|
|
arm-supply = <®_arm>;
|
|
|
|
pu-supply = <®_pu>;
|
|
|
|
soc-supply = <®_soc>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-18 17:34:06 +00:00
|
|
|
device_type = "cpu";
|
2013-02-04 15:09:16 +00:00
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-18 17:34:06 +00:00
|
|
|
device_type = "cpu";
|
2013-02-04 15:09:16 +00:00
|
|
|
reg = <2>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-18 17:34:06 +00:00
|
|
|
device_type = "cpu";
|
2013-02-04 15:09:16 +00:00
|
|
|
reg = <3>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2013-07-23 07:25:13 +00:00
|
|
|
ocram: sram@00900000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x00900000 0x40000>;
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
2013-07-23 07:25:13 +00:00
|
|
|
};
|
|
|
|
|
2013-02-04 15:09:16 +00:00
|
|
|
aips-bus@02000000 { /* AIPS1 */
|
|
|
|
spba-bus@02000000 {
|
|
|
|
ecspi5: ecspi@02018000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
|
|
|
|
reg = <0x02018000 0x4000>;
|
2013-11-14 21:02:10 +00:00
|
|
|
interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6Q_CLK_ECSPI5>,
|
|
|
|
<&clks IMX6Q_CLK_ECSPI5>;
|
2013-02-04 15:09:16 +00:00
|
|
|
clock-names = "ipg", "per";
|
2015-01-13 18:04:08 +00:00
|
|
|
dmas = <&sdma 11 7 1>, <&sdma 12 7 2>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-02-04 15:09:16 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
iomuxc: iomuxc@020e0000 {
|
|
|
|
compatible = "fsl,imx6q-iomuxc";
|
2013-07-12 03:38:50 +00:00
|
|
|
|
|
|
|
ipu2 {
|
|
|
|
pinctrl_ipu2_1: ipu2grp-1 {
|
|
|
|
fsl,pins = <
|
|
|
|
MX6QDL_PAD_DI0_DISP_CLK__IPU2_DI0_DISP_CLK 0x10
|
|
|
|
MX6QDL_PAD_DI0_PIN15__IPU2_DI0_PIN15 0x10
|
|
|
|
MX6QDL_PAD_DI0_PIN2__IPU2_DI0_PIN02 0x10
|
|
|
|
MX6QDL_PAD_DI0_PIN3__IPU2_DI0_PIN03 0x10
|
|
|
|
MX6QDL_PAD_DI0_PIN4__IPU2_DI0_PIN04 0x80000000
|
|
|
|
MX6QDL_PAD_DISP0_DAT0__IPU2_DISP0_DATA00 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT1__IPU2_DISP0_DATA01 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT2__IPU2_DISP0_DATA02 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT3__IPU2_DISP0_DATA03 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT4__IPU2_DISP0_DATA04 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT5__IPU2_DISP0_DATA05 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT6__IPU2_DISP0_DATA06 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT7__IPU2_DISP0_DATA07 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT8__IPU2_DISP0_DATA08 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT9__IPU2_DISP0_DATA09 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT10__IPU2_DISP0_DATA10 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT11__IPU2_DISP0_DATA11 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT12__IPU2_DISP0_DATA12 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT13__IPU2_DISP0_DATA13 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT14__IPU2_DISP0_DATA14 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT15__IPU2_DISP0_DATA15 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT16__IPU2_DISP0_DATA16 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT17__IPU2_DISP0_DATA17 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT18__IPU2_DISP0_DATA18 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT19__IPU2_DISP0_DATA19 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT20__IPU2_DISP0_DATA20 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT21__IPU2_DISP0_DATA21 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT22__IPU2_DISP0_DATA22 0x10
|
|
|
|
MX6QDL_PAD_DISP0_DAT23__IPU2_DISP0_DATA23 0x10
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
2013-02-04 15:09:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-07-16 03:28:46 +00:00
|
|
|
sata: sata@02200000 {
|
|
|
|
compatible = "fsl,imx6q-ahci";
|
|
|
|
reg = <0x02200000 0x4000>;
|
2013-11-14 21:02:10 +00:00
|
|
|
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6QDL_CLK_SATA>,
|
|
|
|
<&clks IMX6QDL_CLK_SATA_REF_100M>,
|
|
|
|
<&clks IMX6QDL_CLK_AHB>;
|
2013-07-16 03:28:46 +00:00
|
|
|
clock-names = "sata", "sata_ref", "ahb";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2013-02-04 15:09:16 +00:00
|
|
|
ipu2: ipu@02800000 {
|
2014-03-05 09:21:01 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-02-04 15:09:16 +00:00
|
|
|
compatible = "fsl,imx6q-ipu";
|
|
|
|
reg = <0x02800000 0x400000>;
|
2013-11-14 21:02:10 +00:00
|
|
|
interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 7 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6QDL_CLK_IPU2>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU2_DI0>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU2_DI1>;
|
2013-02-04 15:09:16 +00:00
|
|
|
clock-names = "bus", "di0", "di1";
|
2013-03-28 16:35:20 +00:00
|
|
|
resets = <&src 4>;
|
2014-03-05 09:21:01 +00:00
|
|
|
|
2014-05-27 15:26:37 +00:00
|
|
|
ipu2_csi0: port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_csi1: port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
2014-03-05 09:21:01 +00:00
|
|
|
ipu2_di0: port@2 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
ipu2_di0_disp0: endpoint@0 {
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di0_hdmi: endpoint@1 {
|
|
|
|
remote-endpoint = <&hdmi_mux_2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di0_mipi: endpoint@2 {
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di0_lvds0: endpoint@3 {
|
|
|
|
remote-endpoint = <&lvds0_mux_2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di0_lvds1: endpoint@4 {
|
|
|
|
remote-endpoint = <&lvds1_mux_2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di1: port@3 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <3>;
|
|
|
|
|
|
|
|
ipu2_di1_hdmi: endpoint@1 {
|
|
|
|
remote-endpoint = <&hdmi_mux_3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di1_mipi: endpoint@2 {
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di1_lvds0: endpoint@3 {
|
|
|
|
remote-endpoint = <&lvds0_mux_3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di1_lvds1: endpoint@4 {
|
|
|
|
remote-endpoint = <&lvds1_mux_3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
display-subsystem {
|
|
|
|
compatible = "fsl,imx-display-subsystem";
|
|
|
|
ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi {
|
|
|
|
compatible = "fsl,imx6q-hdmi";
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
hdmi_mux_2: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di0_hdmi>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
|
|
|
|
hdmi_mux_3: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di1_hdmi>;
|
2013-02-04 15:09:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-03-28 15:23:35 +00:00
|
|
|
|
|
|
|
&ldb {
|
2014-06-15 12:36:50 +00:00
|
|
|
clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
|
|
|
|
<&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
|
2013-03-28 15:23:35 +00:00
|
|
|
clock-names = "di0_pll", "di1_pll",
|
|
|
|
"di0_sel", "di1_sel", "di2_sel", "di3_sel",
|
|
|
|
"di0", "di1";
|
|
|
|
|
|
|
|
lvds-channel@0 {
|
2014-03-05 09:21:01 +00:00
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
lvds0_mux_2: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di0_lvds0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
|
|
|
|
lvds0_mux_3: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di1_lvds0>;
|
|
|
|
};
|
|
|
|
};
|
2013-03-28 15:23:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
lvds-channel@1 {
|
2014-03-05 09:21:01 +00:00
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
lvds1_mux_2: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di0_lvds1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
|
|
|
|
lvds1_mux_3: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di1_lvds1>;
|
|
|
|
};
|
|
|
|
};
|
2013-03-28 15:23:35 +00:00
|
|
|
};
|
|
|
|
};
|
2013-10-16 09:19:00 +00:00
|
|
|
|
2014-03-05 09:21:01 +00:00
|
|
|
&mipi_dsi {
|
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
mipi_mux_2: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di0_mipi>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
|
|
|
|
mipi_mux_3: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di1_mipi>;
|
|
|
|
};
|
|
|
|
};
|
2013-10-16 09:19:00 +00:00
|
|
|
};
|
2014-11-11 21:12:47 +00:00
|
|
|
|
|
|
|
&vpu {
|
|
|
|
compatible = "fsl,imx6q-vpu", "cnm,coda960";
|
|
|
|
};
|