meta-facebook: yosemite4: Initial commit for yosemite4n
Description:
Add yosemite4n layer under yosemite4.
Add common configurations for yosemite4 and yosemite4n.
Add json file set uboot baudrate to 57600.
Tested:
Build Success.
Change-Id: I7ff2ffa3e008be9d2f132ac6c3f058fa7b33f329
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
diff --git a/meta-facebook/recipes-kernel/linux/files/yosemite4-common.cfg b/meta-facebook/recipes-kernel/linux/files/yosemite4-common.cfg
new file mode 100644
index 0000000..d280c38
--- /dev/null
+++ b/meta-facebook/recipes-kernel/linux/files/yosemite4-common.cfg
@@ -0,0 +1,55 @@
+# TPM drivers
+CONFIG_TCG_TPM=y
+CONFIG_TCG_TIS_CORE=y
+CONFIG_TCG_TIS=y
+CONFIG_TCG_TIS_SPI=m
+# I2C drivers
+CONFIG_I2C=y
+CONFIG_I2C_SLAVE=y
+# Jtag driver
+CONFIG_JTAG=y
+CONFIG_HAS_IOMEM=y
+# device driver
+CONFIG_SENSORS_LM75=y
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_ADM1275=y
+CONFIG_I2C_MUX_PCA954x=y
+CONFIG_SENSORS_TMP421=y
+CONFIG_MAX1363=y
+CONFIG_SENSORS_INA238=y
+CONFIG_SENSORS_ADC128D818=y
+CONFIG_SENSORS_MAX31790=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
+CONFIG_LEDS_PCA955X=y
+CONFIG_LEDS_PCA955X_GPIO=y
+CONFIG_SENSORS_INA233=y
+CONFIG_SENSORS_MP5023=y
+CONFIG_SENSORS_EMC1403=y
+CONFIG_SENSORS_NCT7363=y
+# UHCI/EHCI driver
+CONFIG_USB_UHCI_HCD=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_F_HID=y
+# RTC driver
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_NCT3018Y=y
+# NCSI
+CONFIG_NCSI_OEM_CMD_GET_MAC=y
+# UART enable threads
+CONFIG_SERIAL_8250_NR_UARTS=9
+CONFIG_SERIAL_8250_RUNTIME_UARTS=9
+# USB SERIAL
+CONFIG_USB_SERIAL=y
+CONFIG_USB_SERIAL_CONSOLE=y
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_SERIAL_FTDI_SIO=m
+# I3C drivers
+CONFIG_I3C=y
+CONFIG_MCTP_TRANSPORT_I3C=y
+CONFIG_I3C_HUB=y
+CONFIG_REGMAP_I3C=y
+# For OCP debug card
+CONFIG_IPMB_DEVICE_INTERFACE=y
+# For regulator
+CONFIG_REGULATOR=y