@@ -136,10 +136,8 @@ J721S2_IOPAD(0x0e4, PIN_INPUT, 0) /* (AE24) I2C0_SDA */
>;
};
- main_mmc1_pins_default: main-mmc1-pins-default {
+ main_mmc1_pins0_default: main-mmc1-pins0-default {
pinctrl-single,pins = <
- J721S2_IOPAD(0x104, PIN_INPUT, 0) /* (P23) MMC1_CLK */
- J721S2_IOPAD(0x108, PIN_INPUT, 0) /* (N24) MMC1_CMD */
J721S2_IOPAD(0x0fc, PIN_INPUT, 0) /* (M23) MMC1_DAT0 */
J721S2_IOPAD(0x0f8, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
J721S2_IOPAD(0x0f4, PIN_INPUT, 0) /* (R24) MMC1_DAT2 */
@@ -175,6 +173,15 @@ J721S2_IOPAD(0x09c, PIN_INPUT, 0) /* (T24) MCASP0_AXR11.MCAN7_TX */
};
};
+&main_pmx1 {
+ main_mmc1_pins1_default: main-mmc1-pins1-default {
+ pinctrl-single,pins = <
+ J721S2_IOPAD(0x000, PIN_INPUT, 0) /* (P23) MMC1_CLK */
+ J721S2_IOPAD(0x004, PIN_INPUT, 0) /* (N24) MMC1_CMD */
+ >;
+ };
+};
+
&wkup_pmx0 {
mcu_cpsw_pins_default: mcu-cpsw-pins-default {
pinctrl-single,pins = <
@@ -278,7 +285,7 @@ &main_sdhci0 {
&main_sdhci1 {
/* SD card */
- pinctrl-0 = <&main_mmc1_pins_default>;
+ pinctrl-0 = <&main_mmc1_pins0_default &main_mmc1_pins1_default>;
pinctrl-names = "default";
disable-wp;
vmmc-supply = <&vdd_mmc1>;
@@ -126,11 +126,8 @@ J721S2_IOPAD(0x060, PIN_INPUT_PULLUP, 13) /* (AC27) MCASP2_AXR1.I2C3_SDA */
>;
};
- main_mmc1_pins_default: main-mmc1-pins-default {
+ main_mmc1_pins0_default: main-mmc1-pins0-default {
pinctrl-single,pins = <
- J721S2_IOPAD(0x104, PIN_INPUT, 0) /* (P23) MMC1_CLK */
- J721S2_IOPAD(0x108, PIN_INPUT, 0) /* (N24) MMC1_CMD */
- J721S2_IOPAD(0x100, PIN_INPUT, 0) /* (###) MMC1_CLKLB */
J721S2_IOPAD(0x0fc, PIN_INPUT, 0) /* (M23) MMC1_DAT0 */
J721S2_IOPAD(0x0f8, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
J721S2_IOPAD(0x0f4, PIN_INPUT, 0) /* (R24) MMC1_DAT2 */
@@ -146,6 +143,15 @@ J721S2_IOPAD(0x020, PIN_INPUT, 7) /* (AA23) MCAN15_RX.GPIO0_8 */
};
};
+&main_pmx1 {
+ main_mmc1_pins1_default: main-mmc1-pins1-default {
+ pinctrl-single,pins = <
+ J721S2_IOPAD(0x000, PIN_INPUT, 0) /* (P23) MMC1_CLK */
+ J721S2_IOPAD(0x004, PIN_INPUT, 0) /* (N24) MMC1_CMD */
+ >;
+ };
+};
+
&wkup_pmx0 {
mcu_cpsw_pins_default: mcu-cpsw-pins-default {
pinctrl-single,pins = <
@@ -296,7 +302,7 @@ &main_sdhci0 {
&main_sdhci1 {
/* SD card */
- pinctrl-0 = <&main_mmc1_pins_default>;
+ pinctrl-0 = <&main_mmc1_pins0_default &main_mmc1_pins1_default>;
pinctrl-names = "default";
disable-wp;
vmmc-supply = <&vdd_mmc1>;
@@ -66,7 +66,16 @@ main_gpio_intr: interrupt-controller@a00000 {
main_pmx0: pinctrl@11c000 {
compatible = "pinctrl-single";
/* Proxy 0 addressing */
- reg = <0x0 0x11c000 0x0 0x120>;
+ reg = <0x0 0x11c000 0x0 0x100>;
+ #pinctrl-cells = <1>;
+ pinctrl-single,register-width = <32>;
+ pinctrl-single,function-mask = <0xffffffff>;
+ };
+
+ main_pmx1: pinctrl@11c104 {
+ compatible = "pinctrl-single";
+ /* Proxy 0 addressing */
+ reg = <0x0 0x11c104 0x0 0x1C>;
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;