imx28-m28evk.dts revision 279377
1279377Simp/* 2279377Simp * Copyright (C) 2012 Marek Vasut <marex@denx.de> 3279377Simp * 4279377Simp * The code contained herein is licensed under the GNU General Public 5279377Simp * License. You may obtain a copy of the GNU General Public License 6279377Simp * Version 2 or later at the following locations: 7279377Simp * 8279377Simp * http://www.opensource.org/licenses/gpl-license.html 9279377Simp * http://www.gnu.org/copyleft/gpl.html 10279377Simp */ 11279377Simp 12279377Simp/dts-v1/; 13279377Simp#include "imx28-m28.dtsi" 14279377Simp 15279377Simp/ { 16279377Simp model = "DENX M28EVK"; 17279377Simp compatible = "denx,m28evk", "fsl,imx28"; 18279377Simp 19279377Simp apb@80000000 { 20279377Simp apbh@80000000 { 21279377Simp ssp0: ssp@80010000 { 22279377Simp compatible = "fsl,imx28-mmc"; 23279377Simp pinctrl-names = "default"; 24279377Simp pinctrl-0 = <&mmc0_8bit_pins_a 25279377Simp &mmc0_cd_cfg 26279377Simp &mmc0_sck_cfg>; 27279377Simp bus-width = <8>; 28279377Simp wp-gpios = <&gpio3 10 0>; 29279377Simp vmmc-supply = <®_vddio_sd0>; 30279377Simp status = "okay"; 31279377Simp }; 32279377Simp 33279377Simp ssp2: ssp@80014000 { 34279377Simp #address-cells = <1>; 35279377Simp #size-cells = <0>; 36279377Simp compatible = "fsl,imx28-spi"; 37279377Simp pinctrl-names = "default"; 38279377Simp pinctrl-0 = <&spi2_pins_a>; 39279377Simp status = "okay"; 40279377Simp 41279377Simp flash: m25p80@0 { 42279377Simp #address-cells = <1>; 43279377Simp #size-cells = <1>; 44279377Simp compatible = "m25p80"; 45279377Simp spi-max-frequency = <40000000>; 46279377Simp reg = <0>; 47279377Simp }; 48279377Simp }; 49279377Simp 50279377Simp pinctrl@80018000 { 51279377Simp pinctrl-names = "default"; 52279377Simp pinctrl-0 = <&hog_pins_a>; 53279377Simp 54279377Simp hog_pins_a: hog@0 { 55279377Simp reg = <0>; 56279377Simp fsl,pinmux-ids = < 57279377Simp MX28_PAD_PWM3__GPIO_3_28 58279377Simp MX28_PAD_AUART2_CTS__GPIO_3_10 59279377Simp MX28_PAD_AUART2_RTS__GPIO_3_11 60279377Simp MX28_PAD_AUART3_RX__GPIO_3_12 61279377Simp MX28_PAD_AUART3_TX__GPIO_3_13 62279377Simp >; 63279377Simp fsl,drive-strength = <MXS_DRIVE_4mA>; 64279377Simp fsl,voltage = <MXS_VOLTAGE_HIGH>; 65279377Simp fsl,pull-up = <MXS_PULL_DISABLE>; 66279377Simp }; 67279377Simp 68279377Simp lcdif_pins_m28: lcdif-m28@0 { 69279377Simp reg = <0>; 70279377Simp fsl,pinmux-ids = < 71279377Simp MX28_PAD_LCD_DOTCLK__LCD_DOTCLK 72279377Simp MX28_PAD_LCD_ENABLE__LCD_ENABLE 73279377Simp >; 74279377Simp fsl,drive-strength = <MXS_DRIVE_4mA>; 75279377Simp fsl,voltage = <MXS_VOLTAGE_HIGH>; 76279377Simp fsl,pull-up = <MXS_PULL_DISABLE>; 77279377Simp }; 78279377Simp }; 79279377Simp 80279377Simp lcdif@80030000 { 81279377Simp pinctrl-names = "default"; 82279377Simp pinctrl-0 = <&lcdif_24bit_pins_a 83279377Simp &lcdif_pins_m28>; 84279377Simp display = <&display0>; 85279377Simp status = "okay"; 86279377Simp 87279377Simp display0: display0 { 88279377Simp bits-per-pixel = <16>; 89279377Simp bus-width = <18>; 90279377Simp 91279377Simp display-timings { 92279377Simp native-mode = <&timing0>; 93279377Simp timing0: timing0 { 94279377Simp clock-frequency = <33260000>; 95279377Simp hactive = <800>; 96279377Simp vactive = <480>; 97279377Simp hback-porch = <0>; 98279377Simp hfront-porch = <256>; 99279377Simp vback-porch = <0>; 100279377Simp vfront-porch = <45>; 101279377Simp hsync-len = <1>; 102279377Simp vsync-len = <1>; 103279377Simp hsync-active = <0>; 104279377Simp vsync-active = <0>; 105279377Simp de-active = <1>; 106279377Simp pixelclk-active = <1>; 107279377Simp }; 108279377Simp }; 109279377Simp }; 110279377Simp }; 111279377Simp 112279377Simp can0: can@80032000 { 113279377Simp pinctrl-names = "default"; 114279377Simp pinctrl-0 = <&can0_pins_a>; 115279377Simp status = "okay"; 116279377Simp }; 117279377Simp 118279377Simp can1: can@80034000 { 119279377Simp pinctrl-names = "default"; 120279377Simp pinctrl-0 = <&can1_pins_a>; 121279377Simp status = "okay"; 122279377Simp }; 123279377Simp }; 124279377Simp 125279377Simp apbx@80040000 { 126279377Simp saif0: saif@80042000 { 127279377Simp pinctrl-names = "default"; 128279377Simp pinctrl-0 = <&saif0_pins_a>; 129279377Simp status = "okay"; 130279377Simp }; 131279377Simp 132279377Simp saif1: saif@80046000 { 133279377Simp pinctrl-names = "default"; 134279377Simp pinctrl-0 = <&saif1_pins_a>; 135279377Simp fsl,saif-master = <&saif0>; 136279377Simp status = "okay"; 137279377Simp }; 138279377Simp 139279377Simp i2c0: i2c@80058000 { 140279377Simp sgtl5000: codec@0a { 141279377Simp compatible = "fsl,sgtl5000"; 142279377Simp reg = <0x0a>; 143279377Simp VDDA-supply = <®_3p3v>; 144279377Simp VDDIO-supply = <®_3p3v>; 145279377Simp clocks = <&saif0>; 146279377Simp }; 147279377Simp 148279377Simp eeprom: eeprom@51 { 149279377Simp compatible = "atmel,24c128"; 150279377Simp reg = <0x51>; 151279377Simp pagesize = <32>; 152279377Simp }; 153279377Simp }; 154279377Simp 155279377Simp lradc@80050000 { 156279377Simp status = "okay"; 157279377Simp fsl,lradc-touchscreen-wires = <4>; 158279377Simp }; 159279377Simp 160279377Simp duart: serial@80074000 { 161279377Simp pinctrl-names = "default"; 162279377Simp pinctrl-0 = <&duart_pins_a>; 163279377Simp status = "okay"; 164279377Simp }; 165279377Simp 166279377Simp usbphy0: usbphy@8007c000 { 167279377Simp status = "okay"; 168279377Simp }; 169279377Simp 170279377Simp usbphy1: usbphy@8007e000 { 171279377Simp status = "okay"; 172279377Simp }; 173279377Simp 174279377Simp auart0: serial@8006a000 { 175279377Simp pinctrl-names = "default"; 176279377Simp pinctrl-0 = <&auart0_pins_a>; 177279377Simp status = "okay"; 178279377Simp }; 179279377Simp 180279377Simp auart1: serial@8006c000 { 181279377Simp pinctrl-names = "default"; 182279377Simp pinctrl-0 = <&auart1_pins_a>; 183279377Simp status = "okay"; 184279377Simp }; 185279377Simp 186279377Simp auart2: serial@8006e000 { 187279377Simp pinctrl-names = "default"; 188279377Simp pinctrl-0 = <&auart2_2pins_b>; 189279377Simp status = "okay"; 190279377Simp }; 191279377Simp 192279377Simp pwm: pwm@80064000 { 193279377Simp pinctrl-names = "default"; 194279377Simp pinctrl-0 = <&pwm4_pins_a>; 195279377Simp status = "okay"; 196279377Simp }; 197279377Simp }; 198279377Simp }; 199279377Simp 200279377Simp ahb@80080000 { 201279377Simp usb0: usb@80080000 { 202279377Simp vbus-supply = <®_usb0_vbus>; 203279377Simp pinctrl-names = "default"; 204279377Simp pinctrl-0 = <&usb0_pins_a>; 205279377Simp status = "okay"; 206279377Simp }; 207279377Simp 208279377Simp usb1: usb@80090000 { 209279377Simp vbus-supply = <®_usb1_vbus>; 210279377Simp pinctrl-names = "default"; 211279377Simp pinctrl-0 = <&usb1_pins_a>; 212279377Simp status = "okay"; 213279377Simp }; 214279377Simp 215279377Simp mac0: ethernet@800f0000 { 216279377Simp phy-mode = "rmii"; 217279377Simp pinctrl-names = "default"; 218279377Simp pinctrl-0 = <&mac0_pins_a>; 219279377Simp clocks = <&clks 57>, <&clks 57>; 220279377Simp clock-names = "ipg", "ahb"; 221279377Simp status = "okay"; 222279377Simp }; 223279377Simp 224279377Simp mac1: ethernet@800f4000 { 225279377Simp phy-mode = "rmii"; 226279377Simp pinctrl-names = "default"; 227279377Simp pinctrl-0 = <&mac1_pins_a>; 228279377Simp status = "okay"; 229279377Simp }; 230279377Simp }; 231279377Simp 232279377Simp backlight { 233279377Simp compatible = "pwm-backlight"; 234279377Simp pwms = <&pwm 4 5000000>; 235279377Simp brightness-levels = <0 4 8 16 32 64 128 255>; 236279377Simp default-brightness-level = <6>; 237279377Simp }; 238279377Simp 239279377Simp regulators { 240279377Simp reg_vddio_sd0: regulator@1 { 241279377Simp compatible = "regulator-fixed"; 242279377Simp reg = <1>; 243279377Simp regulator-name = "vddio-sd0"; 244279377Simp regulator-min-microvolt = <3300000>; 245279377Simp regulator-max-microvolt = <3300000>; 246279377Simp gpio = <&gpio3 28 0>; 247279377Simp }; 248279377Simp 249279377Simp reg_usb0_vbus: regulator@2 { 250279377Simp compatible = "regulator-fixed"; 251279377Simp reg = <2>; 252279377Simp regulator-name = "usb0_vbus"; 253279377Simp regulator-min-microvolt = <5000000>; 254279377Simp regulator-max-microvolt = <5000000>; 255279377Simp gpio = <&gpio3 12 0>; 256279377Simp }; 257279377Simp 258279377Simp reg_usb1_vbus: regulator@3 { 259279377Simp compatible = "regulator-fixed"; 260279377Simp reg = <3>; 261279377Simp regulator-name = "usb1_vbus"; 262279377Simp regulator-min-microvolt = <5000000>; 263279377Simp regulator-max-microvolt = <5000000>; 264279377Simp gpio = <&gpio3 13 0>; 265279377Simp }; 266279377Simp }; 267279377Simp 268279377Simp sound { 269279377Simp compatible = "denx,m28evk-sgtl5000", 270279377Simp "fsl,mxs-audio-sgtl5000"; 271279377Simp model = "m28evk-sgtl5000"; 272279377Simp saif-controllers = <&saif0 &saif1>; 273279377Simp audio-codec = <&sgtl5000>; 274279377Simp }; 275279377Simp}; 276