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

Commit b0a6261f authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: dts: uniphier: add SD/eMMC controller nodes



Add SD controller nodes for LD4, Pro4, sLD8, Pro5, and PXs2.
This is also used as an eMMC controller for LD4, Pro4, and sLD8.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 925c5c32
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -63,6 +63,10 @@
	status = "okay";
};

&sd {
	status = "okay";
};

&usb0 {
	status = "okay";
};
+34 −0
Original line number Diff line number Diff line
@@ -235,6 +235,40 @@
			};
		};

		sd: sdhc@5a400000 {
			compatible = "socionext,uniphier-sd-v2.91";
			status = "disabled";
			reg = <0x5a400000 0x200>;
			interrupts = <0 76 4>;
			pinctrl-names = "default", "uhs";
			pinctrl-0 = <&pinctrl_sd>;
			pinctrl-1 = <&pinctrl_sd_uhs>;
			clocks = <&mio_clk 0>;
			reset-names = "host", "bridge";
			resets = <&mio_rst 0>, <&mio_rst 3>;
			bus-width = <4>;
			cap-sd-highspeed;
			sd-uhs-sdr12;
			sd-uhs-sdr25;
			sd-uhs-sdr50;
		};

		emmc: sdhc@5a500000 {
			compatible = "socionext,uniphier-sd-v2.91";
			status = "disabled";
			reg = <0x5a500000 0x200>;
			interrupts = <0 78 4>;
			pinctrl-names = "default";
			pinctrl-0 = <&pinctrl_emmc>;
			clocks = <&mio_clk 1>;
			reset-names = "host", "bridge", "hw";
			resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
			bus-width = <8>;
			cap-mmc-highspeed;
			cap-mmc-hw-reset;
			non-removable;
		};

		usb0: usb@5a800100 {
			compatible = "socionext,uniphier-ehci", "generic-ehci";
			status = "disabled";
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@
	status = "okay";
};

&sd {
	status = "okay";
};

&eth {
	status = "okay";
	phy-handle = <&ethphy>;
+5 −0
Original line number Diff line number Diff line
@@ -121,6 +121,11 @@
		function = "sd";
	};

	pinctrl_sd_uhs: sd-uhs {
		groups = "sd";
		function = "sd";
	};

	pinctrl_sd1: sd1 {
		groups = "sd1";
		function = "sd1";
+4 −0
Original line number Diff line number Diff line
@@ -68,6 +68,10 @@
	status = "okay";
};

&sd {
	status = "okay";
};

&usb2 {
	status = "okay";
};
Loading