1/* 2 * Copyright 2014 Toradex AG 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9 10/ { 11 bl: backlight { 12 compatible = "pwm-backlight"; 13 pwms = <&pwm0 0 5000000 0>; 14 status = "disabled"; 15 }; 16}; 17 18&adc0 { 19 status = "okay"; 20}; 21 22&adc1 { 23 status = "okay"; 24}; 25 26&dspi1 { 27 bus-num = <1>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_dspi1>; 30}; 31 32&edma0 { 33 status = "okay"; 34}; 35 36&esdhc1 { 37 pinctrl-names = "default"; 38 pinctrl-0 = <&pinctrl_esdhc1>; 39 bus-width = <4>; 40 cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 41}; 42 43&fec1 { 44 phy-mode = "rmii"; 45 pinctrl-names = "default"; 46 pinctrl-0 = <&pinctrl_fec1>; 47}; 48 49&i2c0 { 50 clock-frequency = <400000>; 51 pinctrl-names = "default"; 52 pinctrl-0 = <&pinctrl_i2c0>; 53}; 54 55&pwm0 { 56 pinctrl-names = "default"; 57 pinctrl-0 = <&pinctrl_pwm0>; 58}; 59 60&pwm1 { 61 pinctrl-names = "default"; 62 pinctrl-0 = <&pinctrl_pwm1>; 63}; 64 65&uart0 { 66 pinctrl-names = "default"; 67 pinctrl-0 = <&pinctrl_uart0>; 68}; 69 70&uart1 { 71 pinctrl-names = "default"; 72 pinctrl-0 = <&pinctrl_uart1>; 73}; 74 75&uart2 { 76 pinctrl-names = "default"; 77 pinctrl-0 = <&pinctrl_uart2>; 78}; 79 80&usbdev0 { 81 disable-over-current; 82 status = "okay"; 83}; 84 85&usbh1 { 86 disable-over-current; 87 status = "okay"; 88}; 89 90&usbmisc0 { 91 status = "okay"; 92}; 93 94&usbmisc1 { 95 status = "okay"; 96}; 97 98&usbphy0 { 99 status = "okay"; 100}; 101 102&usbphy1 { 103 status = "okay"; 104}; 105 106&iomuxc { 107 vf610-colibri { 108 pinctrl_gpio_ext: gpio_ext { 109 fsl,pins = < 110 VF610_PAD_PTD10__GPIO_89 0x22ed /* EXT_IO_0 */ 111 VF610_PAD_PTD9__GPIO_88 0x22ed /* EXT_IO_1 */ 112 VF610_PAD_PTD26__GPIO_68 0x22ed /* EXT_IO_2 */ 113 >; 114 }; 115 116 pinctrl_dspi1: dspi1grp { 117 fsl,pins = < 118 VF610_PAD_PTD5__DSPI1_CS0 0x33e2 119 VF610_PAD_PTD6__DSPI1_SIN 0x33e1 120 VF610_PAD_PTD7__DSPI1_SOUT 0x33e2 121 VF610_PAD_PTD8__DSPI1_SCK 0x33e2 122 >; 123 }; 124 125 pinctrl_esdhc1: esdhc1grp { 126 fsl,pins = < 127 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef 128 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef 129 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef 130 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef 131 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef 132 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef 133 VF610_PAD_PTB20__GPIO_42 0x219d 134 >; 135 }; 136 137 pinctrl_fec1: fec1grp { 138 fsl,pins = < 139 VF610_PAD_PTA6__RMII_CLKOUT 0x30d2 140 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2 141 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3 142 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1 143 VF610_PAD_PTC12__ENET_RMII_RXD1 0x30d1 144 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1 145 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1 146 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2 147 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2 148 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 149 >; 150 }; 151 152 pinctrl_i2c0: i2c0grp { 153 fsl,pins = < 154 VF610_PAD_PTB14__I2C0_SCL 0x37ff 155 VF610_PAD_PTB15__I2C0_SDA 0x37ff 156 >; 157 }; 158 159 pinctrl_pwm0: pwm0grp { 160 fsl,pins = < 161 VF610_PAD_PTB0__FTM0_CH0 0x1182 162 VF610_PAD_PTB1__FTM0_CH1 0x1182 163 >; 164 }; 165 166 pinctrl_pwm1: pwm1grp { 167 fsl,pins = < 168 VF610_PAD_PTB8__FTM1_CH0 0x1182 169 VF610_PAD_PTB9__FTM1_CH1 0x1182 170 >; 171 }; 172 173 pinctrl_uart0: uart0grp { 174 fsl,pins = < 175 VF610_PAD_PTB10__UART0_TX 0x21a2 176 VF610_PAD_PTB11__UART0_RX 0x21a1 177 >; 178 }; 179 180 pinctrl_uart1: uart1grp { 181 fsl,pins = < 182 VF610_PAD_PTB4__UART1_TX 0x21a2 183 VF610_PAD_PTB5__UART1_RX 0x21a1 184 >; 185 }; 186 187 pinctrl_uart2: uart2grp { 188 fsl,pins = < 189 VF610_PAD_PTD0__UART2_TX 0x21a2 190 VF610_PAD_PTD1__UART2_RX 0x21a1 191 VF610_PAD_PTD2__UART2_RTS 0x21a2 192 VF610_PAD_PTD3__UART2_CTS 0x21a1 193 >; 194 }; 195 196 pinctrl_usbh1_reg: gpio_usb_vbus { 197 fsl,pins = < 198 VF610_PAD_PTD4__GPIO_83 0x22ed 199 >; 200 }; 201 }; 202}; 203