diff options
-rw-r--r-- | arch/xtensa/boot/dts/xtfpga.dtsi | 1 | ||||
-rw-r--r-- | arch/xtensa/platforms/xtfpga/setup.c | 1 |
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 | ||
228 | static struct platform_device ethoc_device = { | 229 | static struct platform_device ethoc_device = { |