Merge tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[platform/kernel/linux-starfive.git] / arch / arm / boot / dts / qcom-apq8064.dtsi
index d1c1c6a..4d562c9 100644 (file)
                };
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x0 0x0>;
        };
 
        thermal-zones {
-               cpu-thermal0 {
+               cpu0-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal1 {
+               cpu1-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal2 {
+               cpu2-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal3 {
+               cpu3-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                                pm8821_mpps: mpps@50 {
                                        compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
                                        reg = <0x50>;
-                                       interrupts = <24 IRQ_TYPE_NONE>,
-                                                    <25 IRQ_TYPE_NONE>,
-                                                    <26 IRQ_TYPE_NONE>,
-                                                    <27 IRQ_TYPE_NONE>;
+                                       interrupt-controller;
+                                       #interrupt-cells = <2>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
+                                       gpio-ranges = <&pm8821_mpps 0 0 4>;
                                };
                        };
                };
                                        reg = <0x50>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       interrupts =
-                                       <128 IRQ_TYPE_NONE>,
-                                       <129 IRQ_TYPE_NONE>,
-                                       <130 IRQ_TYPE_NONE>,
-                                       <131 IRQ_TYPE_NONE>,
-                                       <132 IRQ_TYPE_NONE>,
-                                       <133 IRQ_TYPE_NONE>,
-                                       <134 IRQ_TYPE_NONE>,
-                                       <135 IRQ_TYPE_NONE>,
-                                       <136 IRQ_TYPE_NONE>,
-                                       <137 IRQ_TYPE_NONE>,
-                                       <138 IRQ_TYPE_NONE>,
-                                       <139 IRQ_TYPE_NONE>;
+                                       gpio-ranges = <&pm8921_mpps 0 0 12>;
+                                       interrupt-controller;
+                                       #interrupt-cells = <2>;
                                };
 
                                rtc@11d {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;
-                       sdcc1: sdcc@12400000 {
+                       sdcc1: mmc@12400000 {
                                status          = "disabled";
                                compatible      = "arm,pl18x", "arm,primecell";
                                pinctrl-names   = "default";
                                dma-names = "tx", "rx";
                        };
 
-                       sdcc3: sdcc@12180000 {
+                       sdcc3: mmc@12180000 {
                                compatible      = "arm,pl18x", "arm,primecell";
                                arm,primecell-periphid = <0x00051180>;
                                status          = "disabled";
                                dma-names = "tx", "rx";
                        };
 
-                       sdcc4: sdcc@121c0000 {
+                       sdcc4: mmc@121c0000 {
                                compatible      = "arm,pl18x", "arm,primecell";
                                arm,primecell-periphid = <0x00051180>;
                                status          = "disabled";
                                  &gfx3d1 30
                                  &gfx3d1 31>;
 
-                       qcom,gpu-pwrlevels {
-                               compatible = "qcom,gpu-pwrlevels";
-                               qcom,gpu-pwrlevel@0 {
-                                       qcom,gpu-freq = <450000000>;
+                       operating-points-v2 = <&gpu_opp_table>;
+
+                       gpu_opp_table: opp-table {
+                               compatible = "operating-points-v2";
+
+                               opp-320000000 {
+                                       opp-hz = /bits/ 64 <450000000>;
                                };
-                               qcom,gpu-pwrlevel@1 {
-                                       qcom,gpu-freq = <27000000>;
+
+                               opp-27000000 {
+                                       opp-hz = /bits/ 64 <27000000>;
                                };
                        };
                };
                        clocks = <&mmcc HDMI_APP_CLK>,
                                 <&mmcc HDMI_M_AHB_CLK>,
                                 <&mmcc HDMI_S_AHB_CLK>;
-                       clock-names = "core_clk",
-                                     "master_iface_clk",
-                                     "slave_iface_clk";
+                       clock-names = "core",
+                                     "master_iface",
+                                     "slave_iface";
 
                        phys = <&hdmi_phy>;
                        phy-names = "hdmi-phy";
                                    "hdmi_pll";
 
                        clocks = <&mmcc HDMI_S_AHB_CLK>;
-                       clock-names = "slave_iface_clk";
+                       clock-names = "slave_iface";
                        #phy-cells = <0>;
                };