I am using Petalinux 2019.2 with a Picozed.
I want to add a CAN device node.
I follow UG1144 for adding a block to the device tree to describe the CAN PS device, but when I rebuild, the build fails, complaining about a syntax error in my can-conf.dtsi file (which is where I put the CAN device block).
Here is my block:
&zynq_can_0: can@e0008000 {
compatible = "xlnx,zynq-can-1.0";
clocks = <&clkc 19>, <&clkc 36>;
clock-names = "can_clk", "pclk";
reg = <0xe0008000 0x1000>;
interrupts = <0 28 4>;
interrupt-parent = <&intc>;
tx-fifo-depth = <0x40>;
rx-fifo-depth = <0x40>;
};
The error message indicates the syntax error is on the first line, but I don't see what's wrong.
I wonder if anybody has had success with this, or can spot what I may be doing wrong.
Thanks