Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340167
b: refs/heads/master
c: 0ce53cd
h: refs/heads/master
i:
  340165: 4a789eb
  340163: afa59bb
  340159: fa3bc83
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Simon Horman committed Oct 30, 2012
1 parent ca1872c commit 7c4f882
Show file tree
Hide file tree
Showing 5 changed files with 33 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: b82573e18bc61666ffd3901ca6677bf18b9ea743
refs/heads/master: 0ce53cdc5c7e28f378e480363a0b0c2ed7e7eaf9
3 changes: 2 additions & 1 deletion trunk/arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
dtb-$(CONFIG_ARCH_U8500) += snowball.dtb
dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \
r8a7740-armadillo800eva.dtb \
sh73a0-kzm9g.dtb
sh73a0-kzm9g.dtb \
sh7372-mackerel.dtb
dtb-$(CONFIG_ARCH_SPEAR13XX) += spear1310-evb.dtb \
spear1340-evb.dtb
dtb-$(CONFIG_ARCH_SPEAR3XX)+= spear300-evb.dtb \
Expand Down
22 changes: 22 additions & 0 deletions trunk/arch/arm/boot/dts/sh7372-mackerel.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Device Tree Source for the mackerel board
*
* Copyright (C) 2012 Renesas Solutions Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/

/dts-v1/;
/include/ "skeleton.dtsi"

/ {
model = "Mackerel (AP4 EVM 2nd)";
compatible = "renesas,mackerel";

memory {
device_type = "memory";
reg = <0x40000000 0x10000000>;
};
};
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ config MACH_MACKEREL
select ARCH_REQUIRE_GPIOLIB
select REGULATOR_FIXED_VOLTAGE if REGULATOR
select SND_SOC_AK4642 if SND_SIMPLE_CARD
select USE_OF

config MACH_KOTA2
bool "KOTA2 board"
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1651,12 +1651,18 @@ static void __init mackerel_init(void)
pm_clk_add(&hdmi_lcdc_device.dev, "hdmi");
}

MACHINE_START(MACKEREL, "mackerel")
static const char *mackerel_boards_compat_dt[] __initdata = {
"renesas,mackerel",
NULL,
};

DT_MACHINE_START(MACKEREL_DT, "mackerel")
.map_io = sh7372_map_io,
.init_early = sh7372_add_early_devices,
.init_irq = sh7372_init_irq,
.handle_irq = shmobile_handle_irq_intc,
.init_machine = mackerel_init,
.init_late = sh7372_pm_init_late,
.timer = &shmobile_timer,
.dt_compat = mackerel_boards_compat_dt,
MACHINE_END

0 comments on commit 7c4f882

Please sign in to comment.