Skip to content

Commit

Permalink
dts/riscv: remove the timebase-frequency property
Browse files Browse the repository at this point in the history
The `timebase-frequency` is not defined by any of the YAML binding files.
There was a discussion in zephyrproject-rtos#37420 to add this property, but in the end it
was rejected. This resulted in the zephyrproject-rtos#37685 feature request being created.

As of now, this property is not documented anywhere so this commit removes
it from the RISC-V devicetrees, as RISC-V is the only architecture that is
currently defining it - and even in RISC-V not all platforms do that.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
  • Loading branch information
fkokosinski committed Jan 19, 2024
1 parent 8429398 commit 69d1b11
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion dts/riscv/andes/andes_v5_ae350.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
timebase-frequency = <60000000>;
CPU0: cpu@0 {
compatible = "riscv";
device_type = "cpu";
Expand Down
1 change: 0 additions & 1 deletion dts/riscv/efinix/sapphire_soc.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
reg = <0>;
riscv,isa = "rv32ima_zicsr_zifencei";
status = "okay";
timebase-frequency = <100000000>;

hlic: interrupt-controller {
compatible = "riscv,cpu-intc";
Expand Down
1 change: 0 additions & 1 deletion dts/riscv/lowrisc/opentitan_earlgrey.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
cpus {
#address-cells = <0x01>;
#size-cells = <0x00>;
timebase-frequency = <10000000>;

cpu@0 {
device_type = "cpu";
Expand Down
1 change: 0 additions & 1 deletion dts/riscv/riscv32-litex-vexriscv.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
reg = <0>;
riscv,isa = "rv32ima_zicsr_zifencei";
status = "okay";
timebase-frequency = <32768>;
};
};
soc {
Expand Down
1 change: 0 additions & 1 deletion dts/riscv/starfive/starfive_jh7100_beagle_v.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
cpus: cpus {
#address-cells = <1>;
#size-cells = <0>;
timebase-frequency = <6250000>;
compatible = "starfive,fu74-g000";
cpu@0 {
clock-frequency = <0>;
Expand Down
1 change: 0 additions & 1 deletion dts/riscv/virt.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
cpus {
#address-cells = < 0x01 >;
#size-cells = < 0x00 >;
timebase-frequency = < 10000000 >;

cpu@0 {
device_type = "cpu";
Expand Down

0 comments on commit 69d1b11

Please sign in to comment.