In nRF Connect SDK 2.1.0 the devices in the DTS file are missing the "label".
For example, in nRF Connect SDK 2.0.0:
gpio0: gpio@842500 {
compatible = "nordic,nrf-gpio";
gpio-controller;
reg = <0x842500 0x300>;
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
But in nRF Connect SDK 2.1.0:
gpio0: gpio@842500 {
compatible = "nordic,nrf-gpio";
gpio-controller;
reg = <0x842500 0x300>;
#gpio-cells = <2>;
status = "disabled";
port = <0>;
};
This breaks code that does dynamic lookup of the device using the function device_get_binding (in my case passing in a string that is constructed at run time).