Thes patch change the luton base device tree to use the newly added
SPI bitbang driver.

Signed-off-by: Lars Povlsen <lars.povl...@microchip.com>
---
 arch/mips/dts/mscc,luton.dtsi | 15 ++-------------
 1 file 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>;
-- 
2.19.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to