]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: Configure interconnect target module for dra7 iva
authorTony Lindgren <tony@atomide.com>
Thu, 12 Nov 2020 09:57:03 +0000 (11:57 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2020 13:09:01 +0000 (15:09 +0200)
We can now probe devices with device tree only configuration using
ti-sysc interconnect target module driver.

Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi
arch/arm/boot/dts/dra7xx-clocks.dtsi

index 07d19bba144352ed118a6b67ea8b3c7604633be5..82e98d4ab1f2cd9957da59ba514e09af095c6c30 100644 (file)
                        };
                };
 
+               iva_hd_target: target-module@5a000000 {
+                       compatible = "ti,sysc-omap4", "ti,sysc";
+                       reg = <0x5a05a400 0x4>,
+                             <0x5a05a410 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>;
+                       power-domains = <&prm_iva>;
+                       resets = <&prm_iva 2>;
+                       reset-names = "rstctrl";
+                       clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
+                       clock-names = "fck";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x5a000000 0x5a000000 0x1000000>,
+                                <0x5b000000 0x5b000000 0x1000000>;
+
+                       iva {
+                               compatible = "ti,ivahd";
+                       };
+               };
+
                opp_supply_mpu: opp-supply@4a003b20 {
                        compatible = "ti,omap5-opp-supply";
                        reg = <0x4a003b20 0xc>;
        prm_iva: prm@f00 {
                compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
                reg = <0xf00 0x100>;
+               #reset-cells = <1>;
                #power-domain-cells = <0>;
        };
 
index dc0a93bccbf1e2aa5413e2ef6f14ab0b609eb421..2365554eef3cbcff27f434f2bcfb85a346b47f8a 100644 (file)
                };
        };
 
+       iva_cm: iva-cm@f00 {
+               compatible = "ti,omap4-cm";
+               reg = <0xf00 0x100>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0xf00 0x100>;
+
+               iva_clkctrl: iva-clkctrl@20 {
+                       compatible = "ti,clkctrl";
+                       reg = <0x20 0xc>;
+                       #clock-cells = <2>;
+               };
+       };
+
        cam_cm: cam-cm@1000 {
                compatible = "ti,omap4-cm";
                reg = <0x1000 0x100>;