]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/arm/dts/rk3188-radxarock.dts
rockchip: rk3188: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock
[thirdparty/u-boot.git] / arch / arm / dts / rk3188-radxarock.dts
index 5f5b5e9a1f09b453ae8ea655b2339b526a527d27..61367126ba8f5db100dfffe4d02408a5b04a4029 100644 (file)
@@ -1,12 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
 /*
  * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
- *
- * SPDX-License-Identifier:     GPL-2.0+ or X11
  */
 
 /dts-v1/;
 #include <dt-bindings/input/input.h>
 #include "rk3188.dtsi"
+#include "rk3188-radxarock-u-boot.dtsi"
 
 / {
        model = "Radxa Rock";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&sdmmc_pwr>;
                startup-delay-us = <100000>;
                vin-supply = <&vcc_io>;
        };
                };
        };
 
+       sd0 {
+               sdmmc_pwr: sdmmc-pwr {
+                       rockchip,pins = <RK_GPIO3 1 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        usb {
                host_vbus_drv: host-vbus-drv {
                        rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>;
        status = "okay";
 };
 
-&uart2 {
-       status = "okay";
-       u-boot,dm-spl;
-};
-
 &uart3 {
        status = "okay";
 };