diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 21:32:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 21:32:13 -0400 |
commit | 9894e6d9c020b754dd962960e9f7eac18282f69f (patch) | |
tree | d1f3c43d96095a9211ee0a941198be6fbb292f39 /arch/arm/boot/dts/am437x-gp-evm.dts | |
parent | 82abb273d838318424644d8f02825db0fbbd400a (diff) | |
parent | 7d0fde3986c35dc1400cb552776c0a640ac354d7 (diff) |
Merge tag 'fbdev-omap-dt-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull OMAP DT fbdev updates from Tomi Valkeinen:
"Here are display related device tree data changes for OMAP. They are
based on an already merged branch to satisfy the dependencies for the
dts file changes.
Add OMAP DT data:
- omap5 display subsystem
- display data for omap5 uEVM board
- am43xx display subsystem
- display data for am43xx ePOS and GP boards (LCD only)
- display data for GTA04 board
- display data for overo board
- display data for duovero-parlor board
- display data for omap3 evm and ldp boards"
* tag 'fbdev-omap-dt-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
ARM: omap5.dtsi: Add audio related parameters to hdmi node
ARM: omap4.dtsi: Add audio related parametes to hdmi node
ARM: dts: duovero-parlor: Add HDMI output
ARM: dts: overo: Add support for 3.5'' LCD output
ARM: dts: overo: Add support for 4.3'' LCD output
ARM: dts: overo: Add support for DVI output
ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp
ARM: dts: omap3-gta04: Add display support
ARM: dts: omap5-uevm.dts: add display nodes
ARM: dts: omap5-uevm.dts: add tca6424a
ARM: dts: omap5.dtsi: add DSS nodes
ARM: dts: am43x-epos-evm: add LCD data
ARM: dts: am437x-gp-evm: add LCD data
ARM: dts: am4372.dtsi: add DSS information
Diffstat (limited to 'arch/arm/boot/dts/am437x-gp-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index c25d15837ce9..003766c47bbf 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts | |||
@@ -19,6 +19,10 @@ | |||
19 | model = "TI AM437x GP EVM"; | 19 | model = "TI AM437x GP EVM"; |
20 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; | 20 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; |
21 | 21 | ||
22 | aliases { | ||
23 | display0 = &lcd0; | ||
24 | }; | ||
25 | |||
22 | vmmcsd_fixed: fixedregulator-sd { | 26 | vmmcsd_fixed: fixedregulator-sd { |
23 | compatible = "regulator-fixed"; | 27 | compatible = "regulator-fixed"; |
24 | regulator-name = "vmmcsd_fixed"; | 28 | regulator-name = "vmmcsd_fixed"; |
@@ -64,6 +68,44 @@ | |||
64 | 0x02000069 /* LEFT */ | 68 | 0x02000069 /* LEFT */ |
65 | 0x0201006c>; /* DOWN */ | 69 | 0x0201006c>; /* DOWN */ |
66 | }; | 70 | }; |
71 | |||
72 | lcd0: display { | ||
73 | compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; | ||
74 | label = "lcd"; | ||
75 | |||
76 | pinctrl-names = "default"; | ||
77 | pinctrl-0 = <&lcd_pins>; | ||
78 | |||
79 | /* | ||
80 | * SelLCDorHDMI, LOW to select HDMI. This is not really the | ||
81 | * panel's enable GPIO, but we don't have HDMI driver support nor | ||
82 | * support to switch between two displays, so using this gpio as | ||
83 | * panel's enable should be safe. | ||
84 | */ | ||
85 | enable-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; | ||
86 | |||
87 | panel-timing { | ||
88 | clock-frequency = <33000000>; | ||
89 | hactive = <800>; | ||
90 | vactive = <480>; | ||
91 | hfront-porch = <210>; | ||
92 | hback-porch = <16>; | ||
93 | hsync-len = <30>; | ||
94 | vback-porch = <10>; | ||
95 | vfront-porch = <22>; | ||
96 | vsync-len = <13>; | ||
97 | hsync-active = <0>; | ||
98 | vsync-active = <0>; | ||
99 | de-active = <1>; | ||
100 | pixelclk-active = <1>; | ||
101 | }; | ||
102 | |||
103 | port { | ||
104 | lcd_in: endpoint { | ||
105 | remote-endpoint = <&dpi_out>; | ||
106 | }; | ||
107 | }; | ||
108 | }; | ||
67 | }; | 109 | }; |
68 | 110 | ||
69 | &am43xx_pinmux { | 111 | &am43xx_pinmux { |
@@ -171,6 +213,47 @@ | |||
171 | 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ | 213 | 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ |
172 | >; | 214 | >; |
173 | }; | 215 | }; |
216 | |||
217 | dss_pins: dss_pins { | ||
218 | pinctrl-single,pins = < | ||
219 | 0x020 (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 8 -> DSS DATA 23 */ | ||
220 | 0x024 (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
221 | 0x028 (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
222 | 0x02c (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
223 | 0x030 (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
224 | 0x034 (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
225 | 0x038 (PIN_OUTPUT_PULLUP | MUX_MODE1) | ||
226 | 0x03c (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 15 -> DSS DATA 16 */ | ||
227 | 0x0a0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */ | ||
228 | 0x0a4 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
229 | 0x0a8 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
230 | 0x0ac (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
231 | 0x0b0 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
232 | 0x0b4 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
233 | 0x0b8 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
234 | 0x0bc (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
235 | 0x0c0 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
236 | 0x0c4 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
237 | 0x0c8 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
238 | 0x0cc (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
239 | 0x0d0 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
240 | 0x0d4 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
241 | 0x0d8 (PIN_OUTPUT_PULLUP | MUX_MODE0) | ||
242 | 0x0dc (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */ | ||
243 | 0x0e0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */ | ||
244 | 0x0e4 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */ | ||
245 | 0x0e8 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */ | ||
246 | 0x0ec (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */ | ||
247 | |||
248 | >; | ||
249 | }; | ||
250 | |||
251 | lcd_pins: lcd_pins { | ||
252 | pinctrl-single,pins = < | ||
253 | /* GPIO 5_8 to select LCD / HDMI */ | ||
254 | 0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7) | ||
255 | >; | ||
256 | }; | ||
174 | }; | 257 | }; |
175 | 258 | ||
176 | &i2c0 { | 259 | &i2c0 { |
@@ -359,3 +442,17 @@ | |||
359 | }; | 442 | }; |
360 | }; | 443 | }; |
361 | }; | 444 | }; |
445 | |||
446 | &dss { | ||
447 | status = "ok"; | ||
448 | |||
449 | pinctrl-names = "default"; | ||
450 | pinctrl-0 = <&dss_pins>; | ||
451 | |||
452 | port { | ||
453 | dpi_out: endpoint@0 { | ||
454 | remote-endpoint = <&lcd_in>; | ||
455 | data-lines = <24>; | ||
456 | }; | ||
457 | }; | ||
458 | }; | ||