lantiq: ase: fix SPI support
authorMathias Kresin <dev@kresin.me>
Tue, 3 Oct 2017 19:44:40 +0000 (21:44 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Oct 2017 18:08:15 +0000 (20:08 +0200)
Do not disable SPI in the subtarget, otherwise the SPI driver can not
be used.

Disable SPI by default and enable it in the board specific device tree
source file.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/ase/config-default
target/linux/lantiq/dts/DGN1000B.dts
target/linux/lantiq/dts/amazonse.dtsi

index b53f6c5686844b35178929afe229f0cedce94b98..7b766656db3d3fe26055f666f3f37e16090d85c0 100644 (file)
@@ -16,7 +16,6 @@ CONFIG_MIPS_FPU_EMULATOR=y
 # CONFIG_RTL8366_SMI is not set
 CONFIG_SOC_AMAZON_SE=y
 # CONFIG_SOC_XWAY is not set
-# CONFIG_SPI is not set
 CONFIG_USB_SUPPORT=y
 # CONFIG_WIRELESS is not set
 # CONFIG_WLAN is not set
index 558658292e9d1858e2ea8a58e0a3727487958e54..1e409d2841d1bcea33b9762854addb1b08e7efa9 100644 (file)
@@ -60,6 +60,7 @@
                };
 
                spi@E100800 {
+                       status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = <&pins_spi_default>;
 
index e88fc161b73e0e9ce9f1e4b32f855edf630481a8..e6925a3adf5d57cb33605c663f2a10c977c5590f 100644 (file)
                                        "spi_frm";
                        #address-cells = <1>;
                        #size-cells = <1>;
+                       status = "disabled";
                };
 
                gptu@E100A00 {