overwrite gpio_fwd

Hi,

    I am writing a app.overwrite to remap my pins table.  I can use

/delete-node/
    The above is no problem.  Bu my pio is overlay with gpio1 pin 5.  The original dts file is
gpio_fwd: nrf-gpio-forwarder {
    compatible = "nordic,nrf-gpio-forwarder";
    s.   tatus = "okay";
        uart {
        gpios = <&gpio1 1 0>, <&gpio1 0 0>, <&gpio1 5 0>, <&gpio1 4 0>;
   };
};
    How can I delete gpio_fwd?  I use 
/delete-node/ &gpio_fwd 
     But it seems not work
Thanks
Lance
Parents
  • Hi Lance,

    Make sure that you are using the correct path / alias for the gpio_fwd node (make sure to check any aliases for the gpio_fwd). This should match the exact path defined in your DTS file. Also, the /delete-node/ should be followed by the node path in the device tree, i.e. make sure that the /delete-node/ is not nested within any other node so it's better to put it at the top of the dts file.

    -Priyanka

Reply
  • Hi Lance,

    Make sure that you are using the correct path / alias for the gpio_fwd node (make sure to check any aliases for the gpio_fwd). This should match the exact path defined in your DTS file. Also, the /delete-node/ should be followed by the node path in the device tree, i.e. make sure that the /delete-node/ is not nested within any other node so it's better to put it at the top of the dts file.

    -Priyanka

Children
No Data
Related