build/patch/kernel/archive/rk322x-4.4/02-005-dtsi-add-nand-pinctrls.patch

80 lines
1.8 KiB
Diff

diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
index af417ae37..80868dcda 100644
--- a/arch/arm/boot/dts/rk322x.dtsi
+++ b/arch/arm/boot/dts/rk322x.dtsi
@@ -1386,6 +1386,74 @@
};
};
+ flash {
+
+ flash_cs0: flash-cs0 {
+ rockchip,pins =
+ <2 RK_PA6 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_cs1: flash-cs1 {
+ rockchip,pins =
+ <0 RK_PC7 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_cs2: flash-cs2 {
+ rockchip,pins =
+ <1 RK_PC6 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_cs3: flash-cs3 {
+ rockchip,pins =
+ <1 RK_PC7 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_rdy: flash-rdy {
+ rockchip,pins =
+ <2 RK_PA4 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_ale: flash-ale {
+ rockchip,pins =
+ <2 RK_PA0 RK_FUNC_1 &pcfg_pull_down>;
+ };
+
+ flash_cle: flash-cle {
+ rockchip,pins =
+ <2 RK_PA1 RK_FUNC_1 &pcfg_pull_down>;
+ };
+
+ flash_wrn: flash-wrn {
+ rockchip,pins =
+ <2 RK_PA2 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_rdn: flash-rdn {
+ rockchip,pins =
+ <2 RK_PA3 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_bus8: flash-bus8 {
+ rockchip,pins = <1 RK_PD0 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD1 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD2 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD3 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD4 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD5 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD6 RK_FUNC_1 &pcfg_pull_up>,
+ <1 RK_PD7 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_dqs: flash-dqs {
+ rockchip,pins = <2 RK_PA7 RK_FUNC_1 &pcfg_pull_up>;
+ };
+
+ flash_wp: flash-wp {
+ rockchip,pins = <2 RK_PA5 RK_FUNC_1 &pcfg_pull_down>;
+ };
+
+ };
+
emmc {
emmc_clk: emmc-clk {
rockchip,pins = <2 7 RK_FUNC_2 &pcfg_pull_none>;