[PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays