Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145665824
D21726.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21726.diff
View Options
Index: sys/dts/arm/overlays/sun8i-h3-opp.dtso
===================================================================
--- sys/dts/arm/overlays/sun8i-h3-opp.dtso
+++ sys/dts/arm/overlays/sun8i-h3-opp.dtso
@@ -0,0 +1,43 @@
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+/ {
+ compatible = "allwinner,sun8i-h3";
+};
+
+&{/soc/pinctrl@1f02c00} {
+ vdd_cpux_r_npi: regulator_pins@0 {
+ allwinner,pins = "PL6";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+};
+
+&{/soc} {
+ reg_vdd_cpux: vdd-cpux-regulator {
+ compatible = "regulator-gpio";
+ pinctrl-names = "default";
+ pinctrl-0 = <&vdd_cpux_r_npi>;
+ regulator-name = "vdd-cpux";
+ regulator-type = "voltage";
+ regulator-boot-on;
+ regulator-always-on;
+ regulator-min-microvolt = <1100000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-ramp-delay = <50>; /* 4ms */
+
+ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
+ enable-active-high;
+ gpios-states = <0x1>;
+ states = <1100000 0x0
+ 1300000 0x1>;
+ };
+};
+
+&{/cpus/cpu@0} {
+ cpu-supply = <®_vdd_cpux>;
+};
Index: sys/modules/dtb/allwinner/Makefile
===================================================================
--- sys/modules/dtb/allwinner/Makefile
+++ sys/modules/dtb/allwinner/Makefile
@@ -25,6 +25,7 @@
DTSO= sun8i-a83t-sid.dtso \
sun8i-h3-i2c0.dtso \
+ sun8i-h3-opp.dtso \
sun8i-h3-sid.dtso \
sun8i-h3-ths.dtso
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 23, 8:44 PM (15 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28963277
Default Alt Text
D21726.diff (1 KB)
Attached To
Mode
D21726: Add an overlay for H3 to support cpufreq scaling
Attached
Detach File
Event Timeline
Log In to Comment