diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-12-17 02:33:33 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-19 05:14:17 -0400 |
commit | 1133420fe1a05789b1566f3e49f9d2e66703b93f (patch) | |
tree | bf00fcc9eaf38cd795956e1712ecbd6c0eba5abc | |
parent | dd186aa5a06ca50c8fbec06cb2d2ee8aa7b17443 (diff) |
ARM: omap3-n900.dts: add display information
Add DT data for OMAP3 N900 board. The board has the following displays:
lcd: LCD panel connected to OMAP's SDI output
tv: analog svideo
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Sebastian Reichel <sre@debian.org>
Acked-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 77 |
1 files changed, 73 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 64aa416ee4c1..6311393bf5a9 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts | |||
@@ -79,6 +79,17 @@ | |||
79 | nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>; | 79 | nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>; |
80 | usb-phy = <&usb2_phy>; | 80 | usb-phy = <&usb2_phy>; |
81 | }; | 81 | }; |
82 | |||
83 | tv: connector { | ||
84 | compatible = "composite-connector"; | ||
85 | label = "tv"; | ||
86 | |||
87 | port { | ||
88 | tv_connector_in: endpoint { | ||
89 | remote-endpoint = <&venc_out>; | ||
90 | }; | ||
91 | }; | ||
92 | }; | ||
82 | }; | 93 | }; |
83 | 94 | ||
84 | &omap3_pmx_core { | 95 | &omap3_pmx_core { |
@@ -145,11 +156,23 @@ | |||
145 | >; | 156 | >; |
146 | }; | 157 | }; |
147 | 158 | ||
148 | display_pins: pinmux_display_pins { | 159 | acx565akm_pins: pinmux_acx565akm_pins { |
149 | pinctrl-single,pins = < | 160 | pinctrl-single,pins = < |
150 | 0x0d4 (PIN_OUTPUT | MUX_MODE4) /* RX51_LCD_RESET_GPIO */ | 161 | 0x0d4 (PIN_OUTPUT | MUX_MODE4) /* RX51_LCD_RESET_GPIO */ |
151 | >; | 162 | >; |
152 | }; | 163 | }; |
164 | |||
165 | dss_sdi_pins: pinmux_dss_sdi_pins { | ||
166 | pinctrl-single,pins = < | ||
167 | 0x0c0 (PIN_OUTPUT | MUX_MODE1) /* dss_data10.sdi_dat1n */ | ||
168 | 0x0c2 (PIN_OUTPUT | MUX_MODE1) /* dss_data11.sdi_dat1p */ | ||
169 | 0x0c4 (PIN_OUTPUT | MUX_MODE1) /* dss_data12.sdi_dat2n */ | ||
170 | 0x0c6 (PIN_OUTPUT | MUX_MODE1) /* dss_data13.sdi_dat2p */ | ||
171 | |||
172 | 0x0d8 (PIN_OUTPUT | MUX_MODE1) /* dss_data22.sdi_clkp */ | ||
173 | 0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */ | ||
174 | >; | ||
175 | }; | ||
153 | }; | 176 | }; |
154 | 177 | ||
155 | &i2c1 { | 178 | &i2c1 { |
@@ -561,13 +584,23 @@ | |||
561 | spi-max-frequency = <6000000>; | 584 | spi-max-frequency = <6000000>; |
562 | reg = <0>; | 585 | reg = <0>; |
563 | }; | 586 | }; |
564 | mipid@2 { | 587 | |
565 | compatible = "acx565akm"; | 588 | acx565akm@2 { |
589 | compatible = "sony,acx565akm"; | ||
566 | spi-max-frequency = <6000000>; | 590 | spi-max-frequency = <6000000>; |
567 | reg = <2>; | 591 | reg = <2>; |
568 | 592 | ||
569 | pinctrl-names = "default"; | 593 | pinctrl-names = "default"; |
570 | pinctrl-0 = <&display_pins>; | 594 | pinctrl-0 = <&acx565akm_pins>; |
595 | |||
596 | label = "lcd"; | ||
597 | reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ | ||
598 | |||
599 | port { | ||
600 | lcd_in: endpoint { | ||
601 | remote-endpoint = <&sdi_out>; | ||
602 | }; | ||
603 | }; | ||
571 | }; | 604 | }; |
572 | }; | 605 | }; |
573 | 606 | ||
@@ -593,3 +626,39 @@ | |||
593 | pinctrl-names = "default"; | 626 | pinctrl-names = "default"; |
594 | pinctrl-0 = <&uart3_pins>; | 627 | pinctrl-0 = <&uart3_pins>; |
595 | }; | 628 | }; |
629 | |||
630 | &dss { | ||
631 | status = "ok"; | ||
632 | |||
633 | pinctrl-names = "default"; | ||
634 | pinctrl-0 = <&dss_sdi_pins>; | ||
635 | |||
636 | vdds_sdi-supply = <&vaux1>; | ||
637 | |||
638 | ports { | ||
639 | #address-cells = <1>; | ||
640 | #size-cells = <0>; | ||
641 | |||
642 | port@1 { | ||
643 | reg = <1>; | ||
644 | |||
645 | sdi_out: endpoint { | ||
646 | remote-endpoint = <&lcd_in>; | ||
647 | datapairs = <2>; | ||
648 | }; | ||
649 | }; | ||
650 | }; | ||
651 | }; | ||
652 | |||
653 | &venc { | ||
654 | status = "ok"; | ||
655 | |||
656 | vdda-supply = <&vdac>; | ||
657 | |||
658 | port { | ||
659 | venc_out: endpoint { | ||
660 | remote-endpoint = <&tv_connector_in>; | ||
661 | ti,channels = <1>; | ||
662 | }; | ||
663 | }; | ||
664 | }; | ||