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 GPIO = wrap(hw:match("jz4780-gpio")); 9 } 10 11 Io.add_vbus("gpio", bus)