summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wu <[email protected]>2019-11-26 09:39:51 +0800
committerKever Yang <[email protected]>2019-12-06 00:06:23 +0800
commitaebd9eddb3486eceaad98f186986895025794354 (patch)
tree2e4b58671c1cc99ff361467a456cace374a9fcaa
parent982fab393d1e0a866df1daeb2a0f692788a3814d (diff)
dts: rk3308: Enable ethernet function supported for Firefly ROC_RK3308_CC
The Firefly ROC_RK3308_CC use ref_clock of input mode, and rmii pins of m1 group. Signed-off-by: David Wu <[email protected]> Reviewed-by: Kever Yang <[email protected]>
-rw-r--r--arch/arm/dts/rk3308-roc-cc.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3308-roc-cc.dts b/arch/arm/dts/rk3308-roc-cc.dts
index e10aa638a30..b4a54a852ce 100644
--- a/arch/arm/dts/rk3308-roc-cc.dts
+++ b/arch/arm/dts/rk3308-roc-cc.dts
@@ -143,6 +143,15 @@
};
};
+&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";