arm/dt: Add ST-Ericsson u8500 device tree support
Subsystems (4)
PATCH 1/1 arm/dt: Add ST-Ericsson u8500 device tree support
Adds support for passing a device tree for booting the u8500 board.
Signed-off-by Grant Likely <grant.likely-s3s/[email protected]>
---
Completely untested. Not even compiled. Per, this should be all you need to change in the kernel to get DT support working on the u8500.
g.
arch/arm/boot/dts/u8500-hrefv60.dts | 7 +++++++ arch/arm/mach-ux500/Makefile.boot | 1 + arch/arm/mach-ux500/board-mop500.c | 6 ++++++ 3 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/u8500-hrefv60.dts
arch/arm/boot/dts/u8500-hrefv60.dts new file +7 -0
@@ -0,0 +1,7 @@ +/dts-v1/; +/include/ "skeleton.dtsi" + +/ { + model = "ST-Ericsson U8500 HREFv60+ Reference Platform"; + compatible = "stericsson,hrefv60plus"; +};
arch/arm/mach-ux500/Makefile.boot +1 -0
@@ -2,3 +2,4 @@ params_phys-y := 0x00000100 initrd_phys-y := 0x00800000 +dtb-$(CONFIG_MACH_U8500) += u8500-hrefv60.dtb
arch/arm/mach-ux500/board-mop500.c +6 -0
@@ -468,10 +468,16 @@ MACHINE_START(U8500, "ST-Ericsson MOP500 platform") .init_machine = mop500_init_machine, MACHINE_END +static const char *u8500_dt_match[] __initdata = { +"stericsson,hrefv60plus" , +NULL +}; +MACHINE_START (HREFV60 ,"ST-Ericsson U8500 Platform HREFv60+" ) .boot_params = 0x100, .map_io = u8500_map_io, .init_irq = ux500_init_irq, .timer = &ux500_timer, .init_machine = mop500_init_machine, + .dt_match = u8500_dt_match,MACHINE_END