ARM: dts: Properly configure dra7 edma sysconfig registers
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:03:45 +0000 (14:03 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:07 +0000 (14:04 +0200)
Looks like the TRM is not listing the sysconfig for edma, let's add it
based on am437x TRM edma registers as listed in sections "Table 10-26.
EDMA3CC Registers" and "Table 10-99. EDMA3TC Registers".

Tested-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi

index f7e4022..4906e2f 100644 (file)
 
                target-module@43300000 {
                        compatible = "ti,sysc-omap4", "ti,sysc";
-                       reg = <0x43300000 0x4>;
-                       reg-names = "rev";
+                       reg = <0x43300000 0x4>,
+                             <0x43300010 0x4>;
+                       reg-names = "rev", "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
                        clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
                        clock-names = "fck";
                        #address-cells = <1>;
 
                target-module@43400000 {
                        compatible = "ti,sysc-omap4", "ti,sysc";
-                       reg = <0x43400000 0x4>;
-                       reg-names = "rev";
+                       reg = <0x43400000 0x4>,
+                             <0x43400010 0x4>;
+                       reg-names = "rev", "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
                        clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
                        clock-names = "fck";
                        #address-cells = <1>;
 
                target-module@43500000 {
                        compatible = "ti,sysc-omap4", "ti,sysc";
-                       reg = <0x43500000 0x4>;
-                       reg-names = "rev";
+                       reg = <0x43500000 0x4>,
+                             <0x43500010 0x4>;
+                       reg-names = "rev", "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
                        clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
                        clock-names = "fck";
                        #address-cells = <1>;