Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | /include/ "imx28.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Freescale i.MX28 Evaluation Kit"; |
| 17 | compatible = "fsl,imx28-evk", "fsl,imx28"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 24 | apbh@80000000 { |
Huang Shijie | 7a8e514 | 2012-05-25 17:25:35 +0800 | [diff] [blame] | 25 | gpmi-nand@8000c000 { |
| 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 31 | ssp0: ssp@80010000 { |
| 32 | compatible = "fsl,imx28-mmc"; |
| 33 | pinctrl-names = "default"; |
| 34 | pinctrl-0 = <&mmc0_8bit_pins_a |
| 35 | &mmc0_cd_cfg &mmc0_sck_cfg>; |
| 36 | bus-width = <8>; |
| 37 | wp-gpios = <&gpio2 12 0>; |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 38 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | ssp1: ssp@80012000 { |
| 43 | compatible = "fsl,imx28-mmc"; |
| 44 | bus-width = <8>; |
| 45 | wp-gpios = <&gpio0 28 0>; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 46 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 47 | |
| 48 | pinctrl@80018000 { |
| 49 | pinctrl-names = "default"; |
| 50 | pinctrl-0 = <&hog_pins_a>; |
| 51 | |
| 52 | hog_pins_a: hog-gpios@0 { |
| 53 | reg = <0>; |
| 54 | fsl,pinmux-ids = < |
| 55 | 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */ |
| 56 | 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */ |
| 57 | 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */ |
| 58 | 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */ |
| 59 | 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ |
| 60 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ |
| 61 | 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ |
| 62 | >; |
| 63 | fsl,drive-strength = <0>; |
| 64 | fsl,voltage = <1>; |
| 65 | fsl,pull-up = <0>; |
| 66 | }; |
| 67 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame^] | 68 | |
| 69 | lcdif@80030000 { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
| 72 | panel-enable-gpios = <&gpio3 30 0>; |
| 73 | status = "okay"; |
| 74 | }; |
Shawn Guo | 35d2304 | 2012-05-06 16:33:34 +0800 | [diff] [blame] | 75 | }; |
| 76 | |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 77 | apbx@80040000 { |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 78 | saif0: saif@80042000 { |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&saif0_pins_a>; |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | saif1: saif@80046000 { |
| 85 | pinctrl-names = "default"; |
| 86 | pinctrl-0 = <&saif1_pins_a>; |
| 87 | fsl,saif-master = <&saif0>; |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
Shawn Guo | 2a96e39 | 2012-05-10 15:02:10 +0800 | [diff] [blame] | 91 | i2c0: i2c@80058000 { |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&i2c0_pins_a>; |
| 94 | status = "okay"; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 95 | |
| 96 | sgtl5000: codec@0a { |
| 97 | compatible = "fsl,sgtl5000"; |
| 98 | reg = <0x0a>; |
| 99 | VDDA-supply = <®_3p3v>; |
| 100 | VDDIO-supply = <®_3p3v>; |
| 101 | |
| 102 | }; |
Shawn Guo | 2a96e39 | 2012-05-10 15:02:10 +0800 | [diff] [blame] | 103 | }; |
| 104 | |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 105 | pwm: pwm@80064000 { |
| 106 | pinctrl-names = "default"; |
| 107 | pinctrl-0 = <&pwm2_pins_a>; |
| 108 | status = "okay"; |
| 109 | }; |
| 110 | |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 111 | duart: serial@80074000 { |
| 112 | pinctrl-names = "default"; |
| 113 | pinctrl-0 = <&duart_pins_a>; |
| 114 | status = "okay"; |
| 115 | }; |
Fabio Estevam | 80d969e | 2012-06-15 12:35:56 -0300 | [diff] [blame] | 116 | |
| 117 | auart0: serial@8006a000 { |
| 118 | pinctrl-names = "default"; |
| 119 | pinctrl-0 = <&auart0_pins_a>; |
| 120 | status = "okay"; |
| 121 | }; |
| 122 | |
| 123 | auart3: serial@80070000 { |
| 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&auart3_pins_a>; |
| 126 | status = "okay"; |
| 127 | }; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 128 | }; |
| 129 | }; |
| 130 | |
| 131 | ahb@80080000 { |
| 132 | mac0: ethernet@800f0000 { |
| 133 | phy-mode = "rmii"; |
| 134 | pinctrl-names = "default"; |
| 135 | pinctrl-0 = <&mac0_pins_a>; |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 136 | phy-supply = <®_fec_3v3>; |
| 137 | phy-reset-gpios = <&gpio4 13 0>; |
| 138 | phy-reset-duration = <100>; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | mac1: ethernet@800f4000 { |
| 143 | phy-mode = "rmii"; |
| 144 | pinctrl-names = "default"; |
| 145 | pinctrl-0 = <&mac1_pins_a>; |
| 146 | status = "okay"; |
| 147 | }; |
| 148 | }; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 149 | |
| 150 | regulators { |
| 151 | compatible = "simple-bus"; |
| 152 | |
| 153 | reg_3p3v: 3p3v { |
| 154 | compatible = "regulator-fixed"; |
| 155 | regulator-name = "3P3V"; |
| 156 | regulator-min-microvolt = <3300000>; |
| 157 | regulator-max-microvolt = <3300000>; |
| 158 | regulator-always-on; |
| 159 | }; |
Shawn Guo | 64edbcd | 2012-06-28 11:45:01 +0800 | [diff] [blame] | 160 | |
| 161 | reg_vddio_sd0: vddio-sd0 { |
| 162 | compatible = "regulator-fixed"; |
| 163 | regulator-name = "vddio-sd0"; |
| 164 | regulator-min-microvolt = <3300000>; |
| 165 | regulator-max-microvolt = <3300000>; |
| 166 | gpio = <&gpio3 28 0>; |
| 167 | }; |
Shawn Guo | c9987c8 | 2012-06-28 11:45:02 +0800 | [diff] [blame] | 168 | |
| 169 | reg_fec_3v3: fec-3v3 { |
| 170 | compatible = "regulator-fixed"; |
| 171 | regulator-name = "fec-3v3"; |
| 172 | regulator-min-microvolt = <3300000>; |
| 173 | regulator-max-microvolt = <3300000>; |
| 174 | gpio = <&gpio2 15 0>; |
| 175 | }; |
Shawn Guo | 530f1d4 | 2012-05-10 15:03:16 +0800 | [diff] [blame] | 176 | }; |
| 177 | |
| 178 | sound { |
| 179 | compatible = "fsl,imx28-evk-sgtl5000", |
| 180 | "fsl,mxs-audio-sgtl5000"; |
| 181 | model = "imx28-evk-sgtl5000"; |
| 182 | saif-controllers = <&saif0 &saif1>; |
| 183 | audio-codec = <&sgtl5000>; |
| 184 | }; |
Shawn Guo | a600e33 | 2012-06-28 11:45:04 +0800 | [diff] [blame] | 185 | |
| 186 | leds { |
| 187 | compatible = "gpio-leds"; |
| 188 | |
| 189 | user { |
| 190 | label = "Heartbeat"; |
| 191 | gpios = <&gpio3 5 0>; |
| 192 | linux,default-trigger = "heartbeat"; |
| 193 | }; |
| 194 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 195 | |
| 196 | backlight { |
| 197 | compatible = "pwm-backlight"; |
| 198 | pwms = <&pwm 2 5000000>; |
| 199 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 200 | default-brightness-level = <6>; |
| 201 | }; |
Dong Aisheng | bc3a59c | 2012-03-31 21:26:57 +0800 | [diff] [blame] | 202 | }; |