Add BananaPi R2 Pro board
Subsystems (2)
cover Add BananaPi R2 Pro board
From: Frank Wunderlich <[email protected]>
This Series adds RK3568 based Bananapi R2 Board.
While testing new dts with dtbs_check we've found an issue with mainline gmac0 node in rk3568.dtsi which breaks dtbs_check. So first Patch fixes this problem.
Frank Wunderlich (3):
dts64: rk3568: drop pclk_xpcs from gmac0
dt-bindings: rockchip: Add BananaPi R2 Pro Board
dts64: rockchip: Add Bananapi R2 Pro
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 428 ++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3568.dtsi | 6 +- 4 files changed, 436 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 1/3 dts64: rk3568: drop pclk_xpcs from gmac0
From: Frank Wunderlich <[email protected]>
pclk_xpcs is not supported and breaks dtbs_check, so remove it
following warnings occour, and many more
rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clocks:
[[15, 386], [15, 389], [15, 389], [15, 184], [15, 180], [15, 181],
[15, 389], [15, 185], [15, 172]] is too long
From schema: Documentation/devicetree/bindings/net/snps,dwmac.yaml
rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clock-names:
['stmmaceth', 'mac_clk_rx', 'mac_clk_tx', 'clk_mac_refout', 'aclk_mac',
'pclk_mac', 'clk_mac_speed', 'ptp_ref', 'pclk_xpcs'] is too long
From schema: Documentation/devicetree/bindings/net/snps,dwmac.yamlafter removing the clock the other warnings are also gone.
--- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/rockchip/rk3568.dtsi +2 -4
@@ -32,13 +32,11 @@ gmac0: ethernet@fe2a0000 { clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>, <&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>, - <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>, - <&cru PCLK_XPCS>; + <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>; clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_refout", "aclk_mac", "pclk_mac", - "clk_mac_speed", "ptp_ref", - "pclk_xpcs"; + "clk_mac_speed", "ptp_ref"; resets = <&cru SRST_A_GMAC0>; reset-names = "stmmaceth"; rockchip,grf = <&grf>;
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Hello Frank,
Quoted 34 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
pclk_xpcsis not supported and breaksdtbs_check, so remove itfollowing warnings occour, and many more
rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clocks:[[15, 386], [15, 389], [15, 389], [15, 184], [15, 180], [15, 181], [15, 389], [15, 185], [15, 172]] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yaml rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clock-names: ['stmmaceth', 'mac_clk_rx', 'mac_clk_tx', 'clk_mac_refout', 'aclk_mac', 'pclk_mac', 'clk_mac_speed', 'ptp_ref', 'pclk_xpcs'] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yamlafter removing the clock the other warnings are also gone.
Co-developed-by Peter Geis <[email protected]>Signed-off-by Peter Geis <[email protected]>Signed-off-by Frank Wunderlich <[email protected]>--- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)arch/arm64/boot/dts/rockchip/rk3568.dtsi +0
-2@@ -32,13 +32,11 @@ gmac0: ethernet@fe2a0000 { clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>, <&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>, - <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>, - <&cru PCLK_XPCS>;
arch/arm64/boot/dts/rockchip/rk3568.dtsi gmac0: ethernet@fe2a0000 { · line 42
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568.dtsi +2
-2+ <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>; clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_refout", "aclk_mac", "pclk_mac", - "clk_mac_speed", "ptp_ref", - "pclk_xpcs"; + "clk_mac_speed", "ptp_ref"; resets = <&cru SRST_A_GMAC0>; reset-names = "stmmaceth"; rockchip,grf = <&grf>;
This has been on my TODO list for a while, but I never found the time to submit this cleanup. As far as I am concerned:
Thanks and best regards,
Michael
Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
In reply to Frank WunderlichHi Frank,
Despite that the DT is hosted in the kernel tree DT and mainline kernel driver support are 2 separate things. PCLK_XPCS might be in use elsewhere.
Given the link below pclk_xpcs is only needed for rk3568. Maybe gmac1 should have a PCLK_XPCS too, because one can select between them.
ethernet: stmicro: stmmac: Add SGMII/QSGMII support for RK3568
https://github.com/rockchip-linux/kernel/commit/1fc7cbfe9e227c700c692f1de3137914b3ea6ca6
The original dtsi did have PCLK_XPCS in both nodes.
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L2121
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L1492
Maybe fix the document or leave it as it is for now as long the driver isn't updated and someone has tested it.
That's up to the DT maintainer.
Johan
===
XPCS is also part of PD_PIPE.
See Rockchip RK3568 TRM Part1 V1.0-20210111.pdf page 475. Please advise if the power-domain@RK3568_PD_PIPE does need a PCLK_XPCS fix or is PCLK_PIPE enough in combination with a PHY driver?
PD_PIPE:
BIU_PIPE
USB3OTG
PCIE20
PCIE30
SATA
XPCS
power-domain@RK3568_PD_PIPE {
reg = <RK3568_PD_PIPE>;
clocks = <&cru PCLK_PIPE>;
pm_qos = <&qos_pcie2x1>,
<&qos_pcie3x1>,
<&qos_pcie3x2>,
<&qos_sata0>,
<&qos_sata1>,
<&qos_sata2>,
<&qos_usb3_0>,
<&qos_usb3_1>;
#power-domain-cells = <0>;
};Quoted 45 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
pclk_xpcsis not supported and breaksdtbs_check, so remove itfollowing warnings occour, and many more
rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clocks:[[15, 386], [15, 389], [15, 389], [15, 184], [15, 180], [15, 181], [15, 389], [15, 185], [15, 172]] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yaml rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clock-names: ['stmmaceth', 'mac_clk_rx', 'mac_clk_tx', 'clk_mac_refout', 'aclk_mac', 'pclk_mac', 'clk_mac_speed', 'ptp_ref', 'pclk_xpcs'] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yamlafter removing the clock the other warnings are also gone.
Co-developed-by Peter Geis <[email protected]>Signed-off-by Peter Geis <[email protected]>Signed-off-by Frank Wunderlich <[email protected]>--- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)arch/arm64/boot/dts/rockchip/rk3568.dtsi +2
-4@@ -32,13 +32,11 @@ gmac0: ethernet@fe2a0000 { clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>, <&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>, - <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>, - <&cru PCLK_XPCS>; + <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>; clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_refout", "aclk_mac", "pclk_mac", - "clk_mac_speed", "ptp_ref", - "pclk_xpcs"; + "clk_mac_speed", "ptp_ref"; resets = <&cru SRST_A_GMAC0>; reset-names = "stmmaceth"; rockchip,grf = <&grf>;
Heiko Stübner
maintainerRe: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Am Montag, 17. Januar 2022, 11:47:16 CET schrieb Johan Jonker:
Quoted 5 lines
Hi Frank,
Despite that the DT is hosted in the kernel tree DT and mainline kernel driver support are 2 separate things.
PCLK_XPCSmight be in use elsewhere.
I've just looked through the rk3568 TRM and I guess the pclk_xpcs belongs to the QSGMII_PCS block living at the 0xfda00000 address in the memory map.
From glancing at the documentation that PCS thingy can sit in between the dmac and the phy to "optimize" things like power consumption.
Looking at the PIPE_GRF_XPCS_CON0, we can see that bit1 decides which mac is to be selected to use the sgmii interface to that PCS block.
As the QSGMII_PCS block should have its own driver due to also its own config registers (see above), the pclk_xpcs also will belong to it and should be modeled there.
Also I guess boards currently in production will use regular gmii network interfaces?
Quoted 97 lines
Given the link below
pclk_xpcsis only needed for rk3568. Maybe gmac1 should have aPCLK_XPCStoo, because one can select between them.ethernet: stmicro: stmmac: Add SGMII/QSGMII support for RK3568
https://github.com/rockchip-linux/kernel/commit/1fc7cbfe9e227c700c692f1de3137914b3ea6ca6The original dtsi did have
PCLK_XPCSin both nodes.
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L2121
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L1492Maybe fix the document or leave it as it is for now as long the driver isn't updated and someone has tested it.
That's up to the DT maintainer.Johan
===
XPCS is also part of
PD_PIPE.
See Rockchip RK3568 TRM Part1 V1.0-20210111.pdf page 475. Please advise if the power-domain@RK3568_PD_PIPE does need aPCLK_XPCSfix or isPCLK_PIPEenough in combination with a PHY driver?
PD_PIPE:
BIU_PIPE
USB3OTG
PCIE20
PCIE30
SATA
XPCSpower-domain@RK3568_PD_PIPE { reg = <RK3568_PD_PIPE>; clocks = <&cru PCLK_PIPE>; pm_qos = <&qos_pcie2x1>, <&qos_pcie3x1>, <&qos_pcie3x2>, <&qos_sata0>, <&qos_sata1>, <&qos_sata2>, <&qos_usb3_0>, <&qos_usb3_1>; #power-domain-cells = <0>; };Quoted 45 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
pclk_xpcsis not supported and breaksdtbs_check, so remove itfollowing warnings occour, and many more
rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clocks:[[15, 386], [15, 389], [15, 389], [15, 184], [15, 180], [15, 181], [15, 389], [15, 185], [15, 172]] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yaml rk3568-evb1-v10.dt.yaml: ethernet@fe2a0000: clock-names: ['stmmaceth', 'mac_clk_rx', 'mac_clk_tx', 'clk_mac_refout', 'aclk_mac', 'pclk_mac', 'clk_mac_speed', 'ptp_ref', 'pclk_xpcs'] is too long From schema: Documentation/devicetree/bindings/net/snps,dwmac.yamlafter removing the clock the other warnings are also gone.
Co-developed-by Peter Geis <[email protected]>Signed-off-by Peter Geis <[email protected]>Signed-off-by Frank Wunderlich <[email protected]>--- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)arch/arm64/boot/dts/rockchip/rk3568.dtsi +2
-4@@ -32,13 +32,11 @@ gmac0: ethernet@fe2a0000 { clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>, <&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>, - <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>, - <&cru PCLK_XPCS>; + <&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>; clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_refout", "aclk_mac", "pclk_mac", - "clk_mac_speed", "ptp_ref", - "pclk_xpcs"; + "clk_mac_speed", "ptp_ref"; resets = <&cru SRST_A_GMAC0>; reset-names = "stmmaceth"; rockchip,grf = <&grf>;
Aw: Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
In reply to Johan JonkerHi
Quoted 19 lines
Gesendet: Montag, 17. Januar 2022 um 11:47 Uhr
Von: "Johan Jonker" <[email protected]>
Hi Frank,Despite that the DT is hosted in the kernel tree DT and mainline kernel driver support are 2 separate things.
PCLK_XPCSmight be in use elsewhere.Given the link below
pclk_xpcsis only needed for rk3568. Maybe gmac1 should have aPCLK_XPCStoo, because one can select between them.ethernet: stmicro: stmmac: Add SGMII/QSGMII support for RK3568
https://github.com/rockchip-linux/kernel/commit/1fc7cbfe9e227c700c692f1de3137914b3ea6ca6The original dtsi did have
PCLK_XPCSin both nodes.
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L2121
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L1492
Quoted 5 lines
Maybe fix the document or leave it as it is for now as long the driver isn't updated and someone has tested it.
That's up to the DT maintainer.Johan
as far as i understand, the PCLK_XPCS is part of the naneng combphy, which is not yet available in mainline.
Naneng driver needs some changes and imho this should be part of it (including change documentation). That also makes it clear why this clock is added. But leaving an unused property with sideeffects is imho no good choice.
So this was the easiest way to fix the dtbs_check. Else i got no usable result for it. Maybe adding it to Documentation is also easy, but have not yet looked into it as it currently unused from my POV.
But i leave it as decision for Maintainer to drop this patch as it is not needed for my Board DTS.
Quoted 17 lines
===
XPCS is also part of
PD_PIPE.
See Rockchip RK3568 TRM Part1 V1.0-20210111.pdf page 475. Please advise if the power-domain@RK3568_PD_PIPE does need aPCLK_XPCSfix or isPCLK_PIPEenough in combination with a PHY driver?
PD_PIPE:
BIU_PIPE
USB3OTG
PCIE20
PCIE30
SATA
XPCS
Quoted 13 lines
power-domain@RK3568_PD_PIPE {
reg = <RK3568_PD_PIPE>;
clocks = <&cru PCLK_PIPE>;
pm_qos = <&qos_pcie2x1>,
<&qos_pcie3x1>,
<&qos_pcie3x2>,
<&qos_sata0>,
<&qos_sata1>,
<&qos_sata2>,
<&qos_usb3_0>,
<&qos_usb3_1>;
#power-domain-cells = <0>;
};PD_PIPE is imho also part of Naneng. But more for usage as USB3/SATA/... phy. This is not part of Mainline too.
But thanks for pointing.
regards Frank
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Quoted 28 lines · Frank Wunderlich
Hi
Quoted 19 lines
Gesendet: Montag, 17. Januar 2022 um 11:47 Uhr
Von: "Johan Jonker" <[email protected]>
Hi Frank,Despite that the DT is hosted in the kernel tree DT and mainline kernel driver support are 2 separate things.
PCLK_XPCSmight be in use elsewhere.Given the link below
pclk_xpcsis only needed for rk3568. Maybe gmac1 should have aPCLK_XPCStoo, because one can select between them.ethernet: stmicro: stmmac: Add SGMII/QSGMII support for RK3568
https://github.com/rockchip-linux/kernel/commit/1fc7cbfe9e227c700c692f1de3137914b3ea6ca6The original dtsi did have
PCLK_XPCSin both nodes.
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L2121
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L1492Quoted 5 lines
Maybe fix the document or leave it as it is for now as long the driver isn't updated and someone has tested it.
That's up to the DT maintainer.Johan
Quoted 7 lines
as far as i understand, the
PCLK_XPCSis part of the naneng combphy, which is not yet available in mainline.
Naneng driver needs some changes and imho this should be part of it (including change documentation). That also makes it clear why this clock is added. But leaving an unused property with sideeffects is imho no good choice.So this was the easiest way to fix the
dtbs_check. Else i got no usable result for it. Maybe adding it to Documentation is also easy, but have not yet looked into it as it currently unused from my POV.But i leave it as decision for Maintainer to drop this patch as it is not needed for my Board DTS.
As both the current submission of the combophy driver and the gmac driver do not support xpcs, I elected to remove the clock vice adding documentation for something which is not currently supported. This is especially true as it only leaked through for the gmac0 port, the gmac1 port is modeled to the current support level.
Once xpcs support is introduced, the clock can be added to the documentation and both controllers as part of the same patch series.
Do you concur, Heiko?
Quoted 37 lines
Quoted 18 lines
===
XPCS is also part of
PD_PIPE.
See Rockchip RK3568 TRM Part1 V1.0-20210111.pdf page 475. Please advise if the power-domain@RK3568_PD_PIPE does need aPCLK_XPCSfix or isPCLK_PIPEenough in combination with a PHY driver?
PD_PIPE:
BIU_PIPE
USB3OTG
PCIE20
PCIE30
SATA
XPCSQuoted 13 lines
power-domain@RK3568_PD_PIPE { reg = <RK3568_PD_PIPE>; clocks = <&cru PCLK_PIPE>; pm_qos = <&qos_pcie2x1>, <&qos_pcie3x1>, <&qos_pcie3x2>, <&qos_sata0>, <&qos_sata1>, <&qos_sata2>, <&qos_usb3_0>, <&qos_usb3_1>; #power-domain-cells = <0>; };
PD_PIPEis imho also part of Naneng. But more for usage as USB3/SATA/... phy. This is not part of Mainline too.But thanks for pointing.
regards Frank
Heiko Stübner
maintainerRe: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Am Montag, 17. Januar 2022, 19:26:27 CET schrieb Peter Geis:
Quoted 44 lines
Quoted 28 lines · Frank Wunderlich
Hi
Quoted 19 lines
Gesendet: Montag, 17. Januar 2022 um 11:47 Uhr
Von: "Johan Jonker" <[email protected]>
Hi Frank,Despite that the DT is hosted in the kernel tree DT and mainline kernel driver support are 2 separate things.
PCLK_XPCSmight be in use elsewhere.Given the link below
pclk_xpcsis only needed for rk3568. Maybe gmac1 should have aPCLK_XPCStoo, because one can select between them.ethernet: stmicro: stmmac: Add SGMII/QSGMII support for RK3568
https://github.com/rockchip-linux/kernel/commit/1fc7cbfe9e227c700c692f1de3137914b3ea6ca6The original dtsi did have
PCLK_XPCSin both nodes.
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L2121
https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L1492Quoted 5 lines
Maybe fix the document or leave it as it is for now as long the driver isn't updated and someone has tested it.
That's up to the DT maintainer.Johan
Quoted 7 lines
as far as i understand, the
PCLK_XPCSis part of the naneng combphy, which is not yet available in mainline.
Naneng driver needs some changes and imho this should be part of it (including change documentation). That also makes it clear why this clock is added. But leaving an unused property with sideeffects is imho no good choice.So this was the easiest way to fix the
dtbs_check. Else i got no usable result for it. Maybe adding it to Documentation is also easy, but have not yet looked into it as it currently unused from my POV.But i leave it as decision for Maintainer to drop this patch as it is not needed for my Board DTS.
As both the current submission of the combophy driver and the gmac driver do not support xpcs, I elected to remove the clock vice adding documentation for something which is not currently supported. This is especially true as it only leaked through for the gmac0 port, the gmac1 port is modeled to the current support level.
Quoted 4 lines
Once xpcs support is introduced, the clock can be added to the documentation and both controllers as part of the same patch series.
Do you concur, Heiko?
Did you see my own reply from some hours ago?
From looking at the documentation I got the impression that the pclk_xpcs is related to the separate qsgmii_pcs in the memory map.
So yes, I fully agree to dropping this clock from here and then adding them to whatever ip block really needs it.
Heiko
Quoted 37 lines
Quoted 36 lines
Quoted 17 lines
===
XPCS is also part of
PD_PIPE.
See Rockchip RK3568 TRM Part1 V1.0-20210111.pdf page 475. Please advise if the power-domain@RK3568_PD_PIPE does need aPCLK_XPCSfix or isPCLK_PIPEenough in combination with a PHY driver?
PD_PIPE:
BIU_PIPE
USB3OTG
PCIE20
PCIE30
SATA
XPCSQuoted 13 lines
power-domain@RK3568_PD_PIPE { reg = <RK3568_PD_PIPE>; clocks = <&cru PCLK_PIPE>; pm_qos = <&qos_pcie2x1>, <&qos_pcie3x1>, <&qos_pcie3x2>, <&qos_sata0>, <&qos_sata1>, <&qos_sata2>, <&qos_usb3_0>, <&qos_usb3_1>; #power-domain-cells = <0>; };
PD_PIPEis imho also part of Naneng. But more for usage as USB3/SATA/... phy. This is not part of Mainline too.But thanks for pointing.
regards Frank
Aw: Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Hi,
i plan to send a v2 of the series after 5.17-rc1 is out, because i have now verified the functions from gpio header and found some pinctrl-changes. V1 had only prepared the nodes to know which devices are present on this header.
should i include this patch again or do you pull it from v1 (maybe as fix)?
regards Frank
Quoted 8 lines
Gesendet: Montag, 17. Januar 2022 um 22:05 Uhr
Von: "Heiko Stübner" <[email protected]>From looking at the documentation I got the impression that the
pclk_xpcsis related to the separateqsgmii_pcsin the memory map.So yes, I fully agree to dropping this clock from here and then adding them to whatever ip block really needs it.
Heiko Stuebner
maintainerRe: Aw: Re: [PATCH v1 1/3] dts64: rk3568: drop pclk_xpcs from gmac0
Hi Frank,
Am Samstag, 22. Januar 2022, 15:50:25 CET schrieb Frank Wunderlich:
Quoted 5 lines
i plan to send a v2 of the series after 5.17-rc1 is out, because i have now verified the functions from gpio header and found some pinctrl-changes. V1 had only prepared the nodes to know which devices are present on this header.
should i include this patch again or do you pull it from v1 (maybe as fix)?
I do plan to include this as fix after -rc1, but I just saw that you already sent a separate patch of it, so I'll take that one instead :-)
Heiko
Quoted 13 lines
regards Frank
Quoted 8 lines
Gesendet: Montag, 17. Januar 2022 um 22:05 Uhr
Von: "Heiko Stübner" <[email protected]>From looking at the documentation I got the impression that the
pclk_xpcsis related to the separateqsgmii_pcsin the memory map.So yes, I fully agree to dropping this clock from here and then adding them to whatever ip block really needs it.
PATCH 2/3 dt-bindings: rockchip: Add BananaPi R2 Pro Board
In reply to Frank WunderlichFrom: Frank Wunderlich <[email protected]>
Add Devicetree Binding for Bananapi R2 Pro Board based on rk3568 SoC
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -651,6 +651,11 @@ properties: - const: rockchip,rk3568-evb1-v10 - const: rockchip,rk3568 + - description: Rockchip RK3568 Banana Pi R2 Pro + items: + - const: rockchip,rk3568-bpi-r2pro + - const: rockchip,rk3568 + additionalProperties: true ...
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 3/3 dts64: rockchip: Add Bananapi R2 Pro
In reply to Frank WunderlichFrom: Frank Wunderlich <[email protected]>
This patch add rk3568-bpi-r2-pro.dts for Bananapi R2 Pro based on RK3568. Add uart/emmc/i2c/rk809/tsadc node for basic function.
Gmac0 is directly connected to wan-port so usable without additional driver.
On gmac1 there is a switch (rtl8367rb) is connected which have not yet a driver in mainline. A DSA driver for it is about to be merged.
Patch also prepares nodes for GPIO header.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 428 ++++++++++++++++++ 2 files changed, 429 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -58,3 +58,4 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts new file +428 -0
428 lines not on this page · raw message
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip