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