"You can specify the base physical address, sizes, and offset in octal (0777), hexadecimal (0x1ff), or decimal (511). The sizes must be a power of two, and you can specify them with any of the following suffixes: "
It’s not exactly the same question as yours but it does provide some more info on using devf-ram. You might want to simplify your arguments to devf-ram (remove the -i stuff) until you get the address/size part right.