x86: conga-qeval20-qa3: Add SMBus support and SMSC2513 config code

This patch includes the following changes:

- Remove Designware I2C support from dts as its not used
- Configure SMBus PADs in dts
- Enable I2C commands and I2C support
- Configure SMSC2513 USB hub via SMBus upon startup
- Move environment location to match Minnowmax example
- Enhancement of the default environment

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Stefan Roese
2016-06-28 15:45:13 +02:00
committed by Bin Meng
parent ca6c5e03f1
commit 303dfc2e5e
5 changed files with 64 additions and 12 deletions

View File

@@ -46,6 +46,17 @@
pad-offset = <0x3a0>;
mode-func = <1>;
};
/* Add SMBus PAD configuration */
smbus_clk@0 {
pad-offset = <0x580>;
mode-func = <1>;
};
smbus_data@0 {
pad-offset = <0x5a0>;
mode-func = <1>;
};
};
chosen {
@@ -244,13 +255,6 @@
fsp,lpss-sio-enable-pci-mode;
fsp,enable-dma0;
fsp,enable-dma1;
fsp,enable-i2c0;
fsp,enable-i2c1;
fsp,enable-i2c2;
fsp,enable-i2c3;
fsp,enable-i2c4;
fsp,enable-i2c5;
fsp,enable-i2c6;
fsp,enable-pwm0;
fsp,enable-pwm1;
fsp,igd-dvmt50-pre-alloc = <2>;