Commit 6ddf19e0 authored by Ahmad Fatoum's avatar Ahmad Fatoum Committed by Alexandre Torgue

ARM: dts: stm32: use uniform label names for sleep pinctrl phandles

Some labels follow the *_sleep_pins_* naming scheme, but some also use
*_pins_sleep_*. Because most labels use the former and for uniformity
with variants like sdmmc1_b4_pins_a and sdmmc1_dir_pins_a, adopt the
*_sleep_pins_* scheme throughout.
Signed-off-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 276bd3f0
...@@ -37,7 +37,7 @@ pins { ...@@ -37,7 +37,7 @@ pins {
}; };
}; };
cec_pins_sleep_a: cec-sleep-0 { cec_sleep_pins_a: cec-sleep-0 {
pins { pins {
pinmux = <STM32_PINMUX('A', 15, ANALOG)>; /* HDMI_CEC */ pinmux = <STM32_PINMUX('A', 15, ANALOG)>; /* HDMI_CEC */
}; };
...@@ -52,7 +52,7 @@ pins { ...@@ -52,7 +52,7 @@ pins {
}; };
}; };
cec_pins_sleep_b: cec-sleep-1 { cec_sleep_pins_b: cec-sleep-1 {
pins { pins {
pinmux = <STM32_PINMUX('B', 6, ANALOG)>; /* HDMI_CEC */ pinmux = <STM32_PINMUX('B', 6, ANALOG)>; /* HDMI_CEC */
}; };
...@@ -142,7 +142,7 @@ pins3 { ...@@ -142,7 +142,7 @@ pins3 {
}; };
}; };
ethernet0_rgmii_pins_sleep_a: rgmii-sleep-0 { ethernet0_rgmii_sleep_pins_a: rgmii-sleep-0 {
pins1 { pins1 {
pinmux = <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_RGMII_CLK125 */ pinmux = <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_RGMII_CLK125 */
<STM32_PINMUX('G', 4, ANALOG)>, /* ETH_RGMII_GTX_CLK */ <STM32_PINMUX('G', 4, ANALOG)>, /* ETH_RGMII_GTX_CLK */
...@@ -182,7 +182,7 @@ pins2 { ...@@ -182,7 +182,7 @@ pins2 {
}; };
}; };
ethernet0_rmii_pins_sleep_a: rmii-sleep-0 { ethernet0_rmii_sleep_pins_a: rmii-sleep-0 {
pins1 { pins1 {
pinmux = <STM32_PINMUX('G', 13, ANALOG)>, /* ETH1_RMII_TXD0 */ pinmux = <STM32_PINMUX('G', 13, ANALOG)>, /* ETH1_RMII_TXD0 */
<STM32_PINMUX('G', 14, ANALOG)>, /* ETH1_RMII_TXD1 */ <STM32_PINMUX('G', 14, ANALOG)>, /* ETH1_RMII_TXD1 */
...@@ -250,7 +250,7 @@ pins { ...@@ -250,7 +250,7 @@ pins {
}; };
}; };
i2c1_pins_sleep_a: i2c1-1 { i2c1_sleep_pins_a: i2c1-1 {
pins { pins {
pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */ pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */
<STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */ <STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */
...@@ -267,7 +267,7 @@ pins { ...@@ -267,7 +267,7 @@ pins {
}; };
}; };
i2c1_pins_sleep_b: i2c1-3 { i2c1_sleep_pins_b: i2c1-3 {
pins { pins {
pinmux = <STM32_PINMUX('F', 14, ANALOG)>, /* I2C1_SCL */ pinmux = <STM32_PINMUX('F', 14, ANALOG)>, /* I2C1_SCL */
<STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */ <STM32_PINMUX('F', 15, ANALOG)>; /* I2C1_SDA */
...@@ -284,7 +284,7 @@ pins { ...@@ -284,7 +284,7 @@ pins {
}; };
}; };
i2c2_pins_sleep_a: i2c2-1 { i2c2_sleep_pins_a: i2c2-1 {
pins { pins {
pinmux = <STM32_PINMUX('H', 4, ANALOG)>, /* I2C2_SCL */ pinmux = <STM32_PINMUX('H', 4, ANALOG)>, /* I2C2_SCL */
<STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */ <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */
...@@ -300,7 +300,7 @@ pins { ...@@ -300,7 +300,7 @@ pins {
}; };
}; };
i2c2_pins_sleep_b1: i2c2-3 { i2c2_sleep_pins_b1: i2c2-3 {
pins { pins {
pinmux = <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */ pinmux = <STM32_PINMUX('H', 5, ANALOG)>; /* I2C2_SDA */
}; };
...@@ -316,7 +316,7 @@ pins { ...@@ -316,7 +316,7 @@ pins {
}; };
}; };
i2c5_pins_sleep_a: i2c5-1 { i2c5_sleep_pins_a: i2c5-1 {
pins { pins {
pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* I2C5_SCL */ pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* I2C5_SCL */
<STM32_PINMUX('A', 12, ANALOG)>; /* I2C5_SDA */ <STM32_PINMUX('A', 12, ANALOG)>; /* I2C5_SDA */
...@@ -335,7 +335,7 @@ pins { ...@@ -335,7 +335,7 @@ pins {
}; };
}; };
i2s2_pins_sleep_a: i2s2-1 { i2s2_sleep_pins_a: i2s2-1 {
pins { pins {
pinmux = <STM32_PINMUX('I', 3, ANALOG)>, /* I2S2_SDO */ pinmux = <STM32_PINMUX('I', 3, ANALOG)>, /* I2S2_SDO */
<STM32_PINMUX('B', 9, ANALOG)>, /* I2S2_WS */ <STM32_PINMUX('B', 9, ANALOG)>, /* I2S2_WS */
...@@ -379,7 +379,7 @@ pins { ...@@ -379,7 +379,7 @@ pins {
}; };
}; };
ltdc_pins_sleep_a: ltdc-a-1 { ltdc_sleep_pins_a: ltdc-a-1 {
pins { pins {
pinmux = <STM32_PINMUX('G', 7, ANALOG)>, /* LCD_CLK */ pinmux = <STM32_PINMUX('G', 7, ANALOG)>, /* LCD_CLK */
<STM32_PINMUX('I', 10, ANALOG)>, /* LCD_HSYNC */ <STM32_PINMUX('I', 10, ANALOG)>, /* LCD_HSYNC */
...@@ -448,7 +448,7 @@ pins { ...@@ -448,7 +448,7 @@ pins {
}; };
}; };
ltdc_pins_sleep_b: ltdc-b-1 { ltdc_sleep_pins_b: ltdc-b-1 {
pins { pins {
pinmux = <STM32_PINMUX('I', 14, ANALOG)>, /* LCD_CLK */ pinmux = <STM32_PINMUX('I', 14, ANALOG)>, /* LCD_CLK */
<STM32_PINMUX('I', 12, ANALOG)>, /* LCD_HSYNC */ <STM32_PINMUX('I', 12, ANALOG)>, /* LCD_HSYNC */
...@@ -1145,7 +1145,7 @@ pins { ...@@ -1145,7 +1145,7 @@ pins {
}; };
}; };
i2c2_pins_sleep_b2: i2c2-1 { i2c2_sleep_pins_b2: i2c2-1 {
pins { pins {
pinmux = <STM32_PINMUX('Z', 0, ANALOG)>; /* I2C2_SCL */ pinmux = <STM32_PINMUX('Z', 0, ANALOG)>; /* I2C2_SCL */
}; };
...@@ -1161,7 +1161,7 @@ pins { ...@@ -1161,7 +1161,7 @@ pins {
}; };
}; };
i2c4_pins_sleep_a: i2c4-1 { i2c4_sleep_pins_a: i2c4-1 {
pins { pins {
pinmux = <STM32_PINMUX('Z', 4, ANALOG)>, /* I2C4_SCL */ pinmux = <STM32_PINMUX('Z', 4, ANALOG)>, /* I2C4_SCL */
<STM32_PINMUX('Z', 5, ANALOG)>; /* I2C4_SDA */ <STM32_PINMUX('Z', 5, ANALOG)>; /* I2C4_SDA */
......
...@@ -82,7 +82,7 @@ led6 { ...@@ -82,7 +82,7 @@ led6 {
&ethernet0 { &ethernet0 {
status = "okay"; status = "okay";
pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-0 = <&ethernet0_rgmii_pins_a>;
pinctrl-1 = <&ethernet0_rgmii_pins_sleep_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
phy-mode = "rgmii"; phy-mode = "rgmii";
max-speed = <1000>; max-speed = <1000>;
......
...@@ -77,7 +77,7 @@ &cec { ...@@ -77,7 +77,7 @@ &cec {
&ethernet0 { &ethernet0 {
status = "okay"; status = "okay";
pinctrl-0 = <&ethernet0_rmii_pins_a>; pinctrl-0 = <&ethernet0_rmii_pins_a>;
pinctrl-1 = <&ethernet0_rmii_pins_sleep_a>; pinctrl-1 = <&ethernet0_rmii_sleep_pins_a>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
phy-mode = "rmii"; phy-mode = "rmii";
max-speed = <100>; max-speed = <100>;
...@@ -147,7 +147,7 @@ polytouch@38 { ...@@ -147,7 +147,7 @@ polytouch@38 {
&ltdc { &ltdc {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&ltdc_pins_b>; pinctrl-0 = <&ltdc_pins_b>;
pinctrl-1 = <&ltdc_pins_sleep_b>; pinctrl-1 = <&ltdc_sleep_pins_b>;
status = "okay"; status = "okay";
port { port {
......
...@@ -131,7 +131,7 @@ &gpu { ...@@ -131,7 +131,7 @@ &gpu {
&i2c4 { &i2c4 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c4_pins_a>; pinctrl-0 = <&i2c4_pins_a>;
pinctrl-1 = <&i2c4_pins_sleep_a>; pinctrl-1 = <&i2c4_sleep_pins_a>;
i2c-scl-rising-time-ns = <185>; i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>; i2c-scl-falling-time-ns = <20>;
clock-frequency = <400000>; clock-frequency = <400000>;
......
...@@ -136,7 +136,7 @@ dsi_panel_in: endpoint { ...@@ -136,7 +136,7 @@ dsi_panel_in: endpoint {
&ethernet0 { &ethernet0 {
status = "okay"; status = "okay";
pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-0 = <&ethernet0_rgmii_pins_a>;
pinctrl-1 = <&ethernet0_rgmii_pins_sleep_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
max-speed = <1000>; max-speed = <1000>;
...@@ -171,7 +171,7 @@ nand@0 { ...@@ -171,7 +171,7 @@ nand@0 {
&i2c2 { &i2c2 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_a>; pinctrl-0 = <&i2c2_pins_a>;
pinctrl-1 = <&i2c2_pins_sleep_a>; pinctrl-1 = <&i2c2_sleep_pins_a>;
i2c-scl-rising-time-ns = <185>; i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>; i2c-scl-falling-time-ns = <20>;
status = "okay"; status = "okay";
...@@ -225,7 +225,7 @@ joystick_pins: joystick-pins { ...@@ -225,7 +225,7 @@ joystick_pins: joystick-pins {
&i2c5 { &i2c5 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c5_pins_a>; pinctrl-0 = <&i2c5_pins_a>;
pinctrl-1 = <&i2c5_pins_sleep_a>; pinctrl-1 = <&i2c5_sleep_pins_a>;
i2c-scl-rising-time-ns = <185>; i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>; i2c-scl-falling-time-ns = <20>;
status = "okay"; status = "okay";
......
...@@ -112,14 +112,14 @@ adc2: adc@100 { ...@@ -112,14 +112,14 @@ adc2: adc@100 {
&cec { &cec {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&cec_pins_b>; pinctrl-0 = <&cec_pins_b>;
pinctrl-1 = <&cec_pins_sleep_b>; pinctrl-1 = <&cec_sleep_pins_b>;
status = "okay"; status = "okay";
}; };
&ethernet0 { &ethernet0 {
status = "okay"; status = "okay";
pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-0 = <&ethernet0_rgmii_pins_a>;
pinctrl-1 = <&ethernet0_rgmii_pins_sleep_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>;
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
max-speed = <1000>; max-speed = <1000>;
...@@ -142,7 +142,7 @@ &gpu { ...@@ -142,7 +142,7 @@ &gpu {
&i2c1 { &i2c1 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>; pinctrl-0 = <&i2c1_pins_a>;
pinctrl-1 = <&i2c1_pins_sleep_a>; pinctrl-1 = <&i2c1_sleep_pins_a>;
i2c-scl-rising-time-ns = <100>; i2c-scl-rising-time-ns = <100>;
i2c-scl-falling-time-ns = <7>; i2c-scl-falling-time-ns = <7>;
status = "okay"; status = "okay";
...@@ -217,7 +217,7 @@ cs42l51_rx_endpoint: endpoint@1 { ...@@ -217,7 +217,7 @@ cs42l51_rx_endpoint: endpoint@1 {
&i2c4 { &i2c4 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c4_pins_a>; pinctrl-0 = <&i2c4_pins_a>;
pinctrl-1 = <&i2c4_pins_sleep_a>; pinctrl-1 = <&i2c4_sleep_pins_a>;
i2c-scl-rising-time-ns = <185>; i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>; i2c-scl-falling-time-ns = <20>;
clock-frequency = <400000>; clock-frequency = <400000>;
...@@ -366,7 +366,7 @@ &i2s2 { ...@@ -366,7 +366,7 @@ &i2s2 {
clock-names = "pclk", "i2sclk", "x8k", "x11k"; clock-names = "pclk", "i2sclk", "x8k", "x11k";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2s2_pins_a>; pinctrl-0 = <&i2s2_pins_a>;
pinctrl-1 = <&i2s2_pins_sleep_a>; pinctrl-1 = <&i2s2_sleep_pins_a>;
status = "okay"; status = "okay";
i2s2_port: port { i2s2_port: port {
...@@ -390,7 +390,7 @@ &iwdg2 { ...@@ -390,7 +390,7 @@ &iwdg2 {
&ltdc { &ltdc {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&ltdc_pins_a>; pinctrl-0 = <&ltdc_pins_a>;
pinctrl-1 = <&ltdc_pins_sleep_a>; pinctrl-1 = <&ltdc_sleep_pins_a>;
status = "okay"; status = "okay";
port { port {
......
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