9 months ago | Paul Boddie | raw annotate files changeset graph | Added X1600 GPIO support, also introducing an operation to report pin configurations. Various minor changes have been made to the JZ4730 support, and further improvements may be desirable. | gpio-x1600 |
1 -- vi:ft=lua 2 -- configuration file for io 3 4 local hw = Io.system_bus() 5 6 local bus = Io.Vi.System_bus 7 { 8 CPM = wrap(hw:match("jz4780-cpm")); 9 GPIO = wrap(hw:match("jz4780-gpio")); 10 LCD = wrap(hw:match("jz4780-lcd")); 11 HDMI = wrap(hw:match("jz4780-hdmi")); 12 } 13 14 Io.add_vbus("vbus", bus)