]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: freescale: imx93-phycore-som: Add eMMC no-1-8-v by default
authorPrimoz Fiser <primoz.fiser@norik.com>
Tue, 22 Apr 2025 10:56:34 +0000 (12:56 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 9 May 2025 10:10:05 +0000 (18:10 +0800)
commit9ed135ca48391848766f61a37580737dcd86524f
tree83e33675bc4041724408f3dd5c9f39d674cdb7b5
parent54be09bdb1e7b6291eb9b99c5b60fc5026576bd1
arm64: dts: freescale: imx93-phycore-som: Add eMMC no-1-8-v by default

The phyCORE-i.MX93 SoM comes in two variants, one with VDD_IO set to
3.3V and the other variant to 1.8V. The 3.3V variant can only support
DDR52 mode, while 1.8V variant is capable of HS400ES eMMC mode. The
information about VDD_IO option is encoded in the SoM's EEPROM. EEPROM
is read in the bootloader and bootloader clears the "no-1-8-v" flag in
case of 1.8V SoM variant is detected. Thus add property 'no-1-8-v' by
default to usdhc1 (eMMC) node and let bootloader handle the flag. In
case EEPROM is erased or read-out fails, flag "no-1-8-v" also ensures
fall-back compatibility with both SoM variants.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi