On Mon, Feb 10, 2020 at 4:05 PM <[email protected]> wrote: > > From: Alexandre GRIVEAUX <[email protected]> > > Add Inet 86V Rev 2 support, based upon Inet 86VS. > > Missing things: > - Accelerometer (MXC6225X) > - Touchpanel (Sitronix SL1536) > - Nand (29F32G08CBACA) > - Camera (HCWY0308) > > Signed-off-by: Alexandre GRIVEAUX <[email protected]> > --- > arch/arm/dts/Makefile | 3 ++- > arch/arm/dts/sun5i-a13-inet-86v-rev2.dts | 17 +++++++++++++++
Is it is copy from Linux, if yes please specific sha1? > configs/inet86v_rev2_defconfig | 27 ++++++++++++++++++++++++ > 3 files changed, 46 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/dts/sun5i-a13-inet-86v-rev2.dts > create mode 100644 configs/inet86v_rev2_defconfig > > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > index 6915783d9c..7a0f1c0484 100644 > --- a/arch/arm/dts/Makefile > +++ b/arch/arm/dts/Makefile > @@ -444,7 +444,8 @@ dtb-$(CONFIG_MACH_SUN5I) += \ > sun5i-a13-q8-tablet.dtb \ > sun5i-a13-utoo-p66.dtb \ > sun5i-gr8-chip-pro.dtb \ > - sun5i-r8-chip.dtb > + sun5i-r8-chip.dtb \ > + sun5i-a13-inet-86v-rev2.dtb > dtb-$(CONFIG_MACH_SUN6I) += \ > sun6i-a31-app4-evb1.dtb \ > sun6i-a31-colombus.dtb \ > diff --git a/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts > b/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts > new file mode 100644 > index 0000000000..9b4c5349f0 > --- /dev/null > +++ b/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts > @@ -0,0 +1,17 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright 2020 Alexandre Griveaux <[email protected]> > + * > + * Minimal dts file for the iNet 86V > + */ > + > +/dts-v1/; > + > +#include "sun5i-a13.dtsi" > +#include "sun5i-reference-design-tablet.dtsi" > + > +/ { > + model = "iNET 86V Rev 02"; > + compatible = "primux,inet86v-rev2", "allwinner,sun5i-a13"; > + > +}; > diff --git a/configs/inet86v_rev2_defconfig b/configs/inet86v_rev2_defconfig > new file mode 100644 > index 0000000000..f8dbd14c0b > --- /dev/null > +++ b/configs/inet86v_rev2_defconfig > @@ -0,0 +1,27 @@ > +CONFIG_ARM=y > +CONFIG_ARCH_SUNXI=y > +CONFIG_MACH_SUN5I=y > +CONFIG_NR_DRAM_BANKS=1 > +CONFIG_SPL=y > +# CONFIG_MACH_SUN5I=y > +CONFIG_DRAM_CLK=432 > +CONFIG_MMC0_CD_PIN="PG0" > +CONFIG_USB0_VBUS_PIN="PG12" > +CONFIG_USB0_VBUS_DET="PG1" > +CONFIG_USB0_ID_DET="PG2" > +CONFIG_AXP_GPIO=y > +# CONFIG_VIDEO_HDMI is not set > +CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:45,ri:209,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0" > +CONFIG_VIDEO_LCD_POWER="AXP0-0" > +CONFIG_VIDEO_LCD_BL_EN="AXP0-1" > +CONFIG_VIDEO_LCD_BL_PWM="PB2" > +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > +CONFIG_USE_PREBOOT=y > +CONFIG_SPL_I2C_SUPPORT=y > +# CONFIG_SPL_DOS_PARTITION is not set > +# CONFIG_SPL_EFI_PARTITION is not set > +CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-86v-rev2" > +CONFIG_SYS_RELOC_GD_ENV_ADDR=y > +CONFIG_CONS_INDEX=2 > +CONFIG_USB_MUSB_HOST=y > +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y few of the configs now supported via kconfig, so please rebase u-boot-sunxi/master Jagan.

