AnsweredAssumed Answered

device tree syntax error

Question asked by k ms on Oct 22, 2018
Latest reply on Oct 25, 2018 by igorpadykov

I use the imx6q Sabreauto board.

- yocto

- kernel version : 4.9.11-r0

 

arch/arm/boot/dts/imx6q-pinfunc.h  is defined as follows.

#define MX6QDL_PAD_EIM_A16__EIM_ADDR16              0x0f4 0x408 0x000 0x0 0x0
#define MX6QDL_PAD_EIM_A16__IPU1_DI1_DISP_CLK       0x0f4 0x408 0x000 0x1 0x0
#define MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK        0x0f4 0x408 0x8e0 0x2 0x1
#define MX6QDL_PAD_EIM_A16__GPIO2_IO22              0x0f4 0x408 0x000 0x5 0x0
#define MX6QDL_PAD_EIM_A16__SRC_BOOT_CFG16          0x0f4 0x408 0x000 0x7 0x0

 

but....failed...

arch/arm/boot/dts/imx6qdl-sabreauto.dtsi    (file...input code)

pinctrl_ipu2_1: ipu2grp-1 {
            fsl,pins = <
                MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK 0xb0b1
                MX6QDL_PAD_EIM_A17__IPU2_CSI1_DATA12 0xb0b1
                MX6QDL_PAD_EIM_A18__IPU2_CSI1_DATA13 0xb0b1
                MX6QDL_PAD_EIM_A19__IPU2_CSI1_DATA14 0xb0b1
                MX6QDL_PAD_EIM_A20__IPU2_CSI1_DATA15 0xb0b1
                MX6QDL_PAD_EIM_A21__IPU2_CSI1_DATA16 0xb0b1
                MX6QDL_PAD_EIM_A22__IPU2_CSI1_DATA17 0xb0b1
                MX6QDL_PAD_EIM_A23__IPU2_CSI1_DATA18 0xb0b1
                MX6QDL_PAD_EIM_A24__IPU2_CSI1_DATA19 0xb0b1

                MX6QDL_PAD_EIM_DA10__IPU2_CSI1_DATA_EN  0xb0b1
                MX6QDL_PAD_EIM_DA11__IPU2_CSI1_HSYNC    0xb0b1
                MX6QDL_PAD_EIM_DA12__IPU2_CSI1_VSYNC    0xb0b1
            >;
        };

 

rror: arch/arm/boot/dts/imx6qdl-sabreauto.dtsi:1169.5-6 syntax error
FATAL ERROR: Unable to parse input tree

 

Please let me know where to add and modify.

 

regards!!

 

빠른 답변 원합니다. ㅋ

 

 

.............................. 여기 코드는 에러가 안나는데.....

pinctrl_ipu1_1: ipu1grp-1 { /* parallel port 16-bit */
            fsl,pins = <

                MX6QDL_PAD_CSI0_DAT4__IPU1_CSI0_DATA04   0xb0b1
                MX6QDL_PAD_CSI0_DAT5__IPU1_CSI0_DATA05   0xb0b1
                MX6QDL_PAD_CSI0_DAT6__IPU1_CSI0_DATA06   0xb0b1
                MX6QDL_PAD_CSI0_DAT7__IPU1_CSI0_DATA07   0xb0b1
                MX6QDL_PAD_CSI0_DAT8__IPU1_CSI0_DATA08   0xb0b1
                MX6QDL_PAD_CSI0_DAT9__IPU1_CSI0_DATA09   0xb0b1
                MX6QDL_PAD_CSI0_DAT10__IPU1_CSI0_DATA10  0xb0b1
                MX6QDL_PAD_CSI0_DAT11__IPU1_CSI0_DATA11  0xb0b1
                MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12  0xb0b1
                MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13  0xb0b1
                MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14  0xb0b1
                MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15  0xb0b1
                MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16  0xb0b1
                MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17  0xb0b1
                MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18  0xb0b1
                MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19  0xb0b1
                MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0xb0b1
                //MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC    0x80000000
                //MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC   0x80000000
            >;
        };

 

ps. There is no error in this code.

Outcomes