2013-02-04 22:09:16 +07: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-15 04:02:10 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2013-02-20 09:32:52 +07:00
|
|
|
#include "imx6q-pinfunc.h"
|
2013-07-11 12:58:36 +07:00
|
|
|
#include "imx6qdl.dtsi"
|
2013-02-04 22:09:16 +07:00
|
|
|
|
|
|
|
/ {
|
2014-01-16 19:44:19 +07:00
|
|
|
aliases {
|
2015-12-02 20:42:22 +07:00
|
|
|
ipu1 = &ipu2;
|
2014-01-16 19:44:19 +07:00
|
|
|
spi4 = &ecspi5;
|
|
|
|
};
|
|
|
|
|
2013-02-04 22:09:16 +07:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2016-02-02 17:01:35 +07:00
|
|
|
cpu0: cpu@0 {
|
2013-02-04 22:09:16 +07:00
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-19 00:34:06 +07:00
|
|
|
device_type = "cpu";
|
2013-02-04 22:09:16 +07:00
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
operating-points = <
|
|
|
|
/* kHz uV */
|
|
|
|
1200000 1275000
|
|
|
|
996000 1250000
|
2014-02-12 16:57:02 +07:00
|
|
|
852000 1250000
|
2014-12-05 15:23:48 +07:00
|
|
|
792000 1175000
|
2013-12-17 04:07:37 +07:00
|
|
|
396000 975000
|
2013-02-04 22:09:16 +07:00
|
|
|
>;
|
2013-12-19 21:16:48 +07:00
|
|
|
fsl,soc-operating-points = <
|
|
|
|
/* ARM kHz SOC-PU uV */
|
|
|
|
1200000 1275000
|
|
|
|
996000 1250000
|
2014-02-12 16:57:02 +07:00
|
|
|
852000 1250000
|
2013-12-19 21:16:48 +07:00
|
|
|
792000 1175000
|
|
|
|
396000 1175000
|
2013-02-04 22:09:16 +07:00
|
|
|
>;
|
|
|
|
clock-latency = <61036>; /* two CLK32 periods */
|
2014-06-15 19:36:50 +07: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 22:09:16 +07: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-19 00:34:06 +07:00
|
|
|
device_type = "cpu";
|
2013-02-04 22:09:16 +07:00
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-19 00:34:06 +07:00
|
|
|
device_type = "cpu";
|
2013-02-04 22:09:16 +07:00
|
|
|
reg = <2>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
compatible = "arm,cortex-a9";
|
2013-04-19 00:34:06 +07:00
|
|
|
device_type = "cpu";
|
2013-02-04 22:09:16 +07:00
|
|
|
reg = <3>;
|
|
|
|
next-level-cache = <&L2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2013-07-23 14:25:13 +07:00
|
|
|
ocram: sram@00900000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x00900000 0x40000>;
|
2014-06-15 19:36:50 +07:00
|
|
|
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
2013-07-23 14:25:13 +07:00
|
|
|
};
|
|
|
|
|
2013-02-04 22:09:16 +07: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-15 04:02:10 +07:00
|
|
|
interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 19:36:50 +07:00
|
|
|
clocks = <&clks IMX6Q_CLK_ECSPI5>,
|
|
|
|
<&clks IMX6Q_CLK_ECSPI5>;
|
2013-02-04 22:09:16 +07:00
|
|
|
clock-names = "ipg", "per";
|
2015-01-14 01:04:08 +07:00
|
|
|
dmas = <&sdma 11 7 1>, <&sdma 12 7 2>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-02-04 22:09:16 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
iomuxc: iomuxc@020e0000 {
|
|
|
|
compatible = "fsl,imx6q-iomuxc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-07-16 10:28:46 +07:00
|
|
|
sata: sata@02200000 {
|
|
|
|
compatible = "fsl,imx6q-ahci";
|
|
|
|
reg = <0x02200000 0x4000>;
|
2013-11-15 04:02:10 +07:00
|
|
|
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 19:36:50 +07:00
|
|
|
clocks = <&clks IMX6QDL_CLK_SATA>,
|
|
|
|
<&clks IMX6QDL_CLK_SATA_REF_100M>,
|
|
|
|
<&clks IMX6QDL_CLK_AHB>;
|
2013-07-16 10:28:46 +07:00
|
|
|
clock-names = "sata", "sata_ref", "ahb";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-12-15 23:30:09 +07:00
|
|
|
gpu_vg: gpu@02204000 {
|
|
|
|
compatible = "vivante,gc";
|
|
|
|
reg = <0x02204000 0x4000>;
|
|
|
|
interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
|
|
|
|
<&clks IMX6QDL_CLK_GPU2D_CORE>;
|
|
|
|
clock-names = "bus", "core";
|
|
|
|
power-domains = <&gpc 1>;
|
|
|
|
};
|
|
|
|
|
2013-02-04 22:09:16 +07:00
|
|
|
ipu2: ipu@02800000 {
|
2014-03-05 16:21:01 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-02-04 22:09:16 +07:00
|
|
|
compatible = "fsl,imx6q-ipu";
|
|
|
|
reg = <0x02800000 0x400000>;
|
2013-11-15 04:02:10 +07:00
|
|
|
interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 7 IRQ_TYPE_LEVEL_HIGH>;
|
2014-06-15 19:36:50 +07:00
|
|
|
clocks = <&clks IMX6QDL_CLK_IPU2>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU2_DI0>,
|
|
|
|
<&clks IMX6QDL_CLK_IPU2_DI1>;
|
2013-02-04 22:09:16 +07:00
|
|
|
clock-names = "bus", "di0", "di1";
|
2013-03-28 23:35:20 +07:00
|
|
|
resets = <&src 4>;
|
2014-03-05 16:21:01 +07:00
|
|
|
|
2014-05-27 22:26:37 +07:00
|
|
|
ipu2_csi0: port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_csi1: port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
2014-03-05 16:21:01 +07:00
|
|
|
ipu2_di0: port@2 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <2>;
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di0_disp0: disp0-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di0_hdmi: hdmi-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&hdmi_mux_2>;
|
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di0_mipi: mipi-endpoint {
|
2016-02-24 21:52:46 +07:00
|
|
|
remote-endpoint = <&mipi_mux_2>;
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di0_lvds0: lvds0-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&lvds0_mux_2>;
|
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di0_lvds1: lvds1-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&lvds1_mux_2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu2_di1: port@3 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <3>;
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di1_hdmi: hdmi-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&hdmi_mux_3>;
|
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di1_mipi: mipi-endpoint {
|
2016-02-24 21:52:46 +07:00
|
|
|
remote-endpoint = <&mipi_mux_3>;
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di1_lvds0: lvds0-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&lvds0_mux_3>;
|
|
|
|
};
|
|
|
|
|
2016-04-26 08:09:33 +07:00
|
|
|
ipu2_di1_lvds1: lvds1-endpoint {
|
2014-03-05 16:21:01 +07:00
|
|
|
remote-endpoint = <&lvds1_mux_3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
display-subsystem {
|
|
|
|
compatible = "fsl,imx-display-subsystem";
|
|
|
|
ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
|
|
|
|
};
|
2015-12-15 23:30:09 +07:00
|
|
|
|
|
|
|
gpu-subsystem {
|
|
|
|
compatible = "fsl,imx-gpu-subsystem";
|
|
|
|
cores = <&gpu_2d>, <&gpu_3d>, <&gpu_vg>;
|
|
|
|
};
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
|
2016-09-09 09:02:36 +07:00
|
|
|
&gpio1 {
|
|
|
|
gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
|
|
|
|
<&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
|
|
|
|
<&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
|
|
|
|
<&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
|
|
|
|
<&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
|
|
|
|
<&iomuxc 22 116 10>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio2 {
|
|
|
|
gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
|
|
|
|
<&iomuxc 31 44 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio3 {
|
|
|
|
gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio4 {
|
|
|
|
gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio5 {
|
|
|
|
gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
|
|
|
|
<&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio6 {
|
|
|
|
gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
|
|
|
|
<&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
|
|
|
|
<&iomuxc 31 86 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio7 {
|
|
|
|
gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
|
|
|
|
};
|
|
|
|
|
2014-03-05 16:21:01 +07:00
|
|
|
&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 22:09:16 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-03-28 22:23:35 +07:00
|
|
|
|
|
|
|
&ldb {
|
2014-06-15 19:36:50 +07: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 22:23:35 +07:00
|
|
|
clock-names = "di0_pll", "di1_pll",
|
|
|
|
"di0_sel", "di1_sel", "di2_sel", "di3_sel",
|
|
|
|
"di0", "di1";
|
|
|
|
|
|
|
|
lvds-channel@0 {
|
2014-03-05 16:21:01 +07: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 22:23:35 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
lvds-channel@1 {
|
2014-03-05 16:21:01 +07: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 22:23:35 +07:00
|
|
|
};
|
|
|
|
};
|
2013-10-16 16:19:00 +07:00
|
|
|
|
2014-03-05 16:21:01 +07:00
|
|
|
&mipi_dsi {
|
2015-02-12 13:01:31 +07:00
|
|
|
ports {
|
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
2014-03-05 16:21:01 +07:00
|
|
|
|
2015-02-12 13:01:31 +07:00
|
|
|
mipi_mux_2: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di0_mipi>;
|
|
|
|
};
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
|
2015-02-12 13:01:31 +07:00
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
2014-03-05 16:21:01 +07:00
|
|
|
|
2015-02-12 13:01:31 +07:00
|
|
|
mipi_mux_3: endpoint {
|
|
|
|
remote-endpoint = <&ipu2_di1_mipi>;
|
|
|
|
};
|
2014-03-05 16:21:01 +07:00
|
|
|
};
|
|
|
|
};
|
2013-10-16 16:19:00 +07:00
|
|
|
};
|
2014-11-12 04:12:47 +07:00
|
|
|
|
|
|
|
&vpu {
|
|
|
|
compatible = "fsl,imx6q-vpu", "cnm,coda960";
|
|
|
|
};
|