Shawn Guo | 117ccd55 | 2013-05-03 11:28:42 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Freescale Semiconductor, Inc. |
| 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 version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "imx6sl.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "Freescale i.MX6 SoloLite EVK Board"; |
| 15 | compatible = "fsl,imx6sl-evk", "fsl,imx6sl"; |
| 16 | |
| 17 | memory { |
| 18 | reg = <0x80000000 0x40000000>; |
| 19 | }; |
Peter Chen | 6022232 | 2013-09-10 10:23:16 +0800 | [diff] [blame] | 20 | |
| 21 | regulators { |
| 22 | compatible = "simple-bus"; |
| 23 | |
| 24 | reg_usb_otg1_vbus: usb_otg1_vbus { |
| 25 | compatible = "regulator-fixed"; |
| 26 | regulator-name = "usb_otg1_vbus"; |
| 27 | regulator-min-microvolt = <5000000>; |
| 28 | regulator-max-microvolt = <5000000>; |
| 29 | gpio = <&gpio4 0 0>; |
| 30 | enable-active-high; |
| 31 | }; |
| 32 | |
| 33 | reg_usb_otg2_vbus: usb_otg2_vbus { |
| 34 | compatible = "regulator-fixed"; |
| 35 | regulator-name = "usb_otg2_vbus"; |
| 36 | regulator-min-microvolt = <5000000>; |
| 37 | regulator-max-microvolt = <5000000>; |
| 38 | gpio = <&gpio4 2 0>; |
| 39 | enable-active-high; |
| 40 | }; |
| 41 | }; |
Shawn Guo | 117ccd55 | 2013-05-03 11:28:42 +0800 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &fec { |
| 45 | pinctrl-names = "default"; |
| 46 | pinctrl-0 = <&pinctrl_fec_1>; |
| 47 | phy-mode = "rmii"; |
| 48 | status = "okay"; |
| 49 | }; |
| 50 | |
| 51 | &iomuxc { |
| 52 | pinctrl-names = "default"; |
| 53 | pinctrl-0 = <&pinctrl_hog>; |
| 54 | |
| 55 | hog { |
| 56 | pinctrl_hog: hoggrp { |
| 57 | fsl,pins = < |
| 58 | MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x17059 |
| 59 | MX6SL_PAD_KEY_COL7__GPIO4_IO06 0x17059 |
| 60 | MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059 |
| 61 | MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059 |
| 62 | MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059 |
Peter Chen | 6022232 | 2013-09-10 10:23:16 +0800 | [diff] [blame] | 63 | MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x80000000 |
| 64 | MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000 |
Shawn Guo | 117ccd55 | 2013-05-03 11:28:42 +0800 | [diff] [blame] | 65 | >; |
| 66 | }; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &uart1 { |
| 71 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_uart1_1>; |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
Peter Chen | 6022232 | 2013-09-10 10:23:16 +0800 | [diff] [blame] | 76 | &usbotg1 { |
| 77 | vbus-supply = <®_usb_otg1_vbus>; |
| 78 | pinctrl-names = "default"; |
| 79 | pinctrl-0 = <&pinctrl_usbotg1_1>; |
| 80 | disable-over-current; |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &usbotg2 { |
| 85 | vbus-supply = <®_usb_otg2_vbus>; |
| 86 | dr_mode = "host"; |
| 87 | disable-over-current; |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
Shawn Guo | 117ccd55 | 2013-05-03 11:28:42 +0800 | [diff] [blame] | 91 | &usdhc1 { |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&pinctrl_usdhc1_1>; |
| 94 | bus-width = <8>; |
| 95 | cd-gpios = <&gpio4 7 0>; |
| 96 | wp-gpios = <&gpio4 6 0>; |
| 97 | status = "okay"; |
| 98 | }; |
| 99 | |
| 100 | &usdhc2 { |
| 101 | pinctrl-names = "default"; |
| 102 | pinctrl-0 = <&pinctrl_usdhc2_1>; |
| 103 | cd-gpios = <&gpio5 0 0>; |
| 104 | wp-gpios = <&gpio4 29 0>; |
| 105 | status = "okay"; |
| 106 | }; |
| 107 | |
| 108 | &usdhc3 { |
| 109 | pinctrl-names = "default"; |
| 110 | pinctrl-0 = <&pinctrl_usdhc3_1>; |
| 111 | cd-gpios = <&gpio3 22 0>; |
| 112 | status = "okay"; |
| 113 | }; |