Skip to content

Commit

Permalink
ARM: dts: mx27: Fix the AIPI bus for FEC
Browse files Browse the repository at this point in the history
FEC controller is connected to AIPI2 bus.

Also fix the AIPI1 address range.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Dec 17, 2012
1 parent a4f1de1 commit 3e24b05
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/imx27-3ds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
};

soc {
aipi@10000000 { /* aipi */

aipi@10000000 { /* aipi1 */
uart1: serial@1000a000 {
fsl,uart-has-rtscts;
status = "okay";
};
};

fec@1002b000 {
aipi@10020000 { /* aipi2 */
ethernet@1002b000 {
status = "okay";
};
};
};

};
13 changes: 7 additions & 6 deletions arch/arm/boot/dts/imx27-phytec-phycore.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
};

soc {
aipi@10000000 { /* aipi */

aipi@10000000 { /* aipi1 */
serial@1000a000 {
fsl,uart-has-rtscts;
status = "okay";
Expand All @@ -38,10 +37,6 @@
status = "okay";
};

ethernet@1002b000 {
status = "okay";
};

i2c@1001d000 {
clock-frequency = <400000>;
status = "okay";
Expand All @@ -60,6 +55,12 @@
};
};
};

aipi@10020000 { /* aipi2 */
ethernet@1002b000 {
status = "okay";
};
};
};

nor_flash@c0000000 {
Expand Down
11 changes: 10 additions & 1 deletion arch/arm/boot/dts/imx27.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
compatible = "fsl,aipi-bus", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x10000000 0x10000000>;
reg = <0x10000000 0x20000>;
ranges;

wdog: wdog@10002000 {
Expand Down Expand Up @@ -211,6 +211,15 @@
status = "disabled";
};

};

aipi@10020000 { /* AIPI2 */
compatible = "fsl,aipi-bus", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x10020000 0x20000>;
ranges;

fec: ethernet@1002b000 {
compatible = "fsl,imx27-fec";
reg = <0x1002b000 0x4000>;
Expand Down

0 comments on commit 3e24b05

Please sign in to comment.