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_rc.dts
diff --git
a/target/linux/ramips/dts/kn_rc.dts
b/target/linux/ramips/dts/kn_rc.dts
index c63c1a391482488b44b48bc03fe4cc0458e04caf..2709b5188a88564f88311aabd4abbaa1928a9e73 100644
(file)
--- a/
target/linux/ramips/dts/kn_rc.dts
+++ b/
target/linux/ramips/dts/kn_rc.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 {