Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards

Hook up required IO voltage regulators and drop no-1-8-v to support UHS
modes on SD cards.

Fixes: 5fc6b1b62639 ("arm64: dts: ti: Introduce AM62A7 family of SoCs")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Judith Mendez <jm@ti.com>
Link: https://lore.kernel.org/r/20240423151732.3541894-4-jm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>

authored by

Vignesh Raghavendra and committed by
Nishanth Menon
8f023012 735ddec7

+21 -2
-2
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
··· 573 573 ti,itap-del-sel-sd-hs = <0x0>; 574 574 ti,itap-del-sel-sdr12 = <0x0>; 575 575 ti,itap-del-sel-sdr25 = <0x0>; 576 - no-1-8-v; 577 576 status = "disabled"; 578 577 }; 579 578 ··· 596 597 ti,itap-del-sel-sd-hs = <0x0>; 597 598 ti,itap-del-sel-sdr12 = <0x0>; 598 599 ti,itap-del-sel-sdr25 = <0x0>; 599 - no-1-8-v; 600 600 status = "disabled"; 601 601 }; 602 602
+21
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
··· 113 113 regulator-boot-on; 114 114 }; 115 115 116 + vddshv_sdio: regulator-5 { 117 + compatible = "regulator-gpio"; 118 + regulator-name = "vddshv_sdio"; 119 + pinctrl-names = "default"; 120 + pinctrl-0 = <&vddshv_sdio_pins_default>; 121 + regulator-min-microvolt = <1800000>; 122 + regulator-max-microvolt = <3300000>; 123 + regulator-boot-on; 124 + vin-supply = <&ldo1>; 125 + gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 126 + states = <1800000 0x0>, 127 + <3300000 0x1>; 128 + }; 129 + 116 130 leds { 117 131 compatible = "gpio-leds"; 118 132 pinctrl-names = "default"; ··· 354 340 main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 355 341 pinctrl-single,pins = < 356 342 AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ 343 + >; 344 + }; 345 + 346 + vddshv_sdio_pins_default: vddshv-sdio-default-pins { 347 + pinctrl-single,pins = < 348 + AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ 357 349 >; 358 350 }; 359 351 }; ··· 600 580 /* SD/MMC */ 601 581 status = "okay"; 602 582 vmmc-supply = <&vdd_mmc1>; 583 + vqmmc-supply = <&vddshv_sdio>; 603 584 pinctrl-names = "default"; 604 585 pinctrl-0 = <&main_mmc1_pins_default>; 605 586 disable-wp;