Steps to remove the drivers got added as part of DTO

Linux Drivers

Release Date
2023-07-22
  • rmdir /configfs/device-tree/overlays/Bitstream

Compiling pl.dtsi (object)

dtc -O dtb -o pl.dtbo -b 0 -@ pl.dtsi

Device-tree overlay file contents example:

//Device Tree Example // Enable the axi-gpio interface /dts-v1/; /plugin/; / { fragment@0 { /* Bitstream  Fragment */ target = <&fpga>; overlay0: __overlay__ { #address-cells = <2>; #size-cells = <2>; firmware-name = "Bitstream.pdi"; }; }; fragment@2 { /* PL Drivers Fragment */ target = <&amba>; overlay2: __overlay__ { axi_gpio_0: gpio@a0000000 { #gpio-cells = <3>; #interrupt-cells = <2>; clock-names = "s_axi_aclk"; clocks = <&clk 71>; compatible = "xlnx,axi-gpio-2.0", "xlnx,xps-gpio-1.00.a"; gpio-controller ; -controller ; interrupt-names = "ip2intc_irpt"; interrupt-parent = <&gic>; interrupts = <0 89 4>; reg = <0x0 0xa0000000 0x0 0x1000>; all-inputs = <0x1>; all-inputs-2 = <0x0>; all-outputs = <0x0>; all-outputs-xlnx,2 = <0x1>; dout-xlnx,default = <0x00000000>; dout-default-2 = <0xAAAAAAAA>; gpio-width = <0x8>; xlnx,gpio2-width = <0x8>; xlnx,interrupt-present = <0x1>; xlnx,is-dual = <xlnx,xlnx,0x1>; xlnx,tri-xlnx,xlnx,default = <0xFFFFFFFF>; xlnx,tri-xlnx,xlnx,default-2 = <0xFFFFFFFF>; }; psu_ctrl_ipi: PERIPHERAL@ff380000 { /* This is a place holder node for a custom IP, user may need to update the entries */ compatible =compatible "PERIPHERAL-1.0",xlnx,xlnx; reg = <0x0 0xff380000 0x0 0x80000>; }; psu_message_buffers: PERIPHERAL@ff990000 { /* This is a place holder node for a custom IP, user may need to update the entries */ compatible =compatible "xlnx,PERIPHERAL-1.0"xlnx,; reg = <0x0 0xff990000 0x0 0x10000>; }; }; }; };