*/
/* #define DUAL_ETH */
/* #define BIG_LCD */
+/* #define NO_LCD */
/* #define MMC_SPI */
/dts-v1/;
};
};
+#ifndef NO_LCD
backlight {
compatible = "pwm-backlight";
pwms = <&pwm1 0 2000000>;
compatible = "fsl,imx6ul-pxp-v4l2", "fsl,imx6sx-pxp-v4l2", "fsl,imx6sl-pxp-v4l2";
status = "okay";
};
+#endif
regulators {
compatible = "simple-bus";
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0x1b0b0 //GPIO02
MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0x1b0b0 //GPIO03
MX6UL_PAD_NAND_CE1_B__GPIO4_IO14 0x1b0b0 //GPIO04
+ #ifdef NO_LCD
MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0x1b0b0 //GPIO05
+ #endif
MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x1b0b0 //GPIO06
MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x1b0b0 //GPIO07
MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x1b0b0 //GPIO08
};
};
-
+#ifndef NO_LCD
&lcdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pxp {
status = "okay";
};
+#endif
&sai2 {
pinctrl-names = "default";