ARM: dts: imx6ul-tx6ul: cleanup SPI configuration
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 4 Dec 2015 12:43:10 +0000 (13:43 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 4 Dec 2015 12:43:10 +0000 (13:43 +0100)
arch/arm/boot/dts/imx6ul-tx6ul.dtsi

index c0c8b1e..df4031f 100644 (file)
@@ -56,8 +56,8 @@
                pwm0 = &pwm5;
                reg_can_xcvr = &reg_can_xcvr;
                serial2 = &uart5;
-//             spi0 = &ecspi2;
-               spi0 = &spi_gpio;
+               spi0 = &ecspi2;
+               spi1 = &spi_gpio;
                stk5led = &user_led;
                usbh1 = &usbotg2;
                usbotg = &usbotg1;
                        &gpio1 29 GPIO_ACTIVE_HIGH
                        &gpio1 10 GPIO_ACTIVE_HIGH
                >;
-               status = "okay";
+               status = "disabled";
 
-               spidev0: spi@0 {
+               spi@0 {
                        compatible = "spidev";
                        reg = <0>;
                        spi-max-frequency = <54000000>;
                };
 
-               spidev1: spi@1 {
+               spi@1 {
                        compatible = "spidev";
                        reg = <1>;
                        spi-max-frequency = <54000000>;
        status = "okay";
 };
 
-#if 0
 &ecspi2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi2>;
        >;
        status = "okay";
 
-       spidev0: spi@0 {
+       spi@0 {
                compatible = "spidev";
                reg = <0>;
                spi-max-frequency = <54000000>;
        };
 
-       spidev1: spi@1 {
+       spi@1 {
                compatible = "spidev";
                reg = <1>;
                spi-max-frequency = <54000000>;
        };
 };
-#endif
 
 &fec1 {
        pinctrl-names = "default";