Commit 7fee2022 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Linus Walleij

ARM: dts: ux500: Rename generic pin configs according to pin group

Some components (e.g. SDI, I2C) can be used with different pin assignments.
Before we can add the alternative configurations, we need to rename the
current configurations to more generic names.

Each pin configuration usually configures one specific pin group.
Therefore we rename the configurations to use the pin group as name.
Make up for the slightly longer names by removing the "_mode" suffix.

Rename all existing uses to use the new labels.
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20191125122256.53482-2-stephan@gerhold.netSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0f8e7414
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
&pinctrl { &pinctrl {
/* Settings for all UART default and sleep states */ /* Settings for all UART default and sleep states */
uart0 { uart0 {
uart0_default_mode: uart0_default { u0_a_1_default: u0_a_1_default {
default_mux { default_mux {
function = "u0"; function = "u0";
groups = "u0_a_1"; groups = "u0_a_1";
...@@ -23,7 +23,7 @@ default_cfg2 { ...@@ -23,7 +23,7 @@ default_cfg2 {
}; };
}; };
uart0_sleep_mode: uart0_sleep { u0_a_1_sleep: u0_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -40,7 +40,7 @@ sleep_cfg3 { ...@@ -40,7 +40,7 @@ sleep_cfg3 {
}; };
uart1 { uart1 {
uart1_default_mode: uart1_default { u1rxtx_a_1_default: u1rxtx_a_1_default {
default_mux { default_mux {
function = "u1"; function = "u1";
groups = "u1rxtx_a_1"; groups = "u1rxtx_a_1";
...@@ -55,7 +55,7 @@ default_cfg2 { ...@@ -55,7 +55,7 @@ default_cfg2 {
}; };
}; };
uart1_sleep_mode: uart1_sleep { u1rxtx_a_1_sleep: u1rxtx_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO4_AH6"; /* RXD */ pins = "GPIO4_AH6"; /* RXD */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -68,7 +68,7 @@ sleep_cfg2 { ...@@ -68,7 +68,7 @@ sleep_cfg2 {
}; };
uart2 { uart2 {
uart2_default_mode: uart2_default { u2rxtx_c_1_default: u2rxtx_c_1_default {
default_mux { default_mux {
function = "u2"; function = "u2";
groups = "u2rxtx_c_1"; groups = "u2rxtx_c_1";
...@@ -83,7 +83,7 @@ default_cfg2 { ...@@ -83,7 +83,7 @@ default_cfg2 {
}; };
}; };
uart2_sleep_mode: uart2_sleep { u2rxtx_c_1_sleep: u2rxtx_c_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO29_W2"; /* RXD */ pins = "GPIO29_W2"; /* RXD */
ste,config = <&in_wkup_pdis>; ste,config = <&in_wkup_pdis>;
...@@ -97,7 +97,7 @@ sleep_cfg2 { ...@@ -97,7 +97,7 @@ sleep_cfg2 {
/* Settings for all I2C default and sleep states */ /* Settings for all I2C default and sleep states */
i2c0 { i2c0 {
i2c0_default_mode: i2c_default { i2c0_a_1_default: i2c0_a_1_default {
default_mux { default_mux {
function = "i2c0"; function = "i2c0";
groups = "i2c0_a_1"; groups = "i2c0_a_1";
...@@ -108,7 +108,7 @@ default_cfg1 { ...@@ -108,7 +108,7 @@ default_cfg1 {
}; };
}; };
i2c0_sleep_mode: i2c_sleep { i2c0_a_1_sleep: i2c0_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */ pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -117,7 +117,7 @@ sleep_cfg1 { ...@@ -117,7 +117,7 @@ sleep_cfg1 {
}; };
i2c1 { i2c1 {
i2c1_default_mode: i2c_default { i2c1_b_2_default: i2c1_b_2_default {
default_mux { default_mux {
function = "i2c1"; function = "i2c1";
groups = "i2c1_b_2"; groups = "i2c1_b_2";
...@@ -128,7 +128,7 @@ default_cfg1 { ...@@ -128,7 +128,7 @@ default_cfg1 {
}; };
}; };
i2c1_sleep_mode: i2c_sleep { i2c1_b_2_sleep: i2c1_b_2_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */ pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -137,7 +137,7 @@ sleep_cfg1 { ...@@ -137,7 +137,7 @@ sleep_cfg1 {
}; };
i2c2 { i2c2 {
i2c2_default_mode: i2c_default { i2c2_b_2_default: i2c2_b_2_default {
default_mux { default_mux {
function = "i2c2"; function = "i2c2";
groups = "i2c2_b_2"; groups = "i2c2_b_2";
...@@ -148,7 +148,7 @@ default_cfg1 { ...@@ -148,7 +148,7 @@ default_cfg1 {
}; };
}; };
i2c2_sleep_mode: i2c_sleep { i2c2_b_2_sleep: i2c2_b_2_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */ pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -157,7 +157,7 @@ sleep_cfg1 { ...@@ -157,7 +157,7 @@ sleep_cfg1 {
}; };
i2c3 { i2c3 {
i2c3_default_mode: i2c_default { i2c3_c_2_default: i2c3_c_2_default {
default_mux { default_mux {
function = "i2c3"; function = "i2c3";
groups = "i2c3_c_2"; groups = "i2c3_c_2";
...@@ -168,7 +168,7 @@ default_cfg1 { ...@@ -168,7 +168,7 @@ default_cfg1 {
}; };
}; };
i2c3_sleep_mode: i2c_sleep { i2c3_c_2_sleep: i2c3_c_2_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */ pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -181,7 +181,7 @@ sleep_cfg1 { ...@@ -181,7 +181,7 @@ sleep_cfg1 {
* enable I2C4 and UART1 at the same time. * enable I2C4 and UART1 at the same time.
*/ */
i2c4 { i2c4 {
i2c4_default_mode: i2c_default { i2c4_b_1_default: i2c4_b_1_default {
default_mux { default_mux {
function = "i2c4"; function = "i2c4";
groups = "i2c4_b_1"; groups = "i2c4_b_1";
...@@ -192,7 +192,7 @@ default_cfg1 { ...@@ -192,7 +192,7 @@ default_cfg1 {
}; };
}; };
i2c4_sleep_mode: i2c_sleep { i2c4_b_1_sleep: i2c4_b_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */ pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */
ste,config = <&slpm_in_wkup_pdis>; ste,config = <&slpm_in_wkup_pdis>;
...@@ -203,7 +203,7 @@ sleep_cfg1 { ...@@ -203,7 +203,7 @@ sleep_cfg1 {
/* Settings for all MMC/SD/SDIO default and sleep states */ /* Settings for all MMC/SD/SDIO default and sleep states */
sdi0 { sdi0 {
/* This is the external SD card slot, 4 bits wide */ /* This is the external SD card slot, 4 bits wide */
sdi0_default_mode: sdi0_default { mc0_a_1_default: mc0_a_1_default {
default_mux { default_mux {
function = "mc0"; function = "mc0";
groups = "mc0_a_1"; groups = "mc0_a_1";
...@@ -234,7 +234,7 @@ default_cfg4 { ...@@ -234,7 +234,7 @@ default_cfg4 {
}; };
}; };
sdi0_sleep_mode: sdi0_sleep { mc0_a_1_sleep: mc0_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = pins =
"GPIO18_AC2", /* CMDDIR */ "GPIO18_AC2", /* CMDDIR */
...@@ -261,7 +261,7 @@ sleep_cfg3 { ...@@ -261,7 +261,7 @@ sleep_cfg3 {
sdi1 { sdi1 {
/* This is the WLAN SDIO 4 bits wide */ /* This is the WLAN SDIO 4 bits wide */
sdi1_default_mode: sdi1_default { mc1_a_1_default: mc1_a_1_default {
default_mux { default_mux {
function = "mc1"; function = "mc1";
groups = "mc1_a_1"; groups = "mc1_a_1";
...@@ -285,7 +285,7 @@ default_cfg3 { ...@@ -285,7 +285,7 @@ default_cfg3 {
}; };
}; };
sdi1_sleep_mode: sdi1_sleep { mc1_a_1_sleep: mc1_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO208_AH16"; /* CLK */ pins = "GPIO208_AH16"; /* CLK */
ste,config = <&slpm_out_lo_wkup_pdis>; ste,config = <&slpm_out_lo_wkup_pdis>;
...@@ -305,7 +305,7 @@ sleep_cfg2 { ...@@ -305,7 +305,7 @@ sleep_cfg2 {
sdi2 { sdi2 {
/* This is the eMMC 8 bits wide, usually PoP eMMC */ /* This is the eMMC 8 bits wide, usually PoP eMMC */
sdi2_default_mode: sdi2_default { mc2_a_1_default: mc2_a_1_default {
default_mux { default_mux {
function = "mc2"; function = "mc2";
groups = "mc2_a_1"; groups = "mc2_a_1";
...@@ -333,7 +333,7 @@ default_cfg3 { ...@@ -333,7 +333,7 @@ default_cfg3 {
}; };
}; };
sdi2_sleep_mode: sdi2_sleep { mc2_a_1_sleep: mc2_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO128_A5"; /* CLK */ pins = "GPIO128_A5"; /* CLK */
ste,config = <&out_lo_wkup_pdis>; ste,config = <&out_lo_wkup_pdis>;
...@@ -361,7 +361,7 @@ sleep_cfg3 { ...@@ -361,7 +361,7 @@ sleep_cfg3 {
sdi4 { sdi4 {
/* This is the eMMC 8 bits wide, usually PCB-mounted eMMC */ /* This is the eMMC 8 bits wide, usually PCB-mounted eMMC */
sdi4_default_mode: sdi4_default { mc4_a_1_default: mc4_a_1_default {
default_mux { default_mux {
function = "mc4"; function = "mc4";
groups = "mc4_a_1"; groups = "mc4_a_1";
...@@ -389,7 +389,7 @@ default_cfg3 { ...@@ -389,7 +389,7 @@ default_cfg3 {
}; };
}; };
sdi4_sleep_mode: sdi4_sleep { mc4_a_1_sleep: mc4_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = "GPIO203_AE23"; /* CLK */ pins = "GPIO203_AE23"; /* CLK */
ste,config = <&out_lo_wkup_pdis>; ste,config = <&out_lo_wkup_pdis>;
...@@ -416,7 +416,7 @@ sleep_cfg2 { ...@@ -416,7 +416,7 @@ sleep_cfg2 {
* cannot be muxed onto any pins. * cannot be muxed onto any pins.
*/ */
msp0 { msp0 {
msp0_default_mode: msp0_default { msp0txrxtfstck_a_1_default: msp0txrxtfstck_a_1_default {
default_msp0_mux { default_msp0_mux {
function = "msp0"; function = "msp0";
groups = "msp0txrx_a_1", "msp0tfstck_a_1"; groups = "msp0txrx_a_1", "msp0tfstck_a_1";
...@@ -433,7 +433,7 @@ default_msp0_cfg { ...@@ -433,7 +433,7 @@ default_msp0_cfg {
}; };
msp1 { msp1 {
msp1_default_mode: msp1_default { msp1txrx_a_1_default: msp1txrx_a_1_default {
default_mux { default_mux {
function = "msp1"; function = "msp1";
groups = "msp1txrx_a_1", "msp1_a_1"; groups = "msp1txrx_a_1", "msp1_a_1";
...@@ -453,7 +453,7 @@ default_cfg2 { ...@@ -453,7 +453,7 @@ default_cfg2 {
}; };
msp2 { msp2 {
msp2_default_mode: msp2_default { msp2_a_1_default: msp2_a_1_default {
/* MSP2 usually used for HDMI audio */ /* MSP2 usually used for HDMI audio */
default_mux { default_mux {
function = "msp2"; function = "msp2";
...@@ -474,7 +474,7 @@ default_cfg2 { ...@@ -474,7 +474,7 @@ default_cfg2 {
}; };
musb { musb {
musb_default_mode: musb_default { usb_a_1_default: usb_a_1_default {
default_mux { default_mux {
function = "usb"; function = "usb";
groups = "usb_a_1"; groups = "usb_a_1";
...@@ -500,7 +500,7 @@ default_cfg2 { ...@@ -500,7 +500,7 @@ default_cfg2 {
}; };
}; };
musb_sleep_mode: musb_sleep { usb_a_1_sleep: usb_a_1_sleep {
sleep_cfg1 { sleep_cfg1 {
pins = pins =
"GPIO256_AF28", /* NXT */ "GPIO256_AF28", /* NXT */
......
...@@ -16,41 +16,41 @@ memory { ...@@ -16,41 +16,41 @@ memory {
soc { soc {
uart@80120000 { uart@80120000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart0_default_mode>; pinctrl-0 = <&u0_a_1_default>;
pinctrl-1 = <&uart0_sleep_mode>; pinctrl-1 = <&u0_a_1_sleep>;
status = "okay"; status = "okay";
}; };
/* This UART is unused and thus left disabled */ /* This UART is unused and thus left disabled */
uart@80121000 { uart@80121000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart1_default_mode>; pinctrl-0 = <&u1rxtx_a_1_default>;
pinctrl-1 = <&uart1_sleep_mode>; pinctrl-1 = <&u1rxtx_a_1_sleep>;
}; };
uart@80007000 { uart@80007000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart2_default_mode>; pinctrl-0 = <&u2rxtx_c_1_default>;
pinctrl-1 = <&uart2_sleep_mode>; pinctrl-1 = <&u2rxtx_c_1_sleep>;
status = "okay"; status = "okay";
}; };
i2c@80004000 { i2c@80004000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c0_default_mode>; pinctrl-0 = <&i2c0_a_1_default>;
pinctrl-1 = <&i2c0_sleep_mode>; pinctrl-1 = <&i2c0_a_1_sleep>;
}; };
i2c@80122000 { i2c@80122000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c1_default_mode>; pinctrl-0 = <&i2c1_b_2_default>;
pinctrl-1 = <&i2c1_sleep_mode>; pinctrl-1 = <&i2c1_b_2_sleep>;
}; };
i2c@80128000 { i2c@80128000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c2_default_mode>; pinctrl-0 = <&i2c2_b_2_default>;
pinctrl-1 = <&i2c2_sleep_mode>; pinctrl-1 = <&i2c2_b_2_sleep>;
lp5521@33 { lp5521@33 {
compatible = "national,lp5521"; compatible = "national,lp5521";
reg = <0x33>; reg = <0x33>;
...@@ -96,8 +96,8 @@ bh1780@29 { ...@@ -96,8 +96,8 @@ bh1780@29 {
i2c@80110000 { i2c@80110000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c3_default_mode>; pinctrl-0 = <&i2c3_c_2_default>;
pinctrl-1 = <&i2c3_sleep_mode>; pinctrl-1 = <&i2c3_c_2_sleep>;
}; };
/* ST6G3244ME level translator for 1.8/2.9 V */ /* ST6G3244ME level translator for 1.8/2.9 V */
...@@ -132,8 +132,8 @@ sdi0_per1@80126000 { ...@@ -132,8 +132,8 @@ sdi0_per1@80126000 {
vmmc-supply = <&ab8500_ldo_aux3_reg>; vmmc-supply = <&ab8500_ldo_aux3_reg>;
vqmmc-supply = <&vmmci>; vqmmc-supply = <&vmmci>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi0_default_mode>; pinctrl-0 = <&mc0_a_1_default &sdi0_default_mode>;
pinctrl-1 = <&sdi0_sleep_mode>; pinctrl-1 = <&mc0_a_1_sleep>;
status = "okay"; status = "okay";
}; };
...@@ -145,8 +145,8 @@ sdi1_per2@80118000 { ...@@ -145,8 +145,8 @@ sdi1_per2@80118000 {
bus-width = <4>; bus-width = <4>;
non-removable; non-removable;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi1_default_mode>; pinctrl-0 = <&mc1_a_1_default>;
pinctrl-1 = <&sdi1_sleep_mode>; pinctrl-1 = <&mc1_a_1_sleep>;
status = "okay"; status = "okay";
}; };
...@@ -160,8 +160,8 @@ sdi2_per3@80005000 { ...@@ -160,8 +160,8 @@ sdi2_per3@80005000 {
non-removable; non-removable;
vmmc-supply = <&db8500_vsmps2_reg>; vmmc-supply = <&db8500_vsmps2_reg>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi2_default_mode>; pinctrl-0 = <&mc2_a_1_default>;
pinctrl-1 = <&sdi2_sleep_mode>; pinctrl-1 = <&mc2_a_1_sleep>;
status = "okay"; status = "okay";
}; };
...@@ -175,27 +175,27 @@ sdi4_per2@80114000 { ...@@ -175,27 +175,27 @@ sdi4_per2@80114000 {
non-removable; non-removable;
vmmc-supply = <&ab8500_ldo_aux2_reg>; vmmc-supply = <&ab8500_ldo_aux2_reg>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi4_default_mode>; pinctrl-0 = <&mc4_a_1_default>;
pinctrl-1 = <&sdi4_sleep_mode>; pinctrl-1 = <&mc4_a_1_sleep>;
status = "okay"; status = "okay";
}; };
msp0: msp@80123000 { msp0: msp@80123000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp0_default_mode>; pinctrl-0 = <&msp0txrxtfstck_a_1_default>;
status = "okay"; status = "okay";
}; };
msp1: msp@80124000 { msp1: msp@80124000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp1_default_mode>; pinctrl-0 = <&msp1txrx_a_1_default>;
status = "okay"; status = "okay";
}; };
msp2: msp@80117000 { msp2: msp@80117000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp2_default_mode>; pinctrl-0 = <&msp2_a_1_default>;
}; };
msp3: msp@80125000 { msp3: msp@80125000 {
...@@ -209,8 +209,8 @@ ab8500-gpio { ...@@ -209,8 +209,8 @@ ab8500-gpio {
ab8500_usb { ab8500_usb {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&musb_default_mode>; pinctrl-0 = <&usb_a_1_default>;
pinctrl-1 = <&musb_sleep_mode>; pinctrl-1 = <&usb_a_1_sleep>;
}; };
ab8500-regulators { ab8500-regulators {
...@@ -257,6 +257,14 @@ ab8500_ldo_ana_reg: ab8500_ldo_ana { ...@@ -257,6 +257,14 @@ ab8500_ldo_ana_reg: ab8500_ldo_ana {
}; };
}; };
pinctrl {
sdi0 {
sdi0_default_mode: sdi0_default {
/* Some boards set additional settings here */
};
};
};
mcde@a0350000 { mcde@a0350000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&lcd_default_mode>; pinctrl-0 = <&lcd_default_mode>;
......
...@@ -156,19 +156,19 @@ gpio@8011e080 { ...@@ -156,19 +156,19 @@ gpio@8011e080 {
msp0: msp@80123000 { msp0: msp@80123000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp0_default_mode>; pinctrl-0 = <&msp0txrxtfstck_a_1_default>;
status = "okay"; status = "okay";
}; };
msp1: msp@80124000 { msp1: msp@80124000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp1_default_mode>; pinctrl-0 = <&msp1txrx_a_1_default>;
status = "okay"; status = "okay";
}; };
msp2: msp@80117000 { msp2: msp@80117000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&msp2_default_mode>; pinctrl-0 = <&msp2_a_1_default>;
}; };
msp3: msp@80125000 { msp3: msp@80125000 {
...@@ -238,8 +238,8 @@ sdi0_per1@80126000 { ...@@ -238,8 +238,8 @@ sdi0_per1@80126000 {
vmmc-supply = <&ab8500_ldo_aux3_reg>; vmmc-supply = <&ab8500_ldo_aux3_reg>;
vqmmc-supply = <&vmmci>; vqmmc-supply = <&vmmci>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi0_default_mode>; pinctrl-0 = <&mc0_a_1_default &sdi0_default_mode>;
pinctrl-1 = <&sdi0_sleep_mode>; pinctrl-1 = <&mc0_a_1_sleep>;
/* GPIO218 MMC_CD */ /* GPIO218 MMC_CD */
cd-gpios = <&gpio6 26 GPIO_ACTIVE_LOW>; cd-gpios = <&gpio6 26 GPIO_ACTIVE_LOW>;
...@@ -253,8 +253,8 @@ sdi1_per2@80118000 { ...@@ -253,8 +253,8 @@ sdi1_per2@80118000 {
max-frequency = <100000000>; max-frequency = <100000000>;
bus-width = <4>; bus-width = <4>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi1_default_mode>; pinctrl-0 = <&mc1_a_1_default>;
pinctrl-1 = <&sdi1_sleep_mode>; pinctrl-1 = <&mc1_a_1_sleep>;
status = "okay"; status = "okay";
}; };
...@@ -263,7 +263,7 @@ sdi1_per2@80118000 { ...@@ -263,7 +263,7 @@ sdi1_per2@80118000 {
sdi2_per3@80005000 { sdi2_per3@80005000 {
arm,primecell-periphid = <0x10480180>; arm,primecell-periphid = <0x10480180>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sdi2_sleep_mode>; pinctrl-0 = <&mc2_a_1_sleep>;
status = "okay"; status = "okay";
}; };
...@@ -276,49 +276,49 @@ sdi4_per2@80114000 { ...@@ -276,49 +276,49 @@ sdi4_per2@80114000 {
cap-mmc-highspeed; cap-mmc-highspeed;
vmmc-supply = <&ab8500_ldo_aux2_reg>; vmmc-supply = <&ab8500_ldo_aux2_reg>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdi4_default_mode>; pinctrl-0 = <&mc4_a_1_default>;
pinctrl-1 = <&sdi4_sleep_mode>; pinctrl-1 = <&mc4_a_1_sleep>;
status = "okay"; status = "okay";
}; };
uart@80120000 { uart@80120000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart0_default_mode>; pinctrl-0 = <&u0_a_1_default>;
pinctrl-1 = <&uart0_sleep_mode>; pinctrl-1 = <&u0_a_1_sleep>;
status = "okay"; status = "okay";
}; };
/* This UART is unused and thus left disabled */ /* This UART is unused and thus left disabled */
uart@80121000 { uart@80121000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart1_default_mode>; pinctrl-0 = <&u1rxtx_a_1_default>;
pinctrl-1 = <&uart1_sleep_mode>; pinctrl-1 = <&u1rxtx_a_1_sleep>;
}; };
uart@80007000 { uart@80007000 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart2_default_mode>; pinctrl-0 = <&u2rxtx_c_1_default>;
pinctrl-1 = <&uart2_sleep_mode>; pinctrl-1 = <&u2rxtx_c_1_sleep>;
status = "okay"; status = "okay";
}; };
i2c@80004000 { i2c@80004000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c0_default_mode>; pinctrl-0 = <&i2c0_a_1_default>;
pinctrl-1 = <&i2c0_sleep_mode>; pinctrl-1 = <&i2c0_a_1_sleep>;
}; };
i2c@80122000 { i2c@80122000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c1_default_mode>; pinctrl-0 = <&i2c1_b_2_default>;
pinctrl-1 = <&i2c1_sleep_mode>; pinctrl-1 = <&i2c1_b_2_sleep>;
}; };
i2c@80128000 { i2c@80128000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c2_default_mode>; pinctrl-0 = <&i2c2_b_2_default>;
pinctrl-1 = <&i2c2_sleep_mode>; pinctrl-1 = <&i2c2_b_2_sleep>;
lsm303dlh@18 { lsm303dlh@18 {
/* Accelerometer */ /* Accelerometer */
compatible = "st,lsm303dlh-accel"; compatible = "st,lsm303dlh-accel";
...@@ -367,8 +367,8 @@ lsp001wm@5c { ...@@ -367,8 +367,8 @@ lsp001wm@5c {
i2c@80110000 { i2c@80110000 {
pinctrl-names = "default","sleep"; pinctrl-names = "default","sleep";
pinctrl-0 = <&i2c3_default_mode>; pinctrl-0 = <&i2c3_c_2_default>;
pinctrl-1 = <&i2c3_sleep_mode>; pinctrl-1 = <&i2c3_c_2_sleep>;
}; };
spi@80002000 { spi@80002000 {
...@@ -402,8 +402,8 @@ ab8500-gpio { ...@@ -402,8 +402,8 @@ ab8500-gpio {
ab8500_usb { ab8500_usb {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&musb_default_mode>; pinctrl-0 = <&usb_a_1_default>;
pinctrl-1 = <&musb_sleep_mode>; pinctrl-1 = <&usb_a_1_sleep>;
}; };
ext_regulators: ab8500-ext-regulators { ext_regulators: ab8500-ext-regulators {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment