Adding driver bindings to the device tree in Beaglebone.Which dts to chose?am335x-boneblack?


This is how my test driver bindings looks like :

md-test {

label = “my-test-driver”;

compatible = “md,md-test”;

pin-data1 = <&gpios 44 0>;

pin-data2 = <&gpios 17 0>;


Added it to the end of the attached platform .dts file. But make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-boneblack.dtb gives the below error :

DTC arch/arm/boot/dts/am335x-boneblack.dtb

Error: arch/arm/boot/dts/am335x-boneblack.dts:96.1-8 syntax error FATAL ERROR: Unable to parse input tree

make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1

make: *** [am335x-boneblack.dtb] Error 2

What wrong am I doing? If I compile any other un-modified dts file I do not get any error.

Thanks in advance !



am335x-boneblack.dts (3.17 KB)