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

Configure Feed

Select the types of activity you want to include in your feed.

arm64: zynqmp: Add pinctrl emmc description to SM-K26

Production SOM has emmc on it and make sense to describe pin description to
be able use EMMC if it is not configured via psu_init.
(Still some regs are not handled but this is one step in that direction)

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/f61c16e2fd7c91c2be6d6b67c902037580dbd364.1683034376.git.michal.simek@amd.com

+20
+20
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
··· 14 14 #include <dt-bindings/input/input.h> 15 15 #include <dt-bindings/gpio/gpio.h> 16 16 #include <dt-bindings/phy/phy.h> 17 + #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 17 18 18 19 / { 19 20 model = "ZynqMP SM-K26 Rev1/B/A"; ··· 84 83 85 84 &uart1 { /* MIO36/MIO37 */ 86 85 status = "okay"; 86 + }; 87 + 88 + &pinctrl0 { 89 + status = "okay"; 90 + pinctrl_sdhci0_default: sdhci0-default { 91 + conf { 92 + groups = "sdio0_0_grp"; 93 + slew-rate = <SLEW_RATE_SLOW>; 94 + power-source = <IO_STANDARD_LVCMOS18>; 95 + bias-disable; 96 + }; 97 + 98 + mux { 99 + groups = "sdio0_0_grp"; 100 + function = "sdio0"; 101 + }; 102 + }; 87 103 }; 88 104 89 105 &qspi { /* MIO 0-5 - U143 */ ··· 200 182 201 183 &sdhci0 { /* MIO13-23 - 16GB emmc MTFC16GAPALBH-IT - U133A */ 202 184 status = "okay"; 185 + pinctrl-names = "default"; 186 + pinctrl-0 = <&pinctrl_sdhci0_default>; 203 187 non-removable; 204 188 disable-wp; 205 189 bus-width = <8>;