lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 15 Aug 2015 00:55:53 +0800
From:	Hongtao Wu <wuht06@...il.com>
To:	ulf.hansson@...aro.org, linux-mmc@...r.kernel.org,
	linux-kernel@...r.kernel.org, robh+dt@...nel.org,
	pawel.moll@....com, mark.rutland@....com,
	ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
	devicetree@...r.kernel.org, catalin.marinas@....com,
	will.deacon@....com, linux-arm-kernel@...ts.infradead.org,
	shawn.lin@...k-chips.com
Cc:	Orson.Zhai@...eadtrum.com, Chunyan.Zhang@...eadtrum.com,
	Jason.Wu@...eadtrum.com
Subject: [RFC PATCH v3 3/3] DT: Add MMC nodes in Spreadtrum DT files.

The MMC nodes is used to supply device nodes for Spreadtrum MMC driver.

Signed-off-by: Billows Wu(WuHongtao) <wuht06@...il.com>
---
 arch/arm64/boot/dts/sprd/sc9836-openphone.dts |   24 ++++++++++++++
 arch/arm64/boot/dts/sprd/sharkl64.dtsi        |   44 +++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/arch/arm64/boot/dts/sprd/sc9836-openphone.dts b/arch/arm64/boot/dts/sprd/sc9836-openphone.dts
index e5657c3..1c6d284 100644
--- a/arch/arm64/boot/dts/sprd/sc9836-openphone.dts
+++ b/arch/arm64/boot/dts/sprd/sc9836-openphone.dts
@@ -47,3 +47,27 @@
 &uart3 {
 	status = "okay";
 };
+
+&sdio0 {
+	vmmc-supply = <&vddsdcore>;
+	vqmmc-supply = <&vddsdio>;
+	cd-gpios = <&ap_gpio 141 0>;
+	sprd,delay = <0x03 0x03 0x03>;
+	sprd,name = "sd";
+};
+
+&sdio1 {
+	sprd,delay = <0x03 0x03 0x03>;
+	sprd,name = "wifi";
+	keep-power-in-suspend;
+};
+
+&sdio3 {
+	vmmc-supply = <&vddemmccore>;
+	vqmmc-supply = <&vddgen0>;
+	bus-width = <8>;
+	non-removable;
+	sprd,delay = <0x3e 0xa 0xa>;
+	sprd,name = "emmc";
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/sprd/sharkl64.dtsi b/arch/arm64/boot/dts/sprd/sharkl64.dtsi
index 69f64e7..ba4fd21 100644
--- a/arch/arm64/boot/dts/sprd/sharkl64.dtsi
+++ b/arch/arm64/boot/dts/sprd/sharkl64.dtsi
@@ -55,6 +55,44 @@
 				status = "disabled";
 			};
 		};
+
+		ap-ahb {
+			compatible = "simple-bus";
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges;
+
+			sdio0: sdio@...00000 {
+				compatible  = "sprd,sdhost-3.0";
+				reg = <0 0x20300000 0 0x1000>;
+				interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&ext_192m>;
+				status = "disabled";
+			};
+
+			sdio1: sdio@...00000 {
+				compatible  = "sprd,sdhost-3.0";
+				reg = <0 0x20400000 0 0x1000>;
+				interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&ext_192m>;
+				status = "disabled";
+			};
+
+			sdio2: sdio@...00000 {
+				reg = <0 0x20500000 0 0x1000>;
+				interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
+				status = "disabled";
+			};
+
+			sdio3: sdio@...00000 {
+				compatible  = "sprd,sdhost-3.0";
+				reg = <0 0x20600000 0 0x1000>;
+				interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&ext_192m>;
+				status = "disabled";
+			};
+		};
+
 	};

 	clk26mhz: clk26mhz {
@@ -62,4 +100,10 @@
 		#clock-cells = <0>;
 		clock-frequency = <26000000>;
 	};
+
+	ext_192m: ext-192m {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <192000000>;
+	};
 };
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ