Skip to content

Commit 4bce678

Browse files
committed
ARM: dts: omap4: Probe watchdog 3 with ti-sysc
Before updating wdt2 to probe with ti-sysc we want to have wdt3 probed with ti-sysc to avoid having them unnecessarily swap order. With ti-sysc, we probe child devices at module_init time while and until l4 abe interconnect is converted to use ti-sysc, wdt3 will probe earlier with legacy platform data. Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 8f42cb7 commit 4bce678

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

arch/arm/boot/dts/omap4.dtsi

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,12 +787,33 @@
787787
ti,hwmods = "wd_timer2";
788788
};
789789

790-
wdt3: wdt@40130000 {
791-
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
792-
reg = <0x40130000 0x80>, /* MPU private access */
793-
<0x49030000 0x80>; /* L3 Interconnect */
794-
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
790+
target-module@40130000 {
791+
compatible = "ti,sysc-omap2", "ti,sysc";
795792
ti,hwmods = "wd_timer3";
793+
reg = <0x40130000 0x4>,
794+
<0x40130010 0x4>,
795+
<0x40130014 0x4>;
796+
reg-names = "rev", "sysc", "syss";
797+
ti,sysc-mask = <(SYSC_OMAP2_EMUFREE |
798+
SYSC_OMAP2_SOFTRESET)>;
799+
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
800+
<SYSC_IDLE_NO>,
801+
<SYSC_IDLE_SMART>,
802+
<SYSC_IDLE_SMART_WKUP>;
803+
ti,syss-mask = <1>;
804+
/* Domains (V, P, C): abe, abe_pwrdm, abe_clkdm */
805+
clocks = <&abe_clkctrl OMAP4_WD_TIMER3_CLKCTRL 0>;
806+
clock-names = "fck";
807+
#address-cells = <1>;
808+
#size-cells = <1>;
809+
ranges = <0x00000000 0x40130000 0x1000>, /* MPU private access */
810+
<0x49030000 0x49030000 0x0080>; /* L3 Interconnect */
811+
812+
wdt3: wdt@0 {
813+
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
814+
reg = <0x0 0x80>;
815+
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
816+
};
796817
};
797818

798819
mcpdm: mcpdm@40132000 {

0 commit comments

Comments
 (0)