Skip to content

Commit

Permalink
overlays-00-add-oc-opp-rk3399(:1)
Browse files Browse the repository at this point in the history
Original-Subject: rk3399-add-2ghz-opp-overlay
Signed-off-by: tonymac32 <tonymckahan@gmail.com>
X-Armbian: Patch-File: overlays-00-add-oc-opp-rk3399
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.1
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: rk3399-add-2ghz-opp-overlay
  • Loading branch information
Tonymac32 authored and Armbian AutoPatcher committed Dec 16, 2020
1 parent 452f9bf commit a7ad6dc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-i2c7.dtbo \
rockchip-i2c8.dtbo \
rockchip-pcie-gen2.dtbo \
rockchip-rk3399-opp-2ghz.dtbo \
rockchip-spi-jedec-nor.dtbo \
rockchip-spi-spidev.dtbo \
rockchip-uart4.dtbo \
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ I2C8 pins (SCL, SDA): GPIO1-C5, GPIO1-C4
Enables PCIe Gen2 link speed on RK3399.
WARNING! Not officially supported by Rockchip!!!

### rk3399-opp-2ghz

Adds the 2GHz big and 1.5 GHz LITTLE opps for overclocking
WARNING! Not officially supported by Rockchip!!!

### spi-jedec-nor

Activates MTD support for JEDEC compatible SPI NOR flash chips on SPI bus
Expand Down
24 changes: 24 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3399-opp-2ghz.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/dts-v1/;

/ {
compatible = "rockchip,rk3399";
fragment@0 {
target-path = "/opp-table0";
__overlay__ {
opp06 {
opp-hz = /bits/ 64 <1512000000>;
opp-microvolt = <1200000>;
};
};
};

fragment@1 {
target-path = "/opp-table1";
__overlay__ {
opp08 {
opp-hz = /bits/ 64 <2016000000>;
opp-microvolt = <1300000>;
};
};
};
};

0 comments on commit a7ad6dc

Please sign in to comment.