aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-10-03 21:44:40 +0200
committerMathias Kresin <dev@kresin.me>2017-10-04 20:08:15 +0200
commit695645b9ac1c0bcb90b20c49e463be84927a4967 (patch)
tree45118674930334e0ed47a3a95bd0e06ed0034b86 /target/linux
parent66a0f3a39709839c1e46141f5e431974e4bd4cdf (diff)
downloadupstream-695645b9ac1c0bcb90b20c49e463be84927a4967.tar.gz
upstream-695645b9ac1c0bcb90b20c49e463be84927a4967.tar.bz2
upstream-695645b9ac1c0bcb90b20c49e463be84927a4967.zip
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 <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/ase/config-default1
-rw-r--r--target/linux/lantiq/dts/DGN1000B.dts1
-rw-r--r--target/linux/lantiq/dts/amazonse.dtsi1
3 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/lantiq/ase/config-default b/target/linux/lantiq/ase/config-default
index b53f6c5686..7b766656db 100644
--- a/target/linux/lantiq/ase/config-default
+++ b/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
diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts
index 558658292e..1e409d2841 100644
--- a/target/linux/lantiq/dts/DGN1000B.dts
+++ b/target/linux/lantiq/dts/DGN1000B.dts
@@ -60,6 +60,7 @@
};
spi@E100800 {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pins_spi_default>;
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index e88fc161b7..e6925a3adf 100644
--- a/target/linux/lantiq/dts/amazonse.dtsi
+++ b/target/linux/lantiq/dts/amazonse.dtsi
@@ -104,6 +104,7 @@
"spi_frm";
#address-cells = <1>;
#size-cells = <1>;
+ status = "disabled";
};
gptu@E100A00 {