155a42b33SPeng Fan/* 255a42b33SPeng Fan * Copyright (C) 2016 Freescale Semiconductor, Inc. 355a42b33SPeng Fan * 455a42b33SPeng Fan * This program is free software; you can redistribute it and/or modify 555a42b33SPeng Fan * it under the terms of the GNU General Public License version 2 as 655a42b33SPeng Fan * published by the Free Software Foundation. 755a42b33SPeng Fan */ 855a42b33SPeng Fan 955a42b33SPeng Fan/dts-v1/; 1055a42b33SPeng Fan 1155a42b33SPeng Fan#include "imx6ull.dtsi" 1255a42b33SPeng Fan 1355a42b33SPeng Fan/ { 1455a42b33SPeng Fan model = "Freescale i.MX6 ULL 14x14 EVK Board"; 1555a42b33SPeng Fan compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull"; 1655a42b33SPeng Fan 1755a42b33SPeng Fan chosen { 1855a42b33SPeng Fan stdout-path = &uart1; 1955a42b33SPeng Fan }; 2055a42b33SPeng Fan 2155a42b33SPeng Fan memory { 2255a42b33SPeng Fan reg = <0x80000000 0x20000000>; 2355a42b33SPeng Fan }; 2455a42b33SPeng Fan 2555a42b33SPeng Fan backlight { 2655a42b33SPeng Fan compatible = "pwm-backlight"; 2755a42b33SPeng Fan pwms = <&pwm1 0 5000000>; 2855a42b33SPeng Fan brightness-levels = <0 4 8 16 32 64 128 255>; 2955a42b33SPeng Fan default-brightness-level = <6>; 3055a42b33SPeng Fan status = "okay"; 3155a42b33SPeng Fan }; 3255a42b33SPeng Fan 3355a42b33SPeng Fan regulators { 3455a42b33SPeng Fan compatible = "simple-bus"; 3555a42b33SPeng Fan #address-cells = <1>; 3655a42b33SPeng Fan #size-cells = <0>; 3755a42b33SPeng Fan 3855a42b33SPeng Fan reg_can_3v3: regulator@0 { 3955a42b33SPeng Fan compatible = "regulator-fixed"; 4055a42b33SPeng Fan reg = <0>; 4155a42b33SPeng Fan regulator-name = "can-3v3"; 4255a42b33SPeng Fan regulator-min-microvolt = <3300000>; 4355a42b33SPeng Fan regulator-max-microvolt = <3300000>; 4455a42b33SPeng Fan gpios = <&gpio_spi 3 GPIO_ACTIVE_LOW>; 4555a42b33SPeng Fan }; 4655a42b33SPeng Fan 4755a42b33SPeng Fan reg_sd1_vmmc: regulator@1 { 4855a42b33SPeng Fan compatible = "regulator-fixed"; 4955a42b33SPeng Fan regulator-name = "VSD_3V3"; 5055a42b33SPeng Fan regulator-min-microvolt = <3300000>; 5155a42b33SPeng Fan regulator-max-microvolt = <3300000>; 5255a42b33SPeng Fan gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 5355a42b33SPeng Fan enable-active-high; 5455a42b33SPeng Fan }; 5555a42b33SPeng Fan 5655a42b33SPeng Fan reg_gpio_dvfs: regulator-gpio { 5755a42b33SPeng Fan compatible = "regulator-gpio"; 5855a42b33SPeng Fan pinctrl-names = "default"; 5955a42b33SPeng Fan pinctrl-0 = <&pinctrl_dvfs>; 6055a42b33SPeng Fan regulator-min-microvolt = <1300000>; 6155a42b33SPeng Fan regulator-max-microvolt = <1400000>; 6255a42b33SPeng Fan regulator-name = "gpio_dvfs"; 6355a42b33SPeng Fan regulator-type = "voltage"; 6455a42b33SPeng Fan gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 6555a42b33SPeng Fan states = <1300000 0x1 1400000 0x0>; 6655a42b33SPeng Fan }; 6755a42b33SPeng Fan }; 6855a42b33SPeng Fan 69*a3cc4355SPeng Fan spi5 { 7055a42b33SPeng Fan compatible = "spi-gpio"; 7155a42b33SPeng Fan pinctrl-names = "default"; 7255a42b33SPeng Fan pinctrl-0 = <&pinctrl_spi4>; 7355a42b33SPeng Fan status = "okay"; 7455a42b33SPeng Fan gpio-sck = <&gpio5 11 0>; 7555a42b33SPeng Fan gpio-mosi = <&gpio5 10 0>; 7655a42b33SPeng Fan cs-gpios = <&gpio5 7 0>; 7755a42b33SPeng Fan num-chipselects = <1>; 7855a42b33SPeng Fan #address-cells = <1>; 7955a42b33SPeng Fan #size-cells = <0>; 8055a42b33SPeng Fan 8155a42b33SPeng Fan gpio_spi: gpio_spi@0 { 8255a42b33SPeng Fan compatible = "fairchild,74hc595"; 8355a42b33SPeng Fan gpio-controller; 8455a42b33SPeng Fan oe-gpios = <&gpio5 8 0>; 8555a42b33SPeng Fan #gpio-cells = <2>; 8655a42b33SPeng Fan reg = <0>; 8755a42b33SPeng Fan registers-number = <1>; 8855a42b33SPeng Fan registers-default = /bits/ 8 <0x57>; 8955a42b33SPeng Fan spi-max-frequency = <100000>; 9055a42b33SPeng Fan }; 9155a42b33SPeng Fan }; 9255a42b33SPeng Fan}; 9355a42b33SPeng Fan 9455a42b33SPeng Fan&cpu0 { 9555a42b33SPeng Fan arm-supply = <®_arm>; 9655a42b33SPeng Fan soc-supply = <®_soc>; 9755a42b33SPeng Fan dc-supply = <®_gpio_dvfs>; 9855a42b33SPeng Fan}; 9955a42b33SPeng Fan 10055a42b33SPeng Fan&clks { 10155a42b33SPeng Fan assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>; 10255a42b33SPeng Fan assigned-clock-rates = <786432000>; 10355a42b33SPeng Fan}; 10455a42b33SPeng Fan 10555a42b33SPeng Fan&fec1 { 10655a42b33SPeng Fan pinctrl-names = "default"; 10755a42b33SPeng Fan pinctrl-0 = <&pinctrl_enet1>; 10855a42b33SPeng Fan phy-mode = "rmii"; 10955a42b33SPeng Fan phy-handle = <ðphy0>; 11055a42b33SPeng Fan status = "okay"; 11155a42b33SPeng Fan}; 11255a42b33SPeng Fan 11355a42b33SPeng Fan&fec2 { 11455a42b33SPeng Fan pinctrl-names = "default"; 11555a42b33SPeng Fan pinctrl-0 = <&pinctrl_enet2>; 11655a42b33SPeng Fan phy-mode = "rmii"; 11755a42b33SPeng Fan phy-handle = <ðphy1>; 11855a42b33SPeng Fan status = "okay"; 11955a42b33SPeng Fan 12055a42b33SPeng Fan mdio { 12155a42b33SPeng Fan #address-cells = <1>; 12255a42b33SPeng Fan #size-cells = <0>; 12355a42b33SPeng Fan 12455a42b33SPeng Fan ethphy0: ethernet-phy@2 { 12555a42b33SPeng Fan compatible = "ethernet-phy-ieee802.3-c22"; 12655a42b33SPeng Fan reg = <2>; 12755a42b33SPeng Fan }; 12855a42b33SPeng Fan 12955a42b33SPeng Fan ethphy1: ethernet-phy@1 { 13055a42b33SPeng Fan compatible = "ethernet-phy-ieee802.3-c22"; 13155a42b33SPeng Fan reg = <1>; 13255a42b33SPeng Fan }; 13355a42b33SPeng Fan }; 13455a42b33SPeng Fan}; 13555a42b33SPeng Fan 13655a42b33SPeng Fan&gpc { 13755a42b33SPeng Fan fsl,cpu_pupscr_sw2iso = <0x1>; 13855a42b33SPeng Fan fsl,cpu_pupscr_sw = <0x0>; 13955a42b33SPeng Fan fsl,cpu_pdnscr_iso2sw = <0x1>; 14055a42b33SPeng Fan fsl,cpu_pdnscr_iso = <0x1>; 14155a42b33SPeng Fan fsl,ldo-bypass = <0>; /* DCDC, ldo-enable */ 14255a42b33SPeng Fan}; 14355a42b33SPeng Fan 14455a42b33SPeng Fan&i2c1 { 14555a42b33SPeng Fan clock-frequency = <100000>; 14655a42b33SPeng Fan pinctrl-names = "default"; 14755a42b33SPeng Fan pinctrl-0 = <&pinctrl_i2c1>; 14855a42b33SPeng Fan status = "okay"; 14955a42b33SPeng Fan 15055a42b33SPeng Fan mag3110@0e { 15155a42b33SPeng Fan compatible = "fsl,mag3110"; 15255a42b33SPeng Fan reg = <0x0e>; 15355a42b33SPeng Fan position = <2>; 15455a42b33SPeng Fan }; 15555a42b33SPeng Fan 15655a42b33SPeng Fan fxls8471@1e { 15755a42b33SPeng Fan compatible = "fsl,fxls8471"; 15855a42b33SPeng Fan reg = <0x1e>; 15955a42b33SPeng Fan position = <0>; 16055a42b33SPeng Fan interrupt-parent = <&gpio5>; 16155a42b33SPeng Fan interrupts = <0 8>; 16255a42b33SPeng Fan }; 16355a42b33SPeng Fan}; 16455a42b33SPeng Fan 16555a42b33SPeng Fan&i2c2 { 16655a42b33SPeng Fan clock_frequency = <100000>; 16755a42b33SPeng Fan pinctrl-names = "default"; 16855a42b33SPeng Fan pinctrl-0 = <&pinctrl_i2c2>; 16955a42b33SPeng Fan status = "okay"; 17055a42b33SPeng Fan}; 17155a42b33SPeng Fan 17255a42b33SPeng Fan&iomuxc { 17355a42b33SPeng Fan pinctrl-names = "default"; 17455a42b33SPeng Fan pinctrl-0 = <&pinctrl_hog_1>; 17555a42b33SPeng Fan imx6ul-evk { 17655a42b33SPeng Fan pinctrl_hog_1: hoggrp-1 { 17755a42b33SPeng Fan fsl,pins = < 17855a42b33SPeng Fan MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 /* SD1 CD */ 17955a42b33SPeng Fan MX6UL_PAD_GPIO1_IO05__USDHC1_VSELECT 0x17059 /* SD1 VSELECT */ 18055a42b33SPeng Fan MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x17059 /* SD1 RESET */ 18155a42b33SPeng Fan >; 18255a42b33SPeng Fan }; 18355a42b33SPeng Fan 18455a42b33SPeng Fan pinctrl_csi1: csi1grp { 18555a42b33SPeng Fan fsl,pins = < 18655a42b33SPeng Fan MX6UL_PAD_CSI_MCLK__CSI_MCLK 0x1b088 18755a42b33SPeng Fan MX6UL_PAD_CSI_PIXCLK__CSI_PIXCLK 0x1b088 18855a42b33SPeng Fan MX6UL_PAD_CSI_VSYNC__CSI_VSYNC 0x1b088 18955a42b33SPeng Fan MX6UL_PAD_CSI_HSYNC__CSI_HSYNC 0x1b088 19055a42b33SPeng Fan MX6UL_PAD_CSI_DATA00__CSI_DATA02 0x1b088 19155a42b33SPeng Fan MX6UL_PAD_CSI_DATA01__CSI_DATA03 0x1b088 19255a42b33SPeng Fan MX6UL_PAD_CSI_DATA02__CSI_DATA04 0x1b088 19355a42b33SPeng Fan MX6UL_PAD_CSI_DATA03__CSI_DATA05 0x1b088 19455a42b33SPeng Fan MX6UL_PAD_CSI_DATA04__CSI_DATA06 0x1b088 19555a42b33SPeng Fan MX6UL_PAD_CSI_DATA05__CSI_DATA07 0x1b088 19655a42b33SPeng Fan MX6UL_PAD_CSI_DATA06__CSI_DATA08 0x1b088 19755a42b33SPeng Fan MX6UL_PAD_CSI_DATA07__CSI_DATA09 0x1b088 19855a42b33SPeng Fan >; 19955a42b33SPeng Fan }; 20055a42b33SPeng Fan 20155a42b33SPeng Fan pinctrl_enet1: enet1grp { 20255a42b33SPeng Fan fsl,pins = < 20355a42b33SPeng Fan MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 20455a42b33SPeng Fan MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 20555a42b33SPeng Fan MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 20655a42b33SPeng Fan MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 20755a42b33SPeng Fan MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 20855a42b33SPeng Fan MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 20955a42b33SPeng Fan MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 21055a42b33SPeng Fan MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031 21155a42b33SPeng Fan >; 21255a42b33SPeng Fan }; 21355a42b33SPeng Fan 21455a42b33SPeng Fan pinctrl_enet2: enet2grp { 21555a42b33SPeng Fan fsl,pins = < 21655a42b33SPeng Fan MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0 21755a42b33SPeng Fan MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0 21855a42b33SPeng Fan MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0 21955a42b33SPeng Fan MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0 22055a42b33SPeng Fan MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0 22155a42b33SPeng Fan MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0 22255a42b33SPeng Fan MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0 22355a42b33SPeng Fan MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0 22455a42b33SPeng Fan MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0 22555a42b33SPeng Fan MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031 22655a42b33SPeng Fan >; 22755a42b33SPeng Fan }; 22855a42b33SPeng Fan 22955a42b33SPeng Fan pinctrl_flexcan1: flexcan1grp{ 23055a42b33SPeng Fan fsl,pins = < 23155a42b33SPeng Fan MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x1b020 23255a42b33SPeng Fan MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x1b020 23355a42b33SPeng Fan >; 23455a42b33SPeng Fan }; 23555a42b33SPeng Fan 23655a42b33SPeng Fan pinctrl_flexcan2: flexcan2grp{ 23755a42b33SPeng Fan fsl,pins = < 23855a42b33SPeng Fan MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020 23955a42b33SPeng Fan MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020 24055a42b33SPeng Fan >; 24155a42b33SPeng Fan }; 24255a42b33SPeng Fan 24355a42b33SPeng Fan pinctrl_i2c1: i2c1grp { 24455a42b33SPeng Fan fsl,pins = < 24555a42b33SPeng Fan MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0 24655a42b33SPeng Fan MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0 24755a42b33SPeng Fan >; 24855a42b33SPeng Fan }; 24955a42b33SPeng Fan 25055a42b33SPeng Fan pinctrl_i2c2: i2c2grp { 25155a42b33SPeng Fan fsl,pins = < 25255a42b33SPeng Fan MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0 25355a42b33SPeng Fan MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0 25455a42b33SPeng Fan >; 25555a42b33SPeng Fan }; 25655a42b33SPeng Fan 25755a42b33SPeng Fan pinctrl_lcdif_dat: lcdifdatgrp { 25855a42b33SPeng Fan fsl,pins = < 25955a42b33SPeng Fan MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79 26055a42b33SPeng Fan MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79 26155a42b33SPeng Fan MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79 26255a42b33SPeng Fan MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79 26355a42b33SPeng Fan MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79 26455a42b33SPeng Fan MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79 26555a42b33SPeng Fan MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79 26655a42b33SPeng Fan MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79 26755a42b33SPeng Fan MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79 26855a42b33SPeng Fan MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79 26955a42b33SPeng Fan MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79 27055a42b33SPeng Fan MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79 27155a42b33SPeng Fan MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79 27255a42b33SPeng Fan MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79 27355a42b33SPeng Fan MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79 27455a42b33SPeng Fan MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79 27555a42b33SPeng Fan MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79 27655a42b33SPeng Fan MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79 27755a42b33SPeng Fan MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x79 27855a42b33SPeng Fan MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x79 27955a42b33SPeng Fan MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x79 28055a42b33SPeng Fan MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x79 28155a42b33SPeng Fan MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x79 28255a42b33SPeng Fan MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x79 28355a42b33SPeng Fan >; 28455a42b33SPeng Fan }; 28555a42b33SPeng Fan 28655a42b33SPeng Fan pinctrl_lcdif_ctrl: lcdifctrlgrp { 28755a42b33SPeng Fan fsl,pins = < 28855a42b33SPeng Fan MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79 28955a42b33SPeng Fan MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79 29055a42b33SPeng Fan MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79 29155a42b33SPeng Fan MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79 29255a42b33SPeng Fan >; 29355a42b33SPeng Fan }; 29455a42b33SPeng Fan 29555a42b33SPeng Fan pinctrl_pwm1: pwm1grp { 29655a42b33SPeng Fan fsl,pins = < 29755a42b33SPeng Fan MX6UL_PAD_GPIO1_IO08__PWM1_OUT 0x110b0 29855a42b33SPeng Fan >; 29955a42b33SPeng Fan }; 30055a42b33SPeng Fan 30155a42b33SPeng Fan pinctrl_qspi: qspigrp { 30255a42b33SPeng Fan fsl,pins = < 30355a42b33SPeng Fan MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70a1 30455a42b33SPeng Fan MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70a1 30555a42b33SPeng Fan MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70a1 30655a42b33SPeng Fan MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70a1 30755a42b33SPeng Fan MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70a1 30855a42b33SPeng Fan MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 30955a42b33SPeng Fan >; 31055a42b33SPeng Fan }; 31155a42b33SPeng Fan 31255a42b33SPeng Fan pinctrl_uart1: uart1grp { 31355a42b33SPeng Fan fsl,pins = < 31455a42b33SPeng Fan MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 31555a42b33SPeng Fan MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1 31655a42b33SPeng Fan >; 31755a42b33SPeng Fan }; 31855a42b33SPeng Fan 31955a42b33SPeng Fan pinctrl_uart2: uart2grp { 32055a42b33SPeng Fan fsl,pins = < 32155a42b33SPeng Fan MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1 32255a42b33SPeng Fan MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1 32355a42b33SPeng Fan MX6UL_PAD_UART3_RX_DATA__UART2_DCE_RTS 0x1b0b1 32455a42b33SPeng Fan MX6UL_PAD_UART3_TX_DATA__UART2_DCE_CTS 0x1b0b1 32555a42b33SPeng Fan >; 32655a42b33SPeng Fan }; 32755a42b33SPeng Fan 32855a42b33SPeng Fan pinctrl_uart2dte: uart2dtegrp { 32955a42b33SPeng Fan fsl,pins = < 33055a42b33SPeng Fan MX6UL_PAD_UART2_TX_DATA__UART2_DTE_RX 0x1b0b1 33155a42b33SPeng Fan MX6UL_PAD_UART2_RX_DATA__UART2_DTE_TX 0x1b0b1 33255a42b33SPeng Fan MX6UL_PAD_UART3_RX_DATA__UART2_DTE_CTS 0x1b0b1 33355a42b33SPeng Fan MX6UL_PAD_UART3_TX_DATA__UART2_DTE_RTS 0x1b0b1 33455a42b33SPeng Fan >; 33555a42b33SPeng Fan }; 33655a42b33SPeng Fan 33755a42b33SPeng Fan pinctrl_usdhc1: usdhc1grp { 33855a42b33SPeng Fan fsl,pins = < 33955a42b33SPeng Fan MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 34055a42b33SPeng Fan MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071 34155a42b33SPeng Fan MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 34255a42b33SPeng Fan MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 34355a42b33SPeng Fan MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 34455a42b33SPeng Fan MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 34555a42b33SPeng Fan >; 34655a42b33SPeng Fan }; 34755a42b33SPeng Fan 34855a42b33SPeng Fan pinctrl_usdhc2: usdhc2grp { 34955a42b33SPeng Fan fsl,pins = < 35055a42b33SPeng Fan MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069 35155a42b33SPeng Fan MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059 35255a42b33SPeng Fan MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059 35355a42b33SPeng Fan MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059 35455a42b33SPeng Fan MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059 35555a42b33SPeng Fan MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059 35655a42b33SPeng Fan >; 35755a42b33SPeng Fan }; 35855a42b33SPeng Fan 35955a42b33SPeng Fan pinctrl_wdog: wdoggrp { 36055a42b33SPeng Fan fsl,pins = < 36155a42b33SPeng Fan MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0 36255a42b33SPeng Fan >; 36355a42b33SPeng Fan }; 36455a42b33SPeng Fan }; 36555a42b33SPeng Fan}; 36655a42b33SPeng Fan 36755a42b33SPeng Fan&iomuxc_snvs { 36855a42b33SPeng Fan pinctrl-names = "default_snvs"; 36955a42b33SPeng Fan pinctrl-0 = <&pinctrl_hog_2>; 37055a42b33SPeng Fan imx6ul-evk { 37155a42b33SPeng Fan pinctrl_hog_2: hoggrp-2 { 37255a42b33SPeng Fan fsl,pins = < 37355a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000 37455a42b33SPeng Fan >; 37555a42b33SPeng Fan }; 37655a42b33SPeng Fan 37755a42b33SPeng Fan pinctrl_dvfs: dvfsgrp { 37855a42b33SPeng Fan fsl,pins = < 37955a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x79 38055a42b33SPeng Fan >; 38155a42b33SPeng Fan }; 38255a42b33SPeng Fan 38355a42b33SPeng Fan pinctrl_lcdif_reset: lcdifresetgrp { 38455a42b33SPeng Fan fsl,pins = < 38555a42b33SPeng Fan /* used for lcd reset */ 38655a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79 38755a42b33SPeng Fan >; 38855a42b33SPeng Fan }; 38955a42b33SPeng Fan 39055a42b33SPeng Fan pinctrl_spi4: spi4grp { 39155a42b33SPeng Fan fsl,pins = < 39255a42b33SPeng Fan MX6ULL_PAD_BOOT_MODE0__GPIO5_IO10 0x70a1 39355a42b33SPeng Fan MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x70a1 39455a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x70a1 39555a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x80000000 39655a42b33SPeng Fan >; 39755a42b33SPeng Fan }; 39855a42b33SPeng Fan 39955a42b33SPeng Fan pinctrl_sai2_hp_det_b: sai2_hp_det_grp { 40055a42b33SPeng Fan fsl,pins = < 40155a42b33SPeng Fan MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x17059 40255a42b33SPeng Fan >; 40355a42b33SPeng Fan }; 40455a42b33SPeng Fan }; 40555a42b33SPeng Fan}; 40655a42b33SPeng Fan 40755a42b33SPeng Fan 40855a42b33SPeng Fan&lcdif { 40955a42b33SPeng Fan pinctrl-names = "default"; 41055a42b33SPeng Fan pinctrl-0 = <&pinctrl_lcdif_dat 41155a42b33SPeng Fan &pinctrl_lcdif_ctrl 41255a42b33SPeng Fan &pinctrl_lcdif_reset>; 41355a42b33SPeng Fan display = <&display0>; 41455a42b33SPeng Fan status = "okay"; 41555a42b33SPeng Fan 41655a42b33SPeng Fan display0: display { 41755a42b33SPeng Fan bits-per-pixel = <16>; 41855a42b33SPeng Fan bus-width = <24>; 41955a42b33SPeng Fan 42055a42b33SPeng Fan display-timings { 42155a42b33SPeng Fan native-mode = <&timing0>; 42255a42b33SPeng Fan timing0: timing0 { 42355a42b33SPeng Fan clock-frequency = <9200000>; 42455a42b33SPeng Fan hactive = <480>; 42555a42b33SPeng Fan vactive = <272>; 42655a42b33SPeng Fan hfront-porch = <8>; 42755a42b33SPeng Fan hback-porch = <4>; 42855a42b33SPeng Fan hsync-len = <41>; 42955a42b33SPeng Fan vback-porch = <2>; 43055a42b33SPeng Fan vfront-porch = <4>; 43155a42b33SPeng Fan vsync-len = <10>; 43255a42b33SPeng Fan 43355a42b33SPeng Fan hsync-active = <0>; 43455a42b33SPeng Fan vsync-active = <0>; 43555a42b33SPeng Fan de-active = <1>; 43655a42b33SPeng Fan pixelclk-active = <0>; 43755a42b33SPeng Fan }; 43855a42b33SPeng Fan }; 43955a42b33SPeng Fan }; 44055a42b33SPeng Fan}; 44155a42b33SPeng Fan 44255a42b33SPeng Fan&pwm1 { 44355a42b33SPeng Fan pinctrl-names = "default"; 44455a42b33SPeng Fan pinctrl-0 = <&pinctrl_pwm1>; 44555a42b33SPeng Fan status = "okay"; 44655a42b33SPeng Fan}; 44755a42b33SPeng Fan 44855a42b33SPeng Fan&qspi { 44955a42b33SPeng Fan pinctrl-names = "default"; 45055a42b33SPeng Fan pinctrl-0 = <&pinctrl_qspi>; 45155a42b33SPeng Fan status = "okay"; 45255a42b33SPeng Fan ddrsmp=<0>; 45355a42b33SPeng Fan 45455a42b33SPeng Fan flash0: n25q256a@0 { 45555a42b33SPeng Fan #address-cells = <1>; 45655a42b33SPeng Fan #size-cells = <1>; 457*a3cc4355SPeng Fan /* compatible = "micron,n25q256a"; */ 458*a3cc4355SPeng Fan compatible = "spi-flash"; 45955a42b33SPeng Fan spi-max-frequency = <29000000>; 46055a42b33SPeng Fan spi-nor,ddr-quad-read-dummy = <6>; 46155a42b33SPeng Fan reg = <0>; 46255a42b33SPeng Fan }; 46355a42b33SPeng Fan}; 46455a42b33SPeng Fan 46555a42b33SPeng Fan&uart1 { 46655a42b33SPeng Fan pinctrl-names = "default"; 46755a42b33SPeng Fan pinctrl-0 = <&pinctrl_uart1>; 46855a42b33SPeng Fan status = "okay"; 46955a42b33SPeng Fan}; 47055a42b33SPeng Fan 47155a42b33SPeng Fan&uart2 { 47255a42b33SPeng Fan pinctrl-names = "default"; 47355a42b33SPeng Fan pinctrl-0 = <&pinctrl_uart2>; 47455a42b33SPeng Fan fsl,uart-has-rtscts; 47555a42b33SPeng Fan /* for DTE mode, add below change */ 47655a42b33SPeng Fan /* fsl,dte-mode; */ 47755a42b33SPeng Fan /* pinctrl-0 = <&pinctrl_uart2dte>; */ 47855a42b33SPeng Fan status = "okay"; 47955a42b33SPeng Fan}; 48055a42b33SPeng Fan 48155a42b33SPeng Fan&usbotg1 { 48255a42b33SPeng Fan dr_mode = "otg"; 48355a42b33SPeng Fan srp-disable; 48455a42b33SPeng Fan hnp-disable; 48555a42b33SPeng Fan adp-disable; 48655a42b33SPeng Fan status = "okay"; 48755a42b33SPeng Fan}; 48855a42b33SPeng Fan 48955a42b33SPeng Fan&usbotg2 { 49055a42b33SPeng Fan dr_mode = "host"; 49155a42b33SPeng Fan disable-over-current; 49255a42b33SPeng Fan status = "okay"; 49355a42b33SPeng Fan}; 49455a42b33SPeng Fan 49555a42b33SPeng Fan&usbphy1 { 49655a42b33SPeng Fan tx-d-cal = <0x5>; 49755a42b33SPeng Fan}; 49855a42b33SPeng Fan 49955a42b33SPeng Fan&usbphy2 { 50055a42b33SPeng Fan tx-d-cal = <0x5>; 50155a42b33SPeng Fan}; 50255a42b33SPeng Fan 50355a42b33SPeng Fan&usdhc1 { 50455a42b33SPeng Fan pinctrl-names = "default"; 50555a42b33SPeng Fan pinctrl-0 = <&pinctrl_usdhc1>; 50655a42b33SPeng Fan cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; 50755a42b33SPeng Fan keep-power-in-suspend; 50855a42b33SPeng Fan enable-sdio-wakeup; 50955a42b33SPeng Fan vmmc-supply = <®_sd1_vmmc>; 51055a42b33SPeng Fan status = "okay"; 51155a42b33SPeng Fan}; 51255a42b33SPeng Fan 51355a42b33SPeng Fan&usdhc2 { 51455a42b33SPeng Fan pinctrl-names = "default"; 51555a42b33SPeng Fan pinctrl-0 = <&pinctrl_usdhc2>; 51655a42b33SPeng Fan no-1-8-v; 51755a42b33SPeng Fan non-removable; 51855a42b33SPeng Fan keep-power-in-suspend; 51955a42b33SPeng Fan enable-sdio-wakeup; 52055a42b33SPeng Fan status = "okay"; 52155a42b33SPeng Fan}; 52255a42b33SPeng Fan 52355a42b33SPeng Fan&wdog1 { 52455a42b33SPeng Fan pinctrl-names = "default"; 52555a42b33SPeng Fan pinctrl-0 = <&pinctrl_wdog>; 52655a42b33SPeng Fan fsl,wdog_b; 52755a42b33SPeng Fan}; 528