diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-10-22 14:26:49 -0400 |
---|---|---|
committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-10-29 14:44:42 -0400 |
commit | ae01f64baad6299a537a1df4e5d42d94e806a582 (patch) | |
tree | e5b2611483cf9c30d6dab12a051b8c0714a615e6 | |
parent | 297bb063b614b801bd08f3130b780c2ff2776c47 (diff) |
ARM: dts: berlin: Add BG2 ethernet DT nodes
Marvell BG2 has two fast ethernet controllers with internal PHY,
add the corresponding nodes to SoC dtsi.
Tested-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/berlin2.dtsi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index d7e81e124de0..bbdad9510f19 100644 --- a/arch/arm/boot/dts/berlin2.dtsi +++ b/arch/arm/boot/dts/berlin2.dtsi | |||
@@ -79,11 +79,47 @@ | |||
79 | clocks = <&chip CLKID_TWD>; | 79 | clocks = <&chip CLKID_TWD>; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | eth1: ethernet@b90000 { | ||
83 | compatible = "marvell,pxa168-eth"; | ||
84 | reg = <0xb90000 0x10000>; | ||
85 | clocks = <&chip CLKID_GETH1>; | ||
86 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; | ||
87 | /* set by bootloader */ | ||
88 | local-mac-address = [00 00 00 00 00 00]; | ||
89 | #address-cells = <1>; | ||
90 | #size-cells = <0>; | ||
91 | phy-connection-type = "mii"; | ||
92 | phy-handle = <ðphy1>; | ||
93 | status = "disabled"; | ||
94 | |||
95 | ethphy1: ethernet-phy@0 { | ||
96 | reg = <0>; | ||
97 | }; | ||
98 | }; | ||
99 | |||
82 | cpu-ctrl@dd0000 { | 100 | cpu-ctrl@dd0000 { |
83 | compatible = "marvell,berlin-cpu-ctrl"; | 101 | compatible = "marvell,berlin-cpu-ctrl"; |
84 | reg = <0xdd0000 0x10000>; | 102 | reg = <0xdd0000 0x10000>; |
85 | }; | 103 | }; |
86 | 104 | ||
105 | eth0: ethernet@e50000 { | ||
106 | compatible = "marvell,pxa168-eth"; | ||
107 | reg = <0xe50000 0x10000>; | ||
108 | clocks = <&chip CLKID_GETH0>; | ||
109 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; | ||
110 | /* set by bootloader */ | ||
111 | local-mac-address = [00 00 00 00 00 00]; | ||
112 | #address-cells = <1>; | ||
113 | #size-cells = <0>; | ||
114 | phy-connection-type = "mii"; | ||
115 | phy-handle = <ðphy0>; | ||
116 | status = "disabled"; | ||
117 | |||
118 | ethphy0: ethernet-phy@0 { | ||
119 | reg = <0>; | ||
120 | }; | ||
121 | }; | ||
122 | |||
87 | apb@e80000 { | 123 | apb@e80000 { |
88 | compatible = "simple-bus"; | 124 | compatible = "simple-bus"; |
89 | #address-cells = <1>; | 125 | #address-cells = <1>; |