This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Device tree syntax error



ecspi1: ecspi@02008000 {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
                                        compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
                                        reg = <0x02008000 0x4000>;
                                        interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
                                        clocks = <&clks IMX6UL_CLK_ECSPI1>,
                                                 <&clks IMX6UL_CLK_ECSPI1>;
                                        clock-names = "ipg", "per";
                                        dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
                                        dma-names = "rx", "tx";
                                        status = "disabled";
                                };


pinctrl_ecspi1: ecspi1grp {
                       fsl,pins = <
                                  MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI       0x100b1
                                  MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK       0x100b1
                                  MX6UL_PAD_LCD_DATA23__ECSPI1_MISO       0x100b1
                                  MX6UL_PAD_UART1_RTS_B__GPIO1_IO19       0x80000000 /* PN5180 nRST */
                       >;
               };


&ecspi1 {
        fsl,spi-num-chipselects = <1>;
        /* cs-gpios = <&gpio3 26 0>; */
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi1>;
        status = "okay";
};

i am getting error as

Error: arch/arm/boot/dts/imx6ull-iwg26.dts:91.17-26 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/imx6ull-iwg26.dtb] Error 1
make: *** [dtbs] Error 2

how to resolve it