diff options
author | Lee Jones <lee.jones@linaro.org> | 2017-02-03 11:23:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-06 09:47:52 +0100 |
commit | cf38e1a60ea99a81ec479e8f995c63b1d19d1f6a (patch) | |
tree | 0bc0f5b20ec1fc8fea5b2c12ca959b6554e298d0 /arch/arm/boot | |
parent | ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control (diff) | |
download | linux-cf38e1a60ea99a81ec479e8f995c63b1d19d1f6a.tar.xz linux-cf38e1a60ea99a81ec479e8f995c63b1d19d1f6a.zip |
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: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/stih407-family.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/stih410-b2260.dts | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index c8b2944e304a..e480e329aaa4 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -222,9 +222,8 @@ compatible = "st,asc"; reg = <0x9830000 0x2c>; interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_serial0>; clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + /* Pinctrl moved out to a per-board configuration */ status = "disabled"; }; diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts index fa16abac0e4d..cbcbcb4c6e4f 100644 --- a/arch/arm/boot/dts/stih410-b2260.dts +++ b/arch/arm/boot/dts/stih410-b2260.dts @@ -62,8 +62,11 @@ /* Low speed expansion connector */ uart0: serial@9830000 { 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>; + status = "okay"; }; /* Low speed expansion connector */ |