aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/xtensa/boot/dts/xtfpga.dtsi1
-rw-r--r--arch/xtensa/platforms/xtfpga/setup.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/boot/dts/xtfpga.dtsi b/arch/xtensa/boot/dts/xtfpga.dtsi
index be3fd769677a..de133badcdc9 100644
--- a/arch/xtensa/boot/dts/xtfpga.dtsi
+++ b/arch/xtensa/boot/dts/xtfpga.dtsi
@@ -69,6 +69,7 @@
69 enet0: ethoc@0d030000 { 69 enet0: ethoc@0d030000 {
70 compatible = "opencores,ethoc"; 70 compatible = "opencores,ethoc";
71 reg = <0x0d030000 0x4000 0x0d800000 0x4000>; 71 reg = <0x0d030000 0x4000 0x0d800000 0x4000>;
72 native-endian;
72 interrupts = <1 1>; /* external irq 1 */ 73 interrupts = <1 1>; /* external irq 1 */
73 local-mac-address = [00 50 c2 13 6f 00]; 74 local-mac-address = [00 50 c2 13 6f 00];
74 clocks = <&osc>; 75 clocks = <&osc>;
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c
index b7f468a6a557..b509d1f55ed5 100644
--- a/arch/xtensa/platforms/xtfpga/setup.c
+++ b/arch/xtensa/platforms/xtfpga/setup.c
@@ -223,6 +223,7 @@ static struct ethoc_platform_data ethoc_pdata = {
223 */ 223 */
224 .hwaddr = { 0x00, 0x50, 0xc2, 0x13, 0x6f, 0 }, 224 .hwaddr = { 0x00, 0x50, 0xc2, 0x13, 0x6f, 0 },
225 .phy_id = -1, 225 .phy_id = -1,
226 .big_endian = XCHAL_HAVE_BE,
226}; 227};
227 228
228static struct platform_device ethoc_device = { 229static struct platform_device ethoc_device = {