diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-07-05 23:42:34 -0600 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-10-20 22:26:38 -0600 |
commit | b2b9f467e04098b23260ce40f97ffb5d50cbc44c (patch) | |
tree | a78af1d34a7a89c937d84ecc7c1a1cf09b4069f7 | |
parent | 84afe31303d5b67d0fbfd07a68b6e739aefc4574 (diff) |
arm/dt: Add basic devicetree support to IGEPv2 and v3
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r-- | arch/arm/boot/dts/isee-igep-v2.dts | 7 | ||||
-rw-r--r-- | arch/arm/boot/dts/isee-igep-v3.dts | 7 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile.boot | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 12 |
4 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/isee-igep-v2.dts b/arch/arm/boot/dts/isee-igep-v2.dts new file mode 100644 index 00000000000..72caabb85b7 --- /dev/null +++ b/arch/arm/boot/dts/isee-igep-v2.dts @@ -0,0 +1,7 @@ +/dts-v1/; +/include/ "skeleton.dtsi" + +/ { + model = "ISSE IGEPv2 Board"; + compatible = "ISEE,igep-v2"; +}; diff --git a/arch/arm/boot/dts/isee-igep-v3.dts b/arch/arm/boot/dts/isee-igep-v3.dts new file mode 100644 index 00000000000..f40886fef69 --- /dev/null +++ b/arch/arm/boot/dts/isee-igep-v3.dts @@ -0,0 +1,7 @@ +/dts-v1/; +/include/ "skeleton.dtsi" + +/ { + model = "ISSE IGEPv3 Module"; + compatible = "ISEE,igep-v3"; +}; diff --git a/arch/arm/mach-omap2/Makefile.boot b/arch/arm/mach-omap2/Makefile.boot index 0f549013449..422c1700ccf 100644 --- a/arch/arm/mach-omap2/Makefile.boot +++ b/arch/arm/mach-omap2/Makefile.boot @@ -5,3 +5,5 @@ initrd_phys-y := 0x80800000 dtb-$(CONFIG_MACH_OMAP3_BEAGLE) += omap3-beagle.dtb dtb-$(CONFIG_MACH_OMAP4_PANDA) += omap4-panda.dtb dtb-$(CONFIG_MACH_OVERO) += omap3-overo.dtb +dtb-$(CONFIG_MACH_IGEP0020) += isee-igep-v2.dtb +dtb-$(CONFIG_MACH_IGEP0030) += isee-igep-v3.dtb diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 7040352b16b..be3b82ae2ce 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c @@ -671,6 +671,11 @@ static void __init igep_init(void) } } +static const char *igep2_dt_compat[] __initdata = { + "ISEE,igep-v2", + NULL +}; + MACHINE_START(IGEP0020, "IGEP v2 board") .atag_offset = 0x100, .reserve = omap_reserve, @@ -679,8 +684,14 @@ MACHINE_START(IGEP0020, "IGEP v2 board") .init_irq = omap3_init_irq, .init_machine = igep_init, .timer = &omap3_timer, + .dt_compat = igep2_dt_compat, MACHINE_END +static const char *igep3_dt_compat[] __initdata = { + "ISEE,igep-v3", + NULL +}; + MACHINE_START(IGEP0030, "IGEP OMAP3 module") .atag_offset = 0x100, .reserve = omap_reserve, @@ -689,4 +700,5 @@ MACHINE_START(IGEP0030, "IGEP OMAP3 module") .init_irq = omap3_init_irq, .init_machine = igep_init, .timer = &omap3_timer, + .dt_compat = &igep3_dt_compat, MACHINE_END |