Commit 9f24e816 authored by Florian Vaussard's avatar Florian Vaussard Committed by Dinh Nguyen

ARM: dts: socfpga: Add unit name to clock nodes

Most clock nodes in Arria5, Cyclone5 and Arria10 have a reg property but
does not have a unit name. This will trigger several warnings like this
one (when compiled with W=1):

Node /soc/clkmgr@ffd04000/clocks/periph_pll has a reg or ranges
property, but no unit name

Add the corresponding unit name to each node.
Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent c1ae3cfa
...@@ -145,7 +145,7 @@ f2s_sdram_ref_clk: f2s_sdram_ref_clk { ...@@ -145,7 +145,7 @@ f2s_sdram_ref_clk: f2s_sdram_ref_clk {
compatible = "fixed-clock"; compatible = "fixed-clock";
}; };
main_pll: main_pll { main_pll: main_pll@40 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -153,7 +153,7 @@ main_pll: main_pll { ...@@ -153,7 +153,7 @@ main_pll: main_pll {
clocks = <&osc1>; clocks = <&osc1>;
reg = <0x40>; reg = <0x40>;
mpuclk: mpuclk { mpuclk: mpuclk@48 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
...@@ -161,7 +161,7 @@ mpuclk: mpuclk { ...@@ -161,7 +161,7 @@ mpuclk: mpuclk {
reg = <0x48>; reg = <0x48>;
}; };
mainclk: mainclk { mainclk: mainclk@4c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
...@@ -169,7 +169,7 @@ mainclk: mainclk { ...@@ -169,7 +169,7 @@ mainclk: mainclk {
reg = <0x4C>; reg = <0x4C>;
}; };
dbg_base_clk: dbg_base_clk { dbg_base_clk: dbg_base_clk@50 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>, <&osc1>; clocks = <&main_pll>, <&osc1>;
...@@ -177,21 +177,21 @@ dbg_base_clk: dbg_base_clk { ...@@ -177,21 +177,21 @@ dbg_base_clk: dbg_base_clk {
reg = <0x50>; reg = <0x50>;
}; };
main_qspi_clk: main_qspi_clk { main_qspi_clk: main_qspi_clk@54 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x54>; reg = <0x54>;
}; };
main_nand_sdmmc_clk: main_nand_sdmmc_clk { main_nand_sdmmc_clk: main_nand_sdmmc_clk@58 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x58>; reg = <0x58>;
}; };
cfg_h2f_usr0_clk: cfg_h2f_usr0_clk { cfg_h2f_usr0_clk: cfg_h2f_usr0_clk@5c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
...@@ -199,7 +199,7 @@ cfg_h2f_usr0_clk: cfg_h2f_usr0_clk { ...@@ -199,7 +199,7 @@ cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
}; };
}; };
periph_pll: periph_pll { periph_pll: periph_pll@80 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -207,42 +207,42 @@ periph_pll: periph_pll { ...@@ -207,42 +207,42 @@ periph_pll: periph_pll {
clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>; clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>;
reg = <0x80>; reg = <0x80>;
emac0_clk: emac0_clk { emac0_clk: emac0_clk@88 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x88>; reg = <0x88>;
}; };
emac1_clk: emac1_clk { emac1_clk: emac1_clk@8c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x8C>; reg = <0x8C>;
}; };
per_qspi_clk: per_qsi_clk { per_qspi_clk: per_qsi_clk@90 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x90>; reg = <0x90>;
}; };
per_nand_mmc_clk: per_nand_mmc_clk { per_nand_mmc_clk: per_nand_mmc_clk@94 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x94>; reg = <0x94>;
}; };
per_base_clk: per_base_clk { per_base_clk: per_base_clk@98 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x98>; reg = <0x98>;
}; };
h2f_usr1_clk: h2f_usr1_clk { h2f_usr1_clk: h2f_usr1_clk@9c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
...@@ -250,7 +250,7 @@ h2f_usr1_clk: h2f_usr1_clk { ...@@ -250,7 +250,7 @@ h2f_usr1_clk: h2f_usr1_clk {
}; };
}; };
sdram_pll: sdram_pll { sdram_pll: sdram_pll@c0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -258,28 +258,28 @@ sdram_pll: sdram_pll { ...@@ -258,28 +258,28 @@ sdram_pll: sdram_pll {
clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>; clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>;
reg = <0xC0>; reg = <0xC0>;
ddr_dqs_clk: ddr_dqs_clk { ddr_dqs_clk: ddr_dqs_clk@c8 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>; clocks = <&sdram_pll>;
reg = <0xC8>; reg = <0xC8>;
}; };
ddr_2x_dqs_clk: ddr_2x_dqs_clk { ddr_2x_dqs_clk: ddr_2x_dqs_clk@cc {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>; clocks = <&sdram_pll>;
reg = <0xCC>; reg = <0xCC>;
}; };
ddr_dq_clk: ddr_dq_clk { ddr_dq_clk: ddr_dq_clk@d0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>; clocks = <&sdram_pll>;
reg = <0xD0>; reg = <0xD0>;
}; };
h2f_usr2_clk: h2f_usr2_clk { h2f_usr2_clk: h2f_usr2_clk@d4 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-perip-clk"; compatible = "altr,socfpga-perip-clk";
clocks = <&sdram_pll>; clocks = <&sdram_pll>;
......
...@@ -119,7 +119,7 @@ osc1: osc1 { ...@@ -119,7 +119,7 @@ osc1: osc1 {
compatible = "fixed-clock"; compatible = "fixed-clock";
}; };
main_pll: main_pll { main_pll: main_pll@40 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -142,35 +142,35 @@ main_noc_base_clk: main_noc_base_clk { ...@@ -142,35 +142,35 @@ main_noc_base_clk: main_noc_base_clk {
div-reg = <0x144 0 11>; div-reg = <0x144 0 11>;
}; };
main_emaca_clk: main_emaca_clk { main_emaca_clk: main_emaca_clk@68 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x68>; reg = <0x68>;
}; };
main_emacb_clk: main_emacb_clk { main_emacb_clk: main_emacb_clk@6c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x6C>; reg = <0x6C>;
}; };
main_emac_ptp_clk: main_emac_ptp_clk { main_emac_ptp_clk: main_emac_ptp_clk@70 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x70>; reg = <0x70>;
}; };
main_gpio_db_clk: main_gpio_db_clk { main_gpio_db_clk: main_gpio_db_clk@74 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x74>; reg = <0x74>;
}; };
main_sdmmc_clk: main_sdmmc_clk { main_sdmmc_clk: main_sdmmc_clk@78 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk" compatible = "altr,socfpga-a10-perip-clk"
; ;
...@@ -178,28 +178,28 @@ main_sdmmc_clk: main_sdmmc_clk { ...@@ -178,28 +178,28 @@ main_sdmmc_clk: main_sdmmc_clk {
reg = <0x78>; reg = <0x78>;
}; };
main_s2f_usr0_clk: main_s2f_usr0_clk { main_s2f_usr0_clk: main_s2f_usr0_clk@7c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x7C>; reg = <0x7C>;
}; };
main_s2f_usr1_clk: main_s2f_usr1_clk { main_s2f_usr1_clk: main_s2f_usr1_clk@80 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x80>; reg = <0x80>;
}; };
main_hmc_pll_ref_clk: main_hmc_pll_ref_clk { main_hmc_pll_ref_clk: main_hmc_pll_ref_clk@84 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
reg = <0x84>; reg = <0x84>;
}; };
main_periph_ref_clk: main_periph_ref_clk { main_periph_ref_clk: main_periph_ref_clk@9c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_pll>; clocks = <&main_pll>;
...@@ -207,7 +207,7 @@ main_periph_ref_clk: main_periph_ref_clk { ...@@ -207,7 +207,7 @@ main_periph_ref_clk: main_periph_ref_clk {
}; };
}; };
periph_pll: periph_pll { periph_pll: periph_pll@c0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -230,56 +230,56 @@ peri_noc_base_clk: peri_noc_base_clk { ...@@ -230,56 +230,56 @@ peri_noc_base_clk: peri_noc_base_clk {
div-reg = <0x144 16 11>; div-reg = <0x144 16 11>;
}; };
peri_emaca_clk: peri_emaca_clk { peri_emaca_clk: peri_emaca_clk@e8 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xE8>; reg = <0xE8>;
}; };
peri_emacb_clk: peri_emacb_clk { peri_emacb_clk: peri_emacb_clk@ec {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xEC>; reg = <0xEC>;
}; };
peri_emac_ptp_clk: peri_emac_ptp_clk { peri_emac_ptp_clk: peri_emac_ptp_clk@f0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xF0>; reg = <0xF0>;
}; };
peri_gpio_db_clk: peri_gpio_db_clk { peri_gpio_db_clk: peri_gpio_db_clk@f4 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xF4>; reg = <0xF4>;
}; };
peri_sdmmc_clk: peri_sdmmc_clk { peri_sdmmc_clk: peri_sdmmc_clk@f8 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xF8>; reg = <0xF8>;
}; };
peri_s2f_usr0_clk: peri_s2f_usr0_clk { peri_s2f_usr0_clk: peri_s2f_usr0_clk@fc {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0xFC>; reg = <0xFC>;
}; };
peri_s2f_usr1_clk: peri_s2f_usr1_clk { peri_s2f_usr1_clk: peri_s2f_usr1_clk@100 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
reg = <0x100>; reg = <0x100>;
}; };
peri_hmc_pll_ref_clk: peri_hmc_pll_ref_clk { peri_hmc_pll_ref_clk: peri_hmc_pll_ref_clk@104 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&periph_pll>; clocks = <&periph_pll>;
...@@ -287,7 +287,7 @@ peri_hmc_pll_ref_clk: peri_hmc_pll_ref_clk { ...@@ -287,7 +287,7 @@ peri_hmc_pll_ref_clk: peri_hmc_pll_ref_clk {
}; };
}; };
mpu_free_clk: mpu_free_clk { mpu_free_clk: mpu_free_clk@60 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_mpu_base_clk>, <&peri_mpu_base_clk>, clocks = <&main_mpu_base_clk>, <&peri_mpu_base_clk>,
...@@ -296,7 +296,7 @@ mpu_free_clk: mpu_free_clk { ...@@ -296,7 +296,7 @@ mpu_free_clk: mpu_free_clk {
reg = <0x60>; reg = <0x60>;
}; };
noc_free_clk: noc_free_clk { noc_free_clk: noc_free_clk@64 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_noc_base_clk>, <&peri_noc_base_clk>, clocks = <&main_noc_base_clk>, <&peri_noc_base_clk>,
...@@ -305,7 +305,7 @@ noc_free_clk: noc_free_clk { ...@@ -305,7 +305,7 @@ noc_free_clk: noc_free_clk {
reg = <0x64>; reg = <0x64>;
}; };
s2f_user1_free_clk: s2f_user1_free_clk { s2f_user1_free_clk: s2f_user1_free_clk@104 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_s2f_usr1_clk>, <&peri_s2f_usr1_clk>, clocks = <&main_s2f_usr1_clk>, <&peri_s2f_usr1_clk>,
...@@ -314,7 +314,7 @@ s2f_user1_free_clk: s2f_user1_free_clk { ...@@ -314,7 +314,7 @@ s2f_user1_free_clk: s2f_user1_free_clk {
reg = <0x104>; reg = <0x104>;
}; };
sdmmc_free_clk: sdmmc_free_clk { sdmmc_free_clk: sdmmc_free_clk@f8 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "altr,socfpga-a10-perip-clk"; compatible = "altr,socfpga-a10-perip-clk";
clocks = <&main_sdmmc_clk>, <&peri_sdmmc_clk>, clocks = <&main_sdmmc_clk>, <&peri_sdmmc_clk>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment