Rockchip - add Firefly ROC-RK3576-PC board
Subsystems (2)
Heiko Stuebner
maintainercover Rockchip - add Firefly ROC-RK3576-PC board
This adds a second board based around the rk3576 SoC.
Heiko Stuebner (2):
dt-bindings: arm: rockchip: Add Firefly ROC-RK3576-PC binding
arm64: dts: rockchip: Add devicetree for the ROC-RK3576-PC
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../arm64/boot/dts/rockchip/rk3576-roc-pc.dts | 745 ++++++++++++++++++ 3 files changed, 751 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts
Signature · 1 line
2.45.2
Heiko Stuebner
maintainerPATCH 1/2 dt-bindings: arm: rockchip: Add Firefly ROC-RK3576-PC binding
Add devicetree binding for the ROC-RK3576-PC SBC.
The board is based on the RK3576 SoC (4*Cortex-A72 + 4*Cortex-A53).
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -211,6 +211,11 @@ properties: - firefly,roc-rk3399-pc-plus - const: rockchip,rk3399 + - description: Firefly ROC-RK3576-PC + items: + - const: firefly,roc-rk3576-pc + - const: rockchip,rk3576 + - description: Firefly Station M2 items: - const: firefly,rk3566-roc-pc
Signature · 1 line
2.45.2
Heiko Stuebner
maintainerPATCH 2/2 arm64: dts: rockchip: Add devicetree for the ROC-RK3576-PC
In reply to Heiko StuebnerAs the name implies, it is built around the RK3576 SoC with 4x Cortex-A72 cores, four Cortex-A53 cores and Mali-G52 MC3 GPU.
Storage options are EMMC, SD-Card, a 2242 M.2 slot and the possibility to use UFS 2.0 storage.
Video Output options are a HDMI port, a DSI connector as well as Display- Port via the TypeC connector (all of them not yet supported).
Networking options are a Low-profile Gigabit Ethernet RJ45 port with Motorcomm YT8531 PHY as well as WiFi via an AMPAK AP6256 module.
USB ports on the board are 1x USB 3.0 port, 1x USB 2.0 port, 1x USB Type-C and it comes with 40-pin GPIO header
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../arm64/boot/dts/rockchip/rk3576-roc-pc.dts | 745 ++++++++++++++++++ 2 files changed, 746 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -130,6 +130,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-genbook.dtb
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +745 -0
745 lines not on this page · raw message
Signature · 1 line
2.45.2
Re: [PATCH 1/2] dt-bindings: arm: rockchip: Add Firefly ROC-RK3576-PC binding
In reply to Heiko StuebnerQuoted 9 lines · Heiko Stuebner
Add devicetree binding for the ROC-RK3576-PC SBC.
The board is based on the RK3576 SoC (4*Cortex-A72 + 4*Cortex-A53).
Signed-off-by Heiko Stuebner <[email protected]>--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Re: [PATCH 2/2] arm64: dts: rockchip: Add devicetree for the ROC-RK3576-PC
In reply to Heiko StuebnerHi Heiko,
Quoted 39 lines · Heiko Stuebner
As the name implies, it is built around the RK3576 SoC with 4x Cortex-A72 cores, four Cortex-A53 cores and Mali-G52 MC3 GPU.
Storage options are EMMC, SD-Card, a 2242 M.2 slot and the possibility to use UFS 2.0 storage.
Video Output options are a HDMI port, a DSI connector as well as Display- Port via the TypeC connector (all of them not yet supported).
Networking options are a Low-profile Gigabit Ethernet RJ45 port with Motorcomm YT8531 PHY as well as WiFi via an AMPAK AP6256 module.
USB ports on the board are 1x USB 3.0 port, 1x USB 2.0 port, 1x USB Type-C and it comes with 40-pin GPIO header
Signed-off-by Heiko Stuebner <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../arm64/boot/dts/rockchip/rk3576-roc-pc.dts | 745 ++++++++++++++++++ 2 files changed, 746 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dtsarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -130,6 +130,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-genbook.dtbarch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +0
-0
[snip]
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts line 253
Quoted 9 lines
+&gmac0 {
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +8
-0+ /* Use rgmii-rxid mode to disable rx delay inside Soc */ + phy-mode = "rgmii-rxid"; + clock_in_out = "output"; + + snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; + snps,reset-active-low; + /* Reset time is 20ms, 100ms for rtl8211f */ + snps,reset-delays-us = <0 20000 100000>;
The snps,reset- props are deprecated, reset- props should probably be added to the rgmii_phy0 node.
Quoted 11 lines
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +11
-0+ + pinctrl-names = "default"; + pinctrl-0 = <ð0m0_miim + ð0m0_tx_bus2 + ð0m0_rx_bus2 + ð0m0_rgmii_clk + ð0m0_rgmii_bus + ðm0_clk0_25m_out>; + + tx_delay = <0x21>; + /* rx_delay = <0x3f>; */
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts line 274
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +10
-0+ + phy-handle = <&rgmii_phy0>; + status = "okay"; +}; + +&mdio0 { + status = "okay"; + + rgmii_phy0: phy@1 { + compatible = "ethernet-phy-ieee802.3-c22";
This could possible be changed to ethernet-phy-id001c.c916 if moving reset- props cause Ethernet phy detection issues and phy was not reset by bootloader.
Regards,
Jonas
Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts new file +5
-0+ reg = <0x1>; + clocks = <&cru REFCLKO25M_GMAC0_OUT>; + }; +}; +
[snip]