ARM: dts: kirkwood: ReadyNAS NV+v2: Add LCD panel
authorBrian J. Tarricone <brian@tarricone.org>
Sat, 25 Apr 2020 19:28:20 +0000 (12:28 -0700)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 17 May 2020 16:51:46 +0000 (18:51 +0200)
The NV+ v2 has a WH1602 LCD panel (which is just a rebranded HD44780),
similar to the Netgear RN104, just with different GPIO assignments.

Signed-off-by: Brian J. Tarricone <brian@tarricone.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dts

index 8cc8550..b13aee5 100644 (file)
                };
        };
 
+       auxdisplay {
+               compatible = "hit,hd44780";
+               data-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 1 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 3 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 17 GPIO_ACTIVE_HIGH>;
+               enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+               rs-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+               rw-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
+               backlight-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
+               display-height-chars = <2>;
+               display-width-chars = <16>;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
                pinctrl-0 = < &pmx_led_blue_power &pmx_led_blue_backup