|
@@ -534,7 +534,7 @@ static int as3645a_parse_node(struct as3645a *flash,
|
|
|
of_property_read_u32(flash->flash_node, "voltage-reference",
|
|
|
&cfg->voltage_reference);
|
|
|
|
|
|
- of_property_read_u32(flash->flash_node, "peak-current-limit",
|
|
|
+ of_property_read_u32(flash->flash_node, "ams,input-max-microamp",
|
|
|
&cfg->peak);
|
|
|
cfg->peak = AS_PEAK_mA_TO_REG(cfg->peak);
|
|
|
|