summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288-rock2-square.dts
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-04-19 06:45:10 -0700
committerOlof Johansson <olof@lixom.net>2017-04-19 06:45:10 -0700
commitb633b314061ea26cefa2600bf4d353a462f0c7aa (patch)
tree529dce3c569d94843f817be0e4615770037ebf28 /arch/arm/boot/dts/rk3288-rock2-square.dts
parent6daf2aab1ca801a2e8a42537aadad26fd321e90d (diff)
parent81507732449076de35db3b5a439e4dfd548c6b5a (diff)
downloadtalos-op-linux-b633b314061ea26cefa2600bf4d353a462f0c7aa.tar.gz
talos-op-linux-b633b314061ea26cefa2600bf4d353a462f0c7aa.zip
Merge tag 'v4.12-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt
Support for the usb-sata controller on the rock2 and another new rk3288 board, the phyCORE som and its PCM-947 carrier board from Phytec. * tag 'v4.12-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: dts: rockchip: Add support for PCM-947 carrier board dt-bindings: Document Phytec phyCORE-RK3288 RDK ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM ARM: dts: rockchip: Enable sata support on rock2 square Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-rock2-square.dts')
-rw-r--r--arch/arm/boot/dts/rk3288-rock2-square.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts
index fbf11d410c42..a23a94811be8 100644
--- a/arch/arm/boot/dts/rk3288-rock2-square.dts
+++ b/arch/arm/boot/dts/rk3288-rock2-square.dts
@@ -81,6 +81,17 @@
};
};
+ 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 @@
};
};
+ 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 @@
&usb_host0_ehci {
status = "okay";
};
+
+&usb_host1 {
+ status = "okay";
+};
OpenPOWER on IntegriCloud