]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx: Make DRAM coding GPIOs available before relocation on Data Modul i...
authorMarek Vasut <marex@denx.de>
Fri, 29 Nov 2024 00:13:53 +0000 (01:13 +0100)
committerFabio Estevam <festevam@gmail.com>
Fri, 29 Nov 2024 12:19:00 +0000 (09:19 -0300)
The DRAM configuration GPIO straps must be accessible in SPL and before
relocation because the GPIOs are sampled both in U-Boot SPL as well as early
on in U-Boot proper. The already present bootph-pre-ram DT property made the
GPIO controllers available in SPL, but not early on in U-Boot proper, which
made gpio_request_list_by_name_nodev() in board dmo_get_memcfg() fail. Add
missing bootph-some-ram DT property to all GPIO controllers which are
referenced in dmo,ram-coding-gpios DT property to make those GPIO
controllers available early in U-Boot proper as well.

Fixes: 8c103c33fb14 ("dm: dts: Convert driver model tags to use new schema")
Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi
arch/arm/dts/imx8mp-data-modul-edm-sbc-u-boot.dtsi

index a235e088fa4baf1deff50d7f70d7dca00508d203..fb6951026d960aefd45b97318ddc074a76361f93 100644 (file)
@@ -77,6 +77,7 @@
 
 &gpio2 {
        bootph-pre-ram;
+       bootph-some-ram;
 
        dsi-reset-hog {
                bootph-pre-ram;
index 805b5f57955fdd3362eed830584925278b5e54eb..1e82e718b8fd91ae794832a0ad1f40d3ccf99184 100644 (file)
@@ -64,6 +64,7 @@
 
 &gpio3 {
        bootph-pre-ram;
+       bootph-some-ram;
 
        bl-enable-hog {
                bootph-pre-ram;
@@ -92,6 +93,7 @@
 
 &gpio4 {
        bootph-pre-ram;
+       bootph-some-ram;
 
        dsi-reset-hog {
                bootph-pre-ram;