mk802ii: Disable unused soc parts

The .fex file as found in the android boot partition is a copy and paste
job from previous EVB (evaluation board) .fex files, as the name tag in
there clearly indicates. But the mk802ii does not come with an ethernet
socket, lcd, tv-out, etc. So lets make the fex file match the actual hardware
and disable those parts of the A10-soc.

This fixes for example an unusable eth0 interface showing up in "ifconfig -a"

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mele_a1000g: Add fex file

Fex file for the new 1 Gig RAM Mele A1000G / Mele A2000G top-set boxes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mela_a1000g Fill in missing dram parameters

Gathered with a10-meminfo.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mini-x-1gb: Add fex file

Add fex for the new 1 Gig RAM mini-x a10 systems. Note these also come with a
new pcb layout. Pictures of the old PCB (2 revisions):
https://www.miniand.com/forums/forums/discussion--2/topics/mini-x-tear-down-and-internal-photos
http://minixandroid.files.wordpress.com/2012/08/null-5.jpg

The new pcb for (my) 1GB version:
http://s12.postimage.org/44ktetnhp/Pcb.jpg

You can also see the difference between the 2 without opening the mini-x
up, as the order of the connectors has been changed (more or less mirrored):

Where the old 512MB mini-x, viewed from the rear has:
<hdmi> (a) (w) (d)

The new 1GB has:
(d) (w) (a) <hdmi>

a: av plug, w: wifi antenna, d: dc plug

Also note that the otg and host connectors have swapped place too, but the
frontplate was not updated, so to get the (much more usable) host port, you
must plug the cable into the USB connector labelled OTG!

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mini-x-1gb: Fill in missing dram parameters

Gathered with a10-meminfo.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mini-x-1gb: Disable unused soc parts

The .fex file as found in the android boot partition is a copy and paste
job from previous EVB (evaluation board) .fex files, as the name tag in
there clearly indicates. But the mini-x-1gb does not use the 2nd and 3th
i2c controllers, the 2nd uart, the lcd, etc. So lets make the fex file match
the actual hardware and disable those parts of the A10-soc.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mele_a1000g, mini-x-1gb: Enable usb2-controller at boot

For some reason the original fex for the mele_a1000g and the mini-x-1gb have
usb_host_init_state set to 0 for usbc2, causing it to start with its USB-port
power powered down.

This causes any attached devices (the realtek wireless card to be precise)
to not get detected, and the kernel-module to not be auto-loaded.

Manually modprobing the driver works around this, as it causes a bus scan
which powers up the port. But manual modprobing should be necessary, usb is
a plug and play bus afterall. Setting usb_host_init_state to 1 removes the
need for the manual modprobe, now Linux will automatically find the device
and udev will automatically load the driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>