Browse Source

lantiq: ase: fix SPI support

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 <[email protected]>
Mathias Kresin 8 years ago
parent
commit
695645b9ac

+ 0 - 1
target/linux/lantiq/ase/config-default

@@ -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

+ 1 - 0
target/linux/lantiq/dts/DGN1000B.dts

@@ -60,6 +60,7 @@
 		};
 
 		spi@E100800 {
+			status = "okay";
 			pinctrl-names = "default";
 			pinctrl-0 = <&pins_spi_default>;
 

+ 1 - 0
target/linux/lantiq/dts/amazonse.dtsi

@@ -104,6 +104,7 @@
 					"spi_frm";
 			#address-cells = <1>;
 			#size-cells = <1>;
+			status = "disabled";
 		};
 
 		gptu@E100A00 {