1/*
2 * Character HD44780 module driven by the PCF8574 gpio.
3 */
4
5&i2c0 {
6	aux_display_gpio: pcf8574@27 {
7		compatible = "nxp,pcf857x";
8		reg = <0x27>;
9		gpio-controller;
10		ngpios = <8>;
11		#gpio-cells = <2>;
12	};
13};
14
15/ {
16	auxdisplay_0: hd44780 {
17		compatible = "hit,hd44780";
18		columns = <16>;
19		rows = <2>;
20		mode = <4>;
21		boot-delay-ms = <100>;
22		enable-line-rise-delay-us = <1000>;
23		enable-line-fall-delay-us = <500>;
24		register-select-gpios = <&aux_display_gpio 0 (GPIO_ACTIVE_HIGH)>;
25		read-write-gpios    = <&aux_display_gpio 1 (GPIO_ACTIVE_HIGH)>;
26		enable-gpios        = <&aux_display_gpio 2 (GPIO_ACTIVE_HIGH)>;
27		backlight-gpios     = <&aux_display_gpio 3 (GPIO_ACTIVE_HIGH)>;
28		data-bus-gpios      = <0>, <0>, <0>, <0>,
29				<&aux_display_gpio 4 (GPIO_ACTIVE_HIGH)>,
30				<&aux_display_gpio 5 (GPIO_ACTIVE_HIGH)>,
31				<&aux_display_gpio 6 (GPIO_ACTIVE_HIGH)>,
32				<&aux_display_gpio 7 (GPIO_ACTIVE_HIGH)>;
33	};
34};
35