diff options
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/apm-mustang.dts | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/apm-storm.dtsi | 29 |
2 files changed, 31 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts index f64900052f4e..8eb6d94c7851 100644 --- a/arch/arm64/boot/dts/apm-mustang.dts +++ b/arch/arm64/boot/dts/apm-mustang.dts | |||
@@ -40,3 +40,7 @@ | |||
40 | &menet { | 40 | &menet { |
41 | status = "ok"; | 41 | status = "ok"; |
42 | }; | 42 | }; |
43 | |||
44 | &xgenet { | ||
45 | status = "ok"; | ||
46 | }; | ||
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 4f6d04d52cca..87d3205e98d5 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi | |||
@@ -176,6 +176,16 @@ | |||
176 | clock-output-names = "menetclk"; | 176 | clock-output-names = "menetclk"; |
177 | }; | 177 | }; |
178 | 178 | ||
179 | xge0clk: xge0clk@1f61c000 { | ||
180 | compatible = "apm,xgene-device-clock"; | ||
181 | #clock-cells = <1>; | ||
182 | clocks = <&socplldiv2 0>; | ||
183 | reg = <0x0 0x1f61c000 0x0 0x1000>; | ||
184 | reg-names = "csr-reg"; | ||
185 | csr-mask = <0x3>; | ||
186 | clock-output-names = "xge0clk"; | ||
187 | }; | ||
188 | |||
179 | sataphy1clk: sataphy1clk@1f21c000 { | 189 | sataphy1clk: sataphy1clk@1f21c000 { |
180 | compatible = "apm,xgene-device-clock"; | 190 | compatible = "apm,xgene-device-clock"; |
181 | #clock-cells = <1>; | 191 | #clock-cells = <1>; |
@@ -585,7 +595,8 @@ | |||
585 | interrupts = <0x0 0x3c 0x4>; | 595 | interrupts = <0x0 0x3c 0x4>; |
586 | dma-coherent; | 596 | dma-coherent; |
587 | clocks = <&menetclk 0>; | 597 | clocks = <&menetclk 0>; |
588 | local-mac-address = [00 01 73 00 00 01]; | 598 | /* mac address will be overwritten by the bootloader */ |
599 | local-mac-address = [00 00 00 00 00 00]; | ||
589 | phy-connection-type = "rgmii"; | 600 | phy-connection-type = "rgmii"; |
590 | phy-handle = <&menetphy>; | 601 | phy-handle = <&menetphy>; |
591 | mdio { | 602 | mdio { |
@@ -600,12 +611,26 @@ | |||
600 | }; | 611 | }; |
601 | }; | 612 | }; |
602 | 613 | ||
614 | xgenet: ethernet@1f610000 { | ||
615 | compatible = "apm,xgene-enet"; | ||
616 | status = "disabled"; | ||
617 | reg = <0x0 0x1f610000 0x0 0xd100>, | ||
618 | <0x0 0x1f600000 0x0 0X400>, | ||
619 | <0x0 0x18000000 0x0 0X200>; | ||
620 | reg-names = "enet_csr", "ring_csr", "ring_cmd"; | ||
621 | interrupts = <0x0 0x60 0x4>; | ||
622 | dma-coherent; | ||
623 | clocks = <&xge0clk 0>; | ||
624 | /* mac address will be overwritten by the bootloader */ | ||
625 | local-mac-address = [00 00 00 00 00 00]; | ||
626 | phy-connection-type = "xgmii"; | ||
627 | }; | ||
628 | |||
603 | rng: rng@10520000 { | 629 | rng: rng@10520000 { |
604 | compatible = "apm,xgene-rng"; | 630 | compatible = "apm,xgene-rng"; |
605 | reg = <0x0 0x10520000 0x0 0x100>; | 631 | reg = <0x0 0x10520000 0x0 0x100>; |
606 | interrupts = <0x0 0x41 0x4>; | 632 | interrupts = <0x0 0x41 0x4>; |
607 | clocks = <&rngpkaclk 0>; | 633 | clocks = <&rngpkaclk 0>; |
608 | }; | 634 | }; |
609 | |||
610 | }; | 635 | }; |
611 | }; | 636 | }; |