]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: am335x-boneblack: Enable 1GHz OPP for cpu
authorDave Gerlach <d-gerlach@ti.com>
Mon, 6 Mar 2017 15:23:39 +0000 (09:23 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Mar 2017 20:44:56 +0000 (13:44 -0700)
Although all PG2.0 silicon may not support 1GHz OPP for the MPU, older
Beaglebone Blacks may have PG2.0 silicon populated and these particular
parts are guaranteed to support the OPP, so enable it for PG2.0 on
am335x-boneblack only.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
eviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-boneblack.dts

index 77273df1a02814ba55a889b1cccbd1e51ba2b2c2..935ed17d22e4624c767ae42394d3ebbe21a8076c 100644 (file)
        model = "TI AM335x BeagleBone Black";
        compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
 };
+
+&cpu0_opp_table {
+       /*
+        * All PG 2.0 silicon may not support 1GHz but some of the early
+        * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
+        * to support 1GHz OPP so enable it for PG 2.0 on this board.
+        */
+       oppnitro@1000000000 {
+               opp-supported-hw = <0x06 0x0100>;
+       };
+};