mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-29 10:11:23 +00:00
92 lines
1.6 KiB
Diff
92 lines
1.6 KiB
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
index 994e7bdb3..11454de93 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
@@ -14,6 +14,21 @@
|
|
stdout-path = "serial2:1500000n8";
|
|
};
|
|
|
|
+ leds {
|
|
+ compatible = "gpio-leds";
|
|
+ power-led {
|
|
+ linux,default-trigger = "heartbeat";
|
|
+ gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
|
|
+ default-state = "on";
|
|
+ };
|
|
+
|
|
+ user-led {
|
|
+ linux,default-trigger = "disk-activity";
|
|
+ gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
|
|
+ default-state = "off";
|
|
+ };
|
|
+ };
|
|
+
|
|
gmac_clkin: external-gmac-clock {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <125000000>;
|
|
@@ -81,28 +96,21 @@
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
+};
|
|
|
|
- leds {
|
|
- compatible = "gpio-leds";
|
|
- power {
|
|
- label = "firefly:blue:power";
|
|
- linux,default-trigger = "heartbeat";
|
|
- gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
|
|
- default-state = "on";
|
|
- mode = <0x23>;
|
|
- };
|
|
+&cpu0 {
|
|
+ cpu-supply = <&vdd_arm>;
|
|
+};
|
|
|
|
- user {
|
|
- label = "firefly:yellow:user";
|
|
- linux,default-trigger = "mmc1";
|
|
- gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
|
|
- default-state = "off";
|
|
- mode = <0x05>;
|
|
- };
|
|
- };
|
|
+&cpu1 {
|
|
+ cpu-supply = <&vdd_arm>;
|
|
};
|
|
|
|
-&cpu0 {
|
|
+&cpu2 {
|
|
+ cpu-supply = <&vdd_arm>;
|
|
+};
|
|
+
|
|
+&cpu3 {
|
|
cpu-supply = <&vdd_arm>;
|
|
};
|
|
|
|
@@ -326,19 +334,20 @@
|
|
status = "okay";
|
|
};
|
|
|
|
-&vop {
|
|
+&usbdrd3 {
|
|
status = "okay";
|
|
};
|
|
|
|
-&vop_mmu {
|
|
+&usbdrd_dwc3 {
|
|
+ dr_mode = "host";
|
|
status = "okay";
|
|
};
|
|
|
|
-&usbdrd3 {
|
|
+&vop {
|
|
status = "okay";
|
|
};
|
|
|
|
-&usbdrd_dwc3 {
|
|
- dr_mode = "host";
|
|
+&vop_mmu {
|
|
status = "okay";
|
|
};
|
|
+
|