Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | /include/ "imx6q.dtsi" |
| 15 | |
| 16 | / { |
Dirk Behme | 752baf56 | 2011-12-08 08:22:01 +0100 | [diff] [blame] | 17 | model = "Freescale i.MX6 Quad Armadillo2 Board"; |
| 18 | compatible = "fsl,imx6q-arm2", "fsl,imx6q"; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 19 | |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 20 | memory { |
| 21 | reg = <0x10000000 0x80000000>; |
| 22 | }; |
| 23 | |
| 24 | soc { |
Huang Shijie | cf922fa | 2012-07-01 23:38:46 -0400 | [diff] [blame] | 25 | gpmi-nand@00112000 { |
| 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&pinctrl_gpmi_nand_1>; |
| 28 | status = "disabled"; /* gpmi nand conflicts with SD */ |
| 29 | }; |
| 30 | |
Shawn Guo | 9e3c006 | 2012-08-11 12:49:11 +0800 | [diff] [blame] | 31 | aips-bus@02000000 { /* AIPS1 */ |
| 32 | iomuxc@020e0000 { |
| 33 | pinctrl-names = "default"; |
| 34 | pinctrl-0 = <&pinctrl_hog>; |
| 35 | |
| 36 | hog { |
| 37 | pinctrl_hog: hoggrp { |
| 38 | fsl,pins = < |
| 39 | 176 0x80000000 /* MX6Q_PAD_EIM_D25__GPIO_3_25 */ |
Shawn Guo | 3d76f9f | 2012-10-15 16:48:04 +0800 | [diff] [blame] | 40 | >; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | arm2 { |
| 45 | pinctrl_usdhc3_arm2: usdhc3grp-arm2 { |
| 46 | fsl,pins = < |
Shawn Guo | 9e3c006 | 2012-08-11 12:49:11 +0800 | [diff] [blame] | 47 | 1363 0x80000000 /* MX6Q_PAD_NANDF_CS0__GPIO_6_11 */ |
| 48 | 1369 0x80000000 /* MX6Q_PAD_NANDF_CS1__GPIO_6_14 */ |
| 49 | >; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | }; |
| 54 | |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 55 | aips-bus@02100000 { /* AIPS2 */ |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 56 | ethernet@02188000 { |
Shawn Guo | 9e3c006 | 2012-08-11 12:49:11 +0800 | [diff] [blame] | 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&pinctrl_enet_2>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 59 | phy-mode = "rgmii"; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 60 | status = "okay"; |
| 61 | }; |
| 62 | |
| 63 | usdhc@02198000 { /* uSDHC3 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 64 | cd-gpios = <&gpio6 11 0>; |
| 65 | wp-gpios = <&gpio6 14 0>; |
Shawn Guo | 648162a | 2012-02-27 17:11:12 +0800 | [diff] [blame] | 66 | vmmc-supply = <®_3p3v>; |
Dong Aisheng | 551fd20 | 2012-05-11 14:58:00 +0800 | [diff] [blame] | 67 | pinctrl-names = "default"; |
Shawn Guo | 3d76f9f | 2012-10-15 16:48:04 +0800 | [diff] [blame] | 68 | pinctrl-0 = <&pinctrl_usdhc3_1 |
| 69 | &pinctrl_usdhc3_arm2>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 70 | status = "okay"; |
| 71 | }; |
| 72 | |
| 73 | usdhc@0219c000 { /* uSDHC4 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 74 | non-removable; |
Shawn Guo | 648162a | 2012-02-27 17:11:12 +0800 | [diff] [blame] | 75 | vmmc-supply = <®_3p3v>; |
Dong Aisheng | 551fd20 | 2012-05-11 14:58:00 +0800 | [diff] [blame] | 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&pinctrl_usdhc4_1>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 78 | status = "okay"; |
| 79 | }; |
| 80 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 81 | uart4: serial@021f0000 { |
Shawn Guo | 9e3c006 | 2012-08-11 12:49:11 +0800 | [diff] [blame] | 82 | pinctrl-names = "default"; |
| 83 | pinctrl-0 = <&pinctrl_uart4_1>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 84 | status = "okay"; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |
Shawn Guo | 648162a | 2012-02-27 17:11:12 +0800 | [diff] [blame] | 89 | regulators { |
| 90 | compatible = "simple-bus"; |
| 91 | |
| 92 | reg_3p3v: 3p3v { |
| 93 | compatible = "regulator-fixed"; |
| 94 | regulator-name = "3P3V"; |
| 95 | regulator-min-microvolt = <3300000>; |
| 96 | regulator-max-microvolt = <3300000>; |
| 97 | regulator-always-on; |
| 98 | }; |
| 99 | }; |
| 100 | |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 101 | leds { |
| 102 | compatible = "gpio-leds"; |
| 103 | |
| 104 | debug-led { |
| 105 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 106 | gpios = <&gpio3 25 0>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 107 | linux,default-trigger = "heartbeat"; |
| 108 | }; |
| 109 | }; |
| 110 | }; |