ARM: dts: armada: netgear-rn104: Add LCD to RN104 dts.
authorAsh Hughes <sehguh.hsa@gmail.com>
Fri, 17 May 2019 00:17:05 +0000 (01:17 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 3 Jun 2019 14:03:38 +0000 (16:03 +0200)
Adds the LCD on the rn104 to its dts file.

Signed-off-by: Ash Hughes <sehguh.hsa@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-370-netgear-rn104.dts

index 9fd1cb9..85e2e9e 100644 (file)
                };
        };
 
+       auxdisplay {
+               compatible = "hit,hd44780";
+               data-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 26 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 27 GPIO_ACTIVE_HIGH>,
+                               <&gpio1 29 GPIO_ACTIVE_HIGH>;
+               enable-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
+               rs-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
+               rw-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
+               backlight-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+               display-height-chars = <2>;
+               display-width-chars = <16>;
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                pinctrl-0 = <&backup_button_pin