forked from Minki/linux
Amlogic 64-bit DT updates
- add RNG and new clock driver support -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXfYjCAAoJEFk3GJrT+8ZlTd8P/RsPwf0N2ycGFnZ+gXk1e6Kg 8cz6q7pZDeC+sTTLWRJ5ei1QgvElmcTCQ+KLhKUiiBUHHzeJNsDEJ2jKF86R8753 vKRtnokBypVKHj+AzVLzpKcE98CezTemcu2S06YN9q/N2C7O1EMPcIgtdfbEcoA6 Yi6Jp0AYuU3eglgdglh8unbdWrQHkeqb+GIaxeXvxXjBTmNAgueRfH/j83F29mnO bPd+wis6qjQ8aV1Sbr/TfioPkS+KR4P7Yu6DHvJ6Y7Nkk18U9WrQGMdQUQgP0HWU nppHLziutjg9zEH11qNYb2zMQ1eaGeAIi+PckcYs86zR//LFqDHgPlSb5DxI2zrI 0S8esLgbHPXdiosaf95yTWjdA0XOKKQ38Q5nuVq2vkatVBOl1TWQjVY6Slk5Kx85 oGswtRWXsLu5iJM8h9Dfza1CMMkCZic9BLZa8Uge6bVxmROadlIxP49bXxA7oClq CNYu2l4b13tEIXxI7W4lHvaOEJF4bmeThelcohOkRV8995gZPmLGNHaMzj0nYY9M jBp+8gnkaArhLv9v18M7kvu/geTdD8CJSGvuuLGJxVDwC6F579dWPBBh4UnBHfjr 5phURoRNthj04EeGpZGE3hP8awClH+DEAFExLl2/ayIQUH9qe0BpHLhYxddGM9Mv ZVO89zauCyXUIa06oG7L =PpeF -----END PGP SIGNATURE----- Merge tag 'amlogic-dt64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt64 Merge "Amlogic 64-bit DT updates" from Kevin Hilman: - add RNG and new clock driver support * tag 'amlogic-dt64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: DTS: meson-gxbb: switch ethernet to real clock arm64: dts: gxbb clock controller ARM64: dts: meson-gxbb: Add Hardware Random Generator node dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings
This commit is contained in:
commit
d561e2f1af
14
Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
Normal file
14
Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
Normal file
@ -0,0 +1,14 @@
|
||||
Amlogic Meson Random number generator
|
||||
=====================================
|
||||
|
||||
Required properties:
|
||||
|
||||
- compatible : should be "amlogic,meson-rng"
|
||||
- reg : Specifies base physical address and size of the registers.
|
||||
|
||||
Example:
|
||||
|
||||
rng {
|
||||
compatible = "amlogic,meson-rng";
|
||||
reg = <0x0 0xc8834000 0x0 0x4>;
|
||||
};
|
@ -45,6 +45,7 @@
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/gpio/meson-gxbb-gpio.h>
|
||||
#include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
|
||||
#include <dt-bindings/clock/gxbb-clkc.h>
|
||||
|
||||
/ {
|
||||
compatible = "amlogic,meson-gxbb";
|
||||
@ -221,6 +222,11 @@
|
||||
#size-cells = <2>;
|
||||
ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
|
||||
|
||||
rng {
|
||||
compatible = "amlogic,meson-rng";
|
||||
reg = <0x0 0x0 0x0 0x4>;
|
||||
};
|
||||
|
||||
pinctrl_periphs: pinctrl@4b0 {
|
||||
compatible = "amlogic,meson-gxbb-periphs-pinctrl";
|
||||
#address-cells = <2>;
|
||||
@ -310,6 +316,12 @@
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
|
||||
|
||||
clkc: clock-controller@0 {
|
||||
compatible = "amlogic,gxbb-clkc";
|
||||
#clock-cells = <1>;
|
||||
reg = <0x0 0x0 0x0 0x3db>;
|
||||
};
|
||||
};
|
||||
|
||||
apb: apb@d0000000 {
|
||||
@ -326,7 +338,7 @@
|
||||
0x0 0xc8834540 0x0 0x4>;
|
||||
interrupts = <0 8 1>;
|
||||
interrupt-names = "macirq";
|
||||
clocks = <&xtal>;
|
||||
clocks = <&clkc CLKID_ETH>;
|
||||
clock-names = "stmmaceth";
|
||||
phy-mode = "rgmii";
|
||||
status = "disabled";
|
||||
|
Loading…
Reference in New Issue
Block a user