[OpenWrt-Devel] [PATCH] ramips: fix for Planex MZK-WDPR (lcd control gpio).

YuheiOKAWA tochiro.srchack at gmail.com
Sun Apr 3 10:31:17 EDT 2016


add lcd control gpio pin for Planex MZK-WDPR.
LCD board initial timming is GPIO control.

Signed-off-by: YuheiOKAWA <tochiro.srchack at gmail.com>
---
 target/linux/ramips/dts/MZK-WDPR.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/target/linux/ramips/dts/MZK-WDPR.dts b/target/linux/ramips/dts/MZK-WDPR.dts
index ba9ae85..1746949 100644
--- a/target/linux/ramips/dts/MZK-WDPR.dts
+++ b/target/linux/ramips/dts/MZK-WDPR.dts
@@ -73,4 +73,14 @@
 	otg at 101c0000 {
 		status = "okay";
 	};
+
+	gpio-export {
+		compatible = "gpio-export";
+
+		lcd_ctrl1 {
+			gpio-export,name = "lcd_ctrl1";
+			gpio-export,output = <0>;
+			gpios = <&gpio0 1 0>;
+		};
+	};
 };
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list