Commit a8dad3e1 authored by Loic Poulain's avatar Loic Poulain Committed by Wei Xu

arm64: dts: hikey960: pinctrl: Fix spi2/spi3 pinconf

Only the pinmux was selected, not the pinconf, leading to spi issues.
Increase drive strength so that max speed (25Mhz) can be achieved.
Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 8f3d9f35
...@@ -974,7 +974,7 @@ spi2: spi@ffd68000 { ...@@ -974,7 +974,7 @@ spi2: spi@ffd68000 {
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI2>; clocks = <&crg_ctrl HI3660_CLK_GATE_SPI2>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi2_pmx_func>; pinctrl-0 = <&spi2_pmx_func &spi2_cfg_func>;
num-cs = <1>; num-cs = <1>;
cs-gpios = <&gpio27 2 0>; cs-gpios = <&gpio27 2 0>;
status = "disabled"; status = "disabled";
...@@ -989,7 +989,7 @@ spi3: spi@ff3b3000 { ...@@ -989,7 +989,7 @@ spi3: spi@ff3b3000 {
clocks = <&crg_ctrl HI3660_CLK_GATE_SPI3>; clocks = <&crg_ctrl HI3660_CLK_GATE_SPI3>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi3_pmx_func>; pinctrl-0 = <&spi3_pmx_func &spi3_cfg_func>;
num-cs = <1>; num-cs = <1>;
cs-gpios = <&gpio18 5 0>; cs-gpios = <&gpio18 5 0>;
status = "disabled"; status = "disabled";
......
...@@ -717,7 +717,7 @@ DRIVE7_08MA DRIVE6_MASK ...@@ -717,7 +717,7 @@ DRIVE7_08MA DRIVE6_MASK
spi3_cfg_func: spi3_cfg_func { spi3_cfg_func: spi3_cfg_func {
pinctrl-single,pins = < pinctrl-single,pins = <
0x008 0x0 /* SPI3_CLK */ 0x008 0x0 /* SPI3_CLK */
0x0 /* SPI3_DI */ 0x00c 0x0 /* SPI3_DI */
0x010 0x0 /* SPI3_DO */ 0x010 0x0 /* SPI3_DO */
0x014 0x0 /* SPI3_CS0_N */ 0x014 0x0 /* SPI3_CS0_N */
>; >;
...@@ -734,7 +734,7 @@ PULL_DIS ...@@ -734,7 +734,7 @@ PULL_DIS
PULL_UP PULL_UP
>; >;
pinctrl-single,drive-strength = < pinctrl-single,drive-strength = <
DRIVE7_02MA DRIVE6_MASK DRIVE7_06MA DRIVE6_MASK
>; >;
}; };
}; };
...@@ -1031,7 +1031,7 @@ PULL_DIS ...@@ -1031,7 +1031,7 @@ PULL_DIS
PULL_UP PULL_UP
>; >;
pinctrl-single,drive-strength = < pinctrl-single,drive-strength = <
DRIVE7_02MA DRIVE6_MASK DRIVE7_06MA DRIVE6_MASK
>; >;
}; };
......
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