Commit fa2b56e7 authored by Otavio Salvador's avatar Otavio Salvador Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: rv1108: Add spim0 and spim1 pinctrl groups



Add the pin settings for the SPI pins so they can be used across
multiple boards.

Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent a4b0e36d
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -834,6 +834,42 @@
			};
		};

		spim0 {
			spim0_clk: spim0-clk {
				rockchip,pins = <1 RK_PD0 RK_FUNC_2 &pcfg_pull_up>;
			};

			spim0_cs0: spim0-cs0 {
				rockchip,pins = <1 RK_PD1 RK_FUNC_2 &pcfg_pull_up>;
			};

			spim0_tx: spim0-tx {
				rockchip,pins = <1 RK_PD3 RK_FUNC_2 &pcfg_pull_up>;
			};

			spim0_rx: spim0-rx {
				rockchip,pins = <1 RK_PD2 RK_FUNC_2 &pcfg_pull_up>;
			};
		};

		spim1 {
			spim1_clk: spim1-clk {
				rockchip,pins = <0 RK_PA3 RK_FUNC_1 &pcfg_pull_up>;
			};

			spim1_cs0: spim1-cs0 {
				rockchip,pins = <0 RK_PA4 RK_FUNC_1 &pcfg_pull_up>;
			};

			spim1_rx: spim1-rx {
				rockchip,pins = <0 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
			};

			spim1_tx: spim1-tx {
				rockchip,pins = <0 RK_PA7 RK_FUNC_1 &pcfg_pull_up>;
			};
		};

		tsadc {
			otp_out: otp-out {
				rockchip,pins = <0 RK_PB7 RK_FUNC_1 &pcfg_pull_none>;