diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-04-09 16:23:38 -0700 |
---|---|---|
committer | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-04-24 18:59:53 -0700 |
commit | e7be0f4361b79b6c56ea18cdae3992814c93d371 (patch) | |
tree | 922e17c45d0611470f422f89298f8b51c3b40ff7 /arch/arm/boot | |
parent | 33876660bab2b4f37aac5a66926044b90e9025b8 (diff) |
Add nitrogen6_max board
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6dl-nitrogen6_max.dts | 52 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6q-nitrogen6_max.dts | 72 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi | 734 |
4 files changed, 860 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 747b085df0dc..4e263f726383 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -115,6 +115,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx53-smd.dtb \ imx6dl-nit6xlite.dtb \ imx6dl-nitrogen6x.dtb \ + imx6dl-nitrogen6_max.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabreauto-ecspi.dtb \ imx6dl-sabreauto-flexcan1.dtb \ @@ -125,6 +126,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6dl-wandboard.dtb \ imx6q-arm2.dtb \ imx6q-nitrogen6x.dtb \ + imx6q-nitrogen6_max.dtb \ imx6q-sabreauto.dtb \ imx6q-sabreauto-ecspi.dtb \ imx6q-sabreauto-flexcan1.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-nitrogen6_max.dts b/arch/arm/boot/dts/imx6dl-nitrogen6_max.dts new file mode 100644 index 000000000000..2d25c2d4b60c --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-nitrogen6_max.dts @@ -0,0 +1,52 @@ +/* + * Copyright 2013 Boundary Devices + * Copyright 2012 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 + */ + +/dts-v1/; + +#include <dt-bindings/interrupt-controller/irq.h> +#include "imx6dl.dtsi" +#include "imx6qdl-nitrogen6_max.dtsi" + +/ { + model = "Freescale i.MX6 DualLite Nitrogen6 Max Board"; + compatible = "fsl,imx6dl-nitrogen6x", "fsl,imx6dl"; +}; + +&mxcfb1 { + status = "okay"; +}; + +&mxcfb2 { + status = "okay"; +}; + +&ov5640 { + ipu_id = <0>; +}; + +&pinctrl_ov5640 { /* parallel camera */ + fsl,pins = < + MX6QDL_PAD_EIM_A17__IPU1_CSI1_DATA12 0xb0b1 + MX6QDL_PAD_EIM_A18__IPU1_CSI1_DATA13 0xb0b1 + MX6QDL_PAD_EIM_A19__IPU1_CSI1_DATA14 0xb0b1 + MX6QDL_PAD_EIM_A20__IPU1_CSI1_DATA15 0xb0b1 + MX6QDL_PAD_EIM_A21__IPU1_CSI1_DATA16 0xb0b1 + MX6QDL_PAD_EIM_A22__IPU1_CSI1_DATA17 0xb0b1 + MX6QDL_PAD_EIM_A23__IPU1_CSI1_DATA18 0xb0b1 + MX6QDL_PAD_EIM_EB2__IPU1_CSI1_DATA19 0xb0b1 + MX6QDL_PAD_EIM_DA10__IPU1_CSI1_DATA_EN 0xb0b1 + MX6QDL_PAD_EIM_A16__IPU1_CSI1_PIXCLK 0xb0b1 + MX6QDL_PAD_EIM_DA11__IPU1_CSI1_HSYNC 0xb0b1 + MX6QDL_PAD_EIM_DA12__IPU1_CSI1_VSYNC 0xb0b1 + >; +}; diff --git a/arch/arm/boot/dts/imx6q-nitrogen6_max.dts b/arch/arm/boot/dts/imx6q-nitrogen6_max.dts new file mode 100644 index 000000000000..ee5eca0006b7 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-nitrogen6_max.dts @@ -0,0 +1,72 @@ +/* + * Copyright 2013 Boundary Devices + * Copyright 2012 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 + */ + +/dts-v1/; + +#include <dt-bindings/interrupt-controller/irq.h> +#include "imx6q.dtsi" +#include "imx6qdl-nitrogen6_max.dtsi" + +/ { + model = "Freescale i.MX6 Quad Nitrogen6 Max Board"; + compatible = "fsl,imx6q-nitrogen6_max", "fsl,imx6q"; +}; + +&mxcfb1 { + status = "okay"; +}; + +&mxcfb2 { + status = "okay"; +}; + +&mxcfb3 { + status = "okay"; +}; + +&mxcfb4 { + status = "okay"; +}; + +&ov5640 { + ipu_id = <1>; +}; + +&pinctrl_ov5640 { /* parallel camera */ + fsl,pins = < + MX6QDL_PAD_EIM_A17__IPU2_CSI1_DATA12 0xb0b1 + MX6QDL_PAD_EIM_A18__IPU2_CSI1_DATA13 0xb0b1 + MX6QDL_PAD_EIM_A19__IPU2_CSI1_DATA14 0xb0b1 + MX6QDL_PAD_EIM_A20__IPU2_CSI1_DATA15 0xb0b1 + MX6QDL_PAD_EIM_A21__IPU2_CSI1_DATA16 0xb0b1 + MX6QDL_PAD_EIM_A22__IPU2_CSI1_DATA17 0xb0b1 + MX6QDL_PAD_EIM_A23__IPU2_CSI1_DATA18 0xb0b1 + MX6QDL_PAD_EIM_EB2__IPU2_CSI1_DATA19 0xb0b1 + MX6QDL_PAD_EIM_DA10__IPU2_CSI1_DATA_EN 0xb0b1 + MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK 0xb0b1 + MX6QDL_PAD_EIM_DA11__IPU2_CSI1_HSYNC 0xb0b1 + MX6QDL_PAD_EIM_DA12__IPU2_CSI1_VSYNC 0xb0b1 + >; +}; + +&sata { + status = "okay"; +}; + +&v4l2_cap_2 { + compatible = "fsl,imx6q-v4l2-capture"; + ipu_id = <1>; + csi_id = <1>; + mclk_source = <0>; + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi new file mode 100644 index 000000000000..42aa3ce9d620 --- /dev/null +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi @@ -0,0 +1,734 @@ +/* + * Copyright 2013 Boundary Devices + * Copyright 2012 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/input/input.h> + +/ { + aliases { + mxcfb0 = &mxcfb1; + mxcfb1 = &mxcfb2; + mxcfb2 = &mxcfb3; + mxcfb3 = &mxcfb4; + }; + + memory { + reg = <0x10000000 0x40000000>; + }; + + clocks { + clk24m: clk24m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; + + regulators { + compatible = "simple-bus"; + + reg_1p8v: 1p8v { + compatible = "regulator-fixed"; + regulator-name = "1P8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + reg_2p5v: 2p5v { + compatible = "regulator-fixed"; + regulator-name = "2P5V"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + 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_otg_vbus: usb_otg_vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio3 22 0>; + enable-active-high; + }; + + wilink_wl_en: tiwi_wlan { + compatible = "regulator-fixed"; + regulator-name = "wilink_wl_en"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio6 15 0>; + startup-delay-us = <70000>; + enable-active-high; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + power { + label = "Power Button"; + gpios = <&gpio2 3 0>; + linux,code = <KEY_POWER>; /* or KEY_SEARCH */ + gpio-key,wakeup; + }; + + menu { + label = "Menu"; + gpios = <&gpio2 1 0>; + linux,code = <KEY_MENU>; + }; + + home { + label = "Home"; + gpios = <&gpio2 4 0>; + linux,code = <KEY_HOME>; + }; + + back { + label = "Back"; + gpios = <&gpio2 2 0>; + linux,code = <KEY_BACK>; + }; + + volume-up { + label = "Volume Up"; + gpios = <&gpio7 13 0>; + linux,code = <KEY_VOLUMEUP>; + }; + + volume-down { + label = "Volume Down"; + gpios = <&gpio7 1 0>; + linux,code = <KEY_VOLUMEDOWN>; + }; + }; + + sound { + compatible = "fsl,imx6q-nitrogen6_max-sgtl5000", + "fsl,imx-audio-sgtl5000"; + model = "imx6q-nitrogen6_max-sgtl5000"; + ssi-controller = <&ssi1>; + audio-codec = <&codec>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HP_OUT"; + mux-int-port = <1>; + mux-ext-port = <3>; + }; + 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"; + mode_str ="LDB-XGA"; + 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"; + mode_str ="LDB-XGA"; + default_bpp = <16>; + int_clk = <0>; + late_init = <0>; + status = "disabled"; + }; + + lcd@0 { + compatible = "fsl,lcd"; + ipu_id = <0>; + disp_id = <0>; + default_ifmt = "RGB565"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ipu1_4>; +#if 0 + status = "okay"; +#endif + }; + + backlight_lcd { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + + backlight_lvds0 { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + + backlight_lvds1 { + compatible = "pwm-backlight"; + pwms = <&pwm2 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + + v4l2_cap_0 { + compatible = "fsl,imx6q-v4l2-capture"; + ipu_id = <0>; + csi_id = <0>; + mclk_source = <0>; + status = "okay"; + }; + + v4l2_cap_1 { + compatible = "fsl,imx6q-v4l2-capture"; + ipu_id = <0>; + csi_id = <1>; + mclk_source = <0>; + status = "okay"; + }; + + v4l2_cap_2: v4l2_cap_2 { + }; + + v4l2_out { + compatible = "fsl,mxc_v4l2_output"; + status = "okay"; + }; + + wlan { + compatible = "ti,wilink6"; + interrupt-parent = <&gpio6>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&refclock>; + clock-names = "refclock"; + + refclock: refclock { + compatible = "ti,wilink-clock"; + #clock-cells = <0>; + clock-frequency = <38400000>; + }; + }; + + wlan_bt_rfkill { + compatible = "net,rfkill-gpio"; + name = "wlan_bt_rfkill"; + type = <2>; /* bluetooth */ + gpios = <&gpio6 16 0>; + }; + + i2cmux@2 { + compatible = "i2c-mux-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2mux>; + #address-cells = <1>; + #size-cells = <0>; + mux-gpios = <&gpio3 20 0>, <&gpio4 15 0>; + i2c-parent = <&i2c2>; + idle-state = <0>; + + i2c2@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2a: i2c2@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2b: i2c2@2 { + reg = <2>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + + i2cmux@3 { + compatible = "i2c-mux-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3mux>; + #address-cells = <1>; + #size-cells = <0>; + mux-gpios = <&gpio2 25 0>; + i2c-parent = <&i2c3>; + idle-state = <0>; + + i2c3@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c3a: i2c3@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c3b: i2c3@2 { + reg = <2>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; +}; + +&audmux { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_audmux_2>; + status = "okay"; +}; + +&ecspi1 { + fsl,spi-num-chipselects = <1>; + cs-gpios = <&gpio3 19 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi1_1>; + status = "okay"; + + flash: m25p80@0 { + compatible = "sst,sst25vf016b"; + spi-max-frequency = <20000000>; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + partition@0 { + label = "U-Boot"; + reg = <0x0 0xC0000>; + read-only; + }; + partition@C0000 { + label = "env"; + reg = <0xC0000 0x2000>; + read-only; + }; + partition@C2000 { + label = "Kernel"; + reg = <0xC2000 0x13e000>; + }; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet_4>; + phy-mode = "rgmii"; +#if 0 + phy-reset-gpios = <&gpio1 27 0>; + status = "okay"; +#endif + + #address-cells = <0>; + #size-cells = <1>; + phy_int { + reg = <0x6>; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&flexcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1_1>; + trx-stby-gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&hdmi_audio { + status = "okay"; +}; + +&hdmi_cec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi_cec_2>; + status = "okay"; +}; + +&hdmi_core { + ipu_id = <0>; + disp_id = <0>; + 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_1>; + status = "okay"; + + codec: sgtl5000@0a { + compatible = "fsl,sgtl5000"; + reg = <0x0a>; + clocks = <&clks 201>; + VDDA-supply = <®_2p5v>; + VDDIO-supply = <®_3p3v>; + }; + rv4162@68 { + compatible = "mcrystal,rv4162"; + reg = <0x68>; + interrupt-parent = <&gpio4>; + interrupts = <6 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2_2>; + status = "okay"; + + hdmi: edid@50 { + compatible = "fsl,imx6-hdmi-i2c"; + reg = <0x50>; + }; +}; + +&i2c2a { + ov5642: ov5642@3d { + compatible = "ovti,ov5642"; + reg = <0x3d>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ipu1_2>; + clocks = <&clks 200>; + clock-names = "csi_mclk"; + DOVDD-supply = <®_1p8v>; + AVDD-supply = <®_2p5v>; + DVDD-supply = <®_1p8v>; + pwn-gpios = <&gpio3 29 1>; + rst-gpios = <&gpio1 4 0>; + ipu_id = <0>; + csi_id = <0>; + mclk = <24000000>; + mclk_source = <0>; + }; +}; + +&i2c2b { + ov5640_mipi: ov5640_mipi@3e { + compatible = "ovti,ov5640_mipi"; + reg = <0x3e>; + clocks = <&clks 147>; + clock-names = "csi_mclk"; + DOVDD-supply = <®_1p8v>; + AVDD-supply = <®_2p5v>; + DVDD-supply = <®_1p8v>; + pwn-gpios = <&gpio6 9 1>; + rst-gpios = <&gpio2 5 0>; + ipu_id = <0>; + csi_id = <1>; + mclk = <22000000>; + mclk_source = <0>; + pwms = <&pwm3 0 45>; + }; +}; + +&i2c3 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3_3>; + status = "okay"; + + egalax_ts@04 { + compatible = "eeti,egalax_ts"; + reg = <0x04>; + interrupt-parent = <&gpio1>; + interrupts = <9 2>; + wakeup-gpios = <&gpio1 9 0>; + }; + + ft5x06_ts@38 { + compatible = "ft5x06-ts,ft5x06-ts"; + reg = <0x38>; + interrupt-parent = <&gpio1>; + interrupts = <9 2>; + wakeup-gpios = <&gpio1 9 0>; + }; + + ov5640: ov5640@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ov5640 &pinctrl_ov5640_gpios>; + clocks = <&clk24m 0>; + clock-names = "csi_mclk"; + DOVDD-supply = <®_1p8v>; + AVDD-supply = <®_2p5v>; + DVDD-supply = <®_1p8v>; + pwn-gpios = <&gpio3 13 1>; + rst-gpios = <&gpio3 14 0>; + csi_id = <1>; + mclk = <24000000>; + mclk_source = <0>; + }; + + tsc2004@48 { + compatible = "tsc2004,tsc2004"; + reg = <0x48>; + interrupt-parent = <&gpio4>; + interrupts = <20 2>; + wakeup-gpios = <&gpio4 20 0>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog_1>; + + imx6q-nitrogen6_max { + pinctrl_hog_1: hoggrp-1 { + fsl,pins = < + /* Power Button */ + MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 + /* Menu Button */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 + /* Home Button */ + MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 + /* Back Button */ + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 + /* Volume Up Button */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 + /* Volume Down Button */ + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1b0b0 + MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000 /* spi-nor CS */ + MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 /* otg power en */ + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0 /* ethernet phy reset */ + MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* ethernet phy interrupt */ + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000 /* USDHC3 CD */ + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0 /* SGTL5000 sys_mclk */ + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* CAN standby */ + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x80000000 /* I2C3 touch screen interrupt */ + MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* tsc2004 interrupt */ + MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x0b0b0 /* ov5640 mipi powerdown */ + MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x000b0 /* ov5640 mipi reset */ + MX6QDL_PAD_GPIO_3__CCM_CLKO2 0x000b0 /* ov5642 mclk */ + MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x000b0 /* ov5642 Power Down */ + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x000b0 /* ov5642 Reset */ + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x0b0b0 /* USB Hub Reset */ + MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x100b0 /* wl12xx_wl_irq */ + MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x000b0 /* wl12xx_wl_en */ + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x000b0 /* wl12xx_bt_en */ + MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0 /* TiWi slow clock */ + MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* rv4162 rtc interrupt */ + >; + }; + + pinctrl_ov5640: pinctrl_ov5640 { + /* parallel camera on CSI1, pins differ for iMX6Q/iMX6DL */ + }; + + pinctrl_ov5640_gpios: pinctrl_ov5640_gpios { + fsl,pins = < + MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x0b0b0 /* Power */ + MX6QDL_PAD_EIM_DA14__GPIO3_IO14 0x030b0 /* Reset */ + >; + }; + + pinctrl_uart5: uart5grp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x130b1 + MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x030b1 + MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x030b0 /* RS485 RX Enable */ + MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x030b0 /* RS485 TX Enable */ + MX6QDL_PAD_EIM_CS1__GPIO2_IO24 0x030b0 /* RS485/RS232 Select 2.5V */ + MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x030b0 /* ON - meaning depends on others */ + >; + }; + + pinctrl_i2c2mux: i2c2muxgrp { + fsl,pins = < + MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x000b0 /* ov5642 camera i2c enable */ + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0 /* ov5640_mipi camera i2c enable */ + >; + }; + pinctrl_i2c3mux: i2c3muxgrp { + fsl,pins = < + MX6QDL_PAD_EIM_OE__GPIO2_IO25 0x000b0 /* pcie i2c enable */ + >; + }; + pinctrl_pcie: pciegrp { + fsl,pins = < + MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x000b0 /* pcie reset */ + >; + }; + }; +}; + +&ldb { + ipu_id = <0>; + disp_id = <1>; + ext_ref = <1>; + mode = "sin0"; + sec_ipu_id = <1>; + sec_disp_id = <1>; + status = "okay"; +}; + +&mipi_csi { + ipu_id = <0>; + csi_id = <1>; + v_channel = <0>; + lanes = <2>; + status = "okay"; +}; + +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie>; + reset-gpio = <&gpio6 31 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm1_1>; + status = "okay"; +}; + +&pwm2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm2_3>; + status = "okay"; +}; + +&pwm3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm3_2>; + status = "okay"; +}; + +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4_2>; + status = "okay"; +}; + +&ssi1 { + fsl,mode = "i2s-slave"; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_2>; + status = "okay"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2_1>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3_2>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart5>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&usbh1 { + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&usbotg { + vbus-supply = <®_usb_otg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg_1>; + disable-over-current; + status = "okay"; +}; + +&usdhc2 { /* uSDHC2, TiWi wl1271 */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2_2>; + bus-width = <4>; + non-removable; + vmmc-supply = <®_3p3v>; + vqmmc-supply = <&wilink_wl_en>; + vqmmc-1-8-v; + ocr-limit = <0x80>; /* 1.65v - 1.95v */ + power-off-card; + keep-power-in-suspend; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3_2>; + bus-width = <4>; + cd-gpios = <&gpio7 0 0>; + vmmc-supply = <®_3p3v>; + status = "okay"; +}; + +&usdhc4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc4_1>; + bus-width = <8>; + non-removable; + vmmc-supply = <®_3p3v>; + ocr-limit = <0x80>; /* 1.65v - 1.95v */ + keep-power-in-suspend; + status = "okay"; +}; |