Stefan Agner | e1bf86a | 2014-11-02 21:36:47 +0100 | [diff] [blame^] | 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 | &edma0 { |
| 27 | status = "okay"; |
| 28 | }; |
| 29 | |
| 30 | &esdhc1 { |
| 31 | pinctrl-names = "default"; |
| 32 | pinctrl-0 = <&pinctrl_esdhc1>; |
| 33 | bus-width = <4>; |
| 34 | }; |
| 35 | |
| 36 | &fec1 { |
| 37 | phy-mode = "rmii"; |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&pinctrl_fec1>; |
| 40 | }; |
| 41 | |
| 42 | &pwm0 { |
| 43 | pinctrl-names = "default"; |
| 44 | pinctrl-0 = <&pinctrl_pwm0>; |
| 45 | }; |
| 46 | |
| 47 | &pwm1 { |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&pinctrl_pwm1>; |
| 50 | }; |
| 51 | |
| 52 | &uart0 { |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&pinctrl_uart0>; |
| 55 | }; |
| 56 | |
| 57 | &uart1 { |
| 58 | pinctrl-names = "default"; |
| 59 | pinctrl-0 = <&pinctrl_uart1>; |
| 60 | }; |
| 61 | |
| 62 | &uart2 { |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = <&pinctrl_uart2>; |
| 65 | }; |
| 66 | |
| 67 | &usbdev0 { |
| 68 | disable-over-current; |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | &usbh1 { |
| 73 | disable-over-current; |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
| 77 | &iomuxc { |
| 78 | vf610-colibri { |
| 79 | pinctrl_esdhc1: esdhc1grp { |
| 80 | fsl,pins = < |
| 81 | VF610_PAD_PTA24__ESDHC1_CLK 0x31ef |
| 82 | VF610_PAD_PTA25__ESDHC1_CMD 0x31ef |
| 83 | VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef |
| 84 | VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef |
| 85 | VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef |
| 86 | VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef |
| 87 | VF610_PAD_PTB20__GPIO_42 0x219d |
| 88 | >; |
| 89 | }; |
| 90 | |
| 91 | pinctrl_fec1: fec1grp { |
| 92 | fsl,pins = < |
| 93 | VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2 |
| 94 | VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3 |
| 95 | VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1 |
| 96 | VF610_PAD_PTC12__ENET_RMII_RXD1 0x30d1 |
| 97 | VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1 |
| 98 | VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1 |
| 99 | VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2 |
| 100 | VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2 |
| 101 | VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 |
| 102 | >; |
| 103 | }; |
| 104 | |
| 105 | pinctrl_pwm0: pwm0grp { |
| 106 | fsl,pins = < |
| 107 | VF610_PAD_PTB0__FTM0_CH0 0x1182 |
| 108 | VF610_PAD_PTB1__FTM0_CH1 0x1182 |
| 109 | >; |
| 110 | }; |
| 111 | |
| 112 | pinctrl_pwm1: pwm1grp { |
| 113 | fsl,pins = < |
| 114 | VF610_PAD_PTB8__FTM1_CH0 0x1182 |
| 115 | VF610_PAD_PTB9__FTM1_CH1 0x1182 |
| 116 | >; |
| 117 | }; |
| 118 | |
| 119 | pinctrl_uart0: uart0grp { |
| 120 | fsl,pins = < |
| 121 | VF610_PAD_PTB10__UART0_TX 0x21a2 |
| 122 | VF610_PAD_PTB11__UART0_RX 0x21a1 |
| 123 | >; |
| 124 | }; |
| 125 | |
| 126 | pinctrl_uart1: uart1grp { |
| 127 | fsl,pins = < |
| 128 | VF610_PAD_PTB4__UART1_TX 0x21a2 |
| 129 | VF610_PAD_PTB5__UART1_RX 0x21a1 |
| 130 | >; |
| 131 | }; |
| 132 | |
| 133 | pinctrl_uart2: uart2grp { |
| 134 | fsl,pins = < |
| 135 | VF610_PAD_PTD0__UART2_TX 0x21a2 |
| 136 | VF610_PAD_PTD1__UART2_RX 0x21a1 |
| 137 | VF610_PAD_PTD2__UART2_RTS 0x21a2 |
| 138 | VF610_PAD_PTD3__UART2_CTS 0x21a1 |
| 139 | >; |
| 140 | }; |
| 141 | }; |
| 142 | }; |