aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-04-19 16:36:30 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-04-23 08:36:21 -0400
commit2cfaa62de5f1fa5ded043ffeb00548082ed30712 (patch)
tree4a7c243269a12517d4094ac3aa321ea3699ddf9e /arch/arm/mach-ux500
parent785834a18140ef832a2455bee3fad9b76011f562 (diff)
ARM: ux500: Enable the external bus with Device Tree
To allow for proper initialisation of the SMSC9115 Ethernet chip and other devices which may be connected to the 'external bus', Device Tree must first enable and traverse though it. This patch enables the 'external bus' which will facilitate further initialisation of its suborantate DT nodes. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 77d03c1fbd04..539da3f3c1c7 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -753,9 +753,10 @@ struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = {
753 {}, 753 {},
754}; 754};
755 755
756static const struct of_device_id u8500_soc_node[] = { 756static const struct of_device_id u8500_local_bus_nodes[] = {
757 /* only create devices below soc node */ 757 /* only create devices below soc node */
758 { .compatible = "stericsson,db8500", }, 758 { .compatible = "stericsson,db8500", },
759 { .compatible = "simple-bus"},
759 { }, 760 { },
760}; 761};
761 762
@@ -774,7 +775,7 @@ static void __init u8500_init_machine(void)
774 snowball_platform_devs[i]->dev.parent = parent; 775 snowball_platform_devs[i]->dev.parent = parent;
775 776
776 /* automatically probe child nodes of db8500 device */ 777 /* automatically probe child nodes of db8500 device */
777 of_platform_populate(NULL, u8500_soc_node, u8500_auxdata_lookup, parent); 778 of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent);
778 779
779 if (of_machine_is_compatible("st-ericsson,mop500")) { 780 if (of_machine_is_compatible("st-ericsson,mop500")) {
780 mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR; 781 mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR;