Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reg_lcd0_pwr: regulator@1 {
- compatible = "regulator-fixed";
- regulator-name = "lcd0 panel";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio1 2 0>;
- enable-active-high;
- regulator-boot-on;
- regulator-always-on;
- };
- reg_lcd0_backlight: regulator@2 {
- compatible = "regulator-fixed";
- regulator-name = "lcd0 backlight";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- gpio = <&gpio1 4 0>;
- enable-active-high;
- regulator-boot-on;
- regulator-always-on;
- };
- &ldb {
- /* from kernel_unico_master/arch/arm/mach-mx6/board-mx6_seco_UDOO.c */
- ipu_id = <1>;
- disp_id = <0>;
- ext_ref = <1>;
- mode = "sep0";
- sec_ipu_id = <1>;
- sec_disp_id = <1>;
- status = "okay";
- lvds0: lvds-channel@0 {
- fsl,data-mapping = "spwg";
- fsl,data-width = <18>;
- status = "okay";
- display-timings {
- native-mode = <&timing0>;
- timing0: 800x480 { /* 60 Hz */
- /* from u-boot-unico/board/udoo/udoo.c */
- /* Rif. 800x480 Panel UMSH-8596MD-20T */
- clock-frequency = <65000000>;
- hactive = <800>;
- vactive = <480>;
- hback-porch = <220>;
- hfront-porch = <40>;
- vback-porch = <21>;
- vfront-porch = <7>;
- hsync-len = <60>;
- vsync-len = <10>;
- de-active = <0>;
- pixelclk-active = <1>;
- interlaced = <0>;
- };
- timing1: 1024x768 { /* 60 Hz */
- /* from u-boot-unico/board/udoo/udoo.c */
- /* Rif. Panel 1024x768 - UMSH-8596MD-15T - G156XW01V0 */
- clock-frequency = <65000000>;
- hactive = <1024>;
- vactive = <768>;
- hback-porch = <220>;
- hfront-porch = <40>;
- vback-porch = <21>;
- vfront-porch = <7>;
- hsync-len = <60>;
- vsync-len = <10>;
- de-active = <0>;
- pixelclk-active = <1>;
- interlaced = <0>;
- };
- timing2: 1366x768 { /* 59 Hz */
- /* from u-boot-unico/board/udoo/udoo.c */
- /* Rif. 1366x768 Panel CHIMEI M156B3-LA1 */
- clock-frequency = <72000000>;
- hactive = <1368>;
- vactive = <768>;
- hback-porch = <93>;
- hfront-porch = <33>;
- vback-porch = <22>;
- vfront-porch = <7>;
- hsync-len = <40>;
- vsync-len = <4>;
- de-active = <0>;
- pixelclk-active = <1>;
- interlaced = <0>;
- };
- };
- };
- };
- &i2c2 {
- clock-frequency = <100000>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c2_2>;
- status = "okay";
- };
- &i2c3 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c3_5>;
- status = "okay";
- touchscreen: st1232@55 {
- compatible = "sitronix,st1232";
- reg = <0x55>;
- // MX6QDL_PAD_SD2_DAT2__GPIO1_IO13
- interrupt-parent = <&gpio1>; // need ?
- /* Interrupts are specified by two parts:
- * 1) GPIO pin number (0..15)
- * 2) Triggering (1 - edge rising
- * 2 - edge falling
- * 4 - level active high
- * 8 - level active low)
- */
- interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
- // MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x80000000 /* touch reset */
- gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement