mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 15:52:02 +00:00
51 lines
1.2 KiB
Diff
51 lines
1.2 KiB
Diff
From 4f8960bd89243ace2282fbc890cf14cc8cca7a52 Mon Sep 17 00:00:00 2001
|
|
From: zouxf <zxf@t-tchip.com.cn>
|
|
Date: Wed, 14 Mar 2018 15:11:45 +0800
|
|
Subject: [PATCH] firefly: dts: add led device to rk3328-roc-cc
|
|
|
|
Change-Id: I60c39f4f71437d9cf9aac828deb9c19c3c9fe45a
|
|
---
|
|
arch/arm/dts/rk3328-roc-cc.dts | 14 ++++++++++++--
|
|
1 file changed, 12 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/dts/rk3328-roc-cc.dts b/arch/arm/dts/rk3328-roc-cc.dts
|
|
index eab84c7769..b9b8fbc5ec 100644
|
|
--- a/arch/arm/dts/rk3328-roc-cc.dts
|
|
+++ b/arch/arm/dts/rk3328-roc-cc.dts
|
|
@@ -38,7 +38,7 @@
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
regulator-name = "vcc5v0_host_xhci";
|
|
- gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>;
|
|
+ gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
};
|
|
@@ -109,8 +109,10 @@
|
|
};
|
|
|
|
&usb_host0_xhci {
|
|
- vbus-supply = <&vcc5v0_host_xhci>;
|
|
+ //vbus-supply = <&vcc5v0_host_xhci>;
|
|
+ vbus-supply = <&vcc5v0_otg>;
|
|
status = "okay";
|
|
+ maximum-speed = "high-speed";
|
|
};
|
|
|
|
&i2c1 {
|
|
@@ -138,6 +140,14 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+ led1 {
|
|
+ label = "standby";
|
|
+ };
|
|
+
|
|
+ led2 {
|
|
+ label = "power";
|
|
+ };
|
|
+
|
|
regulators {
|
|
vdd_logic: DCDC_REG1 {
|
|
regulator-name = "vdd_logic";
|
|
|