|
@@ -5,9 +5,11 @@ controllers within the Always-On part of the SoC.
|
|
|
|
|
|
Required Properties:
|
|
Required Properties:
|
|
|
|
|
|
-- compatible: should be "amlogic,gxbb-aoclkc"
|
|
|
|
-- reg: physical base address of the clock controller and length of memory
|
|
|
|
- mapped region.
|
|
|
|
|
|
+- compatible: value should be different for each SoC family as :
|
|
|
|
+ - GXBB (S905) : "amlogic,meson-gxbb-aoclkc"
|
|
|
|
+ - GXL (S905X, S905D) : "amlogic,meson-gxl-aoclkc"
|
|
|
|
+ - GXM (S912) : "amlogic,meson-gxm-aoclkc"
|
|
|
|
+ followed by the common "amlogic,meson-gx-aoclkc"
|
|
|
|
|
|
- #clock-cells: should be 1.
|
|
- #clock-cells: should be 1.
|
|
|
|
|
|
@@ -23,14 +25,22 @@ to specify the reset which they consume. All available resets are defined as
|
|
preprocessor macros in the dt-bindings/reset/gxbb-aoclkc.h header and can be
|
|
preprocessor macros in the dt-bindings/reset/gxbb-aoclkc.h header and can be
|
|
used in device tree sources.
|
|
used in device tree sources.
|
|
|
|
|
|
|
|
+Parent node should have the following properties :
|
|
|
|
+- compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd"
|
|
|
|
+- reg: base address and size of the AO system control register space.
|
|
|
|
+
|
|
Example: AO Clock controller node:
|
|
Example: AO Clock controller node:
|
|
|
|
|
|
- clkc_AO: clock-controller@040 {
|
|
|
|
- compatible = "amlogic,gxbb-aoclkc";
|
|
|
|
- reg = <0x0 0x040 0x0 0x4>;
|
|
|
|
|
|
+ao_sysctrl: sys-ctrl@0 {
|
|
|
|
+ compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd";
|
|
|
|
+ reg = <0x0 0x0 0x0 0x100>;
|
|
|
|
+
|
|
|
|
+ clkc_AO: clock-controller {
|
|
|
|
+ compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc";
|
|
#clock-cells = <1>;
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|
|
};
|
|
|
|
+};
|
|
|
|
|
|
Example: UART controller node that consumes the clock and reset generated
|
|
Example: UART controller node that consumes the clock and reset generated
|
|
by the clock controller:
|
|
by the clock controller:
|