Message ID | 2ca1cf3732a00512fa19b6118f9fb30aba014deb.1411404079.git.stefan@agner.ch (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Sep 22, 2014 at 7:09 PM, Stefan Agner <stefan@agner.ch> wrote: > Add device tree property for system reset controller. > > Signed-off-by: Stefan Agner <stefan@agner.ch> Are there already device tree bindings for SRC and GRC? Yours, Linus Walleij
Am 2014-09-24 11:16, schrieb Linus Walleij: > On Mon, Sep 22, 2014 at 7:09 PM, Stefan Agner <stefan@agner.ch> wrote: > >> Add device tree property for system reset controller. >> >> Signed-off-by: Stefan Agner <stefan@agner.ch> > > Are there already device tree bindings for SRC and GRC? Yes there are used in the i.MX6 world for instance, see imx6qdl.dtsi. The SRC also has quite generic documentation, however, the GPC module currently lacks documentation... -- Stefan
Hi Stefan, Am Mittwoch, den 24.09.2014, 18:41 +0200 schrieb Stefan Agner: > Am 2014-09-24 11:16, schrieb Linus Walleij: > > On Mon, Sep 22, 2014 at 7:09 PM, Stefan Agner <stefan@agner.ch> wrote: > > > >> Add device tree property for system reset controller. > >> > >> Signed-off-by: Stefan Agner <stefan@agner.ch> > > > > Are there already device tree bindings for SRC and GRC? > > Yes there are used in the i.MX6 world for instance, see imx6qdl.dtsi. > The SRC also has quite generic documentation, however, the GPC module > currently lacks documentation... A patch that adds GPC binding documentation is part of this i.MX6 power domain series: http://www.spinics.net/lists/devicetree/msg48454.html regards Philipp
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 3a6840c..122a64956 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm/boot/dts/vf610.dtsi @@ -366,6 +366,13 @@ reg = <0x40034800 0x200>; clocks = <&clks VF610_CLK_USBC0>; }; + + src: src@4006e000 { + compatible = "fsl,vf610-src"; + reg = <0x4006e000 0x1000>; + interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>; + #reset-cells = <0>; + }; }; aips1: aips-bus@40080000 {
Add device tree property for system reset controller. Signed-off-by: Stefan Agner <stefan@agner.ch> --- arch/arm/boot/dts/vf610.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)