rename symbol: CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
[oweals/u-boot.git] / arch / arm / dts / rk3399-roc-pc-u-boot.dtsi
index 77d5cf5d3cd61fb5828c7f3e90b6e222dc6bf5b4..141dd0b30672f27c79de491c83e424b20537159d 100644 (file)
@@ -7,12 +7,52 @@
 #include "rk3399-sdram-lpddr4-100.dtsi"
 
 / {
+       aliases {
+               spi0 = &spi1;
+       };
+
        chosen {
                u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
        };
+
+       vcc_hub_en: vcc_hub_en-regulator {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpio = <&gpio2 RK_PA4 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&hub_rst>;
+               regulator-name = "vcc_hub_en";
+               regulator-always-on;
+       };
+};
+
+/*
+ * should be placed inside mp8859, but not until mp8859 has
+ * its own dt-binding.
+ */
+&dc_12v {
+       compatible = "regulator-fixed";
+       regulator-name = "dc_12v";
+       regulator-always-on;
+       regulator-boot-on;
+       regulator-min-microvolt = <12000000>;
+       regulator-max-microvolt = <12000000>;
+       vin-supply = <&vcc_vbus_typec0>;
 };
 
 &vdd_log {
        regulator-min-microvolt = <430000>;
        regulator-init-microvolt = <950000>;
 };
+
+&vcc5v0_host {
+       regulator-always-on;
+};
+
+&vcc_sys {
+       regulator-always-on;
+};
+
+&vcc_sdio {
+       regulator-always-on;
+};