diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/socfpga.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/mach-socfpga/socfpga.c | 5 |
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 @@ | |||
29 | void __iomem *socfpga_scu_base_addr = ((void __iomem *)(SOCFPGA_SCU_VIRT_BASE)); | 29 | void __iomem *socfpga_scu_base_addr = ((void __iomem *)(SOCFPGA_SCU_VIRT_BASE)); |
30 | void __iomem *sys_manager_base_addr; | 30 | void __iomem *sys_manager_base_addr; |
31 | void __iomem *rst_manager_base_addr; | 31 | void __iomem *rst_manager_base_addr; |
32 | void __iomem *clk_mgr_base_addr; | ||
33 | unsigned long cpu1start_addr; | 32 | unsigned long cpu1start_addr; |
34 | 33 | ||
35 | static struct map_desc scu_io_desc __initdata = { | 34 | static 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 | ||
86 | static void __init socfpga_init_irq(void) | 82 | static 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 | ||
112 | static const char *altera_dt_match[] = { | 107 | static const char *altera_dt_match[] = { |