I want to define an i/o generically in the overlay file, so I did the following:
/{
rows{
compatible = "nordic,nrf-gpio";
gpio-controller;
reg = <0x842800 0x300>;
#gpio-cells = <2>;
port = <1>;
row0: row_0{
gpio-hog;
gpios = <4 GPIO_ACTIVE_HIGH>;
};
row1: row_1{
gpio-hog;
gpios = <5 GPIO_ACTIVE_HIGH>;
};
};
};
But I get the following squiggly line information: Nodes with reg properties must have a unit address
and build error: unit address and first address in 'reg' (0x842800) don't match for /rows
What is your guidance