Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c06cd9bf authored by Arnaud Patard's avatar Arnaud Patard Committed by Jason Cooper
Browse files

kirkwood: Add iconnect support



Add support for Iomega Iconnect system.

Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Tested-By: default avatarAdam Baker <linux@baker-net.org.uk>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent ff3e660b
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
/dts-v1/;

/include/ "kirkwood.dtsi"

/ {
	model = "Iomega Iconnect";
	compatible = "iom,iconnect-1.1", "iom,iconnect", "mrvl,kirkwood-88f6281", "mrvl,kirkwood";

	memory {
		device_type = "memory";
		reg = <0x00000000 0x10000000>;
	};

	chosen {
		bootargs = "console=ttyS0,115200n8 earlyprintk mtdparts=orion_nand:0xc0000@0x0(uboot),0x20000@0xa0000(env),0x300000@0x100000(zImage),0x300000@0x540000(initrd),0x1f400000@0x980000(boot)";
		linux,initrd-start = <0x4500040>;
		linux,initrd-end   = <0x4800000>;
	};

	ocp@f1000000 {
		serial@12000 {
			clock-frequency = <200000000>;
			status = "ok";
		};
	};
};
+6 −0
Original line number Diff line number Diff line
@@ -58,6 +58,12 @@ config MACH_DREAMPLUG_DT
	  Say 'Y' here if you want your kernel to support the
	  Marvell DreamPlug (Flattened Device Tree).

config MACH_ICONNECT_DT
	bool "Iomega Iconnect (Flattened Device Tree)"
	select ARCH_KIRKWOOD_DT
	help
	  Say 'Y' here to enable Iomega Iconnect support.

config MACH_DLINK_KIRKWOOD_DT
	bool "D-Link Kirkwood-based NAS (Flattened Device Tree)"
	select ARCH_KIRKWOOD_DT
+1 −0
Original line number Diff line number Diff line
@@ -22,4 +22,5 @@ obj-$(CONFIG_MACH_T5325) += t5325-setup.o
obj-$(CONFIG_CPU_IDLE)			+= cpuidle.o
obj-$(CONFIG_ARCH_KIRKWOOD_DT)		+= board-dt.o
obj-$(CONFIG_MACH_DREAMPLUG_DT)		+= board-dreamplug.o
obj-$(CONFIG_MACH_ICONNECT_DT)		+= board-iconnect.o
obj-$(CONFIG_MACH_DLINK_KIRKWOOD_DT)	+= board-dnskw.o
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ initrd_phys-y := 0x00800000
dtb-$(CONFIG_MACH_DREAMPLUG_DT) += kirkwood-dreamplug.dtb
dtb-$(CONFIG_MACH_DLINK_KIRKWOOD_DT) += kirkwood-dns320.dtb
dtb-$(CONFIG_MACH_DLINK_KIRKWOOD_DT) += kirkwood-dns325.dtb
dtb-$(CONFIG_MACH_ICONNECT_DT) += kirkwood-iconnect.dtb
+4 −0
Original line number Diff line number Diff line
@@ -59,6 +59,9 @@ static void __init kirkwood_dt_init(void)
	if (of_machine_is_compatible("dlink,dns-kirkwood"))
		dnskw_init();

	if (of_machine_is_compatible("iom,iconnect"))
		iconnect_init();

	of_platform_populate(NULL, kirkwood_dt_match_table, NULL, NULL);
}

@@ -66,6 +69,7 @@ static const char *kirkwood_dt_board_compat[] = {
	"globalscale,dreamplug",
	"dlink,dns-320",
	"dlink,dns-325",
	"iom,iconnect",
	NULL
};

Loading