summaryrefslogtreecommitdiff
path: root/arch/mips/dts
diff options
context:
space:
mode:
authorLars Povlsen <lars.povlsen@microchip.com>2019-01-08 12:38:34 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-01-16 15:56:43 +0300
commit6492c9168a9e90c8d07453b87dae9ceb4ec53ad0 (patch)
treec27753b82e54df2946a145fd1e2c161dd36977c4 /arch/mips/dts
parentfd6e0b05252dd20579129d420442ef017287e89d (diff)
downloadu-boot-6492c9168a9e90c8d07453b87dae9ceb4ec53ad0.tar.xz
mips: mscc: DT: Update luton device tree to use fast SPI driver
Thes patch change the luton base device tree to use the newly added SPI bitbang driver. It also updates the "mscc_luton_defconfig" to use the new driver. Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/dts')
-rw-r--r--arch/mips/dts/mscc,luton.dtsi15
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/mips/dts/mscc,luton.dtsi b/arch/mips/dts/mscc,luton.dtsi
index 87e27c6de5..d11ec4884d 100644
--- a/arch/mips/dts/mscc,luton.dtsi
+++ b/arch/mips/dts/mscc,luton.dtsi
@@ -84,21 +84,10 @@
gpio-ranges = <&sgpio 0 0 64>;
};
- gpio_spi_bitbang: gpio@10000064 {
- compatible = "mscc,spi-bitbang-gpio";
- reg = <0x10000064 0x4>;
- gpio-controller;
- #gpio-cells = <2>;
-
- };
-
spi0: spi-bitbang {
- compatible = "spi-gpio";
+ compatible = "mscc,luton-bb-spi";
status = "okay";
- gpio-sck = <&gpio_spi_bitbang 6 0>;
- gpio-miso = <&gpio_spi_bitbang 0 0>;
- gpio-mosi = <&gpio_spi_bitbang 5 0>;
- cs-gpios = <&gpio_spi_bitbang 1 0>;
+ reg = <0x10000064 0x4>;
num-chipselects = <1>;
#address-cells = <1>;
#size-cells = <0>;