xsxled:{
compatible = "xsx,userled";
#address-cells = <1>;
#size-cells = <1>;
reg = <0X01C208D8 0X04 0X01C208E8 0X04 >;
status = "okay";
};
编译报错无法解析设备树
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8
DTC arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dtb
Error: arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts:134.8-9 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dtb] Error 1
make[1]: *** [dtbs] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2
大佬指点下新手,感谢
离线
节点的label可以省略,但节点名字必须得有。
你的错误在于xsxled:冒号后面应该带个名字,比如xsxled@0
修正后:
xsxled: xsxled@0 {
离线