Message ID | 1443104818-993-8-git-send-email-t-kristo@ti.com |
---|---|
State | New |
Headers | show |
Hi Tero, On Thursday 24 September 2015 07:56 PM, Tero Kristo wrote: > Add reset data for pruss, gfx, wkup-m3 and system reset. > > Signed-off-by: Tero Kristo <t-kristo@ti.com> > --- > arch/arm/boot/dts/am4372.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi > index 0447c04a..fcc8d31 100644 > --- a/arch/arm/boot/dts/am4372.dtsi > +++ b/arch/arm/boot/dts/am4372.dtsi > @@ -116,12 +116,15 @@ > reg-names = "umem", "dmem"; > ti,hwmods = "wkup_m3"; > ti,pm-firmware = "am335x-pm-firmware.elf"; > + reset-names = "wkup_m3"; > + resets = <&prcm 0x2000 0x10 3 0x14 5>; > }; > > prcm: prcm@1f0000 { > compatible = "ti,am4-prcm"; > reg = <0x1f0000 0x11000>; > interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; > + #reset-cells = <5>; > > prcm_clocks: clocks { > #address-cells = <1>; > @@ -130,6 +133,12 @@ > > prcm_clockdomains: clockdomains { > }; > + > + system_reset: system_reset { > + compatible = "ti,system-reset"; > + reset-names = "system"; > + reset-cells = <&prcm 0x4000 0 0 4 0>; This should be resets instead of reset-cells. With this change, reboot is functional on AM437x GP evm. Thanks and regards, Lokesh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 09/25/2015 03:57 PM, Lokesh Vutla wrote: > Hi Tero, > > On Thursday 24 September 2015 07:56 PM, Tero Kristo wrote: >> Add reset data for pruss, gfx, wkup-m3 and system reset. >> >> Signed-off-by: Tero Kristo <t-kristo@ti.com> >> --- >> arch/arm/boot/dts/am4372.dtsi | 24 ++++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> >> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi >> index 0447c04a..fcc8d31 100644 >> --- a/arch/arm/boot/dts/am4372.dtsi >> +++ b/arch/arm/boot/dts/am4372.dtsi >> @@ -116,12 +116,15 @@ >> reg-names = "umem", "dmem"; >> ti,hwmods = "wkup_m3"; >> ti,pm-firmware = "am335x-pm-firmware.elf"; >> + reset-names = "wkup_m3"; >> + resets = <&prcm 0x2000 0x10 3 0x14 5>; >> }; >> >> prcm: prcm@1f0000 { >> compatible = "ti,am4-prcm"; >> reg = <0x1f0000 0x11000>; >> interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; >> + #reset-cells = <5>; >> >> prcm_clocks: clocks { >> #address-cells = <1>; >> @@ -130,6 +133,12 @@ >> >> prcm_clockdomains: clockdomains { >> }; >> + >> + system_reset: system_reset { >> + compatible = "ti,system-reset"; >> + reset-names = "system"; >> + reset-cells = <&prcm 0x4000 0 0 4 0>; > This should be resets instead of reset-cells. > With this change, reboot is functional on AM437x GP evm. Oops, nasty typo there. Thanks for catching. -Tero > > Thanks and regards, > Lokesh > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 0447c04a..fcc8d31 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -116,12 +116,15 @@ reg-names = "umem", "dmem"; ti,hwmods = "wkup_m3"; ti,pm-firmware = "am335x-pm-firmware.elf"; + reset-names = "wkup_m3"; + resets = <&prcm 0x2000 0x10 3 0x14 5>; }; prcm: prcm@1f0000 { compatible = "ti,am4-prcm"; reg = <0x1f0000 0x11000>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + #reset-cells = <5>; prcm_clocks: clocks { #address-cells = <1>; @@ -130,6 +133,12 @@ prcm_clockdomains: clockdomains { }; + + system_reset: system_reset { + compatible = "ti,system-reset"; + reset-names = "system"; + reset-cells = <&prcm 0x4000 0 0 4 0>; + }; }; scm: scm@210000 { @@ -1053,6 +1062,21 @@ ti,hwmods = "vpfe1"; status = "disabled"; }; + + gfx: gfx@56000000 { + compatible = "ti,am4376-sgx530", "img,sgx530"; + ti,hwmods = "gfx"; + status = "disabled"; + reset-names = "gfx"; + resets = <&prcm 0x400 0x10 0 0x14 0>; + }; + + pruss: pruss@54400000 { + compatible = "ti,am4372-pruss"; + ti,hwmods = "pruss"; + reset-names = "pruss"; + resets = <&prcm 0x800 0x10 1 0x14 0>; + }; }; };
Add reset data for pruss, gfx, wkup-m3 and system reset. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/boot/dts/am4372.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)