Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b59af8c authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

ARM: dts: msm: Add qnand_1 device node for APQ8009



Add qnand_1 device node to enable the detection of NAND device
for 8909 MTP.

Change-Id: I097f352d610d2ff0736824a46515f693345a5341
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 2d293162
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -300,6 +300,10 @@
	status = "okay";
};

&qnand_1 {
	status = "ok";
};

&sdhc_1 {
	vdd-supply = <&pm8909_l8>;
	qcom,vdd-voltage-level = <2900000 2900000>;
+25 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@
		i2c1 = &i2c_1; /* I2C1 controller */
		i2c2 = &i2c_2; /* I2C2 NFC qup2 device */
		i2c4 = &i2c_4; /* I2C4 controller device */
		qpic_nand1 = &qnand_1; /* qpic nand controller */
	};

	cpus {
@@ -950,6 +951,30 @@
		qcom,coresight-jtagmm-cpu = <&CPU3>;
	};

	qnand_1: nand@7980000 {
		compatible = "qcom,msm-nand";
		reg = <0x7980000 0x1000>,
			<0x7984000 0x1a000>,
			<0x5e02c 0x4>;
		reg-names = "nand_phys",
		    "bam_phys", "boot_cfg";
		qcom,reg-adjustment-offset = <0>;
		interrupts = <0 132 0>;
		interrupt-names = "bam_irq";

		qcom,msm-bus,name = "qpic_nand";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps =
			<91 512 0 0>,
		/* Voting for max b/w on PNOC bus for now */
			<91 512 400000 800000>;

		clock-names = "core_clk";
		clocks = <&clock_rpm clk_qpic_clk>;
		status = "disabled";
	};

	sdhc_1: sdhci@7824000 {
		compatible = "qcom,sdhci-msm";
		reg = <0x07824900 0x11c>, <0x07824000 0x800>;