Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67fe2fa8 authored by Florian Fainelli's avatar Florian Fainelli Committed by Herbert Xu
Browse files

dt-bindings: rng: Incorporate brcm,bcm6368.txt binding



Since the same block is used on BCM2835 and BCM6368, merge the bindings
and remove the brcm,bcm6368.txt binding document.

Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6f09359a
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
BCM2835 Random number generator
BCM2835/6368 Random number generator

Required properties:

- compatible : should be "brcm,bcm2835-rng"  or "brcm,bcm-nsp-rng" or
  "brcm,bcm5301x-rng"
- compatible : should be one of
	"brcm,bcm2835-rng"
	"brcm,bcm-nsp-rng"
	"brcm,bcm5301x-rng" or
	"brcm,bcm6368-rng"
- reg : Specifies base physical address and size of the registers.

Optional properties:

- clocks : phandle to clock-controller plus clock-specifier pair
- clock-names : "ipsec" as a clock name

Example:

rng {
@@ -17,3 +25,11 @@ rng@18033000 {
	compatible = "brcm,bcm-nsp-rng";
	reg = <0x18033000 0x14>;
};

random: rng@10004180 {
	compatible = "brcm,bcm6368-rng";
	reg = <0x10004180 0x14>;

	clocks = <&periph_clk 18>;
	clock-names = "ipsec";
};
+0 −17
Original line number Diff line number Diff line
BCM6368 Random number generator

Required properties:

- compatible : should be "brcm,bcm6368-rng"
- reg : Specifies base physical address and size of the registers
- clocks : phandle to clock-controller plus clock-specifier pair
- clock-names : "ipsec" as a clock name

Example:
	random: rng@10004180 {
		compatible = "brcm,bcm6368-rng";
		reg = <0x10004180 0x14>;

		clocks = <&periph_clk 18>;
		clock-names = "ipsec";
	};