ARM: mmp: add device tree support on ttc dkb board
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): 2011052302
PATCH 1/1 ARM: mmp: add device tree support on ttc dkb board
From: Haojian Zhuang <[email protected]>
The board support of ttc dkb is minimal to system boot.
Signed-off-by Haojian Zhuang <[email protected]>
--- arch/arm/boot/dts/ttc-dkb.dts | 12 ++++++++++++ arch/arm/mach-mmp/Makefile.boot | 2 ++ arch/arm/mach-mmp/ttc_dkb.c | 6 ++++++ 3 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/ttc-dkb.dts
arch/arm/boot/dts/ttc-dkb.dts new file +12 -0
@@ -0,0 +1,12 @@ +/dts-v1/; + +/include/ "skeleton.dtsi" + +/ { + model = "Marvell TTC DKB"; + compatible = "mrvl,ttc-dkb", "mrvl,pxa910-dkb"; + + memory { + reg = <0x00000000 0x10000000>; + }; +};
arch/arm/mach-mmp/Makefile.boot +2 -0
@@ -1 +1,3 @@ zreladdr-y := 0x00008000 + +dtb-$(CONFIG_MACH_TTC_DKB) += mmp-dkb.dtb
arch/arm/mach-mmp/ttc_dkb.c +6 -0
@@ -124,10 +124,16 @@ static void __init ttc_dkb_init(void)platform_add_devices (ARRAY_AND_SIZE (ttc_dkb_devices)); } +static const char *ttc_dkb_dt_match[]__initdata = { +"mrvl,ttc-dkb" , +NULL , +}; +MACHINE_START (TTC_DKB ,"PXA910-based TTC_DKB Development Platform" ) .map_io = mmp_map_io, .nr_irqs = TTCDKB_NR_IRQS, .init_irq = pxa910_init_irq, .timer = &pxa910_timer, .init_machine = ttc_dkb_init, + .dt_compat = ttc_dkb_dt_match,MACHINE_END
Signature · 1 line
1.7.4.1