1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring/* 7*724ba675SRob Herring * DVI output for some Gumstix Overo boards (Tobi and Summit) 8*724ba675SRob Herring */ 9*724ba675SRob Herring 10*724ba675SRob Herring&omap3_pmx_core { 11*724ba675SRob Herring dss_dpi_pins: dss-dpi-pins { 12*724ba675SRob Herring pinctrl-single,pins = < 13*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ 14*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ 15*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ 16*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ 17*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ 18*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ 19*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ 20*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ 21*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ 22*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ 23*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ 24*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ 25*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ 26*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ 27*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ 28*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ 29*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ 30*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ 31*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ 32*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ 33*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ 34*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ 35*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ 36*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ 37*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ 38*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ 39*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ 40*724ba675SRob Herring OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ 41*724ba675SRob Herring >; 42*724ba675SRob Herring }; 43*724ba675SRob Herring}; 44*724ba675SRob Herring 45*724ba675SRob Herring/* Needed to power the DPI pins */ 46*724ba675SRob Herring&vpll2 { 47*724ba675SRob Herring regulator-always-on; 48*724ba675SRob Herring}; 49*724ba675SRob Herring 50*724ba675SRob Herring&dss { 51*724ba675SRob Herring status = "okay"; 52*724ba675SRob Herring 53*724ba675SRob Herring pinctrl-names = "default"; 54*724ba675SRob Herring pinctrl-0 = <&dss_dpi_pins>; 55*724ba675SRob Herring 56*724ba675SRob Herring port { 57*724ba675SRob Herring dpi_out: endpoint { 58*724ba675SRob Herring remote-endpoint = <&tfp410_in>; 59*724ba675SRob Herring data-lines = <24>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring}; 63*724ba675SRob Herring 64*724ba675SRob Herring/ { 65*724ba675SRob Herring aliases { 66*724ba675SRob Herring display0 = &dvi0; 67*724ba675SRob Herring }; 68*724ba675SRob Herring 69*724ba675SRob Herring tfp410: encoder { 70*724ba675SRob Herring compatible = "ti,tfp410"; 71*724ba675SRob Herring 72*724ba675SRob Herring ports { 73*724ba675SRob Herring #address-cells = <1>; 74*724ba675SRob Herring #size-cells = <0>; 75*724ba675SRob Herring 76*724ba675SRob Herring port@0 { 77*724ba675SRob Herring reg = <0>; 78*724ba675SRob Herring 79*724ba675SRob Herring tfp410_in: endpoint { 80*724ba675SRob Herring remote-endpoint = <&dpi_out>; 81*724ba675SRob Herring }; 82*724ba675SRob Herring }; 83*724ba675SRob Herring 84*724ba675SRob Herring port@1 { 85*724ba675SRob Herring reg = <1>; 86*724ba675SRob Herring 87*724ba675SRob Herring tfp410_out: endpoint { 88*724ba675SRob Herring remote-endpoint = <&dvi_connector_in>; 89*724ba675SRob Herring }; 90*724ba675SRob Herring }; 91*724ba675SRob Herring }; 92*724ba675SRob Herring }; 93*724ba675SRob Herring 94*724ba675SRob Herring dvi0: connector { 95*724ba675SRob Herring compatible = "dvi-connector"; 96*724ba675SRob Herring label = "dvi"; 97*724ba675SRob Herring 98*724ba675SRob Herring digital; 99*724ba675SRob Herring ddc-i2c-bus = <&i2c3>; 100*724ba675SRob Herring 101*724ba675SRob Herring port { 102*724ba675SRob Herring dvi_connector_in: endpoint { 103*724ba675SRob Herring remote-endpoint = <&tfp410_out>; 104*724ba675SRob Herring }; 105*724ba675SRob Herring }; 106*724ba675SRob Herring }; 107*724ba675SRob Herring}; 108*724ba675SRob Herring 109