Message ID | 1463041641-27485-2-git-send-email-dirk.behme@de.bosch.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
On Thu, May 12, 2016 at 10:27 AM, Dirk Behme <dirk.behme@de.bosch.com> wrote: > From: Geert Uytterhoeven <geert+renesas@glider.be> > > Add DT bindings for the Renesas R-Car Reset Controller > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > .../devicetree/bindings/reset/renesas,rst.txt | 29 ++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/renesas,rst.txt > > diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt > new file mode 100644 > index 0000000..f84fd0d > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt > @@ -0,0 +1,29 @@ > +DT bindings for the Renesas R-Car Reset Controller > + > +The R-Car Reset Controller provides reset control, and implements the following > +functions: > + - Register-based reset control for the various CPU cores, > + - Latching of the levels on mode pins when PRESET# is negated, > + - Mode monitoring register, > + - Boot address registers for the various CPU cores. > + > + > +Required properties: > + - compatible: Should be "renesas,rst-<soctype>", and "syscon". Should become "renesas,<soctype>-rst" to match current best practices. > + Examples with soctypes are: > + - "renesas,rst-r8a7790" (R-Car H2) > + - "renesas,rst-r8a7791" (R-Car M2-W) > + - "renesas,rst-r8a7792" (R-Car V2H > + - "renesas,rst-r8a7793" (R-Car M2-N) > + - "renesas,rst-r8a7794" (R-Car E2) > + - "renesas,rst-r8a7795" (R-Car H3) > + - "renesas,rst-r8a7796" (R-Car M3) "renesas,r8a7790-rst" etc. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt new file mode 100644 index 0000000..f84fd0d --- /dev/null +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -0,0 +1,29 @@ +DT bindings for the Renesas R-Car Reset Controller + +The R-Car Reset Controller provides reset control, and implements the following +functions: + - Register-based reset control for the various CPU cores, + - Latching of the levels on mode pins when PRESET# is negated, + - Mode monitoring register, + - Boot address registers for the various CPU cores. + + +Required properties: + - compatible: Should be "renesas,rst-<soctype>", and "syscon". + Examples with soctypes are: + - "renesas,rst-r8a7790" (R-Car H2) + - "renesas,rst-r8a7791" (R-Car M2-W) + - "renesas,rst-r8a7792" (R-Car V2H + - "renesas,rst-r8a7793" (R-Car M2-N) + - "renesas,rst-r8a7794" (R-Car E2) + - "renesas,rst-r8a7795" (R-Car H3) + - "renesas,rst-r8a7796" (R-Car M3) + - reg: Address start and address range for the device. + + +Example: + + rst: reset-controller@e6160000 { + compatible = "renesas,rst-r8a7795", "syscon"; + reg = <0 0xe6160000 0 0x0200>; + };