[U-Boot] [PATCH] sunxi: Add the TBS A711 tablet

Maxime Ripard maxime.ripard at free-electrons.com
Fri Dec 8 07:52:28 UTC 2017


Hi,

On Thu, Dec 07, 2017 at 10:29:05PM +0530, Jagan Teki wrote:
> > +/dts-v1/;
> > +#include "sun8i-a83t.dtsi"
> > +
> > +/ {
> > +       model = "TBS A711 Tablet";
> > +       compatible = "tbs-biometrics,a711", "allwinner,sun8i-a83t";
> > +
> > +       aliases {
> > +               serial0 = &uart0;
> > +       };
> > +
> > +       chosen {
> > +               stdout-path = "serial0:115200n8";
> > +       };
> > +};
> > +
> > +&ehci0 {
> > +       status = "okay";
> > +};
> > +
> > +&ohci0 {
> > +       status = "okay";
> > +};
> > +
> > +&uart0 {
> > +       pinctrl-names = "default";
> > +       pinctrl-0 = <&uart0_pins_b>;
> > +       status = "okay";
> > +};
> > +
> > +&usb_otg {
> > +       status = "okay";
> > +};
> 
> Ohh, A83t doesn't support mmc thorough dts?

We're not using the device model for the MMC at the moment, on any SoC.

> > diff --git a/configs/tbs_a711_defconfig b/configs/tbs_a711_defconfig
> > new file mode 100644
> > index 000000000000..03deae084e90
> > --- /dev/null
> > +++ b/configs/tbs_a711_defconfig
> > @@ -0,0 +1,23 @@
> > +CONFIG_ARM=y
> > +CONFIG_ARCH_SUNXI=y
> > +CONFIG_MACH_SUN8I_A83T=y
> > +CONFIG_DRAM_TYPE=7
> > +CONFIG_DRAM_CLK=648
> > +CONFIG_DRAM_ZQ=15355
> > +CONFIG_DRAM_ODT_EN=y
> > +CONFIG_MMC_SUNXI_SLOT_EXTRA=2
> > +CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
> > +CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
> > +CONFIG_USB0_ID_DET="PH11"
> > +CONFIG_AXP_GPIO=y
> > +CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-tbs-a711"
> > +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> > +CONFIG_SPL=y
> > +# CONFIG_CMD_FLASH is not set
> > +# CONFIG_CMD_FPGA is not set
> > +# CONFIG_SPL_DOS_PARTITION is not set
> > +# CONFIG_SPL_ISO_PARTITION is not set
> > +# CONFIG_SPL_EFI_PARTITION is not set
> > +CONFIG_AXP_DCDC5_VOLT=1200
> > +CONFIG_USB_EHCI_HCD=y
> > +CONFIG_USB_MUSB_GADGET=y
> 
> Just to check, does fastboot and ums worked?

I have no interest in UMS, but fastboot and USB-Ethernet work.

> Reviewed-by: Jagan Teki <jagan at openedev.com>

Will you apply it?

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171208/5558af37/attachment.sig>


More information about the U-Boot mailing list