Skip to content

add support for Firefly-RK3288 and Rayeager PX2 boards

Heiko Stübner linux-arm-kernel linux-devicetree 2 versions – New

Get series with b4
b4 am 142441781.gJtRx3FmLT@diego

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v4 posting 1/20 of 3 patches 0 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] add support for Firefly-RK3288 and Rayeager PX2 boards

Am Montag, 26. Januar 2015, 02:22:55 schrieb Heiko St?bner:

Quoted 9 lines

Am Sonntag, 25. Januar 2015, 21:39:33 schrieb FUKAUMI Naoki:

Quoted 4 lines

This series adds support for following Rockchip SoC based boards.

- Firefly, Firefly-RK3288 (both beta and mass production version)
- ChipSPARK, Rayeager PX2

I've applied this series with Andy's Tested-by for the Rayeager board and my Tested-by for the Firefly.

Quoted 6 lines

One caveat, I had to remove the gmac node from the firefly dtsi, as the whole gmac series goes through the network tree, so the dtb won't compile either in my tree or arm-soc due to the missing core node.

I'll try to see if I can get the separate gmac node in when everything is combined in 3.20-rc1.

I've added the missing gmac config now to my dts-branch for 3.21 (or whatever it might get called), with the following patch:

----------- 8< ------------
From: Heiko Stuebner <[email protected]>
Date: Fri, 20 Feb 2015 01:31:57 +0100
Subject: [PATCH] ARM: dts: rockchip: enable gmac on rk3288-firefly

This was left out of the original firefly board definition due to the ethernet support going completely through the network tree, making the underlying nodes unavailable.

Now that everything is present enable the gmac on the firefly.

---
 arch/arm/boot/dts/rk3288-firefly.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/rk3288-firefly.dtsi +16 -0
index b9dda41..b54dd78 100644
@@ -179,6 +179,22 @@
 	status = "okay";
 };
 
+&gmac {
+	assigned-clocks = <&cru SCLK_MAC>;
+	assigned-clock-parents = <&ext_gmac>;
+	clock_in_out = "input";
+	pinctrl-names = "default";
+	pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
+	phy-supply = <&vcc_lan>;
+	phy-mode = "rgmii";
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 10000 1000000>;
+	snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
+	tx_delay = <0x30>;
+	rx_delay = <0x10>;
+	status = "ok";
+};
+
 &hdmi {
 	ddc-i2c-bus = <&i2c5>;
 	status = "okay";
Signature · 1 line
2.1.4