diff mbox

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

Message ID 1459693877-12098-1-git-send-email-tochiro.srchack@gmail.com
State Accepted
Headers show

Commit Message

ļ¼ SRCHACK.ORG April 3, 2016, 2:31 p.m. UTC
add lcd control gpio pin for Planex MZK-WDPR.
LCD board initial timming is GPIO control.

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

Patch

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@101c0000 {
 		status = "okay";
 	};
+
+	gpio-export {
+		compatible = "gpio-export";
+
+		lcd_ctrl1 {
+			gpio-export,name = "lcd_ctrl1";
+			gpio-export,output = <0>;
+			gpios = <&gpio0 1 0>;
+		};
+	};
 };