ARM: dts: rmobile: Add rudimentary R8A7790 Stout DT
[oweals/u-boot.git] / arch / arm / dts / rk3399-evb.dts
index f5af75bff448addbd7e8891254314ec3825eebf3..f0567c9c2a26983ff8ebb1668894dd2df8b80b97 100644 (file)
@@ -17,6 +17,8 @@
 
        chosen {
                stdout-path = &uart2;
+               u-boot,spl-boot-order = \
+                       &sdhci, &sdmmc;
        };
 
        vdd_center: vdd-center {
                gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
        };
 
+       vcc5v0_typec0: vcc5v0-typec0-en {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc5v0_typec0";
+               gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
+       };
+
+       vcc5v0_typec1: vcc5v0-typec1-en {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc5v0_typec1";
+               gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
+       };
+
        clkin_gmac: external-gmac-clock {
                compatible = "fixed-clock";
                clock-frequency = <125000000>;
        status = "okay";
 };
 
+&saradc {
+       status = "okay";
+};
+
 &sdmmc {
+       u-boot,dm-pre-reloc;
        bus-width = <4>;
        status = "okay";
 };
 };
 
 &dwc3_typec0 {
-       rockchip,vbus-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
+       vbus-supply = <&vcc5v0_typec0>;
        status = "okay";
 };
 
 };
 
 &dwc3_typec1 {
-       rockchip,vbus-gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
+       vbus-supply = <&vcc5v0_typec1>;
        status = "okay";
 };
 
        rx_delay = <0x10>;
        status = "okay";
 };
-
-&gmac {
-        phy-supply = <&vcc_phy>;
-       phy-mode = "rgmii";
-       clock_in_out = "input";
-       snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
-       snps,reset-active-low;
-       snps,reset-delays-us = <0 10000 50000>;
-       assigned-clocks = <&cru SCLK_RMII_SRC>;
-       assigned-clock-parents = <&clkin_gmac>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&rgmii_pins>;
-       tx_delay = <0x10>;
-       rx_delay = <0x10>;
-       status = "okay";
-};