]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Add alias for SPI node in the board dts
authorBin Meng <bmeng.cn@gmail.com>
Wed, 15 Apr 2015 04:00:11 +0000 (12:00 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:14 +0000 (22:35 +0200)
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>
arch/x86/dts/crownbay.dts
arch/x86/dts/galileo.dts
arch/x86/dts/minnowmax.dts

index e81054ebc53c091c6cfc66218c420de3f4bd76a2..fbdeade0474f0d7db5e211ba79c18f9e60a8790d 100644 (file)
        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";
index 66af64abdaa497b81b082c010f541120b5672061..60dbc5f8a30c657dcb112fb56faf22ed46e718cf 100644 (file)
        model = "Intel Galileo";
        compatible = "intel,galileo", "intel,quark";
 
+       aliases {
+               spi0 = "/spi";
+       };
+
        config {
                silent_console = <0>;
        };
index 8f34369753b797ad34da47173bfc7936a3070482..ecd4a892c0b60dfff95e939e30239cfbdecd1bbc 100644 (file)
@@ -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";