Skip to content

Commit 203b862

Browse files
fpgamattDinh Nguyen
authored andcommitted
arm64: dts: altera: socfpga_stratix10: update internal oscillators
Add the clock-frequency property to the cb_intosc_ls_clk and cb_intosc_hs_div2_clk device tree nodes. The f2s_free_clk is implemented by custom logic in the FPGA; so it should be disabled in the dtsi by default and enabled by a dts for a specific FPGA design on a specific board. Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 1dfe3ca commit 203b862

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,19 @@
130130
cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
131131
#clock-cells = <0>;
132132
compatible = "fixed-clock";
133+
clock-frequency = <150000000>;
133134
};
134135

135136
cb_intosc_ls_clk: cb-intosc-ls-clk {
136137
#clock-cells = <0>;
137138
compatible = "fixed-clock";
139+
clock-frequency = <300000000>;
138140
};
139141

140142
f2s_free_clk: f2s-free-clk {
141143
#clock-cells = <0>;
142144
compatible = "fixed-clock";
145+
status = "disabled";
143146
};
144147

145148
osc1: osc1 {

0 commit comments

Comments
 (0)