diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-01-10 19:34:29 -0700 |
---|---|---|
committer | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-04-24 18:59:26 -0700 |
commit | fc03c834ca99b98e07c15d7c5eba32a5715729e5 (patch) | |
tree | 59ded792e0e71745cc99d07392d027d6834a5df0 /arch | |
parent | 8c1295bb2ee1c00bfec73a744ff6035d5cddc915 (diff) |
dts: add imx6dl-nit6xlite.dts
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6dl-nit6xlite.dts | 35 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi | 448 |
3 files changed, 484 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index a8f1e9ba4d2b..747b085df0dc 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -113,6 +113,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx53-mba53.dtb \ imx53-qsb.dtb \ imx53-smd.dtb \ + imx6dl-nit6xlite.dtb \ imx6dl-nitrogen6x.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabreauto-ecspi.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-nit6xlite.dts b/arch/arm/boot/dts/imx6dl-nit6xlite.dts new file mode 100644 index 000000000000..08a76c056e05 --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-nit6xlite.dts @@ -0,0 +1,35 @@ +/* + * 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-nit6xlite.dtsi" + +/ { + model = "Freescale i.MX6 Solo Nit6x-Lite Board"; + compatible = "fsl,imx6dl-nit6xlite", "fsl,imx6q"; +}; + +&mxcfb1 { + status = "okay"; +}; + +&mxcfb2 { + status = "okay"; +}; + +&mxcfb3 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi b/arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi new file mode 100644 index 000000000000..88ec8783dd66 --- /dev/null +++ b/arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi @@ -0,0 +1,448 @@ +/* + * 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 + */ + +/ { + aliases { + mxcfb0 = &mxcfb1; + mxcfb1 = &mxcfb2; + mxcfb2 = &mxcfb3; + }; + + memory { + reg = <0x10000000 0x40000000>; + }; + + 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; + }; + + brm_wifi_en: brm_wlan { + compatible = "regulator-fixed"; + regulator-name = "brm_wifi_en"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio6 7 0>; + startup-delay-us = <70000>; + enable-active-high; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + home { + label = "Home"; + gpios = <&gpio7 13 0>; + linux,code = <102>; /* KEY_HOME */ + }; + + back { + label = "Back"; + gpios = <&gpio4 5 0>; + linux,code = <158>; /* KEY_BACK */ + }; + }; + + sound { + compatible = "fsl,imx6dl-nit6xlite-sgtl5000", + "fsl,imx-audio-sgtl5000"; + model = "imx6dl-nit6xlite-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,imx6dl-audio-hdmi", + "fsl,imx-audio-hdmi"; + model = "imx-audio-hdmi"; + hdmi-controller = <&hdmi_audio>; + }; + + mxcfb1: fb@0 { + 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"; + }; + + 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 = "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>; + status = "okay"; + }; + + backlight_lcd { + compatible = "pwm-backlight"; + pwms = <&pwm3 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + + backlight_lvds { + compatible = "pwm-backlight"; + pwms = <&pwm4 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + }; + + v4l2_out { + compatible = "fsl,mxc_v4l2_output"; + status = "okay"; + }; + + wlan_bt_rfkill { + compatible = "net,rfkill-gpio"; + name = "wlan_bt_rfkill"; + type = <2>; /* bluetooth */ + gpios = <&gpio6 15 0>, <&gpio6 8 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>; +#endif + status = "okay"; + + #address-cells = <0>; + #size-cells = <1>; + phy_int { + reg = <0x6>; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&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>; + }; +}; + +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2_2>; + status = "okay"; + + hdmi: edid@50 { + compatible = "fsl,imx6-hdmi-i2c"; + reg = <0x50>; + }; +}; + +&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>; + }; + tsc2004@48 { + compatible = "tsc2004,tsc2004"; + reg = <0x48>; + interrupt-parent = <&gpio2>; + interrupts = <27 2>; + wakeup-gpios = <&gpio2 27 0>; + }; + isl1208@6f { + compatible = "isl,isl1208"; + reg = <0x6f>; + interrupt-parent = <&gpio2>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog_1>; + + hog { + pinctrl_hog_1: hoggrp-1 { + fsl,pins = < + MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* spi-nor CS */ + MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0 /* otg power en */ + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0 /* SGTL5000 sys_mclk */ + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x0b0b0 /* J14 pin 1 - GLED */ + MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x0b0b0 /* J14 pin 3 - RLED */ + MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 /* J28 pin 7 - barcode scanner gpio */ + MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0b0b0 /* J46 pin 2 - gp(inverted) */ + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0b0b0 /* J46 pin 3 - gp(inverted) */ + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* J7 pin 4 - I2C3 irq */ + MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0 /* Broadcom slow clock */ + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x0b0b0 /* ethernet phy reset */ + MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* ethernet phy interrupt */ + MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0 /* J10 pin 14 - Reserved(Broadcom) */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 /* J10 pin 15 - Reserved(Broadcom) */ + MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 /* J10 pin 16 - Reserved(Broadcom) */ + MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 /* J10 pin 17 - Reserved(Broadcom) */ + MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 /* J10 pin 18 - Reserved(Broadcom) */ + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b0 /* RTC_IRQ - falling edge */ + MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x1b0b0 /* tsc2004(I2C3) irq */ + MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x0b0b0 /* J14 pin 8/9(dry contact) */ + MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x0b0b0 /* J14 pin 7 - back button */ + MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x0b0b0 /* tsc2004(I2C3) *reset */ + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0b0b0 /* 12v Supply Enable, high active */ + MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x1b0b0 /* SGTL5000 amp enable, high active */ + MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x030b0 /* Wifi reg en(Broadcom) */ + MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x0b0b0 /* BT reset(Broadcom) */ + MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x0b0b0 /* Clk req irq(Broadcom) */ + MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0 /* wake output(Broadcom) */ + MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x030b0 /* BT reg en(Broadcom) */ + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x100b0 /* BT host wake irq(Broadcom) */ + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* USDHC3 CD */ + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 /* J6 pin 19 - LVDS gp */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 /* J14 pin 5 - home button */ + >; + }; + }; +}; + +&ldb { + ipu_id = <0>; + disp_id = <1>; + ext_ref = <1>; + mode = "sin0"; + sec_ipu_id = <1>; + sec_disp_id = <1>; + status = "okay"; +}; + +&pcie { + status = "okay"; +}; + +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm1_1>; + 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"; +}; + +&usbh1 { + 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 = <&brm_wifi_en>; + ocr-limit = <0x180>; /* 1.65v - 2.1v */ + power-off-card; + keep-power-in-suspend; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3_2>; + cd-gpios = <&gpio7 0 0>; + vmmc-supply = <®_3p3v>; + status = "okay"; +}; |