ARM: dts: rockchip: rv1108: Add spim0 and spim1 pinctrl groups
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 4 Jan 2019 01:40:21 +0000 (23:40 -0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 12 Jan 2019 20:06:51 +0000 (21:06 +0100)
Add the pin settings for the SPI pins so they can be used across
multiple boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108.dtsi

index cb26d9d..f47ac86 100644 (file)
                        };
                };
 
+               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>;