diff --git a/sysutils/u-boot-pinebookpro/Makefile b/sysutils/u-boot-pinebookpro/Makefile --- a/sysutils/u-boot-pinebookpro/Makefile +++ b/sysutils/u-boot-pinebookpro/Makefile @@ -3,5 +3,6 @@ MODEL= pinebookpro BOARD_CONFIG= pinebook-pro-rk3399_defconfig FAMILY= rk3399 +EXTRA_PATCHES= ${.CURDIR}/files/ .include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-pinebookpro/files/patch-arch_arm_dts_rk3399-pinebook-pro.dts b/sysutils/u-boot-pinebookpro/files/patch-arch_arm_dts_rk3399-pinebook-pro.dts new file mode 100644 --- /dev/null +++ b/sysutils/u-boot-pinebookpro/files/patch-arch_arm_dts_rk3399-pinebook-pro.dts @@ -0,0 +1,41 @@ +--- arch/arm/dts/rk3399-pinebook-pro.dts.orig 2021-07-05 15:11:28 UTC ++++ arch/arm/dts/rk3399-pinebook-pro.dts +@@ -290,7 +290,7 @@ + pinctrl-names = "default"; + pinctrl-0 = <&lcdvcc_en_gpio>; + regulator-name = "vcc3v3_panel"; +- regulator-always-on; ++ /* regulator-always-on; */ + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <100000>; +@@ -1093,4 +1093,29 @@ + + &vopl_mmu { + status = "okay"; ++}; ++ ++&cru { ++ assigned-clocks = ++ <&cru PLL_GPLL>, <&cru PLL_CPLL>, ++ <&cru PLL_NPLL>, ++ <&cru ACLK_PERIHP>, <&cru HCLK_PERIHP>, ++ <&cru PCLK_PERIHP>, ++ <&cru ACLK_PERILP0>, <&cru HCLK_PERILP0>, ++ <&cru PCLK_PERILP0>, <&cru ACLK_CCI>, ++ <&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>, ++ <&cru ACLK_VIO>, <&cru ACLK_HDCP>, ++ <&cru ACLK_GIC_PRE>, ++ <&cru PCLK_DDR>,<&cru ACLK_VOP1>; ++ assigned-clock-rates= ++ <594000000>, <800000000>, ++ <1000000000>, ++ <150000000>, <75000000>, ++ <37500000>, ++ <100000000>, <100000000>, ++ <50000000>, <600000000>, ++ <100000000>, <50000000>, ++ <400000000>, <400000000>, ++ <200000000>, ++ <200000000>, <594000000>; + };