Home
last modified time | relevance | path

Searched full:amcr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/memory/
H A Dstm32_omm.c50 unsigned int i, amcr, read_amcr; in stm32_omm_set_amcr() local
100 syscfg_regmap = syscon_regmap_lookup_by_phandle_args(dev->of_node, "st,syscfg-amcr", in stm32_omm_set_amcr()
104 "Failed to get st,syscfg-amcr property\n"); in stm32_omm_set_amcr()
106 amcr = mm_ospi2_size / SZ_64M; in stm32_omm_set_amcr()
109 regmap_update_bits(syscfg_regmap, syscon_args[0], syscon_args[1], amcr); in stm32_omm_set_amcr()
111 /* read AMCR and check coherency with memory-map areas defined in DT */ in stm32_omm_set_amcr()
115 if (amcr != read_amcr) { in stm32_omm_set_amcr()
116 dev_err(dev, "AMCR value not coherent with DT memory-map areas\n"); in stm32_omm_set_amcr()
361 * AMCR can't be set, so check if current value is coherent in stm32_omm_probe()
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dst,stm32mp25-omm.yaml88 st,syscfg-amcr:
91 The Address Mapping Control Register (AMCR) is used to split the 256MB
93 Manager sets the AMCR depending of the memory-region configuration.
151 - st,syscfg-amcr
188 st,syscfg-amcr = <&syscfg 0x2c00 0x7>;