Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +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/; |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 14 | #include "imx53.dtsi" |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "Freescale i.MX53 Evaluation Kit"; |
| 18 | compatible = "fsl,imx53-evk", "fsl,imx53"; |
| 19 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 20 | memory { |
| 21 | reg = <0x70000000 0x80000000>; |
| 22 | }; |
| 23 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 24 | leds { |
| 25 | compatible = "gpio-leds"; |
| 26 | |
| 27 | green { |
| 28 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 29 | gpios = <&gpio7 7 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 30 | linux,default-trigger = "heartbeat"; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 34 | |
| 35 | &esdhc1 { |
| 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&pinctrl_esdhc1_1>; |
| 38 | cd-gpios = <&gpio3 13 0>; |
| 39 | wp-gpios = <&gpio3 14 0>; |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | &ecspi1 { |
| 44 | pinctrl-names = "default"; |
| 45 | pinctrl-0 = <&pinctrl_ecspi1_1>; |
| 46 | fsl,spi-num-chipselects = <2>; |
| 47 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; |
| 48 | status = "okay"; |
| 49 | |
| 50 | flash: at45db321d@1 { |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <1>; |
| 53 | compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; |
| 54 | spi-max-frequency = <25000000>; |
| 55 | reg = <1>; |
| 56 | |
| 57 | partition@0 { |
| 58 | label = "U-Boot"; |
| 59 | reg = <0x0 0x40000>; |
| 60 | read-only; |
| 61 | }; |
| 62 | |
| 63 | partition@40000 { |
| 64 | label = "Kernel"; |
| 65 | reg = <0x40000 0x3c0000>; |
| 66 | }; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &esdhc3 { |
| 71 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_esdhc3_1>; |
| 73 | cd-gpios = <&gpio3 11 0>; |
| 74 | wp-gpios = <&gpio3 12 0>; |
| 75 | status = "okay"; |
| 76 | }; |
| 77 | |
| 78 | &iomuxc { |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&pinctrl_hog>; |
| 81 | |
| 82 | hog { |
| 83 | pinctrl_hog: hoggrp { |
| 84 | fsl,pins = < |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 85 | MX53_PAD_EIM_EB2__GPIO2_30 0x80000000 |
| 86 | MX53_PAD_EIM_D19__GPIO3_19 0x80000000 |
| 87 | MX53_PAD_EIM_DA11__GPIO3_11 0x80000000 |
| 88 | MX53_PAD_EIM_DA12__GPIO3_12 0x80000000 |
| 89 | MX53_PAD_EIM_DA13__GPIO3_13 0x80000000 |
| 90 | MX53_PAD_EIM_DA14__GPIO3_14 0x80000000 |
| 91 | MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 |
| 92 | MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000 |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 93 | >; |
| 94 | }; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | &uart1 { |
| 99 | pinctrl-names = "default"; |
| 100 | pinctrl-0 = <&pinctrl_uart1_1>; |
| 101 | status = "okay"; |
| 102 | }; |
| 103 | |
| 104 | &i2c2 { |
| 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&pinctrl_i2c2_1>; |
| 107 | status = "okay"; |
| 108 | |
| 109 | pmic: mc13892@08 { |
| 110 | compatible = "fsl,mc13892", "fsl,mc13xxx"; |
| 111 | reg = <0x08>; |
| 112 | }; |
| 113 | |
| 114 | codec: sgtl5000@0a { |
| 115 | compatible = "fsl,sgtl5000"; |
| 116 | reg = <0x0a>; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | &fec { |
| 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&pinctrl_fec_1>; |
| 123 | phy-mode = "rmii"; |
| 124 | phy-reset-gpios = <&gpio7 6 0>; |
| 125 | status = "okay"; |
| 126 | }; |