 +        description: |
 +          default frequency in Hz for clock output
 +
-+        min: 1587000
-+        max: 100000000
-+
 +      litex,clock-phase:
 +        description: |
 +          default phase offset given in degrees

+
+properties:
+  compatible:
+    const: litex,clock
+
+  reg:
+    description: Base address and lengths of the register space

+        min: 1
+        max: 100
+
+      litex,clock-margin:
+        description: |
+          clock output margin coefficient
+
+      litex,clock-margin-exp:
+        description: |
+          exponent for clkout margin
+          effective clkout margin shall be
+          margin * 10^(-exponent) * 100%
+
+    required:
+      - all properties
+
+required:
+  - all properties
+
+examples:
+  - |
+clk0: clk@f0009800 {
+	compatible = "litex,clk";
+	reg = <0x0 0xf0009800 0x0 0x100>;
+	#clock-cells = <1>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-output-names =
+			"CLKOUT0",
+			"CLKOUT1";
+
+	litex,lock-timeout = <10>;
+	litex,drdy-timeout = <10>;
+	litex,sys-clock-frequency = <100000000>;
+	litex,divclk-divide-min = <1>;
+	litex,divclk-divide-max = <107>;
+	litex,clkfbout-mult-min = <2>;
+	litex,clkfbout-mult-max = <65>;
+	litex,vco-freq-min = <600000000>;
+	litex,vco-freq-max = <1200000000>;
+	litex,clkout-divide-min = <1>;
+	litex,clkout-divide-max = <129>;
+	litex,vco-margin = <0>;
+
+	CLKOUT0: CLKOUT0 {
+		compatible = "litex,clk";
+		#clock-cells =	<0>;
+		clock-output-names = "CLKOUT0";
+		reg = <0>;
+		litex,clock-frequency = <100000000>;
+		litex,clock-phase = <0>;
+		litex,clock-duty-num = <50>;
+		litex,clock-duty-den = <100>;
+		litex,clock-margin = <1>;
+		litex,clock-margin-exp = <2>;
+	};
+	CLKOUT1: CLKOUT1 {
+		compatible = "litex,clk";
+		#clock-cells =	<0>;
+		clock-output-names = "CLKOUT1";
+		reg = <1>;
+		litex,clock-frequency = <100000000>;
+		litex,clock-phase = <0>;
+		litex,clock-duty-num = <50>;
+		litex,clock-duty-den = <100>;
+		litex,clock-margin = <1>;
+		litex,clock-margin-exp = <2>;
+	};
+};
+...
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index d2f0bb5ba47e..0280f9b9bb1d 100644
