1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4*f126890aSEmmanuel Vadot * Copyright (C) 2014 Stefan Roese <sr@denx.de> 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include "omap3-tao3530.dtsi" 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot model = "TI OMAP3 Thunder baseboard with TAO3530 SOM"; 11*f126890aSEmmanuel Vadot compatible = "technexion,omap3-thunder", "technexion,omap3-tao3530", "ti,omap3430", "ti,omap34xx", "ti,omap3"; 12*f126890aSEmmanuel Vadot}; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot&omap3_pmx_core { 15*f126890aSEmmanuel Vadot dss_dpi_pins: dss-dpi-pins { 16*f126890aSEmmanuel Vadot pinctrl-single,pins = < 17*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ 18*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ 19*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ 20*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ 21*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ 22*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ 23*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ 24*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ 25*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ 26*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ 27*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ 28*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ 29*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ 30*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ 31*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ 32*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ 33*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ 34*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ 35*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ 36*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ 37*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ 38*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ 39*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ 40*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ 41*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ 42*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ 43*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ 44*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ 45*f126890aSEmmanuel Vadot >; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot lte430_pins: lte430-pins { 49*f126890aSEmmanuel Vadot pinctrl-single,pins = < 50*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 */ 51*f126890aSEmmanuel Vadot >; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot backlight_pins: backlight-pins { 55*f126890aSEmmanuel Vadot pinctrl-single,pins = < 56*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 */ 57*f126890aSEmmanuel Vadot >; 58*f126890aSEmmanuel Vadot }; 59*f126890aSEmmanuel Vadot}; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot/* Needed to power the DPI pins */ 62*f126890aSEmmanuel Vadot&vpll2 { 63*f126890aSEmmanuel Vadot regulator-always-on; 64*f126890aSEmmanuel Vadot}; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot&dss { 67*f126890aSEmmanuel Vadot status = "okay"; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot pinctrl-names = "default"; 70*f126890aSEmmanuel Vadot pinctrl-0 = <&dss_dpi_pins>; 71*f126890aSEmmanuel Vadot 72*f126890aSEmmanuel Vadot port { 73*f126890aSEmmanuel Vadot dpi_out: endpoint { 74*f126890aSEmmanuel Vadot remote-endpoint = <&lcd_in>; 75*f126890aSEmmanuel Vadot data-lines = <24>; 76*f126890aSEmmanuel Vadot }; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot}; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot/ { 81*f126890aSEmmanuel Vadot aliases { 82*f126890aSEmmanuel Vadot display0 = &lcd0; 83*f126890aSEmmanuel Vadot }; 84*f126890aSEmmanuel Vadot 85*f126890aSEmmanuel Vadot lcd0: display { 86*f126890aSEmmanuel Vadot compatible = "samsung,lte430wq-f0c", "panel-dpi"; 87*f126890aSEmmanuel Vadot label = "lcd"; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot pinctrl-names = "default"; 90*f126890aSEmmanuel Vadot pinctrl-0 = <<e430_pins>; 91*f126890aSEmmanuel Vadot enable-gpios = <&gpio5 10 GPIO_ACTIVE_LOW>; /* gpio_138 */ 92*f126890aSEmmanuel Vadot 93*f126890aSEmmanuel Vadot port { 94*f126890aSEmmanuel Vadot lcd_in: endpoint { 95*f126890aSEmmanuel Vadot remote-endpoint = <&dpi_out>; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot panel-timing { 100*f126890aSEmmanuel Vadot clock-frequency = <9000000>; 101*f126890aSEmmanuel Vadot hactive = <480>; 102*f126890aSEmmanuel Vadot vactive = <272>; 103*f126890aSEmmanuel Vadot hfront-porch = <3>; 104*f126890aSEmmanuel Vadot hback-porch = <2>; 105*f126890aSEmmanuel Vadot hsync-len = <42>; 106*f126890aSEmmanuel Vadot vback-porch = <2>; 107*f126890aSEmmanuel Vadot vfront-porch = <3>; 108*f126890aSEmmanuel Vadot vsync-len = <11>; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot hsync-active = <0>; 111*f126890aSEmmanuel Vadot vsync-active = <0>; 112*f126890aSEmmanuel Vadot de-active = <1>; 113*f126890aSEmmanuel Vadot pixelclk-active = <1>; 114*f126890aSEmmanuel Vadot }; 115*f126890aSEmmanuel Vadot }; 116*f126890aSEmmanuel Vadot 117*f126890aSEmmanuel Vadot backlight { 118*f126890aSEmmanuel Vadot compatible = "gpio-backlight"; 119*f126890aSEmmanuel Vadot 120*f126890aSEmmanuel Vadot pinctrl-names = "default"; 121*f126890aSEmmanuel Vadot pinctrl-0 = <&backlight_pins>; 122*f126890aSEmmanuel Vadot gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 */ 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot default-on; 125*f126890aSEmmanuel Vadot }; 126*f126890aSEmmanuel Vadot}; 127