imx28-cfa10057.dts revision 279377
1279377Simp/* 2279377Simp * Copyright 2013 Crystalfontz America, Inc. 3279377Simp * Copyright 2012 Free Electrons 4279377Simp * 5279377Simp * The code contained herein is licensed under the GNU General Public 6279377Simp * License. You may obtain a copy of the GNU General Public License 7279377Simp * Version 2 or later at the following locations: 8279377Simp * 9279377Simp * http://www.opensource.org/licenses/gpl-license.html 10279377Simp * http://www.gnu.org/copyleft/gpl.html 11279377Simp */ 12279377Simp 13279377Simp/* 14279377Simp * The CFA-10057 is an expansion board for the CFA-10036 module, thus we 15279377Simp * need to include the CFA-10036 DTS. 16279377Simp */ 17279377Simp#include "imx28-cfa10036.dts" 18279377Simp 19279377Simp/ { 20279377Simp model = "Crystalfontz CFA-10057 Board"; 21279377Simp compatible = "crystalfontz,cfa10057", "crystalfontz,cfa10036", "fsl,imx28"; 22279377Simp 23279377Simp apb@80000000 { 24279377Simp apbh@80000000 { 25279377Simp pinctrl@80018000 { 26279377Simp usb_pins_cfa10057: usb-10057@0 { 27279377Simp reg = <0>; 28279377Simp fsl,pinmux-ids = < 29279377Simp MX28_PAD_GPMI_D07__GPIO_0_7 30279377Simp >; 31279377Simp fsl,drive-strength = <MXS_DRIVE_4mA>; 32279377Simp fsl,voltage = <MXS_VOLTAGE_HIGH>; 33279377Simp fsl,pull-up = <MXS_PULL_DISABLE>; 34279377Simp }; 35279377Simp 36279377Simp lcdif_18bit_pins_cfa10057: lcdif-18bit@0 { 37279377Simp reg = <0>; 38279377Simp fsl,pinmux-ids = < 39279377Simp MX28_PAD_LCD_D00__LCD_D0 40279377Simp MX28_PAD_LCD_D01__LCD_D1 41279377Simp MX28_PAD_LCD_D02__LCD_D2 42279377Simp MX28_PAD_LCD_D03__LCD_D3 43279377Simp MX28_PAD_LCD_D04__LCD_D4 44279377Simp MX28_PAD_LCD_D05__LCD_D5 45279377Simp MX28_PAD_LCD_D06__LCD_D6 46279377Simp MX28_PAD_LCD_D07__LCD_D7 47279377Simp MX28_PAD_LCD_D08__LCD_D8 48279377Simp MX28_PAD_LCD_D09__LCD_D9 49279377Simp MX28_PAD_LCD_D10__LCD_D10 50279377Simp MX28_PAD_LCD_D11__LCD_D11 51279377Simp MX28_PAD_LCD_D12__LCD_D12 52279377Simp MX28_PAD_LCD_D13__LCD_D13 53279377Simp MX28_PAD_LCD_D14__LCD_D14 54279377Simp MX28_PAD_LCD_D15__LCD_D15 55279377Simp MX28_PAD_LCD_D16__LCD_D16 56279377Simp MX28_PAD_LCD_D17__LCD_D17 57279377Simp >; 58279377Simp fsl,drive-strength = <MXS_DRIVE_4mA>; 59279377Simp fsl,voltage = <MXS_VOLTAGE_HIGH>; 60279377Simp fsl,pull-up = <MXS_PULL_DISABLE>; 61279377Simp }; 62279377Simp 63279377Simp lcdif_pins_cfa10057: lcdif-evk@0 { 64279377Simp reg = <0>; 65279377Simp fsl,pinmux-ids = < 66279377Simp MX28_PAD_LCD_RD_E__LCD_VSYNC 67279377Simp MX28_PAD_LCD_WR_RWN__LCD_HSYNC 68279377Simp MX28_PAD_LCD_RS__LCD_DOTCLK 69279377Simp MX28_PAD_LCD_CS__LCD_ENABLE 70279377Simp >; 71279377Simp fsl,drive-strength = <MXS_DRIVE_4mA>; 72279377Simp fsl,voltage = <MXS_VOLTAGE_HIGH>; 73279377Simp fsl,pull-up = <MXS_PULL_DISABLE>; 74279377Simp }; 75279377Simp }; 76279377Simp 77279377Simp lcdif@80030000 { 78279377Simp pinctrl-names = "default"; 79279377Simp pinctrl-0 = <&lcdif_18bit_pins_cfa10057 80279377Simp &lcdif_pins_cfa10057>; 81279377Simp display = <&display0>; 82279377Simp status = "okay"; 83279377Simp 84279377Simp display0: display0 { 85279377Simp bits-per-pixel = <32>; 86279377Simp bus-width = <18>; 87279377Simp 88279377Simp display-timings { 89279377Simp native-mode = <&timing0>; 90279377Simp timing0: timing0 { 91279377Simp clock-frequency = <30000000>; 92279377Simp hactive = <480>; 93279377Simp vactive = <800>; 94279377Simp hfront-porch = <12>; 95279377Simp hback-porch = <2>; 96279377Simp vfront-porch = <5>; 97279377Simp vback-porch = <3>; 98279377Simp hsync-len = <2>; 99279377Simp vsync-len = <2>; 100279377Simp hsync-active = <0>; 101279377Simp vsync-active = <0>; 102279377Simp de-active = <1>; 103279377Simp pixelclk-active = <1>; 104279377Simp }; 105279377Simp }; 106279377Simp }; 107279377Simp }; 108279377Simp }; 109279377Simp 110279377Simp apbx@80040000 { 111279377Simp lradc@80050000 { 112279377Simp fsl,lradc-touchscreen-wires = <4>; 113279377Simp status = "okay"; 114279377Simp }; 115279377Simp 116279377Simp pwm: pwm@80064000 { 117279377Simp pinctrl-names = "default"; 118279377Simp pinctrl-0 = <&pwm3_pins_b>; 119279377Simp status = "okay"; 120279377Simp }; 121279377Simp 122279377Simp i2c1: i2c@8005a000 { 123279377Simp pinctrl-names = "default"; 124279377Simp pinctrl-0 = <&i2c1_pins_a>; 125279377Simp status = "okay"; 126279377Simp }; 127279377Simp 128279377Simp usbphy1: usbphy@8007e000 { 129279377Simp status = "okay"; 130279377Simp }; 131279377Simp }; 132279377Simp }; 133279377Simp 134279377Simp ahb@80080000 { 135279377Simp usb1: usb@80090000 { 136279377Simp vbus-supply = <®_usb1_vbus>; 137279377Simp pinctrl-0 = <&usb1_pins_a>; 138279377Simp pinctrl-names = "default"; 139279377Simp status = "okay"; 140279377Simp }; 141279377Simp }; 142279377Simp 143279377Simp regulators { 144279377Simp compatible = "simple-bus"; 145279377Simp #address-cells = <1>; 146279377Simp #size-cells = <0>; 147279377Simp 148279377Simp reg_usb1_vbus: regulator@0 { 149279377Simp compatible = "regulator-fixed"; 150279377Simp reg = <0>; 151279377Simp pinctrl-names = "default"; 152279377Simp pinctrl-0 = <&usb_pins_cfa10057>; 153279377Simp regulator-name = "usb1_vbus"; 154279377Simp regulator-min-microvolt = <5000000>; 155279377Simp regulator-max-microvolt = <5000000>; 156279377Simp gpio = <&gpio0 7 1>; 157279377Simp }; 158279377Simp }; 159279377Simp 160279377Simp ahb@80080000 { 161279377Simp mac0: ethernet@800f0000 { 162279377Simp phy-mode = "rmii"; 163279377Simp pinctrl-names = "default"; 164279377Simp pinctrl-0 = <&mac0_pins_a>; 165279377Simp phy-reset-gpios = <&gpio2 21 0>; 166279377Simp phy-reset-duration = <100>; 167279377Simp status = "okay"; 168279377Simp }; 169279377Simp }; 170279377Simp 171279377Simp backlight { 172279377Simp compatible = "pwm-backlight"; 173279377Simp pwms = <&pwm 3 5000000>; 174279377Simp brightness-levels = <0 4 8 16 32 64 128 255>; 175279377Simp default-brightness-level = <7>; 176279377Simp }; 177279377Simp}; 178