Commit cf38e1a6 authored by Lee Jones's avatar Lee Jones Committed by Greg Kroah-Hartman

ARM: dts: STiH407-family: Use new Pinctrl groups

Having just defined some new Pinctrl groups for when HW flow-control
is {en,dis}abled, let's reference them for use within the driver.
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34224a0c
...@@ -222,9 +222,8 @@ serial@9830000 { ...@@ -222,9 +222,8 @@ serial@9830000 {
compatible = "st,asc"; compatible = "st,asc";
reg = <0x9830000 0x2c>; reg = <0x9830000 0x2c>;
interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>; interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_serial0>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
/* Pinctrl moved out to a per-board configuration */
status = "disabled"; status = "disabled";
}; };
......
...@@ -62,8 +62,11 @@ user_green_4 { ...@@ -62,8 +62,11 @@ user_green_4 {
/* Low speed expansion connector */ /* Low speed expansion connector */
uart0: serial@9830000 { uart0: serial@9830000 {
label = "LS-UART0"; label = "LS-UART0";
status = "okay"; pinctrl-names = "default", "no-hw-flowctrl";
pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>;
pinctrl-1 = <&pinctrl_serial0>;
rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>; rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
status = "okay";
}; };
/* Low speed expansion connector */ /* Low speed expansion connector */
......
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