1.1 --- a/conf/landfall-examples/mips-ci20-i2c.cfg Sat May 04 01:27:36 2024 +0200
1.2 +++ b/conf/landfall-examples/mips-ci20-i2c.cfg Sat May 04 01:30:06 2024 +0200
1.3 @@ -6,12 +6,12 @@
1.4
1.5 local io_buses =
1.6 {
1.7 - i2c = l:new_channel();
1.8 + common = l:new_channel();
1.9 };
1.10
1.11 l:start({
1.12 caps = {
1.13 - i2c = io_buses.i2c:svr(),
1.14 + common = io_buses.common:svr(),
1.15 icu = L4.Env.icu,
1.16 sigma0 = L4.cast(L4.Proto.Factory, L4.Env.sigma0):create(L4.Proto.Sigma0),
1.17 },
1.18 @@ -23,7 +23,7 @@
1.19 l:start({
1.20 caps = {
1.21 icu = L4.Env.icu,
1.22 - vbus = io_buses.i2c,
1.23 + vbus = io_buses.common,
1.24 },
1.25 },
1.26 "rom/ex_ci20_i2c");
2.1 --- a/conf/landfall-examples/mips-ci20-i2c.io Sat May 04 01:27:36 2024 +0200
2.2 +++ b/conf/landfall-examples/mips-ci20-i2c.io Sat May 04 01:30:06 2024 +0200
2.3 @@ -8,6 +8,7 @@
2.4 CPM = wrap(hw:match("jz4780-cpm"));
2.5 GPIO = wrap(hw:match("jz4780-gpio"));
2.6 I2C = wrap(hw:match("jz4780-i2c"));
2.7 + RTC = wrap(hw:match("jz4780-rtc"));
2.8 }
2.9
2.10 -Io.add_vbus("i2c", bus)
2.11 +Io.add_vbus("common", bus)