mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-08 14:08:26 +00:00
fix vcc5v0_host for USB1_HOST_EN in OrangePi-RK3399
This commit is contained in:
parent
b6a0b58955
commit
5a0e3b6dcb
1 changed files with 17 additions and 10 deletions
|
@ -15,7 +15,7 @@ new file mode 100644
|
||||||
index 000000000000..9a7887220551
|
index 000000000000..9a7887220551
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts
|
||||||
@@ -0,0 +1,920 @@
|
@@ -0,0 +1,927 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
|
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
|
||||||
+ *
|
+ *
|
||||||
|
@ -96,15 +96,6 @@ index 000000000000..9a7887220551
|
||||||
+ regulator-max-microvolt = <3300000>;
|
+ regulator-max-microvolt = <3300000>;
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ vcc5v0_host: vcc5v0-host-regulator {
|
|
||||||
+ compatible = "regulator-fixed";
|
|
||||||
+ regulator-name = "vcc5v0_host";
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <5000000>;
|
|
||||||
+ regulator-max-microvolt = <5000000>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc5v0_sys: vcc5v0-sys {
|
+ vcc5v0_sys: vcc5v0-sys {
|
||||||
+ compatible = "regulator-fixed";
|
+ compatible = "regulator-fixed";
|
||||||
+ regulator-name = "vcc5v0_sys";
|
+ regulator-name = "vcc5v0_sys";
|
||||||
|
@ -156,6 +147,16 @@ index 000000000000..9a7887220551
|
||||||
+ rockchip,pwm_voltage = <1000000>;
|
+ rockchip,pwm_voltage = <1000000>;
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
|
+ vcc5v0_host: vcc5v0-host-regulator {
|
||||||
|
+ compatible = "regulator-fixed";
|
||||||
|
+ enable-active-high;
|
||||||
|
+ gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&vcc5v0_host_en>;
|
||||||
|
+ regulator-name = "vcc5v0_host";
|
||||||
|
+ vin-supply = <&vcc5v0_sys>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
+ dw_hdmi_audio: dw-hdmi-audio {
|
+ dw_hdmi_audio: dw-hdmi-audio {
|
||||||
+ status = "disabled";
|
+ status = "disabled";
|
||||||
+ compatible = "rockchip,dw-hdmi-audio";
|
+ compatible = "rockchip,dw-hdmi-audio";
|
||||||
|
@ -894,6 +895,12 @@ index 000000000000..9a7887220551
|
||||||
+ };
|
+ };
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
|
+ usb2 {
|
||||||
|
+ vcc5v0_host_en: vcc5v0-host-en {
|
||||||
|
+ rockchip,pins = <4 25 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
+ fusb30x {
|
+ fusb30x {
|
||||||
+ fusb0_int: fusb0-int {
|
+ fusb0_int: fusb0-int {
|
||||||
+ rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
|
+ rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue