Skip to content

Commit

Permalink
dts: nxp: nxp_ke1xf: Make LPO fixed-clock its own node
Browse files Browse the repository at this point in the history
Pull out the LPO fixed-clock that is part of the PMC hardware block as
its own child node of the PMC block.  This is because the PMC could have
its own driver associated with it that is seperate from the LPO clk.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Sep 10, 2019
1 parent 3ad1fe8 commit 466f91a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions dts/arm/nxp/nxp_ke1xf.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@
};

pmc: pmc@4007d000 {
compatible = "fixed-clock";
reg = <0x4007d000 0x1000>;
label = "PMC";

lpo: lpo128k {
/* LPO clock */
clock-frequency = <125000>;
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <125000>;
#clock-cells = <0>;
};
};

pcc: pcc@40065000 {
Expand All @@ -100,7 +103,7 @@
compatible = "nxp,kinetis-wdog32";
reg = <0x40052000 0x1000>;
interrupts = <22 0>;
clocks = <&pmc>;
clocks = <&lpo>;
clk-source = <1>;
clk-divider = <256>;
label = "WDT_0";
Expand Down

0 comments on commit 466f91a

Please sign in to comment.