summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2018-05-25 04:50:57 -0700
committerOlof Johansson <olof@lixom.net>2018-05-25 04:50:57 -0700
commitc1835bfdef720658051c4ae1b0041a95e5acc83f (patch)
treeb6d5b06771c38afa387f4694c28bdc55e0132951 /Documentation/devicetree
parent7d6020cf27147eb8880d15338e64f7a1dabe9b60 (diff)
parentc51fb2d458a6d62215c1ff6bbca8e5c876370e71 (diff)
downloadlinux-stable-c1835bfdef720658051c4ae1b0041a95e5acc83f.tar.gz
linux-stable-c1835bfdef720658051c4ae1b0041a95e5acc83f.tar.bz2
linux-stable-c1835bfdef720658051c4ae1b0041a95e5acc83f.zip
Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt
Amlogic 64-bit DT updates for v4.18 - AXG family: support more peripherals (wifi, eMMC, clocks) - GX family: add/enable USB host support * tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: dt-bindings: arm: amlogic: add support for the Tronsmart MXIII Plus dt-bindings: arm: amlogic: add support for the Meson8m2 SoC ARM64: dts: meson-axg: enable AP6255 wifi module ARM64: dts: meson: add MMC resets ARM64: dts: meson-axg: add an 32K alt aoclk ARM64: dts: meson-axg: add tdm pins ARM64: dts: meson-axg: add GPIO interrupt controller support ARM64: dts: meson-axg: enable the eMMC controller ARM64: dts: meson-gx: fix gxl clock controller compatible ARM64: dts: meson-axg: use hhi syscon for the clock controller ARM64: dts: meson-gx: sysctrl is the parent of the clock controller dt-bindings: clock: meson: update documentation with hhi syscon Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/arm/amlogic.txt6
-rw-r--r--Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt16
2 files changed, 17 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt
index f747f47922c5..69880560c0f0 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.txt
+++ b/Documentation/devicetree/bindings/arm/amlogic.txt
@@ -25,6 +25,10 @@ Boards with the Amlogic Meson8b SoC shall have the following properties:
Required root node property:
compatible: "amlogic,meson8b";
+Boards with the Amlogic Meson8m2 SoC shall have the following properties:
+ Required root node property:
+ compatible: "amlogic,meson8m2";
+
Boards with the Amlogic Meson GXBaby SoC shall have the following properties:
Required root node property:
compatible: "amlogic,meson-gxbb";
@@ -54,6 +58,8 @@ Board compatible values (alphabetically, grouped by SoC):
- "hardkernel,odroid-c1" (Meson8b)
- "tronfy,mxq" (Meson8b)
+ - "tronsmart,mxiii-plus" (Meson8m2)
+
- "amlogic,p200" (Meson gxbb)
- "amlogic,p201" (Meson gxbb)
- "friendlyarm,nanopi-k2" (Meson gxbb)
diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
index e2b377ed6f91..e950599566a9 100644
--- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
+++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt
@@ -10,9 +10,6 @@ Required Properties:
"amlogic,gxl-clkc" for GXL and GXM SoC,
"amlogic,axg-clkc" for AXG SoC.
-- reg: physical base address of the clock controller and length of memory
- mapped region.
-
- #clock-cells: should be 1.
Each clock is assigned an identifier and client nodes can use this identifier
@@ -20,13 +17,22 @@ to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/gxbb-clkc.h header and can be
used in device tree sources.
+Parent node should have the following properties :
+- compatible: "syscon", "simple-mfd, and "amlogic,meson-gx-hhi-sysctrl" or
+ "amlogic,meson-axg-hhi-sysctrl"
+- reg: base address and size of the HHI system control register space.
+
Example: Clock controller node:
- clkc: clock-controller@c883c000 {
+sysctrl: system-controller@0 {
+ compatible = "amlogic,meson-gx-hhi-sysctrl", "syscon", "simple-mfd";
+ reg = <0 0 0 0x400>;
+
+ clkc: clock-controller {
#clock-cells = <1>;
compatible = "amlogic,gxbb-clkc";
- reg = <0x0 0xc883c000 0x0 0x3db>;
};
+};
Example: UART controller node that consumes the clock generated by the clock
controller: