1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright 2013 Crystalfontz America, Inc. 4724ba675SRob Herring * Copyright 2013 Free Electrons 5724ba675SRob Herring */ 6724ba675SRob Herring 7724ba675SRob Herring/* 8724ba675SRob Herring * The CFA-10058 is an expansion board for the CFA-10036 module, thus we 9724ba675SRob Herring * need to include the CFA-10036 DTS. 10724ba675SRob Herring */ 11724ba675SRob Herring#include "imx28-cfa10036.dts" 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring model = "Crystalfontz CFA-10058 Board"; 15724ba675SRob Herring compatible = "crystalfontz,cfa10058", "crystalfontz,cfa10036", "fsl,imx28"; 16724ba675SRob Herring 17*29e0e9b4SKrzysztof Kozlowski reg_usb1_vbus: regulator-0 { 18*29e0e9b4SKrzysztof Kozlowski compatible = "regulator-fixed"; 19724ba675SRob Herring pinctrl-names = "default"; 20724ba675SRob Herring pinctrl-0 = <&usb_pins_cfa10058>; 21724ba675SRob Herring regulator-name = "usb1_vbus"; 22724ba675SRob Herring regulator-min-microvolt = <5000000>; 23724ba675SRob Herring regulator-max-microvolt = <5000000>; 24724ba675SRob Herring gpio = <&gpio0 7 1>; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring backlight { 28724ba675SRob Herring compatible = "pwm-backlight"; 29724ba675SRob Herring pwms = <&pwm 3 5000000>; 30724ba675SRob Herring brightness-levels = <0 4 8 16 32 64 128 255>; 31724ba675SRob Herring default-brightness-level = <6>; 32724ba675SRob Herring }; 33724ba675SRob Herring}; 34724ba675SRob Herring 35724ba675SRob Herring&lcdif { 36724ba675SRob Herring pinctrl-names = "default"; 37724ba675SRob Herring pinctrl-0 = <&lcdif_24bit_pins_a 38724ba675SRob Herring &lcdif_pins_cfa10058>; 39724ba675SRob Herring display = <&display0>; 40724ba675SRob Herring status = "okay"; 41724ba675SRob Herring 42724ba675SRob Herring display0: display0 { 43724ba675SRob Herring bits-per-pixel = <32>; 44724ba675SRob Herring bus-width = <24>; 45724ba675SRob Herring 46724ba675SRob Herring display-timings { 47724ba675SRob Herring native-mode = <&timing0>; 48724ba675SRob Herring timing0: timing0 { 49724ba675SRob Herring clock-frequency = <30000000>; 50724ba675SRob Herring hactive = <800>; 51724ba675SRob Herring vactive = <480>; 52724ba675SRob Herring hback-porch = <40>; 53724ba675SRob Herring hfront-porch = <40>; 54724ba675SRob Herring vback-porch = <13>; 55724ba675SRob Herring vfront-porch = <29>; 56724ba675SRob Herring hsync-len = <8>; 57724ba675SRob Herring vsync-len = <8>; 58724ba675SRob Herring hsync-active = <0>; 59724ba675SRob Herring vsync-active = <0>; 60724ba675SRob Herring de-active = <1>; 61724ba675SRob Herring pixelclk-active = <1>; 62724ba675SRob Herring }; 63724ba675SRob Herring }; 64724ba675SRob Herring }; 65724ba675SRob Herring}; 66724ba675SRob Herring 67724ba675SRob Herring&lradc { 68724ba675SRob Herring fsl,lradc-touchscreen-wires = <4>; 69724ba675SRob Herring status = "okay"; 70724ba675SRob Herring}; 71724ba675SRob Herring 72724ba675SRob Herring&mac0 { 73724ba675SRob Herring phy-mode = "rmii"; 74724ba675SRob Herring pinctrl-names = "default"; 75724ba675SRob Herring pinctrl-0 = <&mac0_pins_a>; 76724ba675SRob Herring phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 77724ba675SRob Herring phy-reset-duration = <100>; 78724ba675SRob Herring status = "okay"; 79724ba675SRob Herring}; 80724ba675SRob Herring 81724ba675SRob Herring&pinctrl { 82724ba675SRob Herring usb_pins_cfa10058: usb-10058@0 { 83724ba675SRob Herring reg = <0>; 84724ba675SRob Herring fsl,pinmux-ids = < 85724ba675SRob Herring MX28_PAD_GPMI_D07__GPIO_0_7 86724ba675SRob Herring >; 87724ba675SRob Herring fsl,drive-strength = <MXS_DRIVE_4mA>; 88724ba675SRob Herring fsl,voltage = <MXS_VOLTAGE_HIGH>; 89724ba675SRob Herring fsl,pull-up = <MXS_PULL_DISABLE>; 90724ba675SRob Herring }; 91724ba675SRob Herring 92724ba675SRob Herring lcdif_pins_cfa10058: lcdif-10058@0 { 93724ba675SRob Herring reg = <0>; 94724ba675SRob Herring fsl,pinmux-ids = < 95724ba675SRob Herring MX28_PAD_LCD_RD_E__LCD_VSYNC 96724ba675SRob Herring MX28_PAD_LCD_WR_RWN__LCD_HSYNC 97724ba675SRob Herring MX28_PAD_LCD_RS__LCD_DOTCLK 98724ba675SRob Herring MX28_PAD_LCD_CS__LCD_ENABLE 99724ba675SRob Herring >; 100724ba675SRob Herring fsl,drive-strength = <MXS_DRIVE_4mA>; 101724ba675SRob Herring fsl,voltage = <MXS_VOLTAGE_HIGH>; 102724ba675SRob Herring fsl,pull-up = <MXS_PULL_DISABLE>; 103724ba675SRob Herring }; 104724ba675SRob Herring}; 105724ba675SRob Herring 106724ba675SRob Herring&pwm { 107724ba675SRob Herring pinctrl-names = "default"; 108724ba675SRob Herring pinctrl-0 = <&pwm3_pins_b>; 109724ba675SRob Herring status = "okay"; 110724ba675SRob Herring}; 111724ba675SRob Herring 112724ba675SRob Herring&usb1 { 113724ba675SRob Herring vbus-supply = <®_usb1_vbus>; 114724ba675SRob Herring pinctrl-0 = <&usb1_pins_a>; 115724ba675SRob Herring pinctrl-names = "default"; 116724ba675SRob Herring status = "okay"; 117724ba675SRob Herring}; 118724ba675SRob Herring 119724ba675SRob Herring&usbphy1 { 120724ba675SRob Herring status = "okay"; 121724ba675SRob Herring}; 122