Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright 2012-2015 Freescale Semiconductor, Inc.
- * Copyright 2011 Linaro Ltd.
- *
- * 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
- */
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/input/input.h>
- / {
- aliases {
- mxcfb0 = &mxcfb1;
- mxcfb1 = &mxcfb2;
- mxcfb2 = &mxcfb3;
- mxcfb3 = &mxcfb4;
- };
- memory: memory {
- reg = <0x10000000 0x80000000>;
- };
- wlan_en_reg: fixedregulator@2 { /*WIFI*/
- compatible = "regulator-fixed";
- regulator-name = "wlan-en-regulator";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- /* WLAN_EN GPIO for this board – Bank5, pin8 */
- gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
- /* WLAN card specific delay */
- startup-delay-us = <70000>;
- enable-active-high;
- };
- btwilink { /*BT*/
- compatible = "btwilink";
- };
- kim {
- compatible = "kim";
- nshutdown_gpio = <135>; /* GPIO5_07 */ /* so its userspace number is (5 - 1) * 32 + 7 = 135 */
- dev_name = "/dev/ttymxc0";
- flow_cntrl = <1>;
- baud_rate = <3000000>;
- };
- leds {
- compatible = "gpio-leds";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_gpio_leds>;
- user {
- label = "debug";
- gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
- };
- };
- clocks {
- codec_osc: anaclk2 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <24576000>;
- };
- };
- regulators {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <0>;
- reg_audio: regulator@0 {
- compatible = "regulator-fixed";
- reg = <0>;
- regulator-name = "cs42888_supply";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- reg_3p3v: 3p3v {
- compatible = "regulator-fixed";
- regulator-name = "3P3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- reg_usb_h1_vbus: regulator@1 {
- compatible = "regulator-fixed";
- reg = <1>;
- regulator-name = "usb_h1_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpio = <&max7310_c 7 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
- reg_usb_otg_vbus: regulator@2 {
- compatible = "regulator-fixed";
- reg = <2>;
- regulator-name = "usb_otg_vbus";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
- reg_si4763_vio1: regulator@3 {
- compatible = "regulator-fixed";
- reg = <3>;
- regulator-name = "vio1";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- reg_si4763_vio2: regulator@4 {
- compatible = "regulator-fixed";
- reg = <4>;
- regulator-name = "vio2";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- reg_si4763_vd: regulator@5 {
- compatible = "regulator-fixed";
- reg = <5>;
- regulator-name = "vd";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- reg_si4763_va: regulator@6 {
- compatible = "regulator-fixed";
- reg = <6>;
- regulator-name = "va";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- regulator-always-on;
- };
- reg_sd3_vmmc: regulator@7 {
- compatible = "regulator-fixed";
- regulator-name = "P3V3_SDa_SWITCHED";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- off-on-delay = <20000>;
- /* remove below line to enable this regulator */
- status = "disabled";
- };
- reg_can_en: regulator@8 {
- compatible = "regulator-fixed";
- reg = <8>;
- regulator-name = "can-en";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&max7310_b 6 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
- reg_can_stby: regulator@9 {
- compatible = "regulator-fixed";
- reg = <9>;
- regulator-name = "can-stby";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&max7310_b 5 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- vin-supply = <®_can_en>;
- };
- };
- sound-hdmi {
- compatible = "fsl,imx6q-audio-hdmi",
- "fsl,imx-audio-hdmi";
- model = "imx-audio-hdmi";
- hdmi-controller = <&hdmi_audio>;
- };
- mxcfb1: fb@0 {
- compatible = "fsl,mxc_sdc_fb";
- disp_dev = "ldb";
- interface_pix_fmt = "RGB666";
- default_bpp = <16>;
- int_clk = <0>;
- late_init = <0>;
- status = "disabled";
- };
- mxcfb2: fb@1 {
- compatible = "fsl,mxc_sdc_fb";
- disp_dev = "hdmi";
- interface_pix_fmt = "RGB24";
- mode_str ="1920x1080M@60";
- default_bpp = <24>;
- int_clk = <0>;
- late_init = <0>;
- status = "disabled";
- };
- mxcfb3: fb@2 {
- compatible = "fsl,mxc_sdc_fb";
- disp_dev = "lcd";
- interface_pix_fmt = "RGB565";
- mode_str ="CLAA-WVGA";
- default_bpp = <16>;
- int_clk = <0>;
- late_init = <0>;
- status = "disabled";
- };
- mxcfb4: fb@3 {
- compatible = "fsl,mxc_sdc_fb";
- disp_dev = "ldb";
- interface_pix_fmt = "RGB666";
- default_bpp = <16>;
- int_clk = <0>;
- late_init = <0>;
- status = "disabled";
- };
- clocks {
- codec_osc: anaclk2 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <24576000>;
- };
- };
- sound-cs42888 {
- compatible = "fsl,imx6-sabreauto-cs42888",
- "fsl,imx-audio-cs42888";
- model = "imx-cs42888";
- esai-controller = <&esai>;
- asrc-controller = <&asrc>;
- audio-codec = <&codec>;
- status = "okay";
- };
- sound-fm {
- compatible = "fsl,imx-audio-si476x",
- "fsl,imx-tuner-si476x";
- model = "imx-radio-si4763";
- ssi-controller = <&ssi2>;
- fm-controller = <&si476x_codec>;
- mux-int-port = <2>;
- mux-ext-port = <5>;
- };
- sound-spdif {
- compatible = "fsl,imx-audio-spdif",
- "fsl,imx-sabreauto-spdif";
- model = "imx-spdif";
- spdif-controller = <&spdif>;
- spdif-in;
- };
- v4l2_cap_0 {
- compatible = "fsl,imx6q-v4l2-capture";
- ipu_id = <0>;
- csi_id = <0>;
- mclk_source = <0>;
- status = "okay";
- };
- v4l2_out {
- compatible = "fsl,mxc_v4l2_output";
- status = "okay";
- };
- };
- &audmux {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_audmux>;
- status = "okay";
- };
- &clks {
- assigned-clocks = <&clks IMX6QDL_PLL4_BYPASS_SRC>,
- <&clks IMX6QDL_PLL4_BYPASS>,
- <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
- <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
- <&clks IMX6QDL_CLK_PLL4_POST_DIV>;
- assigned-clock-parents = <&clks IMX6QDL_CLK_LVDS2_IN>,
- <&clks IMX6QDL_PLL4_BYPASS_SRC>,
- <&clks IMX6QDL_CLK_PLL2_PFD0_352M>,
- <&clks IMX6QDL_CLK_PLL2_PFD0_352M>;
- assigned-clock-rates = <0>, <0>, <0>, <0>, <24576000>;
- };
- &dcic1 {
- dcic_id = <0>;
- dcic_mux = "dcic-hdmi";
- status = "okay";
- };
- &dcic2 {
- dcic_id = <1>;
- dcic_mux = "dcic-lvds0";
- status = "okay";
- };
- &ecspi1 {
- fsl,spi-num-chipselects = <1>;
- cs-gpios = <&gpio3 19 0>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
- status = "disabled"; /* pin conflict with WEIM NOR */
- flash: m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "st,m25p32", "jedec,spi-nor";
- spi-max-frequency = <20000000>;
- reg = <0>;
- };
- };
- &esai {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_esai>;
- assigned-clocks = <&clks IMX6QDL_CLK_ESAI_SEL>,
- <&clks IMX6QDL_CLK_ESAI_EXTAL>;
- assigned-clock-parents = <&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
- assigned-clock-rates = <0>, <24576000>;
- status = "okay";
- };
- &gpmi {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_gpmi_nand>;
- status = "disabled"; /* pin conflict with uart3 */
- nand-on-flash-bbt;
- };
- &hdmi_audio {
- status = "okay";
- };
- &hdmi_cec {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_hdmi_cec>;
- status = "okay";
- };
- &hdmi_core {
- ipu_id = <0>;
- disp_id = <1>;
- status = "okay";
- };
- &hdmi_video {
- fsl,phy_reg_vlev = <0x0294>;
- fsl,phy_reg_cksymtx = <0x800d>;
- status = "okay";
- };
- &i2c1 {
- clock-frequency = <100000>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c1>;
- status = "okay";
- /* LSM330DLCTR - ACCELEROMETER/GYROSCOPE */
- lsm330dlc-accel@19 {
- compatible = "st,lsm330dlc-accel";
- reg = <0x19>;
- interrupt-parent = <&gpio6>; /* EIM_BCLK__GPIO6_IO31 -int_accel */
- interrupts = <31 1>;
- };
- lsm330dlc-gyro@6b {
- compatible = "st,lsm330dlc-gyro";
- reg = <0x6b>;
- pinctrl-assert-gpios = <&max7310_c 6 GPIO_ACTIVE_HIGH>, <&max7310_c 4 GPIO_ACTIVE_LOW>, <&tca6408_u20 0 GPIO_ACTIVE_LOW>, <&tca6408_u20 3 GPIO_ACTIVE_LOW>, <&max7310_a 5 GPIO_ACTIVE_HIGH>;
- interrupt-parent = <&gpio3>; /* EIM_DA13__GPIO3_IO13 -int_gryo */
- interrupts = <13 1>;
- };
- };
- &i2c2 {
- clock-frequency = <100000>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c2>;
- status = "okay";
- codec: cs42888@48 {
- compatible = "cirrus,cs42888";
- reg = <0x48>;
- clocks = <&codec_osc>;
- clock-names = "mclk";
- VA-supply = <®_audio>;
- VD-supply = <®_audio>;
- VLS-supply = <®_audio>;
- VLC-supply = <®_audio>;
- status = "okay";
- };
- pmic: pfuze100@08 {
- compatible = "fsl,pfuze100";
- reg = <0x08>;
- regulators {
- sw1a_reg: sw1ab {
- regulator-min-microvolt = <300000>;
- regulator-max-microvolt = <1875000>;
- regulator-boot-on;
- regulator-always-on;
- regulator-ramp-delay = <6250>;
- };
- sw1c_reg: sw1c {
- regulator-min-microvolt = <300000>;
- regulator-max-microvolt = <1875000>;
- regulator-boot-on;
- regulator-always-on;
- regulator-ramp-delay = <6250>;
- };
- sw2_reg: sw2 {
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
- sw3a_reg: sw3a {
- regulator-min-microvolt = <400000>;
- regulator-max-microvolt = <1975000>;
- regulator-boot-on;
- regulator-always-on;
- };
- sw3b_reg: sw3b {
- regulator-min-microvolt = <400000>;
- regulator-max-microvolt = <1975000>;
- regulator-boot-on;
- regulator-always-on;
- };
- sw4_reg: sw4 {
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <3300000>;
- };
- swbst_reg: swbst {
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5150000>;
- };
- snvs_reg: vsnvs {
- regulator-min-microvolt = <1000000>;
- regulator-max-microvolt = <3000000>;
- regulator-boot-on;
- regulator-always-on;
- };
- vref_reg: vrefddr {
- regulator-boot-on;
- regulator-always-on;
- };
- vgen1_reg: vgen1 {
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <1550000>;
- };
- vgen2_reg: vgen2 {
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <1550000>;
- };
- vgen3_reg: vgen3 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- };
- vgen4_reg: vgen4 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- vgen5_reg: vgen5 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- vgen6_reg: vgen6 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- regulator-always-on;
- };
- };
- };
- hdmi_edid: edid@50 {
- compatible = "fsl,imx6-hdmi-i2c";
- reg = <0x50>;
- };
- si4763: si4763@63 {
- compatible = "si4761";
- reg = <0x63>;
- va-supply = <®_si4763_va>;
- vd-supply = <®_si4763_vd>;
- vio1-supply = <®_si4763_vio1>;
- vio2-supply = <®_si4763_vio2>;
- revision-a10; /* set to default A10 compatible command set */
- si476x_codec: si476x-codec {
- compatible = "si476x-codec";
- };
- };
- };
- &i2c3 {
- pinctrl-names = "default", "sleep";
- pinctrl-0 = <&pinctrl_i2c3 &pinctrl_focaltech>;
- pinctrl-1 = <&pinctrl_i2c3 &pinctrl_focaltech>;
- status = "okay";
- focaltech@38{
- compatible = "focaltech,fts";
- reg = <0x38>;
- interrupt-parent = <&gpio2>;
- interrupts = <28 0x02>;
- focaltech,panel-type = <FT5426>;
- focaltech,reset-gpio = <&gpio1 8 0x01>;
- focaltech,irq-gpio = <&gpio2 28 0x02>;
- focaltech,max-touch-number = <5>;
- focaltech,display-coords = <0 0 1020 596>;
- focaltech,have-key;
- focaltech,key-number = <3>;
- focaltech,keys = <139 102 158>;
- focaltech,key-y-coord = <2000>;
- focaltech,key-x-coords = <200 600 800>;
- };
- adv7180: adv7180@21 {
- compatible = "adv,adv7180";
- reg = <0x21>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_ipu1_1>;
- clocks = <&clks IMX6QDL_CLK_CKO>;
- clock-names = "csi_mclk";
- DOVDD-supply = <®_3p3v>; /* 3.3v, enabled via 2.8 VGEN6 */
- AVDD-supply = <®_3p3v>; /* 1.8v */
- DVDD-supply = <®_3p3v>; /* 1.8v */
- PVDD-supply = <®_3p3v>; /* 1.8v */
- pwn-gpios = <&max7310_c 3 0>;
- csi_id = <0>;
- mclk = <24000000>;
- mclk_source = <0>;
- cvbs = <1>;
- };
- isl29023@44 {
- compatible = "fsl,isl29023";
- reg = <0x44>;
- rext = <499>;
- interrupt-parent = <&gpio5>;
- interrupts = <17 2>;
- };
- tca6408_u20: gpio@20 {
- compatible = "ti,tca6408";
- reg = <0x20>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- max7310_a: gpio@30 {
- compatible = "maxim,max7310";
- reg = <0x30>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- max7310_b: gpio@32 {
- compatible = "maxim,max7310";
- reg = <0x32>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- max7310_c: gpio@34 {
- compatible = "maxim,max7310";
- reg = <0x34>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- mag3110@0e {
- compatible = "fsl,mag3110";
- reg = <0x0e>;
- position = <2>;
- interrupt-parent = <&gpio2>;
- interrupts = <29 1>;
- };
- mma8451@1c {
- compatible = "fsl,mma8451";
- reg = <0x1c>;
- position = <7>;
- interrupt-parent = <&gpio6>;
- interrupts = <31 8>;
- interrupt-route = <1>;
- };
- };
- &iomuxc {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_hog>;
- imx6qdl-sabreauto {
- pinctrl_audmux: audmux {
- fsl,pins = <
- MX6QDL_PAD_DISP0_DAT16__AUD5_TXC 0x130b0
- MX6QDL_PAD_DISP0_DAT18__AUD5_TXFS 0x130b0
- MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
- >;
- };
- pinctrl_hog: hoggrp {
- fsl,pins = <
- /*MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1f059*/
- /*MX6QDL_PAD_SD2_DAT2__GPIO1_IO13 0x80000000*/
- /*MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059 */
- /*MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x80000000*/
- MX6QDL_PAD_DISP0_DAT13__GPIO5_IO07 0x13059
- MX6QDL_PAD_EIM_DA14__GPIO3_IO14 0x80000000
- MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x80000000
- /*MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x80000000*/
- /*MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17 0x80000000 */
- MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x80000000
- /* MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x17059 */
- /*MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x17059 */
- >;
- };
- pinctrl_ecspi1: ecspi1grp {
- fsl,pins = <
- MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
- MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
- MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
- >;
- };
- pinctrl_ecspi1_cs: ecspi1cs {
- fsl,pins = <
- MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
- >;
- };
- pinctrl_focaltech: focaltechgrp {
- fsl,pins = <
- MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b0b0 /* Interrupt */
- MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 /* Reset */
- >;
- };
- pinctrl_esai: esaigrp {
- fsl,pins = <
- MX6QDL_PAD_ENET_CRS_DV__ESAI_TX_CLK 0x1b030
- MX6QDL_PAD_ENET_RXD1__ESAI_TX_FS 0x1b030
- MX6QDL_PAD_ENET_TX_EN__ESAI_TX3_RX2 0x1b030
- MX6QDL_PAD_GPIO_5__ESAI_TX2_RX3 0x1b030
- MX6QDL_PAD_ENET_TXD0__ESAI_TX4_RX1 0x1b030
- MX6QDL_PAD_ENET_MDC__ESAI_TX5_RX0 0x1b030
- MX6QDL_PAD_GPIO_17__ESAI_TX0 0x1b030
- MX6QDL_PAD_NANDF_CS3__ESAI_TX1 0x1b030
- MX6QDL_PAD_ENET_MDIO__ESAI_RX_CLK 0x1b030
- MX6QDL_PAD_GPIO_9__ESAI_RX_FS 0x1b030
- >;
- };
- pinctrl_gpio_leds: gpioledsgrp {
- fsl,pins = <
- MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15 0x80000000
- >;
- };
- pinctrl_gpmi_nand: gpminandgrp {
- fsl,pins = <
- MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
- MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
- MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
- MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
- MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
- MX6QDL_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1
- MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
- MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
- MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
- MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
- MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
- MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
- MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
- MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
- MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
- MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
- MX6QDL_PAD_SD4_DAT0__NAND_DQS 0x00b1
- >;
- };
- pinctrl_i2c1: i2c1grp {
- fsl,pins = <
- MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
- MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
- >;
- };
- pinctrl_i2c2: i2c2grp {
- fsl,pins = <
- MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1
- MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
- >;
- };
- pinctrl_ipu1_1: ipu1grp-1 { /* parallel port 16-bit */
- fsl,pins = <
- MX6QDL_PAD_CSI0_DAT4__IPU1_CSI0_DATA04 0x80000000
- MX6QDL_PAD_CSI0_DAT5__IPU1_CSI0_DATA05 0x80000000
- MX6QDL_PAD_CSI0_DAT6__IPU1_CSI0_DATA06 0x80000000
- MX6QDL_PAD_CSI0_DAT7__IPU1_CSI0_DATA07 0x80000000
- MX6QDL_PAD_CSI0_DAT8__IPU1_CSI0_DATA08 0x80000000
- MX6QDL_PAD_CSI0_DAT9__IPU1_CSI0_DATA09 0x80000000
- MX6QDL_PAD_CSI0_DAT10__IPU1_CSI0_DATA10 0x80000000
- MX6QDL_PAD_CSI0_DAT11__IPU1_CSI0_DATA11 0x80000000
- MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x80000000
- MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0x80000000
- MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0x80000000
- MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0x80000000
- MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0x80000000
- MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0x80000000
- MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0x80000000
- MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0x80000000
- MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x80000000
- MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC 0x80000000
- MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC 0x80000000
- >;
- };
- pinctrl_i2c3: i2c3grp {
- fsl,pins = <
- MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
- MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
- >;
- };
- pinctrl_spdif: spdifgrp {
- fsl,pins = <
- MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
- >;
- };
- pinctrl_uart1_1: uart1grp-1 {
- fsl,pins = <
- MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 // used for HOST_HCI_RX
- MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 // used for HOST_HCI_TX
- MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1
- MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1
- >;
- };
- pinctrl_uart2_1: uart2grp-1 {
- fsl,pins = <
- MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
- MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
- >;
- };
- pinctrl_uart3_1: uart3grp-1 {
- fsl,pins = <
- MX6QDL_PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
- MX6QDL_PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
- MX6QDL_PAD_EIM_D30__UART3_CTS_B 0x1b0b1
- MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1
- >;
- };
- pinctrl_uart3dte_1: uart3dtegrp-1 {
- fsl,pins = <
- MX6QDL_PAD_SD4_CLK__UART3_TX_DATA 0x1b0b1
- MX6QDL_PAD_SD4_CMD__UART3_RX_DATA 0x1b0b1
- MX6QDL_PAD_EIM_D30__UART3_RTS_B 0x1b0b1
- MX6QDL_PAD_EIM_EB3__UART3_CTS_B 0x1b0b1
- >;
- };
- pinctrl_uart4: uart4grp {
- fsl,pins = <
- MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
- MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
- >;
- };
- pinctrl_uart5: uart5grp {
- fsl,pins = <
- MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
- MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
- MX6QDL_PAD_KEY_COL4__UART5_RTS_B 0x1b0b1
- MX6QDL_PAD_KEY_ROW4__UART5_CTS_B 0x1b0b1
- >;
- };
- pinctrl_usbotg: usbotggrp {
- fsl,pins = <
- MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
- >;
- };
- pinctrl_usdhc1: usdhc1grp {
- fsl,pins = <
- MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17069
- MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10069
- MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17069
- MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17069
- MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17069
- MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17069
- MX6QDL_PAD_DISP0_DAT14__GPIO5_IO08 0x13059 // reserve two pins wl8 gpio, this is pulled low at reset for WL_EN
- MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09 0x13059 // this is for WL_IRQ which driver will configure as an input with a pull down
- >;
- };
- pinctrl_usdhc2: usdhc2grp {
- fsl,pins = <
- MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
- MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
- MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
- MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
- MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
- MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
- MX6QDL_PAD_NANDF_D4__SD2_DATA4 0x17059
- MX6QDL_PAD_NANDF_D5__SD2_DATA5 0x17059
- MX6QDL_PAD_NANDF_D6__SD2_DATA6 0x17059
- MX6QDL_PAD_NANDF_D7__SD2_DATA7 0x17059
- >;
- };
- pinctrl_usdhc3: usdhc3grp {
- fsl,pins = <
- MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
- MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
- MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
- MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
- MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
- MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
- >;
- };
- pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
- fsl,pins = <
- MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9
- MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9
- MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
- MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
- MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
- MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
- >;
- };
- pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
- fsl,pins = <
- MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9
- MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9
- MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
- MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
- MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
- MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
- >;
- };
- pinctrl_hdmi_cec: hdmicecgrp {
- fsl,pins = <
- MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x1f8b0
- >;
- };
- };
- };
- &ldb {
- status = "okay";
- lvds-channel@0 {
- fsl,data-mapping = "spwg";
- fsl,data-width = <24>;
- primary;
- status = "okay";
- display-timings {
- native-mode = <&timing0>;
- timing0: hsd100pxn1 {
- clock-frequency = <51200000>;
- hactive = <1024>;
- vactive = <600>;
- hback-porch = <220>;
- hfront-porch = <40>;
- vback-porch = <20>;
- vfront-porch = <5>;
- hsync-len = <60>;
- vsync-len = <10>;
- };
- };
- };
- lvds-channel@1 {
- fsl,data-mapping = "spwg";
- fsl,data-width = <24>;
- status = "okay";
- display-timings {
- native-mode = <&timing1>;
- timing1: hsd100pxn1 {
- clock-frequency = <51200000>;
- hactive = <1024>;
- vactive = <600>;
- hback-porch = <220>;
- hfront-porch = <40>;
- vback-porch = <20>;
- vfront-porch = <5>;
- hsync-len = <60>;
- vsync-len = <10>;
- };
- };
- };
- };
- &pcie {
- status = "okay";
- };
- &spdif {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_spdif>;
- assigned-clocks = <&clks IMX6QDL_CLK_SPDIF_SEL>,
- <&clks IMX6QDL_CLK_SPDIF_PODF>;
- assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_PFD3_454M>;
- assigned-clock-rates = <0>, <227368421>;
- status = "okay";
- };
- &snvs_poweroff {
- status = "okay";
- };
- &ssi2 {
- assigned-clocks = <&clks IMX6QDL_CLK_SSI2_SEL>;
- assigned-clock-parents = <&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
- assigned-clock-rates = <0>;
- fsl,mode = "i2s-master";
- status = "okay";
- };
- /* Bluetooth Uart */
- &uart1 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart1_1>;
- fsl,uart-has-rtscts;
- status = "okay";
- };
- /* ttymxc1 UART - GNSS */
- &uart2 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart2_1>;
- status = "okay";
- };
- /* OBD */
- &uart3 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart3_1>;
- fsl,uart-has-rtscts;
- status = "okay";
- /* for DTE mode, add below change */
- /* fsl,dte-mode; */
- /* pinctrl-0 = <&pinctrl_uart3dte_1>; */
- };
- /* Console Uart */
- &uart4 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart4>;
- status = "okay";
- };
- /* RS232 Uart */
- &uart5 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_uart5>;
- fsl,uart-has-rtscts;
- status = "okay";
- };
- &usbh1 {
- vbus-supply = <®_usb_h1_vbus>;
- status = "okay";
- };
- &usbotg {
- vbus-supply = <®_usb_otg_vbus>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usbotg>;
- srp-disable;
- hnp-disable;
- adp-disable;
- status = "okay";
- };
- &usdhc1 { /*WIFI*/
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usdhc1>;
- bus-width = <4>;
- no-1-8-v;
- keep-power-in-suspend;
- enable-sdio-wakeup;
- vmmc-supply = <&wlan_en_reg>;
- non-removable; /* non-removable is not a variable, the fact it is */
- /* listed is all that is used by driver */
- cap-power-off-card;
- status = "okay";
- #address-cells = <1>;
- #size-cells = <0>;
- wlcore: wlcore@0 {
- compatible = "ti,wl1831";
- reg = <2>;
- interrupt-parent = <&gpio5>;
- interrupts = <9 1>;
- ref-clock-frequency = <38400000>;
- tcxo-clock-frequency = <26000000>;
- };
- };
- &usdhc2 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usdhc2>;
- bus-width = <8>;
- non-removable;
- no-1-8-v;
- keep-power-in-suspend;
- status = "okay";
- };
- &usdhc3 {
- pinctrl-names = "default", "state_100mhz", "state_200mhz";
- pinctrl-0 = <&pinctrl_usdhc3>;
- pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
- pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
- bus-width = <4>;
- non-removable;
- no-1-8-v;
- /*
- * Due to board issue, we can not use external regulator for card slot
- * by default since the card power is shared with card detect pullup.
- * Disabling the vmmc regulator will cause unexpected card detect
- * interrupts.
- * HW rework is needed to fix this isssue. Remove R695 first, then you
- * can open below line to enable the using of external regulator.
- * Then you will be able to power off the card during suspend. This is
- * especially needed for a SD3.0 card re-enumeration working on UHS mode
- * Note: reg_sd3_vmmc is also need to be enabled
- */
- /* vmmc-supply = <®_sd3_vmmc>; */
- keep-power-in-suspend;
- enable-sdio-wakeup;
- status = "okay";
- };
Add Comment
Please, Sign In to add comment