Commit 7301f269 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Heiko Stuebner

ARM: dts: rockchip: Enable sata support on rock2 square

The Rock 2 square board has a USB -> SATA converter hooked up to its usb
host1 connection. Enable the usb controller and always turn on the power
on the 5V sata power connector (controlled by gpio).
Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 94bbdd77
......@@ -81,6 +81,17 @@ simple-audio-card,dai-link@1 { /* S/PDIF - S/PDIF */
};
};
sata_pwr: sata-prw-regulator {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio0 13 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&sata_pwr_en>;
/* Always turn on the 5V sata power connector */
regulator-always-on;
regulator-name = "sata_pwr";
};
spdif_out: spdif-out {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
......@@ -237,6 +248,12 @@ host_vbus_drv: host-vbus-drv {
};
};
sata {
sata_pwr_en: sata-pwr-en {
rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
sdmmc {
sdmmc_pwr: sdmmc-pwr {
rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
......@@ -265,3 +282,7 @@ &usbphy {
&usb_host0_ehci {
status = "okay";
};
&usb_host1 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment