Support for XORO HST 260 T2/C DVB-T/T2 (Amlogic S905D)

Hello everyone, and thanks for your great work with this great platform.

I have installed CoreELEC 9.0.3 on XORO HST 260 T2 / C DVB-T / T2 and it works perfectly with the ‘gxl_p231_2g_dvb_ser.dtb’, except the DVB tuner.

The Android dtb.img is as follows:
https://pastebin.com/2u2GefRm

Summary:

dvb {
    compatible = "amlogic, dvb";
    dev_name = "dvb";
    ts0 = "serial";
    ts0_control = <0x00000800>;
    ts0_invert = <0x00000001>;
    ts1 = "serial";
    ts1_control = <0x00000800>;
    ts1_invert = <0x00000000>;
    pinctrl-names = "s_ts0", "s_ts1";
    pinctrl-0 = <0x00000074>;
    pinctrl-1 = <0x00000075>;
    resets = <0x00000008 0x00000024 0x00000008 0x00000010 0x00000008 0x0000003d 0x00000008 0x00000039>;
    reset-names = "demux", "asyncfifo", "ahbarb0", "uparsertop";
};
dvbfe {
    compatible = "amlogic, dvbfe";
    dev_name = "dvbfe";
    dtv_demod0 = "Avl6762";
    dtv_demod0_i2c_adap_id = <0x00000002>;
    dtv_demod0_i2c_addr = <0x000000c0>;
    dtv_demod0_reset_value = <0x00000000>;
    dtv_demod0_reset_gpio-gpios = <0x0000001f 0x0000003d 0x00000000>;
    dtv_demod0_ant_poweron_value = <0x00000000>;
    dtv_demod0_ant_power-gpios = <0x0000001f 0x0000003f 0x00000000>;
    dtv_demod0_tuner_type = <0x00000034>;
    fe0_dtv_demod = <0x00000000>;
    fe0_ts = <0x00000000>;
    fe0_dev = <0x00000000>;
};

The Dmesg of Coreelec is the following:

https://pastebin.com/RqWyyFvB

Summary:

[ 32.085727@1] i2c i2c-2: dvb_meson: Rafael R912 successfully attached!
[ 32.085761@1] dvb_meson dvb.50: Total DVB modules found: 1
[ 32.088711@2] dvbdev: DVB: registering new adapter (dvb_meson)
[ 32.090520@2] DMX: dmx0 irq:55
[ 32.097674@2] DMX: ts0 irq:51
[ 32.097811@2] DMX: ts1 irq:-1
[ 32.097903@2] dvb_meson dvb.50: DVB: registering adapter 0 frontend 0 (Availink avl6862)…
[ 32.098491@2] Meson DVB frontend(s) registered successfully.
[ 32.190315@2] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.190327@2] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a
[ 32.190377@2] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.190383@2] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a
[ 32.190431@2] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.190437@2] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a
[ 32.190739@2] dvb_frontend: dvb_frontend_get_frequency_limits: frequency interval: tuner: 175000000…2150000000, frontend: 175000000…2150000000
[ 32.190748@2] dvb_meson dvb.50: DVB: adapter 0 frontend 0 frequency 0 out of range (175000000…2150000000)
[ 32.190757@3] dvb_frontend: dvb_frontend_get_frequency_limits: frequency interval: tuner: 175000000…2150000000, frontend: 175000000…2150000000
[ 32.197460@3] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.197474@3] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a
[ 32.197526@3] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.197532@3] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a
[ 32.197582@3] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 32.197588@3] i2c i2c-2: token 1, master_no(2) 300K addr 0x7a

The TVHeadEnd, recognizes the adapters but does not find the muxes, what could be the problem?
(p.d. I’m sorry for my English, it’s a Google translation)

Thanks for everything and greetings.