conf/landfall-examples/mips-ci20-hdmi-i2c.io | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/conf/landfall-examples/mips-ci20-hdmi-i2c.io Fri May 22 00:17:25 2020 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +-- vi:ft=lua 1.5 +-- configuration file for io 1.6 + 1.7 +local hw = Io.system_bus() 1.8 + 1.9 +local bus = Io.Vi.System_bus 1.10 +{ 1.11 + CPM = wrap(hw:match("jz4780-cpm")); 1.12 + GPIO = wrap(hw:match("jz4780-gpio")); 1.13 + HDMI = wrap(hw:match("jz4780-hdmi")); 1.14 +} 1.15 + 1.16 +Io.add_vbus("hdmi", bus)