Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370479
b: refs/heads/master
c: bd3d924
h: refs/heads/master
i:
  370477: 20ba3c7
  370475: 2638015
  370471: 485ba82
  370463: aacb1c4
v: v3
  • Loading branch information
Philipp Zabel authored and Shawn Guo committed Apr 9, 2013
1 parent ccac629 commit 5f1feff
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8d84c3740fb0c97b5b01ad565f9d4e2ca84bf670
refs/heads/master: bd3d924d71a45b88941b50ddaa77aadb2ae4ded7
2 changes: 1 addition & 1 deletion trunk/arch/arm/boot/dts/imx6qdl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
};

src: src@020d8000 {
compatible = "fsl,imx6q-src";
compatible = "fsl,imx6q-src", "fsl,imx51-src";
reg = <0x020d8000 0x4000>;
interrupts = <0 91 0x04 0 96 0x04>;
#reset-cells = <1>;
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ config SOC_IMX5

config SOC_IMX51
bool
select HAVE_IMX_SRC
select PINCTRL
select PINCTRL_IMX51
select SOC_IMX5
Expand Down Expand Up @@ -774,6 +775,7 @@ comment "Device tree only"
config SOC_IMX53
bool "i.MX53 support"
select HAVE_CAN_FLEXCAN if CAN
select HAVE_IMX_SRC
select IMX_HAVE_PLATFORM_IMX2_WDT
select PINCTRL
select PINCTRL_IMX53
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-imx/mm-imx5.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@ void __init imx51_init_early(void)
mxc_set_cpu_type(MXC_CPU_MX51);
mxc_iomux_v3_init(MX51_IO_ADDRESS(MX51_IOMUXC_BASE_ADDR));
mxc_arch_reset_init(MX51_IO_ADDRESS(MX51_WDOG1_BASE_ADDR));
imx_src_init();
}

void __init imx53_init_early(void)
{
mxc_set_cpu_type(MXC_CPU_MX53);
mxc_iomux_v3_init(MX53_IO_ADDRESS(MX53_IOMUXC_BASE_ADDR));
mxc_arch_reset_init(MX53_IO_ADDRESS(MX53_WDOG1_BASE_ADDR));
imx_src_init();
}

void __init mx51_init_irq(void)
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-imx/src.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ void __init imx_src_init(void)
struct device_node *np;
u32 val;

np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-src");
np = of_find_compatible_node(NULL, NULL, "fsl,imx51-src");
if (!np)
return;
src_base = of_iomap(np, 0);
WARN_ON(!src_base);

Expand Down

0 comments on commit 5f1feff

Please sign in to comment.