From 2a5ade78e8b3b91be337eee25f3fe33171332fbc Mon Sep 17 00:00:00 2001 From: luowei Date: Sat, 12 Jul 2014 10:16:30 +0800 Subject: [PATCH] pinctrl:add dts definition for nandc --- arch/arm/boot/dts/rk3036-pinctrl.dtsi | 47 +++++++++++++++++++++++++++ arch/arm/boot/dts/rk3036.dtsi | 2 ++ 2 files changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-pinctrl.dtsi b/arch/arm/boot/dts/rk3036-pinctrl.dtsi index 55249f0a73c8..d5225b100b8a 100755 --- a/arch/arm/boot/dts/rk3036-pinctrl.dtsi +++ b/arch/arm/boot/dts/rk3036-pinctrl.dtsi @@ -415,6 +415,53 @@ }; + gpio1_nandc { + nandc_ale:nandc-ale { + rockchip,pins = ; + rockchip,pull = ; + }; + + nandc_cle:nandc-cle { + rockchip,pins = ; + rockchip,pull = ; + }; + + nandc_wrn:nandc-wrn { + rockchip,pins = ; + rockchip,pull = ; + }; + + nandc_rdn:nandc-rdn { + rockchip,pins = ; + rockchip,pull = ; + }; + + nandc_rdy:nandc-rdy { + rockchip,pins = ; + rockchip,pull = ; + }; + + nandc_cs0:nandc-cs0 { + rockchip,pins = ; + rockchip,pull = ; + }; + + + nandc_data: nandc-data { + rockchip,pins = , + , + , + , + , + , + , + ; + rockchip,pull = ; + + }; + + }; + gpio0_sdio0 { sdio0_clk: sdio0_clk { rockchip,pins = ; diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index 851d2060bc20..69bb9781e908 100755 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -103,6 +103,8 @@ compatible = "rockchip,rk-nandc"; reg = <0x10500000 0x4000>; interrupts = ; + //pinctrl-names = "default"; + //pinctrl-0 = <&nandc_ale &nandc_cle &nandc_wrn &nandc_rdn &nandc_rdy &nandc_cs0 &nandc_data>; nandc_id = <0>; clocks = <&clk_nandc>, <&clk_gates5 9>, <&clk_gates10 4>; clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc"; -- 2.34.1