devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH 4/5] arm: qcom: dts: Add NAND controller node for ipq806x
           [not found] <1421419702-17812-1-git-send-email-architt@codeaurora.org>
           [not found] ` <1421419702-17812-1-git-send-email-architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
    @ 2015-01-16 14:48 ` Archit Taneja
      2015-01-16 14:48 ` [PATCH 5/5] arm: qcom: dts: Enale NAND node on IPQ8064 AP148 pplatform Archit Taneja
                       ` (2 subsequent siblings)
      4 siblings, 0 replies; 31+ messages in thread
    From: Archit Taneja @ 2015-01-16 14:48 UTC (permalink / raw)
      To: linux-mtd, linux-arm-msm
      Cc: linux-kernel, agross, galak, Archit Taneja, devicetree
    
    The nand controller in IPQ806x is of the 'EBI2 type'. Use the corresponding
    compatible string.
    
    Cc: devicetree@vger.kernel.org
    Signed-off-by: Archit Taneja <architt@codeaurora.org>
    ---
     arch/arm/boot/dts/qcom-ipq8064.dtsi | 19 ++++++++++++++++++-
     1 file changed, 18 insertions(+), 1 deletion(-)
    
    diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
    index 733b0f3..6ed0150 100644
    --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
    +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
    @@ -281,7 +281,7 @@
     			#reset-cells = <1>;
     		};
     
    -		dma@18300000 {
    +		adm_dma: dma@18300000 {
     			compatible = "qcom,adm";
     			reg = <0x18300000 0x100000>;
     			interrupts = <0 170 0>;
    @@ -300,5 +300,22 @@
     
     			status = "disabled";
     		};
    +
    +		nand@0x1ac00000 {
    +			compatible = "qcom,ebi2-nandc";
    +			reg = <0x1ac00000 0x800>;
    +
    +			clocks = <&gcc EBI2_CLK>,
    +				 <&gcc EBI2_AON_CLK>;
    +			clock-names = "core", "aon";
    +
    +			dmas = <&adm_dma 3>;
    +			dma-names = "rxtx";
    +			qcom,cmd-crci = <15>;
    +			qcom,data-crci = <3>;
    +
    +			status = "disabled";
    +		};
    +
     	};
     };
    -- 
    The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
    hosted by The Linux Foundation
    
    ^ permalink raw reply related	[flat|nested] 31+ messages in thread
  • * [PATCH 5/5] arm: qcom: dts: Enale NAND node on IPQ8064 AP148 pplatform
           [not found] <1421419702-17812-1-git-send-email-architt@codeaurora.org>
           [not found] ` <1421419702-17812-1-git-send-email-architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
      2015-01-16 14:48 ` [PATCH 4/5] arm: qcom: dts: Add NAND controller node for ipq806x Archit Taneja
    @ 2015-01-16 14:48 ` Archit Taneja
           [not found] ` <1437474886-6209-1-git-send-email-architt@codeaurora.org>
           [not found] ` <1438578498-32254-1-git-send-email-architt@codeaurora.org>
      4 siblings, 0 replies; 31+ messages in thread
    From: Archit Taneja @ 2015-01-16 14:48 UTC (permalink / raw)
      To: linux-mtd, linux-arm-msm
      Cc: linux-kernel, agross, galak, Archit Taneja, devicetree
    
    Enable the NAND controller node on the AP148 platform. Provide pinmux
    information.
    
    Cc: devicetree@vger.kernel.org
    Signed-off-by: Archit Taneja <architt@codeaurora.org>
    ---
     arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 32 ++++++++++++++++++++++++++++++++
     1 file changed, 32 insertions(+)
    
    diff --git a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
    index 1e1d0d8..82878bb 100644
    --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
    +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
    @@ -30,6 +30,28 @@
     					bias-none;
     				};
     			};
    +			nand_pins: nand_pins {
    +				mux {
    +					pins = "gpio34", "gpio35", "gpio36",
    +					       "gpio37", "gpio38", "gpio39",
    +					       "gpio40", "gpio41", "gpio42",
    +					       "gpio43", "gpio44", "gpio45",
    +					       "gpio46", "gpio47";
    +					function = "nand";
    +					drive-strength = <10>;
    +					bias-disable;
    +				};
    +				pullups {
    +					pins = "gpio39";
    +					bias-pull-up;
    +				};
    +				hold {
    +					pins = "gpio40", "gpio41", "gpio42",
    +					       "gpio43", "gpio44", "gpio45",
    +					       "gpio46", "gpio47";
    +					bias-bus-hold;
    +				};
    +			};
     		};
     
     		gsbi@16300000 {
    @@ -93,5 +115,15 @@
     		dma@18300000 {
     			status = "ok";
     		};
    +
    +		nand@0x1ac00000 {
    +			status = "ok";
    +
    +			pinctrl-0 = <&nand_pins>;
    +			pinctrl-names = "default";
    +
    +			nand-ecc-strength = <4>;
    +			nand-bus-width = <8>;
    +		};
     	};
     };
    -- 
    The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
    hosted by The Linux Foundation
    
    ^ permalink raw reply related	[flat|nested] 31+ messages in thread
  • [parent not found: <1437474886-6209-1-git-send-email-architt@codeaurora.org>]
  • [parent not found: <1438578498-32254-1-git-send-email-architt@codeaurora.org>]

  • end of thread, other threads:[~2016-01-20 14:46 UTC | newest]
    
    Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1421419702-17812-1-git-send-email-architt@codeaurora.org>
         [not found] ` <1421419702-17812-1-git-send-email-architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
    2015-01-16 14:48   ` [PATCH 3/5] Documentaion: dt: add DT bindings for Qualcomm NAND controller Archit Taneja
    2015-01-16 14:48 ` [PATCH 4/5] arm: qcom: dts: Add NAND controller node for ipq806x Archit Taneja
    2015-01-16 14:48 ` [PATCH 5/5] arm: qcom: dts: Enale NAND node on IPQ8064 AP148 pplatform Archit Taneja
         [not found] ` <1437474886-6209-1-git-send-email-architt@codeaurora.org>
    2015-07-21 10:34   ` [PATCH v2 3/5] dt/bindings: qcom_nandc: Add DT bindings Archit Taneja
    2015-07-24 18:57     ` Andy Gross
    2015-07-24 19:37     ` Stephen Boyd
    2015-07-21 10:34   ` [PATCH v2 4/5] arm: qcom: dts: Add NAND controller node for ipq806x Archit Taneja
    2015-07-24 19:01     ` Andy Gross
    2015-07-21 10:34   ` [PATCH v2 5/5] arm: qcom: dts: Enale NAND node on IPQ8064 AP148 platform Archit Taneja
    2015-07-24 18:58     ` Andy Gross
    2015-07-24 18:59     ` Andy Gross
         [not found] ` <1438578498-32254-1-git-send-email-architt@codeaurora.org>
    2015-08-03  5:08   ` [PATCH v3 3/5] dt/bindings: qcom_nandc: Add DT bindings Archit Taneja
    2015-08-03  5:08   ` [PATCH v3 4/5] arm: qcom: dts: Add NAND controller node for ipq806x Archit Taneja
         [not found]   ` <1438578498-32254-1-git-send-email-architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
    2015-08-03  5:08     ` [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform Archit Taneja
    2015-08-03 19:35       ` Andy Gross
    2015-08-04 15:05         ` Archit Taneja
    2015-08-03 20:58       ` Stephen Boyd
    2015-08-04 15:06         ` Archit Taneja
         [not found]   ` <1439959746-25498-1-git-send-email-architt@codeaurora.org>
    2015-08-19  4:49     ` [PATCH v4 3/5] dt/bindings: qcom_nandc: Add DT bindings Archit Taneja
    2015-12-16  6:33       ` Boris Brezillon
    2015-12-16  8:11         ` Archit Taneja
    2015-08-19  4:49     ` [PATCH v4 4/5] arm: qcom: dts: Add NAND controller node for ipq806x Archit Taneja
    2015-08-19  4:49     ` [PATCH v4 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform Archit Taneja
         [not found]     ` <1451971501-18160-1-git-send-email-architt@codeaurora.org>
    2016-01-05  5:25       ` [PATCH v5 3/3] dt/bindings: qcom_nandc: Add DT bindings Archit Taneja
    2016-01-06 15:05         ` Boris Brezillon
    2016-01-06 15:14         ` Rob Herring
    2016-01-06 15:37           ` Boris Brezillon
    2016-01-06 16:13             ` Rob Herring
    2016-01-06 16:36               ` Boris Brezillon
         [not found]       ` <1453110634-25995-1-git-send-email-architt@codeaurora.org>
    2016-01-18  9:50         ` [PATCH v6 " Archit Taneja
    2016-01-20 14:46           ` Rob Herring
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).