aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/socfpga.dtsi1
-rw-r--r--arch/arm/mach-socfpga/socfpga.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 4568c9869d44..56fc214e6d2c 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -424,6 +424,7 @@
424 compatible = "altr,socfpga-gate-clk"; 424 compatible = "altr,socfpga-gate-clk";
425 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 425 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
426 clk-gate = <0xa0 8>; 426 clk-gate = <0xa0 8>;
427 clk-phase = <0 135>;
427 }; 428 };
428 429
429 nand_x_clk: nand_x_clk { 430 nand_x_clk: nand_x_clk {
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c
index dd0d49cdbe09..d86231e11b34 100644
--- a/arch/arm/mach-socfpga/socfpga.c
+++ b/arch/arm/mach-socfpga/socfpga.c
@@ -29,7 +29,6 @@
29void __iomem *socfpga_scu_base_addr = ((void __iomem *)(SOCFPGA_SCU_VIRT_BASE)); 29void __iomem *socfpga_scu_base_addr = ((void __iomem *)(SOCFPGA_SCU_VIRT_BASE));
30void __iomem *sys_manager_base_addr; 30void __iomem *sys_manager_base_addr;
31void __iomem *rst_manager_base_addr; 31void __iomem *rst_manager_base_addr;
32void __iomem *clk_mgr_base_addr;
33unsigned long cpu1start_addr; 32unsigned long cpu1start_addr;
34 33
35static struct map_desc scu_io_desc __initdata = { 34static struct map_desc scu_io_desc __initdata = {
@@ -78,9 +77,6 @@ void __init socfpga_sysmgr_init(void)
78 77
79 np = of_find_compatible_node(NULL, NULL, "altr,rst-mgr"); 78 np = of_find_compatible_node(NULL, NULL, "altr,rst-mgr");
80 rst_manager_base_addr = of_iomap(np, 0); 79 rst_manager_base_addr = of_iomap(np, 0);
81
82 np = of_find_compatible_node(NULL, NULL, "altr,clk-mgr");
83 clk_mgr_base_addr = of_iomap(np, 0);
84} 80}
85 81
86static void __init socfpga_init_irq(void) 82static void __init socfpga_init_irq(void)
@@ -106,7 +102,6 @@ static void __init socfpga_cyclone5_init(void)
106{ 102{
107 l2x0_of_init(0, ~0UL); 103 l2x0_of_init(0, ~0UL);
108 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 104 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
109 socfpga_init_clocks();
110} 105}
111 106
112static const char *altera_dt_match[] = { 107static const char *altera_dt_match[] = {