xref: /openbmc/u-boot/doc/device-tree-bindings/video/exynos-fb.txt (revision b491d9757d14415edcb1468ed896a704d0f0cfe7)
19a1313e1SAjay KumarExynos Display Controller
29a1313e1SAjay Kumar=========================
39a1313e1SAjay KumarRequired properties:
49a1313e1SAjay KumarSOC specific:
59a1313e1SAjay Kumar	compatible: should be "samsung,exynos-fimd"
69a1313e1SAjay Kumar	reg: Base address of FIMD IP.
79a1313e1SAjay Kumar
89a1313e1SAjay KumarBoard(panel specific):
99a1313e1SAjay Kumar	samsung,vl-col: X resolution of the panel
109a1313e1SAjay Kumar	samsung,vl-row: Y resolution of the panel
119a1313e1SAjay Kumar	samsung,vl-freq: Refresh rate
129a1313e1SAjay Kumar	samsung,vl-bpix: Bits per pixel
139a1313e1SAjay Kumar	samsung,vl-hspw: Hsync value
149a1313e1SAjay Kumar	samsung,vl-hfpd: Right margin
159a1313e1SAjay Kumar	samsung,vl-hbpd: Left margin
169a1313e1SAjay Kumar	samsung,vl-vspw: Vsync value
179a1313e1SAjay Kumar	samsung,vl-vfpd: Lower margin
189a1313e1SAjay Kumar	samsung,vl-vbpd: Upper margin
199a1313e1SAjay Kumar
209a1313e1SAjay KumarOptional properties:
219a1313e1SAjay KumarBoard(panel specific):
229a1313e1SAjay Kumar	samsung,vl-width: width of display area in mm
239a1313e1SAjay Kumar	samsung,vl-height: Height of display area in mm
249a1313e1SAjay Kumar
259a1313e1SAjay Kumar	samsung,vl-clkp: Clock polarity
269a1313e1SAjay Kumar		CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
279a1313e1SAjay Kumar	samsung,vl-oep: Output Enable polarity
289a1313e1SAjay Kumar		CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
299a1313e1SAjay Kumar	samsung,vl-hsp: Horizontal Sync polarity
309a1313e1SAjay Kumar		CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
319a1313e1SAjay Kumar	samsung,vl-vsp: Vertical Sync polarity
329a1313e1SAjay Kumar		CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
339a1313e1SAjay Kumar	samsung,vl-dp: Data polarity
349a1313e1SAjay Kumar		CONFIG_SYS_LOW if defined, else CONFIG_SYS_HIGH
359a1313e1SAjay Kumar
369a1313e1SAjay Kumar	samsung,vl-cmd-allow-len: Wait end of frame
379a1313e1SAjay Kumar	samsung,winid: Window number on which data is to be displayed
389a1313e1SAjay Kumar	samsung,init-delay: Delay before LCD initialization starts
399a1313e1SAjay Kumar	samsung,power-on-delay: Delay after LCD is powered on
409a1313e1SAjay Kumar	samsung,reset-delay: Delay after LCD is reset
419a1313e1SAjay Kumar	samsung,interface-mode: 1(FIMD_RGB_INTERFACE), 2(FIMD_CPU_INTERFACE)
429a1313e1SAjay Kumar	samsung,mipi-enabled: 1 if you want to use MIPI, else 0
439a1313e1SAjay Kumar	samsung,dp-enabled: 1is you want to use DP, else 0
449a1313e1SAjay Kumar	samsung,cs-setup: cs_setup value in FIMD_CPU_INTERFACE mode.
459a1313e1SAjay Kumar	samsung,wr-setup: wr_setup value in FIMD_CPU_INTERFACE mode.
469a1313e1SAjay Kumar	samsung,wr-act: wr_act value in FIMD_CPU_INTERFACE mode.
479a1313e1SAjay Kumar	samsung,wr-hold: wr_hold value in FIMD_CPU_INTERFACE mode.
489a1313e1SAjay Kumar	samsung,logo-on: 1 if you want to use custom logo.
499a1313e1SAjay Kumar			 0 if you want LCD console.
509a1313e1SAjay Kumar	samsung,logo-width: pixel width of logo image. Valid if logo_on = 1
519a1313e1SAjay Kumar	samsung,logo-height: pixel height of logo image. Valid if logo_on = 1
529a1313e1SAjay Kumar	samsung,logo-addr: Address of logo image. Valid if logo_on = 1
539a1313e1SAjay Kumar	samsung,rgb-mode: 0(MODE_RGB_P), 1(MODE_BGR_P),
549a1313e1SAjay Kumar			  2(MODE_RGB_S), 3(MODE_BGR_S)
559a1313e1SAjay Kumar	samsung,pclk-name: parent clock identifier: 1(MPLL), 2(EPLL), 3(VPLL)
569a1313e1SAjay Kumar	samsung,sclk-div: parent_clock/source_clock ratio
579a1313e1SAjay Kumar	samsung,dual-lcd-enabled: 1 if you support two LCD, else 0
5845c480c9SAjay Kumar	samsung,disable-sysmmu: Define this if you want to disable FIMD sysmmu.
5945c480c9SAjay Kumar				(needed for Exynos5420 and newer versions)
6045c480c9SAjay Kumar				Add the required FIMD sysmmu nodes to be
6145c480c9SAjay Kumar				disabled with compatible string
6245c480c9SAjay Kumar				"samsung,sysmmu-v3.3", with a "reg" property
6345c480c9SAjay Kumar				holding the register address of FIMD sysmmu.
64*9018efa7SAjay Kumar	samsung,pwm-out-gpio: PWM output GPIO.
65*9018efa7SAjay Kumar	samsung,bl-en-gpio: backlight enable GPIO.
669a1313e1SAjay Kumar
679a1313e1SAjay KumarExample:
689a1313e1SAjay KumarSOC specific part:
699a1313e1SAjay Kumar	fimd@14400000 {
709a1313e1SAjay Kumar		compatible = "samsung,exynos-fimd";
719a1313e1SAjay Kumar		reg = <0x14400000 0x10000>;
729a1313e1SAjay Kumar		#address-cells = <1>;
739a1313e1SAjay Kumar		#size-cells = <1>;
749a1313e1SAjay Kumar	};
759a1313e1SAjay Kumar
769a1313e1SAjay KumarBoard specific part:
779a1313e1SAjay Kumar	fimd@14400000 {
789a1313e1SAjay Kumar		samsung,vl-freq = <60>;
799a1313e1SAjay Kumar		samsung,vl-col = <2560>;
809a1313e1SAjay Kumar		samsung,vl-row = <1600>;
819a1313e1SAjay Kumar		samsung,vl-width = <2560>;
829a1313e1SAjay Kumar		samsung,vl-height = <1600>;
839a1313e1SAjay Kumar
849a1313e1SAjay Kumar		samsung,vl-clkp;
859a1313e1SAjay Kumar		samsung,vl-dp;
869a1313e1SAjay Kumar		samsung,vl-bpix = <4>;
879a1313e1SAjay Kumar
889a1313e1SAjay Kumar		samsung,vl-hspw = <32>;
899a1313e1SAjay Kumar		samsung,vl-hbpd = <80>;
909a1313e1SAjay Kumar		samsung,vl-hfpd = <48>;
919a1313e1SAjay Kumar		samsung,vl-vspw = <6>;
929a1313e1SAjay Kumar		samsung,vl-vbpd = <37>;
939a1313e1SAjay Kumar		samsung,vl-vfpd = <3>;
949a1313e1SAjay Kumar		samsung,vl-cmd-allow-len = <0xf>;
959a1313e1SAjay Kumar
969a1313e1SAjay Kumar		samsung,winid = <3>;
979a1313e1SAjay Kumar		samsung,interface-mode = <1>;
989a1313e1SAjay Kumar		samsung,dp-enabled = <1>;
999a1313e1SAjay Kumar		samsung,dual-lcd-enabled = <0>;
1009a1313e1SAjay Kumar	};
101