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

Commit 5186bf28 authored by Stephen Warren's avatar Stephen Warren
Browse files

ARM: bcm2835: add SDHCI node to DT



Add the SDHCI device node to the SoC DT file. Add a dummy fixed-clock
to satisfy the SDHCI driver's clock lookup; eventually this should be
replaced by a real clock implementation. Add board specific properties
to the Raspberry Pi board file.

Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent 6520700f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -24,3 +24,8 @@
		brcm,function = <7>; /* alt3 */
	};
};

&sdhci {
	status = "okay";
	bus-width = <4>;
};
+14 −0
Original line number Diff line number Diff line
@@ -63,5 +63,19 @@
			interrupt-controller;
			#interrupt-cells = <2>;
		};

		sdhci: sdhci {
			compatible = "brcm,bcm2835-sdhci";
			reg = <0x7e300000 0x100>;
			interrupts = <2 30>;
			clocks = <&clk_mmc>;
			status = "disabled";
		};
	};

	clk_mmc: clock {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <100000000>;
	};
};