Message ID | 1412294568-26747-4-git-send-email-isubramanian@apm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi, [...] > + xgenet: ethernet@1f610000 { > + compatible = "apm,xgene-enet"; > + status = "disabled"; > + reg = <0x0 0x1f610000 0x0 0xd100>, > + <0x0 0x1f600000 0x0 0X400>, > + <0x0 0x18000000 0x0 0X200>; > + reg-names = "enet_csr", "ring_csr", "ring_cmd"; > + interrupts = <0x0 0x60 0x4>; > + dma-coherent; > + clocks = <&xge0clk 0>; > + local-mac-address = [00 01 73 00 00 04]; Apolgoies, I'd missed your reply on this last time. Please use all-zeroes for the mac address, and have a comment that this will be overwritten by the bootloader. Thanks, Mark.
diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts index b2f5622..2ae782b 100644 --- a/arch/arm64/boot/dts/apm-mustang.dts +++ b/arch/arm64/boot/dts/apm-mustang.dts @@ -32,3 +32,7 @@ &menet { status = "ok"; }; + +&xgenet { + status = "ok"; +}; diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index c0aceef..f69c983 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -176,6 +176,16 @@ clock-output-names = "menetclk"; }; + xge0clk: xge0clk@1f61c000 { + compatible = "apm,xgene-device-clock"; + #clock-cells = <1>; + clocks = <&socplldiv2 0>; + reg = <0x0 0x1f61c000 0x0 0x1000>; + reg-names = "csr-reg"; + csr-mask = <0x3>; + clock-output-names = "xge0clk"; + }; + sataphy1clk: sataphy1clk@1f21c000 { compatible = "apm,xgene-device-clock"; #clock-cells = <1>; @@ -421,5 +431,19 @@ }; }; + + xgenet: ethernet@1f610000 { + compatible = "apm,xgene-enet"; + status = "disabled"; + reg = <0x0 0x1f610000 0x0 0xd100>, + <0x0 0x1f600000 0x0 0X400>, + <0x0 0x18000000 0x0 0X200>; + reg-names = "enet_csr", "ring_csr", "ring_cmd"; + interrupts = <0x0 0x60 0x4>; + dma-coherent; + clocks = <&xge0clk 0>; + local-mac-address = [00 01 73 00 00 04]; + phy-connection-type = "xgmii"; + }; }; };