Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342218
b: refs/heads/master
c: a957fdc
h: refs/heads/master
v: v3
  • Loading branch information
Julien Boibessot authored and Shawn Guo committed Oct 19, 2012
1 parent 4329ae2 commit 66432e1
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8eec4b3117405e5561d2c65c9222cf3334c0ca3a
refs/heads/master: a957fdca4feb7fbc51f9c7c6a152a86f35ca7751
1 change: 1 addition & 0 deletions trunk/arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
imx23-olinuxino.dtb \
imx23-stmp378x_devb.dtb \
imx28-apf28.dtb \
imx28-apx4devkit.dtb \
imx28-cfa10036.dtb \
imx28-cfa10049.dtb \
Expand Down
85 changes: 85 additions & 0 deletions trunk/arch/arm/boot/dts/imx28-apf28.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/*
* Copyright 2012 Armadeus Systems - <support@armadeus.com>
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/

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

/ {
model = "Armadeus Systems APF28 module";
compatible = "armadeus,imx28-apf28", "fsl,imx28";

memory {
reg = <0x40000000 0x08000000>;
};

apb@80000000 {
apbh@80000000 {
gpmi-nand@8000c000 {
pinctrl-names = "default";
pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
status = "okay";

partition@0 {
label = "u-boot";
reg = <0x0 0x300000>;
};

partition@300000 {
label = "env";
reg = <0x300000 0x80000>;
};

partition@380000 {
label = "env2";
reg = <0x380000 0x80000>;
};

partition@400000 {
label = "dtb";
reg = <0x400000 0x80000>;
};

partition@480000 {
label = "splash";
reg = <0x480000 0x80000>;
};

partition@500000 {
label = "kernel";
reg = <0x500000 0x800000>;
};

partition@d00000 {
label = "rootfs";
reg = <0xd00000 0xf300000>;
};
};
};

apbx@80040000 {
duart: serial@80074000 {
pinctrl-names = "default";
pinctrl-0 = <&duart_pins_a>;
status = "okay";
};
};
};

ahb@80080000 {
mac0: ethernet@800f0000 {
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>;
phy-reset-gpios = <&gpio4 13 0>;
status = "okay";
};
};
};
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-mxs/mach-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,11 @@ static void __init cfa10049_init(void)
update_fec_mac_prop(OUI_CRYSTALFONTZ);
}

static void __init apf28_init(void)
{
enable_clk_enet_out();
}

static void __init mxs_machine_init(void)
{
if (of_machine_is_compatible("fsl,imx28-evk"))
Expand All @@ -379,6 +384,8 @@ static void __init mxs_machine_init(void)
apx4devkit_init();
else if (of_machine_is_compatible("crystalfontz,cfa10049"))
cfa10049_init();
else if (of_machine_is_compatible("armadeus,imx28-apf28"))
apf28_init();

of_platform_populate(NULL, of_default_bus_match_table,
mxs_auxdata_lookup, NULL);
Expand Down

0 comments on commit 66432e1

Please sign in to comment.