mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
arm: dts: k3-j721e-common-proc-board: Add pinmux for SD card
Add pinmux for sdhci1 node connected to the SD card. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
2e6e3a4e8c
commit
ccc855e9d9
@ -325,3 +325,7 @@
|
|||||||
reg-names = "gmii-sel";
|
reg-names = "gmii-sel";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&main_mmc1_pins_default {
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
@ -65,6 +65,22 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&main_pmx0 {
|
||||||
|
main_mmc1_pins_default: main_mmc1_pins_default {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
|
||||||
|
J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
|
||||||
|
J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
|
||||||
|
J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
|
||||||
|
J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
|
||||||
|
J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
|
||||||
|
J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
|
||||||
|
J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
|
||||||
|
J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&main_sdhci0 {
|
&main_sdhci0 {
|
||||||
/* eMMC */
|
/* eMMC */
|
||||||
non-removable;
|
non-removable;
|
||||||
@ -72,7 +88,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&main_sdhci1 {
|
&main_sdhci1 {
|
||||||
/* SD/MMC */
|
/* SD card */
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&main_mmc1_pins_default>;
|
||||||
ti,driver-strength-ohm = <50>;
|
ti,driver-strength-ohm = <50>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -119,6 +119,20 @@
|
|||||||
J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
|
J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
main_mmc1_pins_default: main_mmc1_pins_default {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
|
||||||
|
J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
|
||||||
|
J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
|
||||||
|
J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
|
||||||
|
J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
|
||||||
|
J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
|
||||||
|
J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
|
||||||
|
J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
|
||||||
|
J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&wkup_uart0 {
|
&wkup_uart0 {
|
||||||
@ -156,6 +170,8 @@
|
|||||||
/delete-property/ power-domains;
|
/delete-property/ power-domains;
|
||||||
/delete-property/ assigned-clocks;
|
/delete-property/ assigned-clocks;
|
||||||
/delete-property/ assigned-clock-parents;
|
/delete-property/ assigned-clock-parents;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&main_mmc1_pins_default>;
|
||||||
clock-names = "clk_xin";
|
clock-names = "clk_xin";
|
||||||
clocks = <&clk_200mhz>;
|
clocks = <&clk_200mhz>;
|
||||||
ti,driver-strength-ohm = <50>;
|
ti,driver-strength-ohm = <50>;
|
||||||
|
Loading…
Reference in New Issue
Block a user