|
@@ -16,18 +16,25 @@ Required Properties:
|
|
mapped region.
|
|
mapped region.
|
|
|
|
|
|
- #clock-cells: should be 1.
|
|
- #clock-cells: should be 1.
|
|
|
|
+- #reset-cells: should be 1.
|
|
|
|
|
|
Each clock is assigned an identifier and client nodes can use this identifier
|
|
Each clock is assigned an identifier and client nodes can use this identifier
|
|
to specify the clock which they consume. All available clocks are defined as
|
|
to specify the clock which they consume. All available clocks are defined as
|
|
preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be
|
|
preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be
|
|
used in device tree sources.
|
|
used in device tree sources.
|
|
|
|
|
|
|
|
+Similarly a preprocessor macro for each reset line is defined in
|
|
|
|
+dt-bindings/reset/amlogic,meson8b-clkc-reset.h (which can be used from the
|
|
|
|
+device tree sources).
|
|
|
|
+
|
|
|
|
+
|
|
Example: Clock controller node:
|
|
Example: Clock controller node:
|
|
|
|
|
|
clkc: clock-controller@c1104000 {
|
|
clkc: clock-controller@c1104000 {
|
|
- #clock-cells = <1>;
|
|
|
|
compatible = "amlogic,meson8b-clkc";
|
|
compatible = "amlogic,meson8b-clkc";
|
|
reg = <0xc1108000 0x4>, <0xc1104000 0x460>;
|
|
reg = <0xc1108000 0x4>, <0xc1104000 0x460>;
|
|
|
|
+ #clock-cells = <1>;
|
|
|
|
+ #reset-cells = <1>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|