Thread (51 messages) 51 messages, 9 authors, 2023-10-27

Re: [PATCH 11/12] riscv: dts: starfive: jh7100: Add sysmain and gmac DT nodes

From: Cristian Ciocaltea <hidden>
Date: 2023-02-14 18:16:09
Also in: linux-arm-kernel, linux-devicetree, linux-riscv, lkml

On 2/13/23 11:26, Krzysztof Kozlowski wrote:
On 11/02/2023 04:18, Cristian Ciocaltea wrote:
quoted
Provide the sysmain and gmac DT nodes supporting the DWMAC found on the
StarFive JH7100 SoC.

Signed-off-by: Cristian Ciocaltea <redacted>
---
  arch/riscv/boot/dts/starfive/jh7100.dtsi | 38 ++++++++++++++++++++++++
  1 file changed, 38 insertions(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7100.dtsi b/arch/riscv/boot/dts/starfive/jh7100.dtsi
index 88f91bc5753b..0918af7b6eb0 100644
--- a/arch/riscv/boot/dts/starfive/jh7100.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7100.dtsi
@@ -164,6 +164,44 @@ rstgen: reset-controller@11840000 {
  			#reset-cells = <1>;
  		};
  
+		sysmain: syscon@11850000 {
+			compatible = "starfive,jh7100-sysmain", "syscon";
+			reg = <0x0 0x11850000 0x0 0x10000>;
+		};
+
+		gmac: ethernet@10020000 {
Aren't the nodes ordered by address?
Right, I missed the ordering trying to keep the related nodes together. 
Will fix.

Thanks,
Cristian
Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help