]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: aspeed: Add ftgmac100 to g4 and g5 platforms
authorJoel Stanley <joel@jms.id.au>
Wed, 4 Jan 2017 05:30:34 +0000 (16:30 +1100)
committerJoel Stanley <joel@jms.id.au>
Tue, 10 Jan 2017 10:55:43 +0000 (21:55 +1100)
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2500-evb.dts
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 1b7a5ff0e533f6b19f66bc806f621b1fe9421ce9..d967603dade8f20ab4bbdbde2b808a615ee78646 100644 (file)
 &uart5 {
        status = "okay";
 };
+
+&mac0 {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
+};
+
+&mac1 {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
+};
index e21388369aa086254535955a844d4be91765703c..1d2fc1e1dc291547bdbbe94cde3a1bf524aac3c8 100644 (file)
 &uart5 {
        status = "okay";
 };
+
+&mac0 {
+       status = "okay";
+
+       use-ncsi;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rmii1_default>;
+};
index 20b75667286f9a7e870a958ef5bf507d4d3c7a03..0b4932cc02a8d8bb66165e40c11113647b92633f 100644 (file)
                        reg = <0x1e6c0080 0x80>;
                };
 
+               mac0: ethernet@1e660000 {
+                       compatible = "faraday,ftgmac100";
+                       reg = <0x1e660000 0x180>;
+                       interrupts = <2>;
+                       no-hw-checksum;
+                       status = "disabled";
+               };
+
+               mac1: ethernet@1e680000 {
+                       compatible = "faraday,ftgmac100";
+                       reg = <0x1e680000 0x180>;
+                       interrupts = <3>;
+                       no-hw-checksum;
+                       status = "disabled";
+               };
+
                apb {
                        compatible = "simple-bus";
                        #address-cells = <1>;
index a95c1b08a81642807e9f46207d8988e172198a35..b664fe380936390a6f1ecdee49f157763e858513 100644 (file)
                        reg = <0x1e6c0080 0x80>;
                };
 
+               mac0: ethernet@1e660000 {
+                       compatible = "faraday,ftgmac100";
+                       reg = <0x1e660000 0x180>;
+                       interrupts = <2>;
+                       no-hw-checksum;
+                       status = "disabled";
+               };
+
+               mac1: ethernet@1e680000 {
+                       compatible = "faraday,ftgmac100";
+                       reg = <0x1e680000 0x180>;
+                       interrupts = <3>;
+                       no-hw-checksum;
+                       status = "disabled";
+               };
+
                apb {
                        compatible = "simple-bus";
                        #address-cells = <1>;