2013-01-10 10:27:27 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
|
|
|
|
* Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
|
|
|
|
*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-04-07 02:49:34 +00:00
|
|
|
#include "imx53-tqma53.dtsi"
|
2013-01-10 10:27:27 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "TQ MBa53 starter kit";
|
|
|
|
compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
|
2013-06-04 11:07:09 +00:00
|
|
|
|
2014-05-07 13:19:00 +00:00
|
|
|
chosen {
|
|
|
|
stdout-path = &uart2;
|
|
|
|
};
|
|
|
|
|
2013-06-04 11:07:09 +00:00
|
|
|
backlight {
|
|
|
|
compatible = "pwm-backlight";
|
2013-07-11 14:37:47 +00:00
|
|
|
pwms = <&pwm2 0 50000>;
|
2013-06-04 11:07:09 +00:00
|
|
|
brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
|
|
|
|
default-brightness-level = <10>;
|
|
|
|
enable-gpios = <&gpio7 7 0>;
|
|
|
|
power-supply = <®_backlight>;
|
|
|
|
};
|
|
|
|
|
|
|
|
disp1: display@disp1 {
|
|
|
|
compatible = "fsl,imx-parallel-display";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_disp1_1>;
|
|
|
|
interface-pix-fmt = "rgb24";
|
|
|
|
status = "disabled";
|
2013-06-04 11:07:11 +00:00
|
|
|
|
2014-03-05 09:21:00 +00:00
|
|
|
port {
|
|
|
|
display1_in: endpoint {
|
|
|
|
remote-endpoint = <&ipu_di1_disp1>;
|
|
|
|
};
|
|
|
|
};
|
2013-11-03 11:23:34 +00:00
|
|
|
};
|
|
|
|
|
2013-11-06 07:43:36 +00:00
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
2014-02-07 15:18:30 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-11-06 07:43:36 +00:00
|
|
|
|
2014-02-07 15:18:30 +00:00
|
|
|
reg_backlight: regulator@0 {
|
2013-11-06 07:43:36 +00:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 15:18:30 +00:00
|
|
|
reg = <0>;
|
2013-11-06 07:43:36 +00:00
|
|
|
regulator-name = "lcd-supply";
|
|
|
|
gpio = <&gpio2 5 0>;
|
|
|
|
startup-delay-us = <5000>;
|
|
|
|
};
|
|
|
|
|
2014-02-07 15:18:30 +00:00
|
|
|
reg_3p2v: regulator@1 {
|
2013-11-06 07:43:36 +00:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 15:18:30 +00:00
|
|
|
reg = <1>;
|
2013-11-06 07:43:36 +00:00
|
|
|
regulator-name = "3P2V";
|
|
|
|
regulator-min-microvolt = <3200000>;
|
|
|
|
regulator-max-microvolt = <3200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2013-06-04 11:07:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "tq,imx53-mba53-sgtl5000",
|
|
|
|
"fsl,imx-audio-sgtl5000";
|
|
|
|
model = "imx53-mba53-sgtl5000";
|
|
|
|
ssi-controller = <&ssi2>;
|
|
|
|
audio-codec = <&codec>;
|
|
|
|
audio-routing =
|
|
|
|
"MIC_IN", "Mic Jack",
|
|
|
|
"Mic Jack", "Mic Bias",
|
|
|
|
"Headphone Jack", "HP_OUT";
|
|
|
|
mux-int-port = <2>;
|
|
|
|
mux-ext-port = <5>;
|
|
|
|
};
|
2013-06-04 11:07:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&ldb {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_lvds1_1>;
|
|
|
|
status = "disabled";
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&iomuxc {
|
|
|
|
lvds1 {
|
|
|
|
pinctrl_lvds1_1: lvds1-grp1 {
|
2013-02-20 02:32:52 +00:00
|
|
|
fsl,pins = <
|
2013-06-04 11:07:14 +00:00
|
|
|
MX53_PAD_LVDS0_TX3_P__LDB_LVDS0_TX3 0x80000000
|
|
|
|
MX53_PAD_LVDS0_CLK_P__LDB_LVDS0_CLK 0x80000000
|
|
|
|
MX53_PAD_LVDS0_TX2_P__LDB_LVDS0_TX2 0x80000000
|
|
|
|
MX53_PAD_LVDS0_TX1_P__LDB_LVDS0_TX1 0x80000000
|
|
|
|
MX53_PAD_LVDS0_TX0_P__LDB_LVDS0_TX0 0x80000000
|
2013-02-20 02:32:52 +00:00
|
|
|
>;
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_lvds1_2: lvds1-grp2 {
|
2013-02-20 02:32:52 +00:00
|
|
|
fsl,pins = <
|
2013-06-04 11:07:14 +00:00
|
|
|
MX53_PAD_LVDS1_TX3_P__LDB_LVDS1_TX3 0x80000000
|
|
|
|
MX53_PAD_LVDS1_TX2_P__LDB_LVDS1_TX2 0x80000000
|
|
|
|
MX53_PAD_LVDS1_CLK_P__LDB_LVDS1_CLK 0x80000000
|
|
|
|
MX53_PAD_LVDS1_TX1_P__LDB_LVDS1_TX1 0x80000000
|
|
|
|
MX53_PAD_LVDS1_TX0_P__LDB_LVDS1_TX0 0x80000000
|
2013-02-20 02:32:52 +00:00
|
|
|
>;
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
disp1 {
|
|
|
|
pinctrl_disp1_1: disp1-grp1 {
|
2013-02-20 02:32:52 +00:00
|
|
|
fsl,pins = <
|
2013-06-04 11:07:15 +00:00
|
|
|
MX53_PAD_EIM_A16__IPU_DI1_DISP_CLK 0x80000000 /* DISP1_CLK */
|
2013-06-04 11:07:14 +00:00
|
|
|
MX53_PAD_EIM_DA10__IPU_DI1_PIN15 0x80000000 /* DISP1_DRDY */
|
|
|
|
MX53_PAD_EIM_D23__IPU_DI1_PIN2 0x80000000 /* DISP1_HSYNC */
|
|
|
|
MX53_PAD_EIM_EB3__IPU_DI1_PIN3 0x80000000 /* DISP1_VSYNC */
|
|
|
|
MX53_PAD_EIM_D26__IPU_DISP1_DAT_22 0x80000000
|
|
|
|
MX53_PAD_EIM_D27__IPU_DISP1_DAT_23 0x80000000
|
|
|
|
MX53_PAD_EIM_D30__IPU_DISP1_DAT_21 0x80000000
|
|
|
|
MX53_PAD_EIM_D31__IPU_DISP1_DAT_20 0x80000000
|
|
|
|
MX53_PAD_EIM_A24__IPU_DISP1_DAT_19 0x80000000
|
|
|
|
MX53_PAD_EIM_A23__IPU_DISP1_DAT_18 0x80000000
|
|
|
|
MX53_PAD_EIM_A22__IPU_DISP1_DAT_17 0x80000000
|
|
|
|
MX53_PAD_EIM_A21__IPU_DISP1_DAT_16 0x80000000
|
|
|
|
MX53_PAD_EIM_A20__IPU_DISP1_DAT_15 0x80000000
|
|
|
|
MX53_PAD_EIM_A19__IPU_DISP1_DAT_14 0x80000000
|
|
|
|
MX53_PAD_EIM_A18__IPU_DISP1_DAT_13 0x80000000
|
|
|
|
MX53_PAD_EIM_A17__IPU_DISP1_DAT_12 0x80000000
|
|
|
|
MX53_PAD_EIM_EB0__IPU_DISP1_DAT_11 0x80000000
|
|
|
|
MX53_PAD_EIM_EB1__IPU_DISP1_DAT_10 0x80000000
|
|
|
|
MX53_PAD_EIM_DA0__IPU_DISP1_DAT_9 0x80000000
|
|
|
|
MX53_PAD_EIM_DA1__IPU_DISP1_DAT_8 0x80000000
|
|
|
|
MX53_PAD_EIM_DA2__IPU_DISP1_DAT_7 0x80000000
|
|
|
|
MX53_PAD_EIM_DA3__IPU_DISP1_DAT_6 0x80000000
|
|
|
|
MX53_PAD_EIM_DA4__IPU_DISP1_DAT_5 0x80000000
|
|
|
|
MX53_PAD_EIM_DA5__IPU_DISP1_DAT_4 0x80000000
|
|
|
|
MX53_PAD_EIM_DA6__IPU_DISP1_DAT_3 0x80000000
|
|
|
|
MX53_PAD_EIM_DA7__IPU_DISP1_DAT_2 0x80000000
|
|
|
|
MX53_PAD_EIM_DA8__IPU_DISP1_DAT_1 0x80000000
|
|
|
|
MX53_PAD_EIM_DA9__IPU_DISP1_DAT_0 0x80000000
|
2013-02-20 02:32:52 +00:00
|
|
|
>;
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
};
|
2013-06-04 11:07:10 +00:00
|
|
|
|
|
|
|
tve {
|
|
|
|
pinctrl_vga_sync_1: vgasync-grp1 {
|
|
|
|
fsl,pins = <
|
|
|
|
/* VGA_VSYNC, HSYNC with max drive strength */
|
|
|
|
MX53_PAD_EIM_CS1__IPU_DI1_PIN6 0xe6
|
|
|
|
MX53_PAD_EIM_DA15__IPU_DI1_PIN4 0xe6
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
|
2014-03-05 09:21:00 +00:00
|
|
|
&ipu_di1_disp1 {
|
|
|
|
remote-endpoint = <&display1_in>;
|
|
|
|
};
|
|
|
|
|
2013-01-10 10:27:27 +00:00
|
|
|
&cspi {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-06-04 11:07:11 +00:00
|
|
|
&audmux {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
2013-11-04 06:45:46 +00:00
|
|
|
pinctrl-0 = <&pinctrl_audmux>;
|
2013-06-04 11:07:11 +00:00
|
|
|
};
|
|
|
|
|
2013-01-10 10:27:27 +00:00
|
|
|
&i2c2 {
|
|
|
|
codec: sgtl5000@a {
|
|
|
|
compatible = "fsl,sgtl5000";
|
|
|
|
reg = <0x0a>;
|
2013-11-14 10:18:58 +00:00
|
|
|
clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>;
|
2013-06-04 11:07:11 +00:00
|
|
|
VDDA-supply = <®_3p2v>;
|
|
|
|
VDDIO-supply = <®_3p2v>;
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
expander: pca9554@20 {
|
|
|
|
compatible = "pca9554";
|
|
|
|
reg = <0x20>;
|
|
|
|
interrupts = <109>;
|
2013-06-04 11:07:12 +00:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
2013-01-10 10:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sensor2: lm75@49 {
|
|
|
|
compatible = "lm75";
|
|
|
|
reg = <0x49>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&fec {
|
2013-06-04 11:07:13 +00:00
|
|
|
phy-reset-gpios = <&gpio7 6 0>;
|
2013-01-10 10:27:27 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&esdhc2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ecspi1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-06-04 11:07:08 +00:00
|
|
|
&usbotg {
|
|
|
|
dr_mode = "host";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbh1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-01-10 10:27:27 +00:00
|
|
|
&uart1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-06-04 11:07:11 +00:00
|
|
|
&ssi2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-01-10 10:27:27 +00:00
|
|
|
&uart2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&can1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&can2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-06-04 11:07:10 +00:00
|
|
|
|
|
|
|
&tve {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_vga_sync_1>;
|
2014-04-10 06:19:05 +00:00
|
|
|
ddc-i2c-bus = <&i2c3>;
|
2013-06-04 11:07:10 +00:00
|
|
|
fsl,tve-mode = "vga";
|
|
|
|
fsl,hsync-pin = <4>;
|
|
|
|
fsl,vsync-pin = <6>;
|
|
|
|
status = "okay";
|
|
|
|
};
|