arm64: dts: allwinner: h6: orangepi-3: Add eMMC node
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 10 Feb 2020 17:40:07 +0000 (18:40 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Feb 2020 08:35:18 +0000 (09:35 +0100)
OrangePi 3 can optionally have 8 GiB eMMC (soldered on board). Because
those pins are dedicated to eMMC exclusively, node can be added for both
variants (with and without eMMC). Kernel will then scan bus for presence
of eMMC and act accordingly.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts

index c311eee52a3530601eb303f427206ba91e91f8dd..1e0abd9d047fa4a30113c06f1c67008098af978b 100644 (file)
        };
 };
 
+&mmc2 {
+       vmmc-supply = <&reg_cldo1>;
+       vqmmc-supply = <&reg_bldo2>;
+       cap-mmc-hw-reset;
+       non-removable;
+       bus-width = <8>;
+       status = "okay";
+};
+
 &ohci0 {
        status = "okay";
 };