dts: rk3308: Enable ethernet function supported for Firefly ROC_RK3308_CC
authorDavid Wu <david.wu@rock-chips.com>
Tue, 26 Nov 2019 01:39:51 +0000 (09:39 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 5 Dec 2019 16:06:23 +0000 (00:06 +0800)
The Firefly ROC_RK3308_CC use ref_clock of input mode,
and rmii pins of m1 group.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3308-roc-cc.dts

index e10aa638a305b9a57e01b6e46d3f2d2373769b19..b4a54a852ce2089c8c4c278d89afa9ab7d1f6d38 100644 (file)
        };
 };
 
+&mac {
+       assigned-clocks = <&cru SCLK_MAC>;
+       assigned-clock-parents = <&mac_clkin>;
+       clock_in_out = "input";
+       pinctrl-names = "default";
+       pinctrl-0 = <&rmiim1_pins &macm1_refclk>;
+       status = "okay";
+};
+
 &pwm5 {
        status = "okay";
        pinctrl-names = "active";