From: Faiz Abbas <[email protected]>

commit 4a77a43537ba1aa31ac8792095e9e35253cabff7 from branch ti-linux-4.19.y:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git

The 2nd sdhci instance is connected to an SD card on am654-evm. Add
board specific properties and pinmux for the same.

Signed-off-by: Faiz Abbas <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Signed-off-by: Jun Miao <[email protected]>
---
 .../arm64/boot/dts/ti/k3-am654-base-board.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts 
b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index 8a85b482ad31..7572b131990a 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -114,6 +114,19 @@
                >;
        };
 
+       main_mmc1_pins_default: main_mmc1_pins_default {
+               pinctrl-single,pins = <
+                       AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) 
MMC1_CLK */
+                       AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) 
MMC1_CMD */
+                       AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) 
MMC1_DAT0 */
+                       AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) 
MMC1_DAT1 */
+                       AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) 
MMC1_DAT2 */
+                       AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) 
MMC1_DAT3 */
+                       AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) 
MMC1_SDCD */
+                       AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */
+               >;
+       };
+
        usb1_pins_default: usb1_pins_default {
                pinctrl-single,pins = <
                        AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) 
USB1_DRVVBUS */
@@ -224,6 +237,12 @@
        disable-wp;
 };
 
+&sdhci1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&main_mmc1_pins_default>;
+       ti,driver-strength-ohm = <50>;
+};
+
 &dwc3_1 {
        status = "okay";
 };
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8335): 
https://lists.yoctoproject.org/g/linux-yocto/message/8335
Mute This Topic: https://lists.yoctoproject.org/mt/69903822/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to