projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: ZyXEL Keenetic Omni/Omni2: export gpio usb power
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
kn_rf.dts
diff --git
a/target/linux/ramips/dts/kn_rf.dts
b/target/linux/ramips/dts/kn_rf.dts
index 22b16b05cc1af231a83dd5c745c7df9c56161eb3..1190eab714db321febd5129c2c992b863a0686cd 100644
(file)
--- a/
target/linux/ramips/dts/kn_rf.dts
+++ b/
target/linux/ramips/dts/kn_rf.dts
@@
-56,6
+56,17
@@
linux,code = <BTN_0>;
};
};
+
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+
+ usb_power {
+ gpio-export,name = "usb";
+ gpio-export,output = <1>;
+ gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&spi0 {