mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
x86: Add alias for SPI node in the board dts
Since Intel ICH SPI driver has been converted to driver model, we need add an alias for SPI node in the board dts files otherwise SPI flash won't be detected due to 'invalid bus' error. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
19268834fb
commit
0a9bb489bf
3 changed files with 11 additions and 2 deletions
|
|
@ -13,6 +13,10 @@
|
|||
model = "Intel Crown Bay";
|
||||
compatible = "intel,crownbay", "intel,queensbay";
|
||||
|
||||
aliases {
|
||||
spi0 = "/spi";
|
||||
};
|
||||
|
||||
config {
|
||||
silent_console = <0>;
|
||||
};
|
||||
|
|
@ -46,7 +50,7 @@
|
|||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "intel,ich7";
|
||||
compatible = "intel,ich-spi";
|
||||
spi-flash@0 {
|
||||
reg = <0>;
|
||||
compatible = "sst,25vf016b", "spi-flash";
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@
|
|||
model = "Intel Galileo";
|
||||
compatible = "intel,galileo", "intel,quark";
|
||||
|
||||
aliases {
|
||||
spi0 = "/spi";
|
||||
};
|
||||
|
||||
config {
|
||||
silent_console = <0>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
aliases {
|
||||
serial0 = &serial;
|
||||
spi0 = "/spi";
|
||||
};
|
||||
|
||||
config {
|
||||
|
|
@ -28,7 +29,7 @@
|
|||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "intel,ich";
|
||||
compatible = "intel,ich-spi";
|
||||
spi-flash@0 {
|
||||
reg = <0>;
|
||||
compatible = "sst,25vf016b", "spi-flash";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue