[U-Boot] [PATCH v1 2/2] lynx_defconfig: add defconfig for A64-uQ7 module

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Feb 20 23:47:31 UTC 2017


Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---
 arch/arm/dts/sun50i-a64-lynx.dts |  2 +-
 configs/lynx_defconfig           | 84 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+), 1 deletion(-)
 create mode 100644 configs/lynx_defconfig

diff --git a/arch/arm/dts/sun50i-a64-lynx.dts b/arch/arm/dts/sun50i-a64-lynx.dts
index f968c5f..bc642b9 100644
--- a/arch/arm/dts/sun50i-a64-lynx.dts
+++ b/arch/arm/dts/sun50i-a64-lynx.dts
@@ -91,7 +91,7 @@
 
 		power {
 			label = "lynx:orange:power";
-			gpios = <&pio 9 11 GPIO_ACTIVE_HIGH>;
+			gpios = <&r_pio 0 11 GPIO_ACTIVE_HIGH>;
 		};
 	};
 };
diff --git a/configs/lynx_defconfig b/configs/lynx_defconfig
new file mode 100644
index 0000000..7b773f1
--- /dev/null
+++ b/configs/lynx_defconfig
@@ -0,0 +1,84 @@
+CONFIG_ARM=y
+CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN50I=y
+CONFIG_PINCTRL=y
+CONFIG_SUNXI_PINCTRL=y
+CONFIG_CLK=y
+CONFIG_DM_RESET=y
+CONFIG_RESET_SUNXI=y
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-lynx"
+CONFIG_OF_LIST="sun50i-a64-lynx"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CONSOLE_MUX=y
+CONFIG_SPL=y
+CONFIG_FIT=y
+CONFIG_SPL_FIT=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_OF_LIBFDT=y
+# CONFIG_SPL_LIBDISK_SUPPORT is not set
+# CONFIG_SPL_POWER_SUPPORT is not set
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
+
+CONFIG_CMD_MMC=y
+CONFIG_DM_MMC=y
+CONFIG_DM_MMC_OPS=y
+# CONFIG_BLK is not set
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
+
+CONFIG_CMD_I2C=y
+CONFIG_I2C0_ENABLE=y
+CONFIG_I2C1_ENABLE=y
+CONFIG_I2C2_ENABLE=y
+CONFIG_R_I2C_ENABLE=y
+
+CONFIG_DM_SPI=y
+CONFIG_SUNXI_SPI=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_CMD_SF=y
+CONFIG_CMD_SPI=y
+CONFIG_CMD_FLASH=y
+
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_SF_DEFAULT_BUS=0
+CONFIG_SF_DEFAULT_CS=0
+CONFIG_SF_DEFAULT_SPEED=16000000
+CONFIG_SF_DEFAULT_MODE=0
+
+# Support for running the dual-role controller in device-mode
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_USB0_ID_DET="PG4"
+CONFIG_USB0_VBUS_DET="PG8"
+CONFIG_USB0_VBUS_PIN="PH11"
+
+CONFIG_G_DNL_MANUFACTURER="Theobroma Systems"
+CONFIG_G_DNL_VENDOR_NUM=0x18D1
+CONFIG_G_DNL_PRODUCT_NUM=0x4EE0
+
+# Support for USB mass storage emulation ('ums' command)
+CONFIG_CMD_USB_MASS_STORAGE=y
+
+#
+# Fastboot support
+#
+CONFIG_FASTBOOT=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_CMD_FASTBOOT=y
+CONFIG_ANDROID_BOOT_IMAGE=y
+CONFIG_FASTBOOT_BUF_ADDR=0x42000000
+CONFIG_FASTBOOT_BUF_SIZE=0x8000000
+CONFIG_FASTBOOT_FLASH=y
+CONFIG_FASTBOOT_FLASH_MMC_DEV=1
+CONFIG_FASTBOOT_GPT_NAME="gpt"
+CONFIG_FASTBOOT_MBR_NAME="mbr"
-- 
1.9.1



More information about the U-Boot mailing list