ARM: dts: omap4: add PRM nodes
authorTero Kristo <t-kristo@ti.com>
Thu, 10 Oct 2019 08:21:05 +0000 (11:21 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Oct 2019 14:22:22 +0000 (07:22 -0700)
Add PRM nodes for omap4 series of SoCs. These are initially used to
support reset control for some of the nodes, but will be extended
later to add powerdomain control and support for PRCM irqs among
other things.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-l4.dtsi
arch/arm/boot/dts/omap4.dtsi

index d60d5e0ecc4c14b69abc29224f6bd70b7363f1c6..3421ef387e21d95664b569d4d8c178e4aef20e77 100644 (file)
                        ranges = <0x0 0x6000 0x2000>;
 
                        prm: prm@0 {
-                               compatible = "ti,omap4-prm";
+                               compatible = "ti,omap4-prm", "simple-bus";
                                reg = <0x0 0x2000>;
                                interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
                                #address-cells = <1>;
index 7cc95bc1598b6f88b774f7ff7ad3dd58daa36466..edb03dfe6debce1b1e74119e8de3ecbec7eae8d8 100644 (file)
 #include "omap4-l4.dtsi"
 #include "omap4-l4-abe.dtsi"
 #include "omap44xx-clocks.dtsi"
+
+&prm {
+       prm_tesla: prm@400 {
+               compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
+               reg = <0x400 0x100>;
+               #reset-cells = <1>;
+       };
+
+       prm_core: prm@700 {
+               compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
+               reg = <0x700 0x100>;
+               #reset-cells = <1>;
+       };
+
+       prm_ivahd: prm@f00 {
+               compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
+               reg = <0xf00 0x100>;
+               #reset-cells = <1>;
+       };
+
+       prm_device: prm@1b00 {
+               compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
+               reg = <0x1b00 0x40>;
+               #reset-cells = <1>;
+       };
+};