1279377Simp/* 2279377Simp * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 3279377Simp * Copyright (C) 2014 Stefan Roese <sr@denx.de> 4279377Simp * 5279377Simp * This program is free software; you can redistribute it and/or modify 6279377Simp * it under the terms of the GNU General Public License version 2 as 7279377Simp * published by the Free Software Foundation. 8279377Simp */ 9279377Simp 10279377Simp#include "omap3-tao3530.dtsi" 11279377Simp 12279377Simp/ { 13279377Simp model = "TI OMAP3 Thunder baseboard with TAO3530 SOM"; 14279377Simp compatible = "technexion,omap3-thunder", "technexion,omap3-tao3530", "ti,omap34xx", "ti,omap3"; 15279377Simp}; 16279377Simp 17279377Simp&omap3_pmx_core { 18279377Simp dss_dpi_pins: pinmux_dss_dpi_pins { 19279377Simp pinctrl-single,pins = < 20279377Simp OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ 21279377Simp OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ 22279377Simp OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ 23279377Simp OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ 24279377Simp OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ 25279377Simp OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ 26279377Simp OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ 27279377Simp OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ 28279377Simp OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ 29279377Simp OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ 30279377Simp OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ 31279377Simp OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ 32279377Simp OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ 33279377Simp OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ 34279377Simp OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ 35279377Simp OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ 36279377Simp OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ 37279377Simp OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ 38279377Simp OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ 39279377Simp OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ 40279377Simp OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ 41279377Simp OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ 42279377Simp OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ 43279377Simp OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ 44279377Simp OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ 45279377Simp OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ 46279377Simp OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ 47279377Simp OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ 48279377Simp >; 49279377Simp }; 50279377Simp 51279377Simp lte430_pins: pinmux_lte430_pins { 52279377Simp pinctrl-single,pins = < 53279377Simp OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 */ 54279377Simp >; 55279377Simp }; 56279377Simp 57279377Simp backlight_pins: pinmux_backlight_pins { 58279377Simp pinctrl-single,pins = < 59279377Simp OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 */ 60279377Simp >; 61279377Simp }; 62279377Simp}; 63279377Simp 64279377Simp/* Needed to power the DPI pins */ 65279377Simp&vpll2 { 66279377Simp regulator-always-on; 67279377Simp}; 68279377Simp 69279377Simp&dss { 70279377Simp status = "ok"; 71279377Simp 72279377Simp pinctrl-names = "default"; 73279377Simp pinctrl-0 = <&dss_dpi_pins>; 74279377Simp 75279377Simp port { 76279377Simp dpi_out: endpoint { 77279377Simp remote-endpoint = <&lcd_in>; 78279377Simp data-lines = <24>; 79279377Simp }; 80279377Simp }; 81279377Simp}; 82279377Simp 83279377Simp/ { 84279377Simp aliases { 85279377Simp display0 = &lcd0; 86279377Simp }; 87279377Simp 88279377Simp lcd0: display@0 { 89279377Simp compatible = "samsung,lte430wq-f0c", "panel-dpi"; 90279377Simp label = "lcd"; 91279377Simp 92279377Simp pinctrl-names = "default"; 93279377Simp pinctrl-0 = <<e430_pins>; 94279377Simp enable-gpios = <&gpio5 10 GPIO_ACTIVE_LOW>; /* gpio_138 */ 95279377Simp 96279377Simp port { 97279377Simp lcd_in: endpoint { 98279377Simp remote-endpoint = <&dpi_out>; 99279377Simp }; 100279377Simp }; 101279377Simp 102279377Simp panel-timing { 103279377Simp clock-frequency = <9000000>; 104279377Simp hactive = <480>; 105279377Simp vactive = <272>; 106279377Simp hfront-porch = <3>; 107279377Simp hback-porch = <2>; 108279377Simp hsync-len = <42>; 109279377Simp vback-porch = <2>; 110279377Simp vfront-porch = <3>; 111279377Simp vsync-len = <11>; 112279377Simp 113279377Simp hsync-active = <0>; 114279377Simp vsync-active = <0>; 115279377Simp de-active = <1>; 116279377Simp pixelclk-active = <1>; 117279377Simp }; 118279377Simp }; 119279377Simp 120279377Simp backlight { 121279377Simp compatible = "gpio-backlight"; 122279377Simp 123279377Simp pinctrl-names = "default"; 124279377Simp pinctrl-0 = <&backlight_pins>; 125279377Simp gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 */ 126279377Simp 127279377Simp default-on; 128279377Simp }; 129279377Simp}; 130