MLK-21554-2 ARM: dts: imx6ull: use nvmem-cells for cpu speed grading
authorArulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Wed, 1 May 2019 06:55:51 +0000 (12:25 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Mon, 6 May 2019 12:37:29 +0000 (15:37 +0300)
Add nvmem-cell support for i.MX6ULL and imx7ulz boards.

Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
arch/arm/boot/dts/imx6ull.dtsi

index deb9018..21f9ca1 100644 (file)
@@ -84,6 +84,8 @@
                                      "pll1_sw", "pll1_sys", "pll1_bypass", "pll1", "pll1_bypass_src", "osc";
                        arm-supply = <&reg_arm>;
                        soc-supply = <&reg_soc>;
+                       nvmem-cells = <&cpu_speed_grade>;
+                       nvmem-cell-names = "speed_grade";
                };
        };
 
                                tempmon_temp_grade: temp-grade@20 {
                                        reg = <0x20 4>;
                                };
+
+                               cpu_speed_grade: speed-grade@10 {
+                                       reg = <0x10 4>;
+                               };
                        };
 
                        csu: csu@021c0000 {